The XSPEC dragon

Softly dripping tap
The morning e-mail brings news
of another xspec bug

XSPEC v11.2 Known Issues

Recompilation instructions. Most patches require recompilation of XSPEC. Please follow the instructions below if necessary
  1. If you have compiled xspec for other machine architectures since you originally installed it, you will need to reconfigure the package for your current machine. To do this:
    • cd {distribution root}/src/BUILD_DIR
    • ./hmake distclean
    • ./configure

  2. Set environment variables for development (here are the csh & variant instructions):
    • setenv LHEASOFT {distribution root}/{architecture}, where architecture is the architecture specific directory, such as Linux_2.2_i686 or SunOS_5.6_sparc
    • source $LHEASOFT/lhea-init.csh
    • source $LHEASOFT/BUILD_DIR/devinit.csh

  3. If you build with local models make sure to setenv LMODDIR to your local model directory.
  4. Change directory to {distribution root}/src/spectral/xspec/src

  5. type "hmake", followed by "hmake install". If you cleaned the distribution, then this will recompile the xspec binary from the beginning (but not the libraries upon which it depends).

New Issues from XSPEC 11.2

11.2.0a
There are two bugs in fakeit. If there is no background file in use then the BACKFILE command in the faked file is set incorrectly. The workaround is to change the keyword to 'NONE'. The value of the fit statistic written to the screen by the fakeit command is wrong. The workaround is to follow the fakeit command by newpar 0. Bug report added on Jun 24, 2002. Note that this fix has been superseded by 11.2.0i.
11.2.0b
The normalization (Mdot) of the cooling flow models does not depend on the cosmology set by the cosmo command. Our thanks to Glenn Morris for reporting this. Bug report added on Jun 24, 2002.

The fix is to replace spectral/xspec/src/functions/xsvcfl.f and rebuild XSPEC.

11.2.0c
The model is not recalculated when the abundance ratios are changed by the abund command. A workaround is to follow with the command "newpar 0". Bug report added on Jun 24, 2002.

The fix is to replace spectral/xspec/src/COMMAND/xscmnd.f and rebuild XSPEC.

11.2.0d
The error command can go into an infinite loop in (hopefully) unusual circumstances. Our thanks to Konstantin Getman for reporting this. Bug report added on Jun 29, 2002.

The fix is to replace spectral/xspec/src/FIT/clcunc.f and spectral/xspec/src/FIT/lvmrun.f then rebuild XSPEC.

11.2.0e
The help on apec and vapec erroneously refers to the XSPEC_APEC environment variable instead of the new xset APECROOT method for changing the files used. Bug report added on Jul 5, 2002.

The fix is to replace spectral/xspec/help/xspec.hlp

11.2.0f
The error option on flux and lumin does not work correctly under Solaris. Our thanks to Don Horner for reporting this. Bug report added on Jul 5, 2002.

The fix is to replace spectral/xspec/src/DATA/calflx.f and rebuild XSPEC.

11.2.0g
The xspec library (libxspec.a) gives a link error when used with a program other than XSPEC. Our thanks to David Buote for reporting this. Bug report added on Jul 25, 2002.

The fix is to replace spectral/xspec/src/xspec.c, spectral/xspec/src/COMMAND/procom.c and rebuild XSPEC. Note that this change does not fix any problem with XSPEC itself.

11.2.0h
There is an error in the (v)npshock and (v)sedov models for neispec versions 1.0 and v1.1. Our thanks to John Houck for spotting this. Bug report added on Jul 25, 2002.

The fix is to replace spectral/xspec/src/functions/oneispec.f, spectral/xspec/src/functions/neispec.f and rebuild XSPEC.

11.2.0i
The BACKFILE keyword is written incorrectly by fakeit when a background file is in use. Thanks to Konstantin Getman and David Buote for (independently) reporting this. Bug report added on Aug 5, 2002.

The fix is to replace spectral/xspec/src/DATA/wrtfak.f and rebuild XSPEC.

