curve_fit to the MAXXX!