Refs #6940 write chisq; remove warning
Merge branch 'feature/6940_profile_fit' into develop