11.2.0j
The cooling flow models produce no flux. The reason is that the cosmological parameters are not initialized to non-zero values. The workaround is to use the cosmo command to set H0 (and optionally q0 or lambda0). Note that the fix below initializes H0=50, q0=0, l0=0. Our thanks to Jeremy Sanders for reporting this. Bug report added on Aug 6, 2002.

The fix is to replace spectral/xspec/src/COMMAND/xsstrt.f and rebuild XSPEC.

11.2.0k
The ignore command is really slow with grating data. The workaround is to perform all the ignores before reading in the response. Thanks to Adrian Turner for reporting this. Bug report added on Aug 13, 2002.

The fix is to replace spectral/xspec/src/COMMAND/xscmnd.f and spectral/xspec/src/DATA/ignore.f then rebuild XSPEC.

11.2.0l
The identify command (and seplot id option) miss off the final line in the list. Also, identify using the apec table does not change the file in use if xset apecroot is used. Thanks to Allyn Tennant for spotting this. Bug report added on Aug 13, 2002.

The fix is to replace spectral/xspec/src/COMMAND/idntfy.f, spectral/xspec/src/COMMAND/gtapln.f and spectral/xspec/src/PLOT/mklnid.f then rebuild XSPEC.

11.2.0m
The (v)pshock models produce garbage if only the abundance is changed between successive model evaluations. Thanks to Kazik Borkowski for reporting this. Bug report added on Sep 9, 2002.

The fix is to replace spectral/xspec/src/functions/oneispec.f and rebuild XSPEC.

11.2.0n
The ? command fails to give a list of the available commands if local models are in use. The workaround is to copy the file xspec.cmd from $LHEASOFT/../spectral/xspec/manager to $LMODDIR. Thanks to Gregory Sivakoff for reporting this. Bug report added on Sep 12, 2002.

The fix is to replace spectral/xspec/src/COMMAND/comsum.f and rebuild XSPEC.

11.2.0o
Integral IBIS files do not work in XSPEC due to a certain laxity in applying the standard. This fix allows the nth spectrum in the file to be accessed by filename{n} as though the file was in the standard type II format. A similar fix for the ARF is included. Bug report added on Sep 13, 2002.

The fix is to replace spectral/xspec/src/FILE/rdarfd.f, spectral/xspec/src/FILE/rddtog.f, spectral/xspec/src/FILE/rdsfog.f, spectral/xspec/src/DATA/gtspec.f, and rebuild XSPEC.

11.2.0p
XSPEC will not execute a script in the parent directory to the current one. Thanks to Allyn Tennant for this report. Bug report added on Sep 18, 2002.

The fix is to replace spectral/xspec/src/tcl/execscript.c and rebuild XSPEC.

11.2.0q
Within a script, a blank line following the newpar command will cause the command to be ignored. Thanks to Konstantin Getman for this report. Additionally, any newpar command in a script that attempts to modify multiple parameters will not change the first parameter requested. Bug report added on Sep 23, 2002.

The fix is to replace spectral/xspec/src/MODEL_PARAM/parameter.c and rebuild XSPEC.

11.2.0r
Under Linux or MacOS X garbage is written to the screen if the user gives the command cpd / or if the extend command is given when no datasets have been read. Thanks to Adrian Turner for reporting these problems. Bug report added on Sep 23, 2002.

The fix is to replace spectral/xspec/src/RESPONSE/extrsp.f, and spectral/xspec/src/PLOT/setpdv.f, then rebuild XSPEC.

11.2.0s
The newpar command sets the first parameter entered twice: this problem was introduced by patch 11.2.0q which is therefore superseded by this fix. Thanks to Roderick Johnstone and Lisa Voigt for this report. Bug report added on Sep 27, 2002.

The fix is to replace spectral/xspec/src/MODEL_PARAM/parameter.c and rebuild XSPEC.

11.2.0t
The reflect model produces incorrect results if the response matrix does not have constant witdth energy bins. Thanks to Joern Wilms for reporting this. Bug report added on Sep 27, 2002.

