skip to content
XMM-Newton Guest Observer Facility


SAS Set Up

If you are reducing data locally, is also assumed that SAS has already been installed and initialized, with environmental parameters set. If not, detailed instructions on downloading and installing it can be found here. SAS also requires extensive calibration data which must be available under a Current Calibration File (CCF) directory; information on this and links to CCF release notes can be found here.

Once SAS is installed, environmental parameters need to be set so it will run properly:

   setenv SAS_CCFPATH /full/path/to/CCF        
   setenv SAS_ODF /full/path/to/ODF            
   setenv SAS_CCF /full/path/to/ODF/ccf.cif 
While the following parameters are not necessary to set, they can be useful to know about. They set the verbosity (1=little; 10=lot), warning level (1=little; 10=lot), and the default image viewer. We'll set it to ds9, but set it to whatever you like.
   setenv SAS_VERBOSITY 3                      
   setenv SAS_SUPPRESS_WARNING 3               
   setenv SAS_IMAGEVIEWER ds9   
And now we can intialize SAS:
   source /full/path/to/xmmsas_20131209_1901/setsas.csh
   source /full/path/to/xmmsas_20131209_1901/
as is appropriate to your shell.

There are two ways to run SAS: with a GUI, or on the command line. To call the GUI, type

   sas &
Or, if you prefer, you can just type in the SAS task you want (and any parameters that are needed) on the command line. The GUI interface is shown in Figure 1.

Figure 1: The SAS GUI.

If you have any questions concerning XMM-Newton send e-mail to

This file was last modified on Tuesday, 19-Nov-2013 17:08:40 EST
Curator:Michael Arida (ADNET);

NASA Astrophysics

  • FAQ/Comments/Feedback
  • Education Resources
  • Download Adobe Acrobat
  • A service of the Astrophysics Science Division (ASD) at NASA/ GSFC

    XMM-Newton Project Scientist: Dr. Steve Snowden

    Responsible NASA Official: Phil Newman

    Privacy Policy and Important Notices.