make delta_lam a parameter
add output photonflux in fitlinelist