The fix is to replace spectral/xspec/src/functions/reflct.f and rebuild XSPEC.

11.2.0u
There are three minor problems with saved command files : if the model string is too long it will be split into separate lines which cannot then be reread by xspec; any string parameters specified by xset are not written out; cornorm commands are written out even if no correction file is in use. These bugs were reported by Ian George, Marc Audard, and David Buote, respectively. Bug report added on Oct 2, 2002.

The fix is to replace spectral/xspec/src/FILE/prfile.f, spectral/xspec/src/MODEL_COMP/prmodl.f, and rebuild XSPEC.

11.2.0v
Under very unusual (and obscure) circumstances fakeit can overwrite the existing file instead of creating a new one with different name. Thanks to David Buote for reporting this bug. Bug report added on Oct 2, 2002.

The fix is to replace spectral/xspec/src/DATA/setfak.f, spectral/xspec/src/DATA/fakeit.c, spectral/xspec/inc/xscf.h, and rebuild XSPEC.

11.2.0w
Giving show an incorrect argument can crash xspec under Linux and MacOS X. Thanks to Glenn Morris for reporting this. Bug report added on Oct 4, 2002.

The fix is to replace spectral/xspec/src/COMMAND/wrtinf.f, and rebuild XSPEC.

11.2.0x
The mdef command does not work if any bug patch has been applied. Thanks to Marcus Teter for reporting this. Bug report added on Oct 7, 2002.

The fix is to replace spectral/xspec/src/XSTAP/xsp_mdef.f, and rebuild XSPEC.

11.2.0y
The plot sum command doesn't work with gcc/g77 compilers. Thanks to Joern Wilms for reporting this. Bug report added on Oct 26, 2002.

The fix is to replace spectral/xspec/src/DATA/pltsum.f, and rebuild XSPEC.

11.2.0z
The model is not completely reset if an error is made when using the model command. This can lead to problems if a fit command is given before redefining the model. Thanks to Joern Wilms for reporting this. Bug report added on Oct 26, 2002.

The fix is to replace spectral/xspec/src/MODEL/makmod.f, and rebuild XSPEC.

11.2.0aa
The help files for xspec and plt cannot both be accessed in the same xspec session. If the help command is invoked from the xspec prompt then subsequent invocations from the plt prompt (after iplot) will give help for xspec and not for plt. If the plt help is accessed first then that is what appears when the xspec help command is invoked. Thanks to Ilana Harrus for reporting this. Halloween bug report added on Oct 31, 2002.

The fix is to replace xanlib/xpi/ihf/ihf.c, and rebuild XSPEC.

11.2.0ab
Removing a dataset (through data none) can cause the final bin in a remaining dataset to have incorrect energy bounds. This can lead to all the channels being removed when ignoring on energy. Thanks for Ingo Kreykenbohm for reporting this. Bug report added on Nov 16, 2002.

The fix is to replace spectral/xspec/src/RESPONSE/rpdat.f, and rebuild XSPEC.

11.2.0ac
Local models cannot include C routines. Bug report added on Nov 27, 2002. Updated on Dec 3, 2002 to fix infinite loop that ensues if the local model directory contains no *.c files.

The fix is to replace spectral/xspec/src/local_mod/Makefile.

11.2.0ad
The name for a save file cannot contain upper case characters. Thanks for Jeremy Sanders for reporting this. Bug report added on Nov 29, 2002.
11.2.0ae
The flux tclout command actually writes out the luminosity (in 10^44 erg/s) if a lumin command has been given more recently than a flux command. Thanks for Jeremy Sanders for spotting this. Bug report added on Dec 3, 2002.
11.2.0af
The NEI models can sporadically die with seg fault, memory error, or floating exception (depending on the system). Thanks to Una Hwang for reporting this. Bug report added on Dec 13, 2002.

The fix is to replace spectral/xspec/src/functions/cont.f.

