Previous: Introduction


Sample Sessions



In this section, examples using PIMMS version 4.0 are shown to illustrate the general feel of PIMMS sessions.

Example 1. Estimating Chandra ACIS-I count rates

*** PIMMS version 4.0 ***
    2010 Feb 17th Release
    Reading mission directory, please wait
* Current model is BREMSSTRAHLUNG, kT=  10.0000 keV; NH =  1.000E+21
   <--- Use 'MODEL' command to change
        and 'PLASMA' command to switch among APEC/mekal/RS
* By default, input rate is taken to be
 Flux (    2.000-   10.000 keV) in ergs/cm/cm/s
   <--- Use 'FROM' command to change the default
* Simulation product will be
 Count rate in CHANDRA ACIS-I
   <--- Use 'INSTRUMENT' command to switch to another instrument
PIMMS > go 1 einstein ipc
* For thermal Bremsstrahlung model with kT= 10.0000 keV; NH =  1.000E+21
  and  1.000E+00 cps in EINSTEIN IPC
  (Internal model normalization =  5.882E-03)
* PIMMS predicts  4.518E+00 cps with CHANDRA ACIS-I
% Pileup estimate for ACIS:
  Pile-up is too high (30.9 %) at the fastest single-chip frame time (0.2 s)
  Consider using the Continuous Clocking mode

In this example, the default spectral model is used to estimate the Chandra ACIS-I count rate (which happens to be the default). The only place where user did not use the default set-up was to specify conversion from Einstein IPC count rate. PIMMS not only reports the total ACIS-I count rate but also the pile-up fraction for such a source.

Example 2. Estimating XTE count rates I

*** PIMMS version 4.0 ***
    2010 Feb 17th Release
    Reading mission directory, please wait
* Current model is BREMSSTRAHLUNG, kT=  10.0000 keV; NH =  1.000E+21
   <--- Use 'MODEL' command to change
        and 'PLASMA' command to switch among APEC/mekal/RS
* By default, input rate is taken to be
 Flux (    2.000-   10.000 keV) in ergs/cm/cm/s
   <--- Use 'FROM' command to change the default
* Simulation product will be
 Count rate in CHANDRA ACIS-I
   <--- Use 'INSTRUMENT' command to switch to another instrument
PIMMS > from exosat me
PIMMS > inst xte pca
PIMMS > mo plasma 1.0 1.0 5e19
NOTE: This version of PIMMS has a grid of  59x 5 grid of APEC models
      from kT= 0.034 keV (logT= 5.60) to kT=27.250 keV (logT= 8.50)
      and abundances from 0.20 to 1.00
         Selected temperature is  0.967 keV (log T is  7.05)
         and selected abundance is 1.0
PIMMS > go 1
* For PLASMA (APEC) model with
                        kT= 0.9669keV (logT= 7.05), Abund=1.0; NH =  5.000E+19
  and  1.000E+00 cps in EXOSAT ME
  (Internal model normalization =  3.273E-02)
* PIMMS predicts  2.505E-01 cps with XTE PCA
   (Count rate is per PCU)

%%%        With 3 PCUs operational:
           (Use these numbers in RPS)

PIMMS predicts     0.751 cps from the source plus    91.380 background cps
5-sigma detection will be achieved in 4078.777s
(but undetectable with 1% systematic uncertainties in bgd)

Results in the 6 canonical XTE PCA bands are:

Channels  Nominal    Source   BGD   5-sigma    (+1%)
          E (keV)    (cps)    (cps) detection (s)
  0- 13  0.00- 6.14     0.711 10.56  557.232 ( 1241.915)
 14- 17  6.14- 7.90     0.034  3.46 7.47E+04 (*********)
 18- 23  7.90- 10.5  5.75E-03  4.56 3.46E+06 (*********)
 24- 35  10.5- 15.8  3.93E-04  7.87 1.28E+09 (*********)
 36- 49  15.8- 22.1  1.80E-06  8.90 6.83E+13 (*********)
 50-249  22.1-116.0  3.19E-09 56.05 1.38E+20 (*********)

%%% ...and with 2 PCUs operational:

PIMMS predicts     0.501 cps from the source plus    60.920 background cps
5-sigma detection will be achieved in 6.12E+03s
(but undetectable with 1% systematic uncertainties in bgd)

Results in the 6 canonical XTE PCA bands are:

Channels  Nominal    Source   BGD   5-sigma    (+1%)
          E (keV)    (cps)    (cps) detection (s)
  0- 13  0.00- 6.14     0.474  7.04  835.848 ( 1862.872)
 14- 17  6.14- 7.90     0.023  2.31 1.12E+05 (*********)
 18- 23  7.90- 10.5  3.83E-03  3.04 5.19E+06 (*********)
 24- 35  10.5- 15.8  2.62E-04  5.24 1.91E+09 (*********)
 36- 49  15.8- 22.1  1.20E-06  5.93 1.02E+14 (*********)
 50-249  22.1-116.0  2.12E-09 37.37 2.07E+20 (*********)
