This webpage is kept for archival purposes only and is no longer updated or maintained.

Fermi-Swift GRB Data Analysis Workshop

November 8-12, 2010
Goddard Space Flight Center
Greenbelt, MD

Welcome | Agenda | Directions | Downloads | Links | Contacts

Conflict between Swift and Fermi CALDBs - solution

There is a conflict between the CalDB data use by the Fermi/LAT analysis tools and the swifttools distributed with HEASOFT. The Swift tools assume that the CalDB data is in the standard location defined by the environment variable $CALDB. The Fermi Science Tool uses a custom installation of CalDB. Unfortunately, in order to use both sets of tools, $CALDB need to point to two places at the same time.

For the purposes of the Fermi-Swift GRB Data Analysis Workshop this conflic can be resolved by setting a soft link for the Fermi/LAT CalDB installation to the location of the standard HEASARC CalDB.

1) Set up the Fermi and Swift software.

2) Install the HEASARC CalDB as required for HEASoft 6.10.

3) Set up the soft link

ln -s /ScienceTools/i386-apple-darwin10.4.0/refdata/fermi/caldb/CALDB/data/glast/ $CALDB/data/glast/

4) Be sure that the CalDB setup section in your .cshrc file is after the Fermi software setup section

# Fermi setup
setenv FERMI_DIR /ScienceTools/i386-apple-darwin10.4.0
source $FERMI_DIR/fermi-init.csh

# CalDB setup
source /caldb/software/tools/caldbinit.csh