check output before running the fit.