11.2.0ag
plot icounts doesn't work if setplot add has been set. Also, 2-panel plots with the top being icounts don't work. Bug report added on Dec 17, 2002.

The fix is to replace spectral/xspec/src/DATA/pltfld.f and spectral/xspec/src/PLOT/xpltit.f.

11.2.0ah
In an attempt to reduce compute time XSPEC doesn't recalculate models for any datasets with identical energy ranges to an earlier dataset. This is fine except for models that actually use the IFL argument and treat each dataset individually. There are no standard models which do this but users may run into this issue when writing local models. The slightly ugly workaround is to read each dataset in a separate datagroup. Thanks to Jeremy Sanders for reporting this. Bug report added on Dec 17, 2002.
11.2.0ai
The net errors can be (obviously) incorrect if changing to a non-standard weighting (eg gehrels) for a dataset without a background file. The workaround is to give the weight command before reading in the data. Thanks to Marc Audard for reporting this. Bug report added on Dec 19, 2002.

The fix is to replace spectral/xspec/src/DATA/stwght.f

11.2.0aj
In the data command attempting to skip over a non-existent dataset (eg data ,,file2 when only one file has been read in) causes a crash. Thanks to Joern Wilms for reporting this. Bug report added on Dec 28, 2002.

The fix is to replace spectral/xspec/src/DATA/gtdtfl.f

11.2.0ak
The lumin command writes q0 and lambda0 with only one decimal place of accuracy leading to confusion if lambda0 is set to eg 0.65. Thanks to Zhi Ying Huo for reporting this. Bug report added on Jan 21, 2003.

The fix is to replace spectral/xspec/src/DATA/calflx.f

11.2.0al
The tclout plot contour command doesn't write out all the values in the steppar run. Bug report added on Feb 5, 2003.

The fix is to replace spectral/xspec/src/PLOT/xpltit.f. Note that the tclout output is not in the same order as the steppar list because steppar switches direction on the parameters stepping fastest.

11.2.0am
The xion model can give zero flux after a parameter is changed (ie when the function is called for a second or subsequent time) for systems compiling using g77. Thanks to Ian George for spotting this. Bug report added on Feb 5, 2003.

The fix is to replace spectral/xspec/src/functions/xsxirf.f.

11.2.0an
The tclout flux and eqwidth commands take the dataset number as an argument not the datagroup number. There was also a bug that the valid argument range was based on datagroups not datasets. Thanks to Miriam Krauss for reporting this. Bug report added on Feb 6, 2003.

The fix is to replace spectral/xspec/src/COMMAND/tclout.c and spectral/xspec/help/xspec.hlp

11.2.0ao
Mega-patch of bugs and some small new features that have been requested. Includes: a) fixed setplot dev none; b) fixed projct model so it works correctly for multiple observations ie more than one dataset per datagroup; c) added fstat and query options to tclout to return information on results of last ftest command and current setting of the query; d) if steppar has been performed on only one parameter then plot contour produces a 1-D plot; e) the model description written out can now be cut and paste to use in the model or editmod commands. Bug report added on Feb 7, 2003.
Modified Feb 24, 2003 - the wrong versions of tclout.c and xscf.h were included in the tar file.

The fix is to use the latest patch file, uncompress and rebuild XSPEC.

11.2.0ap
The command fakeit filename does not work correctly. If no previous dataset has been read it creates fake source and background files with zero counts and if a previous dataset has been read then it uses the backscal and areascal from this dataset instead of from the filename specified in the fakeit command. Our thanks to Allyn Tennant for reporting this. Bug report added on Feb 16, 2003.

The fix is to replace spectral/xspec/src/DATA/gtfkfl.f

11.2.0aq
There is a subtle bug in the code that interpolates mtables. This can cause incorrect models where an input table energy range is split across response energy ranges. Our thanks to Adrian Turner for spotting this and supplying excellent diagnostics. Bug report added on Feb 21, 2003.

The fix is to replace spectral/xspec/src/functions/xsmtbl.f

