Optimal trade-off between sample size and precision for the fixed effects generalized least squares panel data model