A hierarchical Bayesian SED model for Type Ia supernovae in the optical to near-infrared. Issue 3 (2nd December 2021)