11.2.0ar
Parameters are written with an insufficient number of significant figures for some analysis of grating data. Thanks to Ilaria Cagnoni for reporting this. Bug report added on Mar 10, 2003.

The fix is to replace spectral/xspec/src/MODEL_PARAM/wrtpar.f

11.2.0as
Long model string parameters can be truncated when using the xset command with no arguments to get a list of parameters. Thanks to Marc Audard for reporting this. Bug report added on Mar 10, 2003.

The fix is to replace spectral/xspec/src/COMMAND/stxset.f

11.2.0at
The mdef command doesn't work correctly for convolution models. Thanks to Dirk Pandel for reporting this. Bug report added on Mar 12, 2003.

The fix is to replace spectral/xspec/src/XSTAP/xsp_conv.f

11.2.0au
The bug fix to reflct in 11.2.0t introduced a new bug that causes the calculated amount of reflection above 10 keV to be smaller than it ought to be. The effect of this can be seen by comparing reflct(cutoffpl) with pexrav. Thanks to Andrzej Zdziarski and Piotr Lubinski for diagnosing this. Bug report added on Mar 17, 2003.

The fix is to replace spectral/xspec/src/functions/reflct.f

11.2.0av
XSPEC under Linux can die due to undefined symbols when running local models which are included at run-time. This has been extensively reported for the acisabs and compps models. Bug report added on Mar 18, 2003.

The fix is to follow these instructions.

11.2.0aw
There are several points to watch out for when using the error option on the flux or lumin commands. The model cannot be changed (using model, editmod, addc, or delc) between doing a fit and flux/lumin with errors. If a parameter is changed, eg the absorption column set to zero, the realizations used to estimate the error will vary the parameter around its new value but with a variance from the last fit. Bug report added on Mar 28, 2003.

11.2.0ax
There is an error in the cooling flow models (cflow, mkcfl, vmkcf) causing incorrect weightings to the emission measure at the extremes of the temperature range. The main effect seems to be an approximately 10% error in the normalization. Thanks to Dave Smith for spotting this. Bug report added on Mar 28, 2003.

The fix is to replace spectral/xspec/src/functions/xsvcfl.f.
The old model is available using the XSPEC command xset cflow_version 1. The new version is the default and can be set by xset cflow_version 2. The new version also allows the number of temperature steps in the integration to be varied. The default is 10 and can be changed by eg xset cflow_ntemps 20. Note that changing the number of integration steps will have little practical effect unless switch=0 in the mkcfl or vmkcf models.

11.2.0ay
The compbb model crashes under Linux if the electron temperature is a frozen parameter. Our thanks to Motohide Kokubun for reporting this. Bug report added on Apr 21, 2003.

The fix is to replace spectral/xspec/src/functions/compbb.f.

11.2.0az
If MAXVPR in xspec.inc is set to more than 100 then XSPEC core dumps. Our thanks to Roderick Johnstone for reporting this. Bug report added on Apr 22, 2003.

The fix is to replace spectral/xspec/src/FIT/svdcmp.f and spectral/xspec/src/FIT/xmatin.f

11.2.0ba
Fakeit produces an incorrect background file if the input source and background files have different values of BACKSCAL. A workaround is to change the BACKSCAL of the fake background file to be equal to that of the source file. Our thanks to Andy Ptak for spotting this. Bug report added on Apr 24, 2003.

The fix is to replace spectral/xspec/src/DATA/makfak.f and spectral/xspec/src/DATA/calbfk.f

11.2.0bb
Gain fitting parameters that are saved to a script are not read back correctly. Thanks to Jeremy Sanders for reporting this. Bug report added on Apr 28, 2003.

The fix is to replace spectral/xspec/src/RESPONSE/gninit.f, spectral/xspec/src/COMMAND/xscmnd.f, spectral/xspec/src/MODEL/setgna.f, and spectral/xspec/src/MODEL_COMP/rstmod.f.

