fix chi2 for constrained fits