use the sf with the error in final plot
store the output files
added error checking for impossible chi2
Merge branch 'master' of github.com:HEP-KBFI/stpol
Merge branch 'master' into beffcalcs2