11.2.0bc
There is an error in the XSPEC implementation of the APEC model which causes the continuum to be calculated a factor of (1+z)^2 too low. Note that this will change fitted abundance values for high redshift clusters. Thanks to Doug Burke for reporting this. Bug report added on May 2, 2003.

The fix is to replace spectral/xspec/src/functions/sumape.f.

11.2.0bd
The diskbb model crashes under some (apparently rare) circumstances. Thanks to Ed Colbert for reporting this. Bug report added on May 9, 2003.

The fix is to replace spectral/xspec/src/functions/xsdskb.f.

11.2.0be
The documentation for the srcut model contains an error. The correction is explained in this erratum. Thanks to Steve Reynolds for supplying this. Bug report added on May 19, 2003.
11.2.0bf
The save command (and autosave) do not save the abundance table or cross-section option. Thanks to Wayne Baumgartner for reporting this. Bug report added on May 20, 2003.

The fix is to replace spectral/xspec/src/COMMAND/autpro.f and spectral/xspec/src/COMMAND/wrtpro.f.

11.2.0bg
The NEI models v1.x do not work correctly with response matrices with varying energy binning - spurious line features can arise at energies where the binning changes. Thanks to Samar Safi-Harb for reporting this. Bug report added on Jun 27, 2003.

The fix is to replace spectral/xspec/src/functions/cont.f and rebuild XSPEC.

11.2.0bh
The projct model produces spurious warning messages if all the channels are ignored for one or more datasets. Thanks to Jeremy Sanders for reporting this. Bug report added on Jul 7, 2003.

The fix is to replace spectral/xspec/src/functions/projct.f and rebuild XSPEC.

11.2.0bi
Models with gain fit, linked parameters, and multiple datagroups are not saved correctly. The linked parameters end up linked to the wrong parameters. Thanks to Terry Gaetz for reporting this. Bug report added on Jul 11, 2003.

The fix is to replace spectral/xspec/src/MODEL_COMP/prmodl.f and rebuild XSPEC.

11.2.0bj
Command files created by the save command cannot contain upper case letters. Thanks to Jeremy Sanders (who else) for reporting this. Bug report added on Jul 11, 2003.

The fix is to replace spectral/xspec/src/COMMAND/wrtpro.f and rebuild XSPEC.

11.2.0bk
Multiplicative models set up using mdefine are (incorrectly) multiplied by the response bin width. Thanks to Craig Heinke for reporting this. Bug report added on Jul 12, 2003.

The fix is to replace spectral/xspec/src/XSTAP/xsp_mod.f and rebuild XSPEC.

