Known issues and patches
Home Downloads Manual Issues/Patches Additional Models Xspec In Python
    (updated 08/07/13) (updated 06/04/14)    

New issues from Xspec 12.8.1

Frequently Asked Questions

List of currently outstanding issues.


Patches:

latest update 12.8.1p Jun 04, 2014

Requires patch installer v4.5

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.5, click here. Otherwise, just 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.5), 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.8.1a The optxagnf additive model component causes a crash when loaded. Our thanks to Xin-Lin Zhou for pointing this out. Report added on Aug 27, 2013.

This patch modifies heasoft-6.14/Xspec/src/XSFunctions/ optxagn.f and optxagnf.f

12.8.1b When loading a model explicity of the form:

M1((M2(A1+A2)+A3)M3+A4)

(that is, doubly-nested component groups AND with a multiplicative component (M3) on the right of the outer group), the model components will be displayed out of order. Our thanks to Kenji Hamaguchi for pointing this out. Report added on Sep 26, 2013.

This patch modifies heasoft-6.14/Xspec/src/XSModel/Model/Component/ SumComponent.cxx

12.8.1c This adds a new feature to PyXspec: a new attribute to the Fit object for retrieving the test statistic value, Fit.testStatistic. Our thanks to Francois Dufour for this suggestion. Report added on Oct 23, 2013.

This patch modifies heasoft-6.14/Xspec/src/XSUser/Python/xspec/ pyXspecmodule.cxx, PyFit.cxx, .h and fit.py

12.8.1d When a new best fit is found during a steppar run and the user agrees to run fit again, a bug may cause the new fit to start from a bad position in parameter space. Our thanks to Mason Keck for pointing this out. Report added on Oct 23, 2013.

This patch modifies heasoft-6.14/Xspec/src/XSFit/Fit/ Step.cxx

12.8.1e Bug fix to the eqpair model for the case of a negative kT_bb parameter. Report added on Nov 07, 2013.

This patch modifies heasoft-6.14/Xspec/src/XSFunctions/ eqpairsubs.f

12.8.1f In PyXspec, the Spectrum.correction get/set functions do not work when built on Mac OS X with the new Xcode 5. Report added on Nov 21, 2013.

This patch modifies heasoft-6.14/Xspec/src/XSUser/Python/xspec/ PySpectrum.cxx and spectrum.py

12.8.1g This adds Mac-specific compiler macros to ease the building of PyXspec with Xcode 5. Report added on Nov 21, 2013.

This patch modifies heasoft-6.14/Xspec/src/XSUser/Python/xspec/ PyFit.h, PyModel.h, PyParameter.h, PyPlot.h, PyResponse.h, PySpectrum.h, PyXset.h, PyxsIO.h, PyXSutils.h and pyXspecmodule.cxx

12.8.1h This modification allows users to load APEC data files containing zero lines (as may be needed to get a background spectrum for calibration purposes). Our thanks to Adam Foster for bringing this to our attention. Report added on Nov 21, 2013.

This patch modifies heasoft-6.14/Xspec/src/XSFunctions/ Aped.cxx

12.8.1i Because the save model command has been writing a default statistic command to its save file, when it is reloaded it overwrites any current statistic-to-single-spectrum assignments. To prevent this confusion, from now on the statistic setting information will only be stored in files generated from the save files or save all commands. Our thanks to Phil Evans and Nora Troja for bringing this to our attention. Report added on Dec 05, 2013.

This patch modifies heasoft-6.14[5]/Xspec/src/XSUser/Handler/ xsSave.cxx

12.8.1j When attempting to change the AtomDB version used by the Apec models, the xset APECROOT < version number > command only works when called BEFORE the first Apec model is loaded. Once an Apec model is loaded, the AtomDB version becomes fixed regardless of future adjustments to xset APECROOT. Our thanks to Ming Sun for pointing this out. Report added on Dec 18, 2013.

This patch modifies heasoft-6.14[5]/Xspec/src/XSFunctions/ Aped.cxx

12.8.1k Xspec is not properly handling the reading of model table files when the VALUES column of the PARAMETER extension is scalar rather than vector format. Our thanks to Pierre-Olivier Petrucci for pointing this out. Report added on Feb 04, 2014.

This patch modifies heasoft-6.14[5]/Xspec/src/XSModel/Model/Component/OGIPTable/ OGIPTable.cxx

12.8.1l This fixes a memory leak that was occurring with the compps model when it was applied to multiple spectra containing different numbers of energy bins. Our thanks to Pierre-Olivier Petrucci for pointing this out. Report added on Feb 12, 2014.

This patch modifies heasoft-6.14[5]/Xspec/src/XSFunctions/ xscompps.cxx

12.8.1m This fixes an inaccuracy in the gabs model when the line width is small compared to the energy binning. Our thanks to David Henley for pointing this out. Report added on Mar 20, 2014.

This patch modifies heasoft-6.14[5]/Xspec/src/XSFunctions/ gaussianAbsorptionLine.cxx, MZCompRefl.cxx, .h, functionMap.cxx, .h, funcWrappers.cxx, .h, Makefile, src/XSUtil/ AdaptiveIntegrate.h, Makefile, and src/manager/ model.dat

12.8.1n This fixes a couple of issues involving the running of MCMC chains using the Goodman-Weare algorithm (the default): If the chain is run without having done a fit (so no covariance information), the first N points of the chain are incorrectly frozen, where N = number of walkers. Also when a G-W chain file is loaded, if it is the first loaded chain then Xspec should reset the chain walkers setting to match whatever is in the file. Our thanks to Carlo Ferrigno for pointing this out. Report added on Apr 17, 2014.

This patch modifies heasoft-6.14[5]/Xspec/src/XSFit/MCMC/ Chain.cxx and XSUser/Handler/ xsChain.cxx

12.8.1o The pstat statistic is currently inaccessible. When attempting to set it (with the statistic command), XSPEC instead loads the pgstat statistic. Our thanks to Giacomo Vianello for pointing this out. Report added on May 20, 2014.

This patch modifies heasoft-6.14[5]/Xspec/src/XSUser/Global/ XSGlobal.cxx

12.8.1p Bug fix for the pstat statistic. Report added on Jun 04, 2014.

This patch modifies heasoft-6.14[5]/Xspec/src/XSFit/StatMethod/Cstat/ CstatVariants.cxx


Older Versions:

Final issues/patches pages:
    12.8.0
    12.7.1
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: Wednesday, 02-Jul-2014 15:57:34 EDT