Check for non-zero fit ranges before execution of curve fit - currently exits system which may not be sensible
sys.exit after parameter file error now has non-zero exit status