11.2.0bl
The model command can seg fault if the model erroneously contains delimiters (eg (,),*,+) that are not part of a valid component. An example is ending the model string with (. Thanks to Jeremy Sanders for reporting this. Bug report added on Jul 21, 2003.

The fix is to replace spectral/xspec/src/MODEL/modprs.f and rebuild XSPEC.

11.2.0bm
Reading the xautosav.xcm file back into XSPEC does not work correctly under some circumstances involving complicated models and many datasets. The workaround is to rename the xautosav.xcm file to something else before using it as a command file for XSPEC. Thanks to Wayne Baumgartner for reporting this. Bug report added on Jul 24, 2003.
11.2.0bn
Giving the error or uncertainty command between doing a fit and a flux err causes the latter to give an incorrect result. Thanks to Sandy Patel for pointing this out. Bug report added on Jul 28, 2003.
11.2.0bo
The etable model does not work correctly for response energies which lie outside those tabulated in the table model file. The model is set to exp(-1.0) and not the correct value of 1.0. Thanks to Chris Done for reporting this. Bug report added on Jul 30, 2003.

The fix is to replace spectral/xspec/src/functions/xsmtbl.f and spectral/xspec/src/functions/xsetbl.f then rebuild XSPEC.

11.2.0bp
The eqwidth command does not reset the internal total model array correctly. The result is that following an eqwidth command with a flux or lumin command will give the flux or luminosity of the model without the line component. Our thanks to Ed Colbert for spotting this. Bug report added on Aug 15, 2003.

The fix is to replace spectral/xspec/src/MODEL_COMP/eqwdth.f and rebuild XSPEC.

11.2.0bq
When using parameters whose maximum is not equal to their top or minimum is not equal to their bottom it is possible for apparent parameter values to swing between maximum and minimum but for the model itself not to change. One diagnostic of this can be that saving a model then later reading it back in will give very different values of the fit statistic and a clearly incorrect fit. Our thanks to Phil Evans for reporting this. Bug report added on Sep 22, 2003.

The fix is to replace spectral/xspec/src/FIT/xlvfcn.f, spectral/xspec/src/FIT_PARAM/fgpar.f and rebuild XSPEC.

11.2.0br
The cutoffpl model can generate floating exceptions or NaNs when using with responses that run up to high energies (>100 keV). It also becomes less accurate at these energies especially if the individual energy bins are wide. Our thanks to Piotr Lubinski for reporting this. Bug report added on Sep 24, 2003.

The fix is to replace spectral/xspec/src/functions/xsplco.f and rebuild XSPEC.

11.2.0bs
Fitting with C-stat and a background file does not work correctly if the background file has lots of channels with zero counts. Our thanks to Jeremy Sanders for reporting this. Bug report added on Sep 26, 2003.

The fix is to replace spectral/xspec/src/FIT/clcvec.f and rebuild XSPEC.

11.2.0bt
There is a bug in the projct model when analyzing multiple observations. The calculated models are applied to the wrong observations. Bug spotted by Ben Dorman and report added on Oct 20, 2003.

The fix is to replace spectral/xspec/src/functions/projct.f and rebuild XSPEC.

11.2.0bu
The thleqw command doesn't work. Our thanks to Dirk Pandel for pointing this out. Bug report added on Oct 23, 2003.
UPDATE: Error in xscmnd.f corrected on Oct 24, 2003

The fix is to replace spectral/xspec/src/DATA/calpht.f, spectral/xspec/src/MODEL_COMP/calcon.f, spectral/xspec/src/COMMAND/xscmnd.f, spectral/xspec/src/RESPONSE/dmyrsp.f and rebuild XSPEC.

11.2.0bv
The component plots produced after "setplot add" are slightly wrong for models of the form A1 + M1(....). The plot of the A1 component is actually of M1*A1. This does not effect the fit or plot of total model. Our thanks to Frank Haberl for reporting this. Bug report added on Oct 28, 2003.

The fix is to replace spectral/xspec/src/RESPONSE/fldadd.f and rebuild XSPEC.

Platform-Specific Problems:

SGI/IRIX 6.5

XSPEC may hang on started when run remotely through ssh. This appears to be a problem with ssh's setting for the DISPLAY variable.

Workaround: set display manually before starting XSPEC on a remote SGI host through a secure shell.

OSF 4.0D

XSPEC v.11's scheme for linking to local models does not work on OSF as yet, owing to the way OSF sets dynamic link paths. We hope to resolve this problem in the near future. There are two possible workarounds:

  1. Build the local models into xspec when the main build and install is performed.
  2. Build the local models as per the instructions for other platforms, but move aside the default local models library, $LHEASOFT/lib/libxspec_lfn.so (e.g. to $LHEASOFT/lib/libxspec_lfn.so.save). All users will, however, have to supply a correct path for the locally constructed models library.

Outstanding Issues from XSPEC 11.0.1

The following were reported for XSPEC11.0.1 but have not been reproduced and thus not addressed. Please let us know if you encounter these problems.

11.0.1i
XSPEC goes into an infinite loop if a background dataset is entered for a dataset number greater than what is currently defined.
11.0.1r

The number of free parameters is sometimes incorrectly reported after using the newpar command


Ben Dorman and Keith Arnaud, Lab. for High Energy Astrophysics, NASA/Goddard Space Flight Center. Last update: 2001 Nov 5

Xspec Xspec Home Page


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

Last modified: Wednesday, 27-Jul-2005 10:53:06 EDT