Known issues and patches
Home Downloads Manual Issues/Patches Additional Models Xspec In Python
    (updated 10/23/18) (updated 02/19/20)    

New issues from Xspec 12.10.1

Frequently Asked Questions

List of currently outstanding issues.


Patches:

latest update 12.10.1s Feb 19, 2020

Requires patch installer v4.10

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.10, 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.10), 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.10.1a For users attaching the models-only library to their own programs, a crash may occur when calling the FNINIT initialization function. FNINIT is also not properly reading the default settings from a user's Xspec.init file (when one exists). Our thanks to Doug Burke for pointing this out. Report added on Oct 25, 2018.

This patch modifies heasoft-6.25/Xspec/src/XSFunctions/Utilities/ xsFortran.cxx.

12.10.1b Changed the default lower limits on the cph, vcph redshift parameters for consistency with other cooling flow models. Also changed the name of the spin parameter in kyconv and kyrline from 'a/M' to 'a' to avoid problems in PyXspec. Our thanks to Doug Burke for pointing this out. Report added on Oct 25, 2018.

This patch modifies heasoft-6.25/Xspec/src/manager/ model.dat.

12.10.1c An enhancement needed for PyXspec to run the error command on response parameters. This adds a flag as an optional second argument to the Fit.error() function, which must be set to True when running error on reponse parameters. For example, to calculate the error on the 2nd response parameter:

Fit.error('2',True)

Our thanks to Phil Kaaret for bringing this to our attention. Report added on Feb 27, 2019.

This patch modifies heasoft-6.25/Xspec/src/XSUser/Handler/ XSinterface.cxx and XSUser/Python/xspec/ fit.py.

12.10.1d This fixes a bug the rdblur, kdblur, kdblur2, and kerrconv convolution models when the model was evaluated on a non-uniform energy grid. Report added on Mar 04, 2019.

This patch modifies heasoft-6.25/Xspec/src/XSFunctions/ blurring.cxx, kdblur.cxx, kdblur2.cxx, rdblur.cxx and spinconv.cxx.

12.10.1e Bug fixes for the mdefine command. This primarily applies to cases using built-in Xspec multiplicative and convolution components in the mdefine expression. Also fixes cases using component names with upper-case letters. Report added on Mar 28, 2019.

This patch modifies heasoft-6.25/Xspec/src/XSFunctions/Utilities/ MdefExpression.cxx and .h.

12.10.1f This fixes some parsing issues with the statistic test command. Report added on Apr 26, 2019.

This patch modifies heasoft-6.25/Xspec/src/XSFit/Fit/ StatManager.cxx and XSUser/Handler/ xsStatistic.cxx.

12.10.1g This fixes a general-case calculation bug in the kerrconv model that was introduced in patch 12.10.1d. Our thanks to Sophia Waddell for pointing this out. Report added on Jun 03, 2019.

This patch modifies heasoft-6.26/Xspec/src/XSFunctions/ spinconv.cxx and blurring.cxx.

12.10.1h This fixes a crash that can occur with the relconv convolution models. (Also included with this patch is a fix to the kdblur model.) Our thanks to Roderick Johnstone for pointing this out. Report added on Jun 10, 2019.

This patch modifies heasoft-6.26/Xspec/src/XSFunctions/ relconv.f90 and kdblur.cxx.

12.10.1i This patch updates the libraries that are included when a local model Xspec is built. This is particularly important for the propfluc local model. Report added on Jun 12, 2019.

This patch modifies heasoft-6.26/Xspec/src/tools/initpackage/ xspackage.tmpl.

12.10.1j The show pha command does not display anything for spectra which don't have models assigned to them. This also includes a bug fix for plot delchi for spectra using multiple statistics. Report added on Jun 26, 2019.

This patch modifies heasoft-6.26/Xspec/src/XSModel/Data/ SpectralData.cxx and XSPlot/Commands/ PlotDelchi.cxx.

12.10.1k Fix for corner case usage of the slimbh model, when opting not to use its default table file. Report added on Jul 09, 2019.

This patch modifies heasoft-6.26/Xspec/src/XSFunctions/ xslimbb.c.

12.10.1l For fakeit generated output files, the HDUVERS1 keyword should be updated from '1.1.0' to '1.2.1' since CHANNEL and COUNTS columns can be written in 'J' format. Our thanks to Mike Loewenstein for pointing this out. Report added on Aug 02, 2019.

This patch modifies heasoft-6.26/Xspec/src/XSModel/Data/ OGIP-92aData.cxx.

12.10.1m This patch updates rdblur, kdblur, kdblur2, kerrconv for considerable speed improvements over previous patches. It also removes the models relline, relline_lp, relline_lp_ext, relconv, relconv_lp, relconv_lp_ext since these are older versions to those available through the relxill local model package, and have been causing problems for people loading relxill. Report added on Aug 14, 2019.

This patch modifies heasoft-6.26/Xspec/src/manager/ model.dat, src/XSFunctions/ Makefile, funcWrappers.cxx, .h, functionMap.cxx, .h, kerrd.cxx, spin.cxx, dospin.f, spinconv.cxx, rdblur.cxx, kdblur.cxx, kdblur2.cxx, src/XSUtil/ Makefile, src/XSUtil/Numerics/ Convolution.h.

12.10.1n The Pearson chi-square (pchi) test statistic is not properly calculated when a spectrum has mulitple models assigned to it. Our thanks to Andy Beardmore for pointing this out. Report added on Sep 09, 2019.

This patch modifies heasoft-6.26/Xspec/src/XSFit/StatMethod/ChiSquare/ PearsonChiSquare.cxx.

12.10.1o When 2 or more named models are in use, and the name of one is a substring (starting at the beginning of the name) of another, a crash may occur when models are replaced. Our thanks to David Buote for pointing this out. Report added on Nov 18, 2019.

This patch modifies heasoft-6.26/Xspec/src/XSModel/GlobalContainer/ ModelContainer.cxx and src/XSUtil/Utils/ XSutility.h.

12.10.1p Extended the precision from floats to doubles for certain local variables in the Poisson randomization algorithm. This fixes an outlier case which had been getting stuck during fakeit runs. Our thanks to Eric Miller for pointing this out. Report added on Dec 13, 2019.

This patch modifies heasoft-6.26/Xspec/src/XSUtil/Numerics/ Poisson.cxx.

12.10.1q The statistic command is not properly handling the case of the whittle option when no number is appended to the end of 'whittle'. (An appended number represents the number of power density functions averaged together.) It should be treating this the same as if it were 'whittle1'. Our thanks to Andrew Lobban for pointing this out. Report added on Jan 22, 2020.

This patch modifies heasoft-6.26/Xspec/src/XSFit/StatMethod/Cstat/ CstatVariants.cxx.

12.10.1r On some compilers, a crash may occur when calculating chi-square for the case where one of the loaded spectra has no noticed channels. Our thanks to Glenn Morris for pointing this out. Report added on Feb 19, 2019.

This patch modifies heasoft-6.26/Xspec/src/XSFit/StatMethod/ChiSquare/ ChiSquare.cxx and PearsonChiSquare.cxx.

12.10.1s When running chains of type Goodman-Weare and the fit is not in a currently valid state, it is not properly handling the case where one or more of the starting parameter values are near a hard min/max limit. In such cases, it is allowing values outside the limits to appear in the output chains. Our thanks to Carlo Ferrigno for pointing this out. Report added on Feb 19, 2019.

This patch modifies heasoft-6.26/Xspec/src/XSFit/MCMC/ Chain.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: Friday, 16-Jul-2021 18:58:13 EDT