curve_fitting_histogram