I have a data set described by an integral with unknown constants that I am attempting to determine using python's curve_fit. However, the integrand contains a function being multiplied against a data set
def integrand(tm, Pm, args):
dt, alpha1, alpha2 = args
return Pm*(1-np.e**( -(alpha1 * (tm+dt))) )*np.e**(-(alpha2 * (tm+dt)))
Where Pm is a 1-D array of collected data of impulse responses, Image of Impulse data and Integral Curve

The orange curve represents the impulse data and the blue curve is what the integral should evaluate to
tm is the variable of integration, and dt, alpha1, alpha2 are unknown constants and the bounds of integration would be from 0 to tm.
What would be the best way to perform a curve fit on an integral of this kind, or possibly other ways to solve for the unknown constants?