Known issues and patches
Home Downloads Manual Issues/Patches Additional Models Xspec In Python Additional Python
    (updated 11/15/22) (updated 12/08/22)    

New issues from Xspec 12.13.0

Frequently Asked Questions

List of currently outstanding issues.


Latest update 12.13.0c (Dec 08, 2022)

Requires patch installer v4.16

To apply patches, you'll need to have downloaded and already built the source code distribution of XSPEC. For details about the patch installer including options available with the latest v4.16, click here. Otherwise, follow the instructions below.

Note: This assumes you have already set your HEADAS environment variables with the headas-init script, as you would if you were running XSPEC.

To make sure your XSPEC installation is up to date with ALL listed patches:

  1. If you don't already have the patch installer tcl script (v4.16), download and place it in the XSPEC src directory. This directory should be at heasoft-[ver]/Xspec/src from the source code distribution.
  2. Download the latest patchfile into the same directory. There is no need to unzip/untar the patchfile since the installer will do that.
  3. At the command line, launch the script by typing 'tclsh patch_install_[ver].tcl', and that's all.

The script should detect which patches you've installed previously, copy the new code files to the necessary directories, determine whether complete or only partial rebuilds are necessary, and finally perform the rebuilds. Numbers listed in red indicate that the patch modifies the interface to one or more of XSPEC's libraries. These patches will generally cause longer rebuilds. If you have a local model library, it is recommended (though not always necessary) that you rebuild it with initpackage after applying red patches.

12.13.0a This fixes a couple of plotting issues: When the X axis is in energies or wavelengths, plot delchi and plot fitstat (or plot chisq) are not being scaled properly. When the X axis is in wavelengths and perhz is on, plot counts is unable to construct its Y axis label. Our thanks to Jeremy Hare for pointing this out. Report added on Nov 17, 2022.

This patch modifies Xspec/src/XSPlot/Commands/ PlotData.cxx, XSPlot/Plot/ CreateBinnedPlotGroups.cxx and .h.

12.13.0b If a model defined using mdefine calls another xspec model which requires a separate model calculation for each spectrum, that information is lost. Our thanks to Federico Garcia for reporting this. Report added on Nov 23, 2022.

This patch modifies Xspec/src/XSFunctions/Utilities/ MdefExpression.cxx, .h, XSCall.cxx and XSModelFunction.cxx.

12.13.0c Fix to additional plotting issues introduced with v12.13.0. plot delchi and plot fitstat/chisq are not being properly scaled when spectra have multiple models assigned to them. This also restores the insertion of systematic model error into plot delchi and plot fitstat/chisq, and adds it to other plots that were previously ignoring it. Our thanks to Jeremy Hare, Craig Markwardt, and Mariano Mendez for reporting this. Report added on Dec 08, 2022.

This patch modifies Xspec/src/XSPlot/Plot/ CreateBinnedPlotGroups.cxx,

Older Versions:

Links to v11 bugs pages:
       v11 Bugs       v11 Bug reporters

Xspec Xspec Home Page

HEASARC Home | Observatories | Archive | Calibration | Software | Tools | Students/Teachers/Public

Last modified: Thursday, 08-Dec-2022 15:13:03 EST