SAS Watchout - XMM-Newton
SAS watchout
SAS watchout
In this page some issues concerning SAS and XMM-Newton data analysis are reported, along with recommended workarounds and/or solutions, and useful tricks and tips.
Many of the items below are extracted from the HelpDesk questions database, and frequently updated.
Users are invited to search this database, especially the SAS related folders, before contacting the XMM-Newton HelpDesk.
In addition, users should also check release notes of latest SAS patches, available on the SAS News web page, as a new patch might have been released already fixing the encountered problem.
If you encounter a new issue in analyzing XMM-Newton data with the SAS software, please try to give as much information as needed to reproduce your problem, including the following details:
- Output of the sasversion command,
- Observation identifier,
- Information about the CCF in use.
Current SAS Version related issues
SAS 21.0.0
- I am getting the error (constituent) while running epchain. What can I do? -- Answer
- I am having problems running SAS v21.0 on Ubuntu 18.04 and CentOS 7.3. What can I do? -- Answer
SAS 20.0.0
- None
SAS 19.1.0
- Whenever I run the task cheese, which is one of the ESAS tasks, I get the following error message:
/usr/bin/env: `perl/r`: No such file or directory.
However, I did install properly Perl following all the indications in the requirements page.
How to fix this problem? -- Answer - After installing SAS 19.1.0 for macOS (sas_19.1.0-macOS-10.15.7.tgz) on macOS Catalina (v10.15.7) or on macOS BigSur (V11.2.3), running either on Intel or on the new Apple processor M1, with SIP enabled, I got an error message similar to the following:
dyld: Symbol not found: ___emutls_get_address
Referenced from:
/Users/<user>/SAS/xmmsas_20210317_1624/bin/../libextra/libstdc++.6.dylib
Expected in: /usr/lib/libSystem.B.dylib
How to fix this problem? -- Answer - Is the output from espfilt in SAS 19.1.0 reliable? -- Answer
SAS 19.0.0
- Mosaiced images displayed with wrong coordinates in DS9 v8.1 and later.
How to fix this problem? -- Answer
SAS 18.0.0
- During the installation of Python performed in the general installation of SAS 18, an error message similar to the following is obtained (the example is taken from the installation of SAS 18 on a macOS machine):
... Checking for the RELEASE file: OK Checking we are in the top directory: OK Checking for presence of sas-setup.sh : OK Checking whether perl is available or not ... /usr/bin/perl is available. It will be used in all SAS perl tasks. Checking whether a proper SAS Python environment is available .. * 'conda' command was not found. 'conda' is not installed or not found in your system. * 'Miniconda' package and environment manager will be installed under the SAS installation directory. * This may take a while depending on your internet connection. Please be patient ... Miniconda installation file is ready: /user_selected_directory/xmmsas_20190531_1155/pythonInstaller/Miniconda3-4.3.31-MacOSX-x86_64.sh Starting Miniconda installation ... .done Miniconda was NOT installed under /user_selected_directory/xmmsas_20190531_1155/miniconda3. Exiting.
How to fix this problem? -- Answer
- When installing the proper SAS build either on Linux or macOS systems, a problem arises during the part that deals with the installation of Python modules. This problem is easily identified because the installation procedure starts looping with messages of the form:
Downloading Python modules needed for SAS from Conda repositories . . . ..............................................................................................done !!! Some needed Python pkgs are missing unedr the environment: sas_18.0.0. Exiting !!! Ready to install the correct Python environment for SAS \u2026 (Python env sas_18.0.0 will be removed and re-installed for the correct one) Package plan for package removal in environment
How to fix this problem? -- Answer/xmmsas_20190531_1155/miniconda3/envs/sas_18.0.0: The following packages will be REMOVED: asn1crypto: 0.24.0-py36_0 astropy: 2.0.1-np113py36_0 atomicwrites: 1.3.0-py36_1 attrs: 19.1.0-py36_1 blas: 1.0-mkl ca-certificates: 2019.8.28-0 certifi: 2019.9.11-py36_0 cffi: 1.12.3-py36hb5b8e2f_0 chardet: 3.0.4-py36_1003 cryptography: 2.3.1-py36hdbc3d79_0 cycler: 0.10.0-py36hfc81398_0 freetype: 2.5.5-2 (list truncated for clarity)
Previous SAS Version related issues
Issues related to older SAS versions can be found on the SAS watchout archive page.
Evergreen tips and tricks
- Caution when applying the updated RGS-to-pn "Rectification Factors" -- Details
- How can I correct OM Grism Spectra for Time Sensitivity Degradation? -- Answer
- Caution when analysing EPIC Timing Mode spectra extracted from very narrow regions -- Answer
- Caution when analysing EPIC spectra extracted from annular source regions -- Answer
- Is the RGS-pn rectification correction valid for data processed with SAS 14? -- Answer
- Why do I have to correct EPIC-pn Timing Mode exposures for X-ray Loading (only necessary for observations performed until 23 May 2012)? -- Answer
- Should I use evselect or epiclcorr for obtaining EPIC light curves? -- Answer
- These long parameter names are really annoying ... -- Answer
- How do I compare two Calibration Index Files? -- Answer
- Can I generate EPIC response matrices with all types of spectral binning? -- Answer
- Where can I find canned EPIC response matrices? -- Answer
- Can I perform the barycentric correction on OM data in Fast Mode? -- Answer
- How can I convert from OM count rates to fluxes? An update -- Answer
- Dealing with MOS1 data in Timing Mode: I heard that one column in MOS1 Timing Mode is affected by "high offset", can I still analyze the data? -- Answer
ODF
- Why does it take so long to produce an ODF? -- Answer
PPS products
- Why do I get problems ingesting RGS (pipeline) spectra into XSPEC V12.x and how can I solve this? -- Answers
- How do I know which CCF were used to reduce my event list? -- Answer
- I do not find EPIC (or RGS or OM) processed data in my PPS distribution. Did something go wrong with the pipeline processing? -- Answer