PIMMS > mo plasma 1.0 1.0 1e20
NOTE: This version of PIMMS has a grid of  59x 5 grid of APEC models
      from kT= 0.034 keV (logT= 5.60) to kT=27.250 keV (logT= 8.50)
      and abundances from 0.20 to 1.00
         Selected temperature is  0.967 keV (log T is  7.05)
         and selected abundance is 1.0
PIMMS > plasma mekal
Current model has been changed
* Current model is PLASMA (mekal) with
                        kT= 0.9669keV (logT= 7.05), Abund=1.0; NH =  1.000E+20
PIMMS > go 1
* For PLASMA (mekal) model with
                        kT= 0.9669keV (logT= 7.05), Abund=1.0; NH =  1.000E+20
  and  1.000E+00 cps in EXOSAT ME
  (Internal model normalization =  3.312E-02)
* PIMMS predicts  2.531E-01 cps with XTE PCA
   (Count rate is per PCU)

%%%        With 3 PCUs operational:
           (Use these numbers in RPS)

PIMMS predicts     0.759 cps from the source plus    91.380 background cps
5-sigma detection will be achieved in 3996.702s
(but undetectable with 1% systematic uncertainties in bgd)

Results in the 6 canonical XTE PCA bands are:

Channels  Nominal    Source   BGD   5-sigma    (+1%)
          E (keV)    (cps)    (cps) detection (s)
  0- 13  0.00- 6.14     0.722 10.56  540.761 ( 1161.651)
 14- 17  6.14- 7.90     0.032  3.46 8.63E+04 (*********)
 18- 23  7.90- 10.5  4.88E-03  4.56 4.80E+06 (*********)
 24- 35  10.5- 15.8  2.76E-04  7.87 2.58E+09 (*********)
 36- 49  15.8- 22.1  8.03E-07  8.90 3.45E+14 (*********)
 50-249  22.1-116.0  7.73E-10 56.05 2.35E+21 (*********)

%%% ...and with 2 PCUs operational:

PIMMS predicts     0.506 cps from the source plus    60.920 background cps
5-sigma detection will be achieved in 6.00E+03s
(but undetectable with 1% systematic uncertainties in bgd)

Results in the 6 canonical XTE PCA bands are:

Channels  Nominal    Source   BGD   5-sigma    (+1%)
          E (keV)    (cps)    (cps) detection (s)
  0- 13  0.00- 6.14     0.481  7.04  811.142 ( 1742.477)
 14- 17  6.14- 7.90     0.021  2.31 1.29E+05 (*********)
 18- 23  7.90- 10.5  3.25E-03  3.04 7.20E+06 (*********)
 24- 35  10.5- 15.8  1.84E-04  5.24 3.87E+09 (*********)
 36- 49  15.8- 22.1  5.35E-07  5.93 5.18E+14 (*********)
 50-249  22.1-116.0  5.15E-10 37.37 3.52E+21 (*********)
PIMMS > quit
In this example, the user specified conversion from EXOSAT ME count rate to XTE PCA and used plasma models with two different absorbing columns, also switching from APEC (default) to mekal before the second run. Since PIMMS uses grids of pre-calculated plasma models, the temperature of the actual model used does not exactly match the request. PIMMS provides instrument-specific information for the XTE PCA (source and background count rates, and 5-sigma detection times in the entire passband and in the 6 canonical PCA bands with 2 or 3 PCUs operational).

Example 3. Estimating XTE count rates II

*** PIMMS version 4.0 ***
    2010 Feb 17th Release
    Reading mission directory, please wait
* Current model is BREMSSTRAHLUNG, kT=  10.0000 keV; NH =  1.000E+21
   <--- Use 'MODEL' command to change
        and 'PLASMA' command to switch among APEC/mekal/RS
* By default, input rate is taken to be
 Flux (    2.000-   10.000 keV) in ergs/cm/cm/s
   <--- Use 'FROM' command to change the default
* Simulation product will be
 Count rate in CHANDRA ACIS-I
   <--- Use 'INSTRUMENT' command to switch to another instrument
PIMMS > from ginga lac both
PIMMS > mo pl 1.5 15 30 1e22
PIMMS > inst xte pca
PIMMS > go 500
* For power-law model with high-energy cut-off with
  Index =  1.50, Ecut   15.00 keV, E(e-folding)   30.00 keV; NH =  1.000E+22
  and  5.000E+02 cps in GINGA LAC BOTH
  (Internal model normalization =  2.001E-01)
* PIMMS predicts  1.456E+02 cps with XTE PCA
   (Count rate is per PCU)

%%%        With 3 PCUs operational:
           (Use these numbers in RPS)

PIMMS predicts   436.940 cps from the source plus    91.380 background cps
5-sigma detection will be achieved in    0.069s
(or in    0.069s with 1% systematic uncertainties in bgd)

Results in the 6 canonical XTE PCA bands are:

Channels  Nominal    Source   BGD   5-sigma    (+1%)
          E (keV)    (cps)    (cps) detection (s)
  0- 13  0.00- 6.14   160.342 10.56    0.166 (    0.166)
 14- 17  6.14- 7.90    66.161  3.46    0.398 (    0.398)
 18- 23  7.90- 10.5    75.825  4.56    0.350 (    0.350)
 24- 35  10.5- 15.8    84.634  7.87    0.323 (    0.323)
 36- 49  15.8- 22.1    34.018  8.90    0.927 (    0.927)
 50-249  22.1-116.0    15.961 56.05    7.067 (    7.292)

%%% ...and with 2 PCUs operational:

PIMMS predicts   291.293 cps from the source plus    60.920 background cps
5-sigma detection will be achieved in    0.104s
(or in    0.104s with 1% systematic uncertainties in bgd)

Results in the 6 canonical XTE PCA bands are:

Channels  Nominal    Source   BGD   5-sigma    (+1%)
          E (keV)    (cps)    (cps) detection (s)
  0- 13  0.00- 6.14   106.895  7.04    0.249 (    0.249)
 14- 17  6.14- 7.90    44.107  2.31    0.596 (    0.596)
 18- 23  7.90- 10.5    50.550  3.04    0.524 (    0.524)
 24- 35  10.5- 15.8    56.423  5.24    0.484 (    0.484)
 36- 49  15.8- 22.1    22.678  5.93    1.391 (    1.391)
 50-249  22.1-116.0    10.640 37.37   10.601 (   10.938)
PIMMS > inst xte hexte def
PIMMS > go 500
* For power-law model with high-energy cut-off with
  Index =  1.50, Ecut   15.00 keV, E(e-folding)   30.00 keV; NH =  1.000E+22
  and  5.000E+02 cps in GINGA LAC BOTH
  (Internal model normalization =  2.001E-01)
* PIMMS predicts  1.834E+01 cps with XTE HEXTE DEFAULT
   (Source-only count rate in 1 cluster; BGD rate is 73.1 per cluster)
5-sigma detection will be achieved in     14.0s

Results in the 4 canonical XTE HEXTE bands are:
             (per HEXTE cluster)

  Channels Nominal   Source   BGD   5-sigma
           E (keV)   (cps)    (cps) detection (s)
    5- 29   12-  30    13.9   11.86      5.4
   30- 61   30-  62     3.7   17.93     82.3
   62-125   62- 126  6.73E-01 21.94   2855.4
  126-250  126- 250  1.38E-02 21.35 6.53E+06
 (The default 16-s rocking cycle is assumed for detection time)
PIMMS > quit
In this case, a special version of the power law model (with high energy cut-off) is used, by specifying index, cut-off energy and e-folding energy, as well as NH, on the command line. User then calculated PCA and HEXTE count rates for a 500 cps Ginga LAC source.

Example 4. Estimating ROSAT PSPC count rates

*** PIMMS version 4.0 ***
    2010 Feb 17th Release
    Reading mission directory, please wait
* Current model is BREMSSTRAHLUNG, kT=  10.0000 keV; NH =  1.000E+21
   <--- Use 'MODEL' command to change
        and 'PLASMA' command to switch among APEC/mekal/RS
* By default, input rate is taken to be
 Flux (    2.000-   10.000 keV) in ergs/cm/cm/s
   <--- Use 'FROM' command to change the default
* Simulation product will be
 Count rate in CHANDRA ACIS-I
   <--- Use 'INSTRUMENT' command to switch to another instrument
PIMMS > from flux ergs 0.1-4
PIMMS > mo plasma 6.65 logt 0.6 3e19
PIMMS > inst rosat pspc open
PIMMS > go 5e-12
* For PLASMA (APEC) model with
                        kT= 0.3849keV (logT= 6.65), Abund=0.6; NH =  3.000E+19
   and a flux (    0.100-    4.000keV) of  5.000E-12 ergs/cm/cm/s
  (Internal model normalization =  3.179E-03)
* PIMMS predicts  7.113E-01 cps with ROSAT PSPC OPEN
PIMMS > inst rosat pspc r6r7
PIMMS > go 5e-12
* For PLASMA (APEC) model with
                        kT= 0.3849keV (logT= 6.65), Abund=0.6; NH =  3.000E+19
   and a flux (    0.100-    4.000keV) of  5.000E-12 ergs/cm/cm/s
  (Internal model normalization =  3.179E-03)
* PIMMS predicts  1.267E-01 cps with ROSAT PSPC R6R7
PIMMS > quit
In this example, 0.6 Solar abundance, logT=6.65 APEC model with an absorption of 3x1019 cm-2 is used to estimate ROSAT PSPC count rates (total and a combination of the Snowden R bands) for a 5x10-12 ergs cm-2s-1 source.



Next: Using Multi-component Models


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

This file was last modified on Wednesday, 17-Feb-2010 11:33:02 EST