Spectral fitting

Overview

At this website it is possible to model X-ray spectra of a large subset of XMM-Newton detections for which SAS based pipeline has extracted necessary data products. For the 4XMM-DR11 catalog, out of 895 415 detections 319 565 (or 35.7%) have spectra. Note that they were extracted in an automated regime so in complex cases such as highly variable / diffuse background, aperture centering and background extraction algorithms work imperfectly. In other words, these spectra and present spectral analysis tool are provided for quick-look purposes only.

If you want to try the spectral fitting but are not sure which source to take, just type has_spectrum = true in the search field at the top and pick any item from the list of results. Then click any of the Fit spectrum links in the table at the bottom of the page.

Data

The XMM-Newton pipeline produces the following spectral data products for sources which are used at the core of the spectral fitting functionality:

The fitting application uses most recent version of canned response matrices.

More details on these and other science ready data products from the XMM-Newton are available in the Specifications for individual SSC data products document.

Please note that SRSPEC, BGSPEC, SRCARF data products are available for direct download from this website for further analysis in any OGIP-compatible software package such as XSPEC, Sherpa or ISIS. To find direct download links one needs to fetch exported detections table in FITS, VOTable or CSV formats from any query results and check columns url_data_spectrum_PN, url_data_bckgrnd_PN, url_data_arf_PN (replace 'PN' to 'M1' or 'M2' in column names if you are interested in MOS data).

Software

Under the hood the spectral fitting engine uses PyXSPEC, the Python interface to XSPEC (part of HEASoft). XSPEC is the standard X-ray spectral fitting package maintained by NASA/GSFC. All spectral models available in XSPEC can in principle be made available here — if you miss a specific model from the XSPEC model library, let us know and we will add it.

Spectral fitting interface

Model parameters options

If the fit is successful, the X-ray spectrum plot is updated with the fitted model and residuals (in units of sigma). The text output shows the fit statistic, reduced χ², model parameters at their best-fit values, and the total model energy flux within the specified energy range.