Print function definitions to fit.log
Include name of the parameter file in error message