The soft X-ray emission toward the inner halo of M31 contains contributions from both M31 and the Milky Way, whose thermal spectra are nearly degenerate at CCD resolution. We analyze 22 XMM-Newton pointings at projected radii of approximately 10–31 kpc and treat the directly measured cool component as the full line-of-sight sum rather than assigning it to either galaxy. Our homogeneous baseline excludes the MOS 1.4–2.0 keV instrumental-line interval, uses a pointing-dependent 15 arcmin HI4PI atomic hydrogen column, and retains 14 technically valid dual-MOS fields in the primary sample. The primary spectra are consistent with a common temperature of \(kT=0.17531\pm0.00436\,\mathrm{keV}\), with no evidence for additional temperature scatter. The absorbed 0.4–1.25 keV surface flux is \((1.106\pm0.054)\,10^{-15}\,\mathrm{erg\,cm^{-2}\,s^{-1}\,arcmin^{-2}}\) in the North/NW fields and \((0.894\pm0.203)\,10^{-15}\,\mathrm{erg\,cm^{-2}\,s^{-1}\,arcmin^{-2}}\) in the South/SE fields. Their difference, \((0.212\pm0.210)\,10^{-15}\,\mathrm{erg\,cm^{-2}\,s^{-1}\,arcmin^{-2}}\), is positive but not statistically compelling. The current data therefore establish a spatially widespread, approximately 0.18 keV line-of-sight component but do not detect a large-scale North–South asymmetry or uniquely identify an M31 contribution. Any decomposition into M31, Milky Way, or Local-Group emission requires an explicit spatial or foreground prior.
Keywords: Andromeda Galaxy; circumgalactic medium; diffuse X-ray background; X-ray astronomy; Milky Way Galaxy
Internal Draft Status
This manuscript is a complete internal scientific draft based on the validated v19 independent-fit baseline. It is not yet ready for submission. The numerical values quoted below use local LevMar covariance matrices. The submission version must replace the descriptive side means with a shared radial model plus a side offset, compute profile-likelihood or simulation-calibrated intervals at non-negative boundaries, and add a controlled spectral-systematic grid. These requirements are summarized in Section 7.
Introduction
Hot circumgalactic gas is expected to contain a substantial fraction of the baryons associated with massive spiral galaxies, but its low density makes direct X-ray measurements difficult. Deep observations of individual massive spirals and stacked samples demonstrate extended soft X-ray halos, while also showing that inferred profiles depend on galaxy mass, unresolved-source subtraction, and background treatment (Anderson et al. 2016; Li et al. 2017, 2018; Zhang, Comparat, Ponti, Merloni, Nandra, Haberl, Locatelli, et al. 2024; Zhang, Comparat, Ponti, Merloni, Nandra, Haberl, Truong, et al. 2024). M31 is close enough that its inner halo can be sampled with multiple XMM-Newton fields, but its large angular extent creates a different limitation: emission from the M31 halo is superposed on spatially structured soft emission from the Milky Way and potentially the Local Group.
The central few kiloparsecs of M31 contain multiphase diffuse X-ray emission associated with the bulge and disk (Shirey et al. 2001; Takahashi et al. 2004; Li and Wang 2007). Those measurements do not determine the amplitude of cooler gas at projected radii of 10–31 kpc. Off-disc XMM-Newton observations provide a closer spectral precedent. Kavanagh et al. (2020) measured a component near \(0.17\)–\(0.18\,\mathrm{keV}\) and explicitly modeled it as the combined emission of the Galaxy, M31, and the intergalactic medium. A possible Local Hot Bridge in the direction of M31 has a similar inferred temperature (Qu et al. 2021). Milky Way surveys also find characteristic temperatures near \(0.15\)–\(0.22\,\mathrm{keV}\) but substantial spatial variation (Henley and Shelton 2013a, 2015; Ponti et al. 2023; Kaaret et al. 2020; Ueda et al. 2022; Locatelli et al. 2024).
These overlapping temperature scales make distance attribution from an EPIC spectrum alone unreliable. We therefore organize the analysis around the directly observed line-of-sight component, \[\begin{equation} S_{\rm obs}(E)=S_{\rm MW}(E)+S_{\rm M31}(E), \label{eq:direct-sum} \end{equation}\] with an optional third Local-Group term in explicitly labeled conditional scenarios. We ask two assumption-light questions. First, what cool thermal surface flux is measured toward the North/NW and South/SE inner-halo fields? Second, how strongly do the data constrain a difference between the two sampled sides? The M31-versus-Milky-Way decomposition is discussed only after these direct measurements.
Observations and Data Reduction
XMM-Newton program and field selection
We use observations from XMM-Newton proposal 080073, “XMM-Newton Legacy Survey of M31 Halo: Searching for the Missing Accreted Hot CGM” (PI J.-T. Li), obtained with the EPIC cameras (Jansen et al. 2001; Turner et al. 2001). The selected observations were taken between 2017 June 28 and 2018 January 17. All 43 detector products used here have the Thin1 optical blocking filter. The v19 analysis is MOS-only: 21 fields have one MOS1 and one MOS2 spectrum, while 0800730101 contributes MOS2 only.
EPIC-pn products are not used in this homogeneous baseline because
the retained preliminary pn branch does not provide an equivalently
validated particle-background set. In the audited
PATTERN<=4 pn branch of the local
SAS 20.0.0 reduction, all 22 fields have a source spectrum,
but only 21 have a matched QPB spectrum in the same processing branch
(the 22nd, 0800730101, has a paired source and QPB in a neighboring
PATTERN<=0 branch but not in this one, so “matched” is
defined within the same event-selection and processing branch), and 17
of the 22 source PHA files record a cleaned exposure shorter than 10 ks.
This is the regime in which the current XMM-ESAS Cookbook identifies a
specific pn limitation, known as “The Corner Problem”: the small
out-of-field-of-view corner sample has poor counting statistics, is
affected by out-of-time events, and is more sensitive than previously
recognized to residual Soft Proton flares, so the inferred pn QPB can be
under- or over-estimated, including possible oversubtraction (XMM-Newton Science
Analysis Centre 2025). We therefore defer pn inclusion until
those spectra and their corner-normalized QPB products are reprocessed
and validated independently across the full sample. This is a
product-level background-systematics choice for the local
SAS 20.0.0 pn branch, not a claim that EPIC-pn data are
generally unusable or that all current SAS 22.0 pn products
share this limitation. The per-field audit is provided in
m31_cgmsum_v19_pn_qpb_readiness.csv.
The 22-field parent set is the proposal-080073 subset for which the
upstream project screening retained the required diffuse-field products.
Observation 0800731701 is absent from the local reduction tree,
0800732401 lacks the required 4.background products, and
0800731201, 0800731401, 0800731801, 0800732501, 0800732901, and
0800733001 were rejected upstream because of extreme 2.0–3.2 keV
observed-to-QPB ratios. Observation 0800733101 was rejected because of
extreme residual Soft Proton contamination and incomplete MOS coverage.
These exclusions define the parent set before the v19 spectral-quality
cuts described in Section 4.4; they are
not selected on fitted \(\mathrm{CGM}_{\mathrm{sum}}\) temperature
or surface flux.
Pointing centers are taken from the final PHA headers. For an adopted M31 center and distance of 785 kpc (McConnachie et al. 2005), their circular projected radii span 10.5–30.8 kpc. The pointings form two approximately minor-axis chains, labeled North/NW and South/SE, rather than a complete azimuthal annulus. In the final primary sample, the median radii are 19.28 and 14.97 kpc on the two sides, respectively, and no South/SE primary field lies at 20–25 kpc. Table 1 gives the observation-level inventory.
Table 1. XMM-Newton Observation and v19 Product Inventory
| ObsID | R.A. (deg) | Decl. (deg) | Start date (UTC) | Side | Rproj (kpc) | MOS1 (ks) | MOS2 (ks) | NHI (10²⁰ cm⁻²) | v19 use |
|---|---|---|---|---|---|---|---|---|---|
| 0800730101 | 9.2301 | 43.2408 | 2017-06-28 | North/NW | 30.78 | – | 10.01 | 5.58 | Numerical only |
| 0800730201 | 8.8793 | 42.8879 | 2017-07-25 | North/NW | 28.79 | 13.92 | 11.49 | 5.78 | Primary |
| 0800730301 | 8.4932 | 42.5826 | 2017-07-14 | North/NW | 28.69 | 16.11 | 18.08 | 5.76 | Primary |
| 0800730401 | 8.7369 | 42.2086 | 2017-07-27 | North/NW | 23.71 | 14.51 | 14.86 | 5.46 | Excluded |
| 0800730501 | 9.0777 | 42.4873 | 2017-07-28 | North/NW | 23.40 | 11.83 | 14.28 | 5.53 | Primary |
| 0800730601 | 9.3863 | 42.8204 | 2017-08-12 | North/NW | 25.03 | 11.57 | 11.10 | 5.79 | Primary |
| 0800730701 | 9.5865 | 42.4375 | 2017-08-12 | North/NW | 19.54 | 13.61 | 14.35 | 5.73 | Primary |
| 0800730801 | 9.2710 | 42.1599 | 2017-08-10 | North/NW | 18.92 | 14.49 | 14.75 | 5.60 | Primary |
| 0800730901 | 9.0152 | 41.8738 | 2018-01-07 | North/NW | 19.01 | 18.41 | 18.80 | 5.59 | Primary |
| 0800731001 | 9.1456 | 41.5646 | 2017-08-10 | North/NW | 16.32 | 14.82 | 15.09 | 5.79 | Excluded |
| 0800731101 | 9.8256 | 42.0115 | 2018-01-07 | North/NW | 13.45 | 16.48 | 18.05 | 5.67 | Primary |
| 0800731301 | 10.6467 | 42.2062 | 2018-01-11 | North/NW | 12.85 | 6.14 | 7.06 | 7.64 | Excluded |
| 0800731501 | 9.7074 | 41.4971 | 2017-08-12 | North/NW | 10.52 | 14.73 | 14.98 | 5.85 | Primary |
| 0800731601 | 9.4171 | 41.2226 | 2017-08-02 | North/NW | 13.07 | 20.57 | 20.27 | 6.30 | Primary |
| 0800731901 | 11.6666 | 40.9259 | 2018-01-13 | South/SE | 11.17 | 17.08 | 16.83 | 6.48 | Primary |
| 0800732001 | 11.9666 | 41.3051 | 2018-01-13 | South/SE | 13.21 | 16.51 | 16.85 | 6.92 | Primary |
| 0800732101 | 12.2198 | 40.9845 | 2018-01-13 | South/SE | 16.31 | 7.99 | 10.33 | 5.90 | Excluded |
| 0800732201 | 12.0572 | 40.7280 | 2018-01-14 | South/SE | 16.01 | 5.92 | 5.88 | 5.58 | Excluded |
| 0800732301 | 11.3785 | 40.1663 | 2018-01-15 | South/SE | 16.73 | 8.39 | 9.74 | 5.29 | Primary |
| 0800732601 | 12.6676 | 40.3879 | 2018-01-16 | South/SE | 23.84 | 3.04 | 2.80 | 5.17 | Excluded |
| 0800732701 | 12.2969 | 39.9949 | 2018-01-17 | South/SE | 24.20 | 5.33 | 2.20 | 5.27 | Excluded |
| 0800732801 | 12.1075 | 39.7012 | 2018-01-17 | South/SE | 26.10 | 6.36 | 7.98 | 4.81 | Primary |
Exposures are cleaned PHA detector exposures, not independent spacecraft time. The 43 MOS products sum to 533.571 ks. “Numerical only” is the MOS2-only field 0800730101; excluded fields fail technical or numerical-quality requirements.
SAS processing provenance
The spectra were derived from the existing project reduction with the
XMM-Newton Science Analysis System (SAS; Gabriel et al. (2004)). We
audited the headers of every v19 input rather than assigning generic
“standard SAS” settings. All 43 source PHA files report
xmmsas_20211130_0941-20.0.0, evselect-3.71.1;
their ARFs report arfgen-1.102.1, and their RMFs report
rmfgen-2.8.5. The event selections stored in every PHA
require PATTERN<=12 and FLAG==0. The
spectra therefore include valid MOS single–quadruple events and reject
flagged events.
The final PHAs contain the applied good-time intervals as embedded
GTI extensions, but the local tree does not retain the upstream
flare-light-curve thresholds or a command log that uniquely reconstructs
those GTIs for the full sample. One partial command record survives for
0800732701, but it cannot define a homogeneous 22-field prescription.
Likewise, the local ccf.cif files are not bound to the
PHA/ARF/RMF products by a recorded identifier or hash, and their file
dates do not uniquely establish which calibration index was active
during each extraction. We therefore report the verified SAS task
versions and final cleaned exposures, but do not invent sample-wide
flare thresholds or a CCF release.
The retained tree is sufficient to reproduce the paper analysis from
the 43 final spectral product groups. It is not sufficient for a bitwise
ODF-to-PHA rebuild: complete ODF material is retained locally for only
three selected observations, and original mos-spectra/QPB
command files are absent for most fields. Recovery of the homogeneous
flare-screening, calibration-index, and extraction-command provenance
remains a submission requirement.
Source masks and extraction footprint
The analysis uses the products under
rpc/4.background/bkg_mos[12]_00500-02000_exclude_extent_source_mask.
The extraction is the usable MOS field of view after detector-coordinate
chip/gap masks and point/extended-source exclusions; it is not a simple
15 arcmin circle. The authoritative mask geometry is embedded in each
PHA as REGION extensions and in the SLCTEXPR selection. The
embedded regions contain negative detector-coordinate ellipses for
excluded sources together with the valid chip and field-of-view
geometry. The reduction tree also retains the associated
edetect_stack source-position and extended-source region
products. The exact source-detection likelihood threshold and the rule
that maps detections to exclusion-ellipse size are not recoverable from
the current command history and must be frozen before submission.
We convert the PHA BACKSCAL value with the production
relation \(\Omega_i=\texttt{BACKSCAL}_i(1/20/60)^2\)
arcmin\(^2\), corresponding to the 0.05
arcsec DETX/DETY sampling. The resulting detector-specific areas span
238.3–565.8 arcmin\(^2\). MOS1 and MOS2
areas are kept separate, so failed CCDs, chip gaps, bad detector
regions, and source holes propagate directly into each model through its
own area factor. Relative to the 706.9 arcmin\(^2\) area of a nominal 15 arcmin circle,
the individual detector footprints cover 33.7–80.0%. The
one-PHA-per-field convention used in the earlier absorption-footprint
audit covers 33.7–52.6% (median 45.2%). The 15 arcmin aperture is used
only for the baseline HI4PI column estimate, not for spectral
extraction.
Observed, QPB, and response spectra
For each retained detector we use four matched products:
*-obj.pi for the observed diffuse-field spectrum,
*-back.pi for the ESAS quiescent-particle background (QPB),
and the corresponding *.arf and *.rmf. The QPB
is generated in the same detector footprint as the observed spectrum. It
represents the particle background and is not a blank-sky or
astrophysical foreground spectrum. In Sherpa, obj.pi is
loaded as the source dataset, back.pi is loaded as its
background with the stored errors, and QPB subtraction is applied before
grouping and fitting. The remaining spectrum therefore contains
celestial emission plus residual detector background and Soft Protons,
which are modeled explicitly below.
The cleaned detector exposures range from 2.20 to 20.57 ks and sum to
533.571 ks over the 43 detector products. The full product paths,
task-version strings, exposures, areas, embedded-mask checks, and
quality classifications are written to the machine-readable file
m31_cgmsum_v19_observation_products.csv. Its generator
reads the frozen production manifest and the actual FITS headers, and
fails unless it finds exactly 22 pointings, 43 detector products, Thin1
in every PHA, and the verified PATTERN/FLAG selections.
Energy filtering and response-aware grouping
The final MOS fitting domain is \[\begin{equation} 0.4\text{--}1.4~\mathrm{keV}\ \cup\ 2.0\text{--}8.0~\mathrm{keV}. \label{eq:fitband} \end{equation}\] The 1.4–2.0 keV interval is excluded because it contains the strong MOS Al K\(\alpha\) and Si K\(\alpha\) instrumental features and is sensitive to residual Soft Protons. Every fit-stage energy selection first resets the broad band and then reapplies this gap; the final Sherpa sessions preserve the two disjoint intervals.
Spectra are grouped after QPB subtraction. Starting from individual channels, a bin is closed only after both (1) the QPB-subtracted signal-to-noise ratio \[\begin{equation} {\rm S/N}=\frac{C_{\rm obj}-C_{\rm QPB}} {\sqrt{C_{\rm obj}+C_{\rm QPB}}} \end{equation}\] reaches 6 and (2) its channel width samples the local RMF FWHM by no more than a factor of 6. Group accumulation is reset at ignored channels, and group starts are forced at 0.4, 1.4, 2.0, and 8.0 keV. Consequently, no fitted bin bridges the excluded MOS interval.
Spectral Analysis
Response construction and model topology
We fit each pointing independently in Sherpa 4.18 (Freeman et al. 2001) using XSPEC model components (Arnaud 1996). Within one pointing, the MOS1 and MOS2 celestial parameters are linked, whereas the residual instrumental-line and Soft Proton parameters remain detector specific. No parameter is linked between different pointings. If \(R_i\) denotes the detector RMF folded with its ARF, \(D_i\) denotes the same redistribution with a unit effective area, and \(\Omega_i\) is the PHA solid angle, the count model for detector \(i\) is \[\begin{equation} \begin{split} M_i(E)={}&R_i\Big\{\Omega_i\big[G_i(E)+S_{\rm LB}(E)+S_{\rm SWCX}(E)\\ &+A(N_{{\rm HI},i})\{S_{\rm CXB}(E)+S_{\mathrm{CGM}_{\mathrm{sum}}}(E)\\ &\qquad\qquad\quad+S_{\rm hot}(E)\}\big]\Big\}\\ &+D_i\{\Omega_i P_i(E)\}. \end{split} \label{eq:model} \end{equation}\] Here \(G_i\) is the residual detector-line model, \(P_i\) is the Soft Proton continuum, and the remaining terms are sky surface-brightness components. Multiplication by \(\Omega_i\) converts every surface-brightness normalization to the actual detector footprint before response folding. The multiplicative sky-background scale present in the implementation is fixed to unity.
The component called MWhalo in the fitting code is
denoted \(\mathrm{CGM}_{\mathrm{sum}}\)
here. It is the cool absorbed APEC component required by the line of
sight, not a spectroscopic assignment to the Milky Way. The historical
target-specific SrcApec, SrcPo, and
Srcabs components remain in the implementation for
compatibility but are set to zero and frozen in this independent
diffuse-field analysis. Thus no additional M31-only spectral component
is fitted on top of \(\mathrm{CGM}_{\mathrm{sum}}\).
Table 2. Baseline Spectral Components and Parameter Treatment
| Component | XSPEC/Sherpa form | Absorption/response | MOS linking | Baseline parameter treatment |
|---|---|---|---|---|
| Local Bubble | apec |
unabsorbed, \(R_i\) | linked | \(kT=0.08\)–0.12 keV free; \(Z=1\) and \(z=0\) fixed; normalization free. |
| \(\mathrm{CGM}_{\mathrm{sum}}\) | phabs*apec |
absorbed, \(R_i\) | linked | \(kT=0.14\)–0.40 keV and normalization free; \(Z=0.3\) and \(z=0\) fixed. |
| Hot thermal | phabs*apec |
absorbed, \(R_i\) | linked | \(kT=0.7\) keV, \(Z=1\), and \(z=0\) fixed; non-negative normalization free. |
| CXB | phabs*pegpwrlw |
absorbed, \(R_i\) | linked | Photon index 1.46 fixed; 0.5–2.0 keV pegged normalization free. |
| SWCX lines | three gaussians |
unabsorbed, \(R_i\) | linked | O VII, O VIII, and Fe-L normalizations fixed to zero. |
| Residual 1.3 keV line | gaussian |
\(R_i\) | independent | Centroid free in 1.2–1.4 keV, \(\sigma=0.01\) keV fixed, normalization free. |
| Al/Si detector lines | two gaussians |
\(R_i\) | independent | Normalizations fixed to zero because 1.4–2.0 keV is excluded. |
| Soft Proton | bknpower |
\(D_i\) (unit ARF) | independent | Break fixed at 3.2 keV; normalization and low-energy slope free; final high-energy slope fixed after an intermediate fit. |
Note. “Linked” means shared between MOS1 and MOS2 within one pointing only. All celestial and detector-continuum normalizations are expressed per unit solid angle before multiplication by the detector-specific \(\Omega_i\).
Ri denotes the full ARF/RMF response; Di denotes the RMF plus unit-ARF response used for residual Soft Protons.
Absorption and atomic configuration
For each pointing, the absorption column is fixed to the uniform-area mean of the HI4PI atomic \(N_{\rm HI}\) map within a 15 arcmin aperture (HI4PI Collaboration 2016). The adopted values span \(4.81\times10^{20}\) to \(7.65\times10^{20}\,\mathrm{cm^{-2}}\). The map has a native angular resolution of 16.2 arcmin; a nominal aperture therefore contains only about 2.38 independent beams. The aperture is centered on the pointing coordinate, has complete valid-map coverage, and is not weighted by the MOS source mask or exposure map.
These inputs are atomic H I columns, not total equivalent X-ray absorbing columns. Molecular gas, dust-to-gas conversion, 21-cm optical-depth corrections, and the mismatch between the circular HI4PI aperture and the irregular MOS footprints are not included in the formal errors. They are retained as controlled absorption-systematics branches.
The XSPEC configuration is fixed to the angr
solar-abundance table, vern photoelectric cross sections,
and APEC/AtomDB 3.0.9 (Foster et al. 2012). The exact
APEC line and continuum files are present in the CIAO installation and
their SHA-256 hashes are stored in the production manifest.
Staged fitting procedure
All fits use the Gehrels chi-square statistic
(chi2gehrels) and the Sherpa Levenberg–Marquardt optimizer.
The staged procedure is identical for every pointing:
In the initial \(0.2\)–\(1.4\cup2.0\)–\(8.0\) keV fit, set the Local Bubble to \(kT=0.1\) keV and \(Z=1\), set \(\mathrm{CGM}_{\mathrm{sum}}\) to \(kT=0.2\) keV and \(Z=0.3\), and fix the hot component to \(kT=0.7\) keV and \(Z=1\). The Local Bubble, \(\mathrm{CGM}_{\mathrm{sum}}\), hot-component, and CXB normalizations are free. The per-detector Soft Proton normalization and both slopes are initially frozen with zero normalization. The three SWCX line normalizations remain zero.
Thaw the Local Bubble and \(\mathrm{CGM}_{\mathrm{sum}}\) temperatures within the bounds in Table 2, keep both abundances fixed, and refit the linked MOS spectra.
Apply the final domain in Equation 2 and refit the thermal, CXB, and residual-line parameters.
For each detector, thaw the broken-power-law normalization and both photon indices while keeping the 3.2 keV break fixed, and refit all active parameters jointly.
Freeze the fitted high-energy Soft Proton index. Refit the low-energy index and normalization with the physical ordering \(0\leq\Gamma_{\rm low}\leq\Gamma_{\rm high}\); if the unconstrained intermediate fit violates the ordering, initialize \(\Gamma_{\rm low}=\Gamma_{\rm high}/2\) before the final fit.
The production worker publishes a session only when Sherpa reports
succeeded=True. Every published sidecar records the fit
statistic, method, number of bins, degrees of freedom, all-stage
filters, input/output hashes, and final parameter states. The current
baseline uses one deterministic starting sequence and local
optimization; multi-start and profile-likelihood checks are
intentionally listed as submission work rather than implied here.
Quality selection and validation
All 22 fields were attempted before the quality mask was applied. The structural validator requires the frozen input detector inventory, unique file paths, exact code/input/output/APEC hashes, final fit success and message, finite fit dimensions, all-stage energy filters, grouping parameters, the adopted frozen \(N_{\rm HI}\), and the expected frozen Al/Si line states. A second validator restores each saved Sherpa session in CIAO and rechecks the actual dataset paths, final fit result, filters, grouping starts and gap, absorption, and forbidden-line parameters. Thus a valid JSON sidecar alone cannot promote a field into the scientific sample.
Twenty fields produced structurally valid Sherpa sessions, and all 20
passed the independent restore test. Eighteen passed the complete
technical gate. Fields 0800731301 and 0800732201 have restorable
sessions but non-positive final degrees of freedom. For 0800732601 and
0800732701, the final Sherpa result has succeeded=False
with an “improper input parameters” message; the worker retained
machine-readable failure records rather than publishing sessions.
A field enters the numerical sample if it passes technical validation, has positive degrees of freedom, has \(Q\geq0.01\), and has finite \(\mathrm{CGM}_{\mathrm{sum}}\) temperature and normalization with positive local errors. The primary sample additionally requires exactly one MOS1 and one MOS2 input. The strict sensitivity sample additionally requires at least ten degrees of freedom. The resulting counts are listed in Table 3.
Among the technically valid fields, 0800730401, 0800731001, and 0800732101 fail the \(Q\geq0.01\) numerical-quality criterion. Field 0800730101 passes the numerical gate but remains outside the primary sample because it has MOS2 only.
Table 3. Sample Accounting
| Category | Number of fields |
|---|---|
| Selected pointings | 22 |
| Restorable production sessions | 20 |
| Complete technical validation | 18 |
| Numerically valid | 15 |
| Dual-MOS primary | 14 |
| Strict sensitivity sample | 12 |
The numerical sample includes MOS2-only 0800730101. The primary sample contains 10 North/NW and 4 South/SE fields.
Derived fluxes and local uncertainties
After restoring each valid session, we extract the fitted \(\mathrm{CGM}_{\mathrm{sum}}\) temperature,
APEC normalization, and their block of the saved Levenberg–Marquardt
covariance matrix. For a band \(b\), a
unit-normalization absorbed phabs*apec model with the
pointing-specific \(N_{\rm HI}\)
defines the conversion \(C_b(kT)\).
Because the fitted APEC normalization is already per arcmin\(^2\), the component surface flux is \[\begin{equation}
F_b=K_{\mathrm{CGM}_{\mathrm{sum}}}C_b(kT_{\mathrm{CGM}_{\mathrm{sum}}}).
\end{equation}\] The conversion is evaluated on a model energy
grid with 0.001 keV spacing from 0.05 to 10 keV, using the same
angr, vern, \(Z=0.3\), \(z=0\), and APEC 3.0.9 configuration as the
fit.
We propagate the saved \(kT\)–normalization covariance with a first-order delta method, \[\begin{equation} \begin{split} \sigma_F^2={}&\left(\frac{\partial F}{\partial kT}\right)^2\sigma_{kT}^2+ \left(\frac{\partial F}{\partial K}\right)^2\sigma_K^2\\ &+2\frac{\partial F}{\partial kT}\frac{\partial F}{\partial K}\, \mathrm{Cov}(kT,K), \end{split} \end{equation}\] where the temperature derivative is evaluated by a centered finite difference with a step no smaller than \(10^{-5}\) keV. These are local Gaussian statistical approximations. They do not include fixed-\(N_{\rm HI}\), foreground, detector-background, model-topology, or calibration uncertainty and are not profile-likelihood confidence intervals.
The primary reported quantity is the absorbed component-only 0.4–1.25 keV surface flux. This band lies wholly inside the directly fitted soft interval. We also calculate 0.5–2.0 keV for comparison with the literature, but label it secondary because 1.4–2.0 keV is supplied by model extrapolation across the excluded MOS interval.
Population summaries and side comparison
For temperature and flux separately, we summarize each side and the full primary sample with a normal random-effects model. For measurements \(x_i\) with local errors \(\sigma_i\), the likelihood uses variances \(\sigma_i^2+\tau^2\); at fixed \(\tau\), the mean is weighted by \((\sigma_i^2+\tau^2)^{-1}\). We determine the non-negative intrinsic scatter \(\tau\) by maximizing the normal likelihood and quote \([\sum_i(\sigma_i^2+\tau^2)^{-1}]^{-1/2}\) as the formal error on the mean. The reported heterogeneity diagnostic is the fixed-effect statistic \[\begin{equation} Q=\sum_i \frac{(x_i-\bar{x})^2}{\sigma_i^2}. \end{equation}\] North-minus-South differences are formed from the two fitted side means, with their formal errors added in quadrature; the ratio and fractional asymmetry are propagated to first order from the same side-mean errors. For the current temperature and flux measurements, the maximum-likelihood extra scatter is zero. This means only that the available local errors do not require additional field-to-field scatter; it does not establish a physically uniform plasma.
The baseline side summaries do not include radius as a covariate. Because the two sides have different radial coverage, they are descriptive diagnostics rather than the final publication likelihood. The required shared radial term plus side offset, boundary-aware intervals, and controlled systematic branches are listed in Section 7.
Results
A common soft spectral component
The 14 primary fields give a common temperature of \[\begin{equation} kT_{\mathrm{CGM}_{\mathrm{sum}}}=0.17531\pm0.00436\,\mathrm{keV}. \end{equation}\] The heterogeneity statistic is \(Q=11.631\) for 13 degrees of freedom, corresponding to \(p=0.558\), and the fitted extra scatter is zero. The separate means are \(0.17469\pm0.00444\,\mathrm{keV}\) in the North/NW and \(0.19314\pm0.02382\,\mathrm{keV}\) in the South/SE. Their difference is \(-0.01845\pm0.02423\,\mathrm{keV}\). The data therefore support a common phenomenological temperature near 0.18 keV but do not establish that all fields contain one spatially uniform plasma.
North/NW and South/SE surface fluxes
The primary absorbed 0.4–1.25 keV surface fluxes are summarized in Table 4. The North/NW best fit is higher, but the difference is only \(1.01\sigma\). The fractional contrast is also consistent with zero. Figure 1 shows that the two sides have different radial sampling and that several individual uncertainties are large.
Table 4. Primary v19 Measurements with Local-Covariance Uncertainties
| Quantity | North/NW | South/SE | North minus South |
|---|---|---|---|
| kTCGMsum (keV) | 0.17469 ± 0.00444 | 0.19314 ± 0.02382 | −0.01845 ± 0.02423 |
| Absorbed F0.4–1.25 (10⁻¹⁵ erg cm⁻² s⁻¹ arcmin⁻²) | 1.106 ± 0.054 | 0.894 ± 0.203 | 0.212 ± 0.210 |
The flux ratio is 1.238 ± 0.288 and the fractional asymmetry is 0.212 ± 0.230. Errors are propagated local-covariance errors, not profile-likelihood intervals.
The numerically valid sample contains 15 fields after adding the single-MOS sensitivity case. Its North-minus-South flux difference is \(0.198\pm0.210\,10^{-15}\,\mathrm{erg\,cm^{-2}\,s^{-1}\,arcmin^{-2}}\), nearly identical to the primary result. The strict 12-field sample gives \(0.147\pm0.274\,10^{-15}\,\mathrm{erg\,cm^{-2}\,s^{-1}\,arcmin^{-2}}\). These checks do not turn the mild positive best fit into a significant asymmetry.
Effect of the corrected analysis
For the same 14 fields, the legacy v18 analysis gave a North-minus-South difference of \(0.173\pm0.094\,10^{-15}\,\mathrm{erg\,cm^{-2}\,s^{-1}\,arcmin^{-2}}\). The v19 revision changes the effective band, resets grouping across the MOS gap, removes unconstrained forbidden-band line components, and uses pointing-dependent HI4PI columns. The difference between v18 and v19 cannot be interpreted as one systematic shift because several corrections were applied together. The legacy result is retained only as a regression comparison.
Discussion
The directly measured quantity is a line-of-sight sum
The approximately 0.18 keV component is widespread across the sampled footprint and has no detected excess temperature scatter. This consistency does not determine its distance. The Milky Way halo temperature distribution overlaps the current measurement (Henley and Shelton 2013a, 2015; Ponti et al. 2023; Locatelli et al. 2024), and target-specific work toward M31 has explicitly identified a similar combined foreground and target component (Kavanagh et al. 2020). At EPIC resolution, fitting two freely varying APEC components at nearly the same temperature would allow the optimizer to divide one spectral shape arbitrarily. Such a decomposition would not be a physical distance measurement.
Equation 1 is therefore the central interpretation rule. If Local-Group or bridge emission contributes, the observable becomes \[\begin{equation} S_{\rm obs}=S_{\rm MW}+S_{\rm M31}+S_{\rm LG}. \end{equation}\] The additional term increases the physical ambiguity unless it is constrained by an external spatial prior. It is therefore carried only as the explicitly named Local-Group branch of the conditional hierarchy in Section 6.3.
A mild best-fitting contrast, not an asymmetry detection
The North/NW best-fitting flux exceeds the South/SE value, but the \(1.01\sigma\) difference is not compelling. A small observed contrast constrains only \[\begin{equation} \Delta S_{\rm obs}=\Delta S_{\rm MW}+\Delta S_{\rm M31}, \label{eq:contrast} \end{equation}\] with an analogous Local-Group term if required. It constrains M31 asymmetry only if the Milky Way contribution is assumed uniform over the footprint. Conversely, it constrains Milky Way variation only if the sampled M31 halo is assumed symmetric. Neither assumption follows from the current data.
The geometric imbalance is equally important. The primary sample contains 10 North/NW but only four South/SE fields, and their median radii differ by 4.31 kpc. A side-only mean can mix radial structure with azimuthal structure. We therefore treat the values in Table 4 as a descriptive empirical baseline. The next analysis must fit a common radial function and a side offset in one likelihood, with the same nuisance conventions on both sides.
Figure 2 makes the geometric mixing explicit. We define the side-symmetrized total and contrast as \[\begin{equation} T=\frac{F_{\rm N}+F_{\rm S}}{2},\qquad D=F_{\rm N}-F_{\rm S}. \end{equation}\] The primary measurements give \(T=1.000\,10^{-15}\,\mathrm{erg\,cm^{-2}\,s^{-1}\,arcmin^{-2}}\) and \(D=0.212\,10^{-15}\,\mathrm{erg\,cm^{-2}\,s^{-1}\,arcmin^{-2}}\). Because the same two side means enter both quantities, their errors are strongly covariant; the confidence ellipses in Figure 2 use the full linear transformation of the two local-covariance errors rather than independent horizontal and vertical error bars.
Projecting the Zhang, Comparat, Ponti, Merloni, Nandra, Haberl, Locatelli, et al. (2024) symmetric M31-mass beta profile through the actual 14-field estimator gives \(D/T=-0.088\): the inverse-variance-weighted North/NW fields lie at larger M31 radii and are predicted to be slightly fainter. In contrast, the disk-like plus spherical Milky Way models of Locatelli et al. (2024), including the HI4PI absorption variation across the same pointings, give \(D/T=+0.058\) to \(+0.063\) because the North/NW fields lie closer to the Galactic plane. At the observed \(T\), the residuals from a uniform component, the symmetric-M31 template, and the central Milky Way template are \(1.01\sigma\), \(1.49\sigma\), and \(0.69\sigma\), respectively, after propagating the \(T\)–\(D\) covariance. The positive best fit therefore points in the direction expected for a Galactic latitude gradient, but the present uncertainty does not exclude a uniform component, a symmetric M31 profile, or any non-negative mixture between the two template families. Figure 2 is consequently an exploratory geometry diagnostic, not evidence against a Milky Way or M31 spatial model.
Foreground and M31 priors in a two-component constraint plane
Figure 3 temporarily sets \(S_{\rm LG}=0\) and represents the Milky Way and M31 terms by characteristic footprint-averaged values \(x\) and \(y\). Under this explicit approximation, the North/NW and South/SE measurements become two parallel constraints, \(x+y=1.106\pm0.054\) and \(x+y=0.894\pm0.203\), respectively. Their overlap constrains a sum, not a distance decomposition. Horizontal or vertical literature bands become conditional external priors, and an intersection with a diagonal band is an inference under that named prior rather than an independent measurement of either component.
The Henley and Shelton (2013a) continuum survey supplies the broad gray vertical context in Figure 3. Its intrinsic 0.5–2.0 keV range of \(0.5\)–\(7.0\times10^{-12}\,\mathrm{erg\,cm^{-2}\,s^{-1}\,deg^{-2}}\) and median \(1.5\times10^{-12}\) convert to \(x=0.107\)–\(1.501\,10^{-15}\,\mathrm{erg\,cm^{-2}\,s^{-1}\,arcmin^{-2}}\) and a median \(0.322\,10^{-15}\,\mathrm{erg\,cm^{-2}\,s^{-1}\,arcmin^{-2}}\) for the v19 \(kT=0.175\) keV APEC template. This is deliberately labeled population context: the catalog requires \(|b|>30^\circ\), M31 lies at \(b=-21.57^\circ\), and the nearest detected catalog field is about \(29.7^\circ\) away (Henley and Shelton 2013b). The M31-region oxygen-line catalog entries are observed totals from M31 pointings and are therefore not reused as a pure Milky Way prior (Henley and Shelton 2012a, 2012b).
The orange vertical band is a direction-dependent but more model-dependent alternative. We project the seven disk-like, spherical-plus-disk, SWCX, instrumental-background, and high-emissivity variants tabulated by Locatelli et al. (2024) through the 14 primary sightlines and the same inverse-variance side estimators. Converting their O VIII-fitted density models to the absorbed 0.4–1.25 keV band with each variant’s thermochemistry and the field-specific HI4PI column gives \(x=0.728\)–\(1.642\,10^{-15}\,\mathrm{erg\,cm^{-2}\,s^{-1}\,arcmin^{-2}}\); the combined-plus-SWCX variant gives \(1.435\,10^{-15}\,\mathrm{erg\,cm^{-2}\,s^{-1}\,arcmin^{-2}}\). These values are an interpolation of a three-dimensional O VIII morphology, not a local broadband measurement. Most of the central model family leaves little or no non-negative M31 residual, so the apparent tension tests the adopted O VIII-to-broadband conversion and foreground-screen model at least as much as it tests M31 emission. HaloSat and shadowing measurements independently warn that angular structure and foreground modeling remain important (Henley and Shelton 2015; Henley et al. 2015; Kaaret et al. 2020).
The empirical horizontal reference comes from the M31-stellar-mass eROSITA stack of Zhang, Comparat, Ponti, Merloni, Nandra, Haberl, Locatelli, et al. (2024). Evaluating its nominal beta profile at 20 kpc and converting its intrinsic 0.5–2.0 keV luminosity surface density with the same APEC template gives \(y=0.942\,10^{-15}\,\mathrm{erg\,cm^{-2}\,s^{-1}\,arcmin^{-2}}\). Its intersection with the all-field sum corresponds to a conditional Milky Way residual of \(x\simeq0.151\,10^{-15}\,\mathrm{erg\,cm^{-2}\,s^{-1}\,arcmin^{-2}}\). This line is not a formal prior interval: the published marginalized beta-profile errors lack the covariance required for a reliable 10–30 kpc envelope, and the population stack remains sensitive to mass matching and unresolved-source subtraction. The associated scaling and star-forming/quiescent analyses demonstrate the same normalization dependence (Zhang, Comparat, Ponti, Merloni, Nandra, Haberl, Truong, et al. 2024, 2025).
The simulation predictions in Grayson et al. (2025) span a much larger range. Digitizing their 10–30 kpc M31-mass bin and applying the same band conversion gives \(y=0.257\) for EAGLE-AGNdT9, \(0.512\) for fiducial EAGLE, \(1.076\) for EAGLE-NoAGN, and \(1.859\,10^{-15}\,\mathrm{erg\,cm^{-2}\,s^{-1}\,arcmin^{-2}}\) for fiducial SIMBA; the bootstrap bands are \(0.228\)–\(0.281\), \(0.450\)–\(0.568\), \(0.920\)–\(1.194\), and \(1.549\)–\(2.174\,10^{-15}\,\mathrm{erg\,cm^{-2}\,s^{-1}\,arcmin^{-2}}\), respectively. SIMBA-NoAGN gives \(y=12.13\,10^{-15}\,\mathrm{erg\,cm^{-2}\,s^{-1}\,arcmin^{-2}}\) and is off scale. Under \(x\geq0\), EAGLE-AGNdT9 and fiducial EAGLE require substantial Milky Way residuals, EAGLE-NoAGN lies close to the full observed sum, and both SIMBA predictions exceed it before any Milky Way term is added. This comparison is potentially discriminating, but remains conditional because one v19 APEC spectrum was used to convert intrinsically multiphase simulation emission.
More massive spiral halos provide useful shape precedents but not a direct M31 normalization (Anderson et al. 2016; Li et al. 2017, 2018). Any inferred M31 residual must retain the name, band conversion, and uncertainty of the foreground and target-profile priors used to obtain it.
A useful conditional hierarchy is:
no external prior: report only the full line-of-sight sum and its spatial contrast;
uniform Milky Way prior: interpret \(\Delta S_{\rm obs}\) as a diluted M31 side contrast;
symmetric M31 prior: interpret \(\Delta S_{\rm obs}\) as Milky Way variation;
external Milky Way distribution: profile a non-negative M31 component and report a prior-labeled upper limit;
external galaxy profile: fit a prior-labeled M31 radial template plus a Milky Way residual.
Local-Group/bridge template: add a named non-negative \(S_{\rm LG}\) term and report how it changes the conditional M31 and Milky Way ranges.
No conditional case should be presented as a direct decomposition.
Analysis Required before Submission
The v19 baseline is sufficiently mature to support the manuscript structure, but five items remain submission blockers.
Matched spatial likelihood. Fit all accepted fields with a common radial dependence plus a North/NW–South/SE offset. Report the joint covariance, likelihood interval for the side offset, and sensitivity to radial parameterization. The raw side means cannot be the final headline statistic.
Boundary-aware inference and optimizer checks. Use multi-start optimization, profile the non-negative thermal normalization and side contrast, and calibrate one-sided coverage with simulations under representative nuisance conditions. Replace every local-covariance interval used for a final claim.
Controlled systematic branches. At minimum vary the mask/exposure-weighted absorption treatment, HI/dust or total-column prescription, soft-proton model, CXB normalization/cosmic variance, SWCX treatment, abundance, hot-component/model topology, and fitting band. Report branch shifts separately before defining any combined uncertainty model.
Quantitative constraint product. Report a calibrated interval on the side offset or fractional asymmetry and at least the conservative U0 upper envelope obtained by assigning the full cool line-of-sight component to M31. A named-prior U1 or smooth-foreground U2 M31 limit would substantially strengthen a full ApJ article, but must remain explicitly conditional.
Submission documentation and figures. Recover the original flare-screening thresholds, bind each extraction to its calibration index, and freeze the source-detection likelihood and mask-radius rule. Add a sky-footprint figure, representative rebinned spectra and residuals, the radial-plus-side fit, and a systematic-branch summary. Archive the current observation table, code, and machine-readable product inventory with persistent versioning.
An absolute M31-versus-Milky-Way decomposition is not a required blocker if the paper remains explicitly about the line-of-sight sum. It becomes a blocker only for claims of a detected M31 halo component or a foreground-subtracted M31 luminosity. A matched off-M31 control field or an external foreground prior would strengthen that second, conditional layer.
Conclusions
We have constructed a homogeneous XMM-Newton baseline for 22 sightlines through the 10–31 kpc projected inner halo of M31. The direct conclusions are:
Fourteen technically valid dual-MOS fields contain a common cool component with \(kT=0.17531\pm0.00436\,\mathrm{keV}\).
The absorbed 0.4–1.25 keV surface fluxes are \(F_{\rm N}=1.106\pm0.054\) and \(F_{\rm S}=0.894\pm0.203\), in units of \(10^{-15}\,\mathrm{erg\,cm^{-2}\,s^{-1}\,arcmin^{-2}}\).
The North-minus-South difference is \(0.212\pm0.210\,10^{-15}\,\mathrm{erg\,cm^{-2}\,s^{-1}\,arcmin^{-2}}\), so the positive best fit is not a statistically compelling asymmetry detection.
The component is the unresolved line-of-sight sum of Milky Way and M31 emission, with a possible additional Local-Group term. EPIC spectra do not provide a unique distance decomposition.
Publication-level spatial constraints require a shared radial-plus-side likelihood, boundary-aware intervals, and a homogeneous systematic grid.
The stable result is therefore not a detection of M31’s hot halo by itself. It is a reproducible measurement of the foreground-degenerate soft component toward M31 and a weak constraint on its large-scale spatial contrast.
Data and Code Availability
The XMM-Newton observations are available from the XMM-Newton Science Archive. The machine-readable measurement table, production manifest, fitting code, validation scripts, and figure-generation script will be archived with a persistent identifier before submission.
This work made use of XMM-Newton data and the HI4PI atomic hydrogen survey. Full acknowledgments, proposal information, and funding statements will be added after the author list is finalized.












