You are at a remote location with your own complete copy if the IGORE system and you want to analyze data from the COSSC. The first problem you'll encounter is that since you do not have a complete installation of the OSSE database at your site, you must be more selective when you run SPECANAL. Basically, you must tell SPECANAL exactly where to look for the OSSE data files.
First you must transfer and convert the SDB files from the COSSC archive to your system, as described in Chapter 3. For this exercise, say we wish to examine three days worth of data on the Crab Nebula. We need to download the files:
P921770000_SPM.SDB P921780000_SPM.SDB P921790000_SPM.SDBand place them in a directory, which, for the purpose of this example, we'll call $disk7:[username.crab].
Next, we must tell SPECANAL precisely where to find these data files. We do this using the namelist files for BLD_QUAD_DIF and DAY_SUMMER. We can start by making a copy of the BQD and day_summer configuration files from the default directory:
$ copy igr$igore_data:nom_cfg.bqd $disk7:[username.crab]crab_cfg.bqd $ copy igr$igore_data:nom_cfg.dsm $disk7:[username.crab]crab_cfg.dsm
Now let's examine the configuration files. First look at the BLD_QUAD_DIF configuration file. In this case, we can retain all the normal processing and just inform SPECANAL the location of the production directory. We do this by setting the PROD_DIR keyword to $disk7:[username.crab] as done below.
; %NAMELIST% BQD_STRUC % - Build_Quad_Dif Structure ; This es an example structure for standard processing/ no special screening START_TIME = "" STOP_TIME = "" BACKGROUND = 0 DQHAZ_MASK = 0 DQINFO_MASK = 0 DSFSTAT_MASK = 0 EARTHSEP = 72.0000 FILE_EXT = ".SDB" FILE_MOD = "_DIF" MIN_LTL = 0.000000 NOPRI = 0 NOSEC = 0 NOSOL = 0 NOTRANS = 0 NOSTANDARD = 0 OUT_DIR = "" PROD_DIR = "$disk7:[username.crab]" SOURCE_OFFSET = 1.00000 SPM_PREFIX = "P" SPM_SUFFIX = "_SPM" TARGDEF = "" USERSCREEN = "" /END ; of setup element definition
And here's the configuration file for DAY_SUMMER. We have made the same change to PROD_DIR.
; %NameList% Structure created 18-Aug-1994 18:10:44.00 ; No. of Functions = 1 ; Function # 1 DQHAZ_MASK = 0 DQINFO_MASK = 0 DSFSTAT_MASK = 0 NOSTANDARD = 0 PROD_DIR = "$disk7:[username.crab]" USERSCREEN = "" E_RANGE(0) = 4.5000002e-02, 2.5000000e-01, THRESH = 0.900000 NODSA = 0 NOSTANDARD = 0 ORBIT = 0 START_TIME = "" STOP_TIME = "" DSA_SCREEN = 0 BYCMDSTATE = 0 EARTHSEP = 72.0000 COVAR = 1 VERBOSE = 0 /END ; of setup element definition
Now we run SPECANAL with the following parameters:
Igore> specanal, target='crab', start_time='92/177',$ Igore> stop_time='92/179', bqd_config='crab_cfg.bqd',$ Igore> daysum_config='crab_cfg.dsm'
Alternatively, we can create a file, crab_cfg.setup with the setup configuration built in:
; %NameList% ANAL_STRUC % Structure created 31-Mar-1995 12:59:30.00 TARGET = "{NAME: 'CRAB PULSAR', RA: 83.521, DEC: 22.020, SRCID: 372 }" START_TIME = "92/178 00:00:00" STOP_TIME = "92/179 00:00:00" OUT_DIR = "$DISK7:[username.CRAB]" FILEROOT = "CRABPULSAR_32" LOGFILE = "CRABPULSAR_32.LOG" BQD_CONFIG = "$DISK7:[username.CRAB]CRAB_CFG.BQD;3" BQD_DIR = "$DISK7:[username.CRAB]" DAYSUM_DIR = "$DISK7:[username.CRAB]" DAYSUM_OUT = "CRABPULSAR_32_DSM.SDB" DAYSUM_GOOD = "CRABPULSAR_32_GSM.SDB" DAYSUM_CONFIG = "$DISK7:[username.CRAB]CRAB_CFG.DSM;2" FITPREP_OUT = "CRABPULSAR_32_TOT.SDB" FITPREP_DIR = "$DISK7:[username.CRAB]" FITPREP_CONFIG = "OGRE$DAT:NOM_CFG.FP" PLOTANAL_DIR = "$DISK7:[username.CRAB]" PLOTANAL_CONFIG = "OGRE$DAT:NOM_CFG.PA" BLN_OUT = "CRABPULSAR_32_BLN.SDB" BLN_DIR = "$DISK7:[username.CRAB]" BLN_CONFIG = "OGRE$DAT:NOM_CFG.BLN" /END ; of setup element definition
Then SPECANAL is executed with the simple command:
Igore> specanal,'crab_cfg.setup'