XSNAP: An X-ray Supernova Analysis Pipeline with Application to the Type II Supernova 2024ggi
Ferdinand, W. V. Jacobson-Galán, M. M. Kasliwal, Erez A. Zimmerman
TL;DR
This work addresses how X-ray observations can reveal the mass-loss history of SN progenitors by analyzing multi-epoch X-ray data of SN 2024ggi. It introduces XSNAP, an open-source, end-to-end pipeline that unifies spectral extraction and modeling across CXO, XMM-Newton, and Swift-XRT, and applies it with an absorbed thermal Bremsstrahlung model to derive a steady mass-loss rate of $\dot{M} = (6.2 \pm 0.2) \times 10^{-5} \, M_{igodot} \, \mathrm{yr^{-1}}$ (for $v_{ m wind} = 20$ km s$^{-1}$) over the last $\sim117$ years before explosion. The analysis reveals a dense, confined CSM with $\mathrm{NH}_{\rm int} > 10^{22}$ cm$^{-2}$ in the first ~$16$ days and an X-ray luminosity decay $L_X \propto t^{-0.99}$, consistent with a wind-like density profile $\rho_{\rm CSM}(r) \propto r^{-2}$. XSNAP provides reproducible, end-to-end processing from raw counts to CSM interpretation and is applicable to future SN X-ray studies as well as other X-ray sources. The results advance our understanding of late-stage mass loss in SN II progenitors and demonstrate the practical impact of a standardized, open-source analysis workflow.
Abstract
X-ray observations of Type II supernovae (SNe II) probe the physics of supernova (SN) shocks and the mass-loss histories of their progenitor stars. We present multi-epoch, X-ray observations of SN II 2024ggi ($D \approx 7.2 \ \rm Mpc$) from ${\it Swift}$-XRT, ${\it Chandra}$ and ${\it XMM}$, which cover $\sim 1 - 344$ days since first light. We analyze these observations using a new open-source Python package called $\texttt{XSNAP}$, which standardizes a unified command-line interface for instrument-specific reduction and spectral extraction. $\texttt{XSNAP}$ introduces application programming interfaces for per-epoch spectral modeling through $\texttt{PyXspec}$ and $\texttt{emcee}$ Markov chain Monte Carlo fitting. We employ ${\tt XSNAP}$ to model the multi-epoch X-ray spectra of SN 2024ggi with an absorbed thermal bremsstrahlung model and calculate a steady progenitor mass-loss rate of $(6.2\pm0.2)\times10^{-5}\,M_{\odot}\,\mathrm{yr^{-1}}$ $(v_{\rm wind} = 20 \ \rm km \ s^{-1})$, for which the detected X-ray emission traces the final 117 years before explosion. The software is publicly available on GitHub, with a released package on the Python Package Index (PyPI).
