Is it mandatory to run a test based on the chi2 statistics ?
If not, I would suggest you use a likelihood ratio test which can properly account for the fact you do not know the expected fraction of females $p$.
If I write $p_i = p + \Delta p_i$ ($\Delta p_0 = 0$) the expected fraction of females in category i, the the null hypothesis can be written as:
$$
H_0 : p_0 = p_1 = ... = p_6 = p
$$
or equivalently
$$
H_0 : \Delta p_1 = \Delta p_2 = ... = \Delta p_6 = 0
$$
with $p$ an unknown nuisance parameter.
With a likelihood ratio test, you would build your test statistics as
$$
D = -2 log(L({\bf n},{\bf N}, {\bf \Delta p} = 0, \hat{\hat{p}})) + 2 log(L({\bf n},{\bf N}, {\bf \hat{\Delta p}}, \hat{p}))
$$
with
$$
log(L({\bf n},{\bf N}, {\bf Delta p}, p)) = \sum_i log f_i(n_i, N_i, p_i)
$$
Now if you believe that your data are normally distributed (I do not think so... I would rather choose a binomial distribution), then $-2 log(L)$ simplifies to
$$
-2 log(L) = \sum_i \frac{(n_i - p_i N_i)^2}{n_i} = \chi^2
$$
so the test statistics would a be a difference of $\chi^2$
$$
D = \chi^2({\bf n},{\bf N}, {\bf \Delta p} = 0, p) - \chi^2({\bf n},{\bf N}, {\bf \Delta p}, p)
$$
In one case you run your least-square fit with all parameters free and in the other case you run your least-square fit with constrained ${\bf \Delta p} = 0$. If $H_0$ is satisfied $D$ should be distributed as a $\chi^2$ distribution, but as I said I think it is much better to work with a likelihood function and $f_i(n_i, N_i, p_i) = C_{N_i}^{n_i} p_i^{n_i} (1 - p_i)^{N_i - n_i}$ binomially distributed.