implement the Fit button - fit the data and send printf() output to the .fitrep file