Facing Problem while fitting

You need to estimate initial function’s parameters looking at the spectrum, e.g. (estimated_sigma = estimated_fwhm / 2.35): estimated_area = 2.51 * estimated_height * estimated_sigma = 1.06 * estimated_height * estimated_fwhm