typo ln-> log
@@ -1375,8 +1375,8 @@ class SuperExpCutoffPowerLaw4FGLSpectralModel(SpectralModel):
"""Evaluate the model (static function)."""
#https://fermi.gsfc.nasa.gov/ssc/data/analysis/scitools/source_models.html#PLSuperExpCutoff4
pwl = amplitude * (energy / reference) ** (-index_1)
- if np.abs(index_2 * np.ln(energy / reference)) < 1e-2:
- ln_ = np.ln(energy / reference)
+ if np.abs(index_2 * np.log(energy / reference)) < 1e-2:
+ ln_ = np.log(energy / reference)
power = expfactor * (ln_ / 2. + index_2 / 6. * ln_ ** 2. + index_2 ** 2. / 24. * ln_ ** 3)
cutoff = (energy / reference) ** power
else:
