gbm simulation and instrument responsesimulations and response / r. m. kippen (lanl) - 3 - gbm bwg...

16
Simulations and Response / R. M. Kippen (LANL) Simulations and Response / R. M. Kippen (LANL) - - 1 - - GBM GBM BWG Review, 31 August 2004 BWG Review, 31 August 2004 GBM Simulation and Instrument Response R. Marc Kippen Space and Atmospheric Sciences Group Los Alamos National Laboratory

Upload: others

Post on 21-Jan-2021

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: GBM Simulation and Instrument ResponseSimulations and Response / R. M. Kippen (LANL) - 3 - GBM BWG Review, 31 August 2004 Simulation and Detector Response Software ♠Definition: Multi-purpose

Simulations and Response / R. M. Kippen (LANL)Simulations and Response / R. M. Kippen (LANL) - - 11 - - GBM GBM BWG Review, 31 August 2004BWG Review, 31 August 2004

GBM Simulation andInstrument Response

R. Marc Kippen

Space and Atmospheric Sciences Group

Los Alamos National Laboratory

Page 2: GBM Simulation and Instrument ResponseSimulations and Response / R. M. Kippen (LANL) - 3 - GBM BWG Review, 31 August 2004 Simulation and Detector Response Software ♠Definition: Multi-purpose

Simulations and Response / R. M. Kippen (LANL)Simulations and Response / R. M. Kippen (LANL) - - 22 - - GBM GBM BWG Review, 31 August 2004BWG Review, 31 August 2004

GBM Detector / Instrument Response

GRBGRB

GRB Photon Spectrum

1

10

100

1000

Coun

ts

10 100 1000Measured Energy (keV)

101

102

103

104

Phot

on E

nerg

y (k

eV)

101 102 103 104

Measured Energy (keV)

103

104

105

GRB

Flu

x (k

eV ·

cm–2

· s–1

)

10 100 1000Photon Energy (keV)

×

+

=

Instrument Response Instrument Background Observed Data

1

10

100

1000

Coun

ts

10 100 1000Measured Energy (keV)

Page 3: GBM Simulation and Instrument ResponseSimulations and Response / R. M. Kippen (LANL) - 3 - GBM BWG Review, 31 August 2004 Simulation and Detector Response Software ♠Definition: Multi-purpose

Simulations and Response / R. M. Kippen (LANL)Simulations and Response / R. M. Kippen (LANL) - - 33 - - GBM GBM BWG Review, 31 August 2004BWG Review, 31 August 2004

Simulation and Detector Response Software

♠ Definition: Multi-purpose software suite that computes the physical andinstrumental response of the GBM instrument systemλ Primary purpose: generate detector response functions critical to the analysis of

flight science data

λ Other uses: instrument design; interpretation of calibrations; design of flight andground analysis algorithms & s/w

♠ Technique: Numerical simulation — Monte Carlo radiation transportλ Verified through, and incorporating results from experimental calibration

Major Components♠ Mass model (geometry + composition)

♠ Incident particle distributions

♠ Radiation transport physics

♠ Instrumental/calibration effects

♠ DRM database

♠ DRM synthesizer/generator

Page 4: GBM Simulation and Instrument ResponseSimulations and Response / R. M. Kippen (LANL) - 3 - GBM BWG Review, 31 August 2004 Simulation and Detector Response Software ♠Definition: Multi-purpose

Simulations and Response / R. M. Kippen (LANL)Simulations and Response / R. M. Kippen (LANL) - - 44 - - GBM GBM BWG Review, 31 August 2004BWG Review, 31 August 2004

Key Functional Specifications

GBM SIM/DRM S/W Functional SpecsGBM-SPEC-1025 (reviewed at GSW PDR)

GBM IODA S/W Functional SpecsGBM-SPEC-1031 (reviewed at GSW PDR)

♠ Complete and accurate interactionphysics (included in core simulationpackage — GEANT4)

♠ Accurate mass models, environmentmodels, and instrument models (butnot overly complex)

♠ Later stages of development requireS/C models (including LAT model)

♠ Verification through comparisonwith experimental data

♠ Final DRMs must includecontribution from atmosphericscattering (+direct detector and S/Cscattered response)

♠ GLAST S/C will have rapid slewcapability — different DRMs arerequired whenever aspect changesby > 1°

♠ DRM generation s/w is part of GBMIODA s/w and subject to the samerequirements for standards,configuration control, etc.

Page 5: GBM Simulation and Instrument ResponseSimulations and Response / R. M. Kippen (LANL) - 3 - GBM BWG Review, 31 August 2004 Simulation and Detector Response Software ♠Definition: Multi-purpose

Simulations and Response / R. M. Kippen (LANL)Simulations and Response / R. M. Kippen (LANL) - - 55 - - GBM GBM BWG Review, 31 August 2004BWG Review, 31 August 2004

Development Organization

GBMPrincipal Investigator

(Meegan)GBMProject Manager

(Elrod)

Ground Software Lead(Preece)

Ground SoftwareReview Board

GSW Config. Mgr.(Connaughton)

Ground SoftwareDevelopment Team

Ground SoftwareTest Team

(Diehl, lead)

SIM & DRMSystem Lead

(Kippen)

Developers(Hoover)

Ground System Manager(Paciesas)

♠ SIM/DRM softwaredesigned and developed atLANL in collaboration withGBM PI and GSW lead

♠ Development process fallsunder GSW DevelopmentPlan (GBM-PLAN-1023)

♠ Final products (s/w anddata) delivered to GBM PIat NSSTC (also available toMPE and other interestedparties)

Page 6: GBM Simulation and Instrument ResponseSimulations and Response / R. M. Kippen (LANL) - 3 - GBM BWG Review, 31 August 2004 Simulation and Detector Response Software ♠Definition: Multi-purpose

Simulations and Response / R. M. Kippen (LANL)Simulations and Response / R. M. Kippen (LANL) - - 66 - - GBM GBM BWG Review, 31 August 2004BWG Review, 31 August 2004

Phased Software/Model Development

♠ Software and modelsrequire cross-validationwith calibration data

♠ Three phases of SIM/DRMsw/model developmentλ Design

♠ Simulate prototypedetectors

λ Calibration♠ Simulate three levels of

calibration/testλ Detector level

λ GBM system level

λ On-spacecraft level

λ Operation♠ In-flight configuration

appropriate for analysis ofscience data

♠ DRM generation

Prototype Detectors

Flight Detectors,Det. Level Config.

Flight Detectors,Sys. Level Config

Flight Detectors,SC Level Config.

with Spacecraft/LAT inTest Configuration

Flight Detectors,Flight Configuration

with Spacecraft/LAT inFlight Configuration

Prototype Environment

Test Environment 1Detector Level Env.

Test Environment 2System Level Env.

Test Environment 3Spacecraft Test

Facility and SourceHolder

Flight Environmentwith AtmosphericScattering Model

Desi

gnPh

ase

Calib

ratio

nPh

ase

Ope

ratio

nsPh

ase

Mass Models Environment Models

PrototypeThresholds, Resolution

Test Environment 1Det. Cal. Results

Test Environment 2Sys. Cal. Results

Test Environment 3S/C Cal. Results

Flight Performancewith Periodic Updates

from In-flightCalibration Database

Instrumental Effects

Page 7: GBM Simulation and Instrument ResponseSimulations and Response / R. M. Kippen (LANL) - 3 - GBM BWG Review, 31 August 2004 Simulation and Detector Response Software ♠Definition: Multi-purpose

Simulations and Response / R. M. Kippen (LANL)Simulations and Response / R. M. Kippen (LANL) - - 77 - - GBM GBM BWG Review, 31 August 2004BWG Review, 31 August 2004

Implementation: GBM REsponse Simulation System

♠ Integrated package that willencompass all GBM instrumentresponse software and data needs

♠ Configuration controlled as a singledeliverable package with componentsoftware/data modules

♠ All packages (and theirdependencies) use GNU compilers— mainly g++

♠ All data files have headers withdetailed version & job tracking data

♠ Final phase package will be a subsetof the GBM IODA software, cf. GBM-SPEC-1036 (GSW Arch. Design)

gbmsimGBM instrument

physical simulator

calsimInstrumental/calibrationeffects & data packager

atmosimAtmospheric scattering

simulator

drmgenApplication-specific DRM

generator

GRESS

arpackAtmospheric scattering

data packager

Page 8: GBM Simulation and Instrument ResponseSimulations and Response / R. M. Kippen (LANL) - 3 - GBM BWG Review, 31 August 2004 Simulation and Detector Response Software ♠Definition: Multi-purpose

Simulations and Response / R. M. Kippen (LANL)Simulations and Response / R. M. Kippen (LANL) - - 88 - - GBM GBM BWG Review, 31 August 2004BWG Review, 31 August 2004

Implementation: GBM REsponse Simulation System

gbmsim calsim

atmosim

GRESS

rootfiles

armdb

drmdb

Massmodel

Massmodel

Cal.Params.

Cmds.

Cmds.

Cmds.

ApplicationSpecific

DRM

Source LocationSoftware

(SSC & IOC)

Data AnalysisSoftware

(IOC)

IODA

Spectrumor DRM

Spectrumor ARM

caldb

drmgen

Aux.data

Note: a separate, reduced DRM/ARMdatabase is used for BAP software(based on same simulation data)

arpackrootfiles

GRESS/IODAOverlap Area

Page 9: GBM Simulation and Instrument ResponseSimulations and Response / R. M. Kippen (LANL) - 3 - GBM BWG Review, 31 August 2004 Simulation and Detector Response Software ♠Definition: Multi-purpose

Simulations and Response / R. M. Kippen (LANL)Simulations and Response / R. M. Kippen (LANL) - - 99 - - GBM GBM BWG Review, 31 August 2004BWG Review, 31 August 2004

How – Direct Instrument Response

gbmsim — Raw “physical” data calsim — Packaged, instrument-like data

100

101

102

103

104

105

106

Coun

ts /

keV

6005004003002001000

Energy (keV)

GBM NaI500 keV

ℜD ϑ ,ϕ ,Eγ ,Em( )

100

101

102

103

104

105

106

Coun

ts /

keV

6005004003002001000

Energy (keV)

GBM NaI500 keV

Page 10: GBM Simulation and Instrument ResponseSimulations and Response / R. M. Kippen (LANL) - 3 - GBM BWG Review, 31 August 2004 Simulation and Detector Response Software ♠Definition: Multi-purpose

Simulations and Response / R. M. Kippen (LANL)Simulations and Response / R. M. Kippen (LANL) - - 1010 - - GBM GBM BWG Review, 31 August 2004BWG Review, 31 August 2004

How – Atmospheric Scattered Response

atmosim — Raw “physical” data arpack — Packaged data matrix

collectionsurface

NRLMSISE-2000 atmospheric model usedto create concentric shell mass model

ℜA ψ,A, ′ ϑ , ′ ϕ ,Eγ ,Es( )

Page 11: GBM Simulation and Instrument ResponseSimulations and Response / R. M. Kippen (LANL) - 3 - GBM BWG Review, 31 August 2004 Simulation and Detector Response Software ♠Definition: Multi-purpose

Simulations and Response / R. M. Kippen (LANL)Simulations and Response / R. M. Kippen (LANL) - - 1111 - - GBM GBM BWG Review, 31 August 2004BWG Review, 31 August 2004

How — Putting it all Together

ℜA ψ,A, ′ ϑ , ′ ϕ ,Eγ ,Es( )armdb – Atmos. Resp. db

ℜD ϑ ,ϕ ,Eγ ,Em( )drmdb — direct response db

ℜT Eγ ,Ch( ) =ℜD ϑ o,ϕ o,Eγ ,Ch( ) + ℜA ψo,Ao, ′ ϑ , ′ ϕ ,Eγ ,Es( )∫∫ ⋅ℜD ′ ϑ , ′ ϕ ,Eγ ,Ch( ) d ′ Ω

drmgen — burst-specific response generator

Ci = f (Eγ ) ⋅ℜT Eγ ,Ch( ) dEγ∫Data Analysis – spectral fitting and localization

Page 12: GBM Simulation and Instrument ResponseSimulations and Response / R. M. Kippen (LANL) - 3 - GBM BWG Review, 31 August 2004 Simulation and Detector Response Software ♠Definition: Multi-purpose

Simulations and Response / R. M. Kippen (LANL)Simulations and Response / R. M. Kippen (LANL) - - 1212 - - GBM GBM BWG Review, 31 August 2004BWG Review, 31 August 2004

How — Response used for Spectral Analysis

Model GRB Spectrum

rmfit/xspec — spectral model “hypothesis testing”

♠ Parameterizedspectral models

♠ Built-in models or“custom” models

1

10

100

1000

Coun

ts

10 100 1000Measured Energy (keV)

1

10

100

1000

Coun

ts

10 100 1000Measured Energy (keV)

101

102

103

104

Phot

on E

nerg

y (k

eV)

101 102 103 104

Measured Energy (keV)

103

104

105

GRB

Flu

x (k

eV ·

cm–2

· s–1

)

10 100 1000Photon Energy (keV)

×

+

=

Total Det. Response Background Model Observed/Predicted Counts

iterate

♠ From drmgen

♠ Updatedautomaticallywhen S/C pointingchanges

♠ Empirical, time-dependent modelbased on databefore and afterburst

♠ Observed andpredicted countscompared via teststatistic

♠ Chi-squared(Gaussian) orPoisson logLikelihood

♠ Optimize test Stat.iteratively

Process is extended to simultaneously include multiple GBM detectors (Incl.NaI and BGO) or other instruments (e.g., LAT, Swift, etc.)

Page 13: GBM Simulation and Instrument ResponseSimulations and Response / R. M. Kippen (LANL) - 3 - GBM BWG Review, 31 August 2004 Simulation and Detector Response Software ♠Definition: Multi-purpose

Simulations and Response / R. M. Kippen (LANL)Simulations and Response / R. M. Kippen (LANL) - - 1313 - - GBM GBM BWG Review, 31 August 2004BWG Review, 31 August 2004

How — Response used for Localization

Internalresponsegenerator

caldb

Trial GRBDirection

ϑ ,ϕ( ) i

TrialSpectral

Parameters

Simultaneous spatial/spectral model “hypothesis testing”

S/C attitude/position

Predicteddetector counts

Observed Det.counts

Chi-squareevaluation

Spatial/spectral optimization

Backgroundmodel

Page 14: GBM Simulation and Instrument ResponseSimulations and Response / R. M. Kippen (LANL) - 3 - GBM BWG Review, 31 August 2004 Simulation and Detector Response Software ♠Definition: Multi-purpose

Simulations and Response / R. M. Kippen (LANL)Simulations and Response / R. M. Kippen (LANL) - - 1414 - - GBM GBM BWG Review, 31 August 2004BWG Review, 31 August 2004

Development Status

♠ SIM/DRM development is affected by:λ Delivery of GBM detector design data/drawings (received June 2004, three

months behind original schedule)

λ Delivery of GLAST spacecraft design data/drawings (expected July 2004,three months behind original schedule, initial delivery August 2004)

λ Schedule of GBM calibrations♠ Required to verify SIM/DRM s/w and models

♠ Detector level (MPE), system level (NSSTC), spacecraft level (Spectrum) — allslipped due to launch slip.

♠ Development status:λ Preliminary versions of GRESS software complete (several months ahead

of schedule)

λ Detector model development nearing completion (3 months behind)

λ Spacecraft model development starting (3 months behind)

λ Result: able to meet required delivery schedule

Page 15: GBM Simulation and Instrument ResponseSimulations and Response / R. M. Kippen (LANL) - 3 - GBM BWG Review, 31 August 2004 Simulation and Detector Response Software ♠Definition: Multi-purpose

Simulations and Response / R. M. Kippen (LANL)Simulations and Response / R. M. Kippen (LANL) - - 1515 - - GBM GBM BWG Review, 31 August 2004BWG Review, 31 August 2004

SIM/DRM Revised Delivery Schedule

Feb. 2005 –

Mar. 2005

Verify s/w & models with GBMdetector-level calibrations

Nov. 1, 2004(Δ+4 mo)

SIM/DRM Delivery 1

(Det.-level s/w & models)

Post-launch

Sept. 1, 2005

Feb. 2006

Nov. 1, 2005;Dec. 1, 2005

Jul. 2005 –

Sep. 2005

Date

Support Phase E science/Ops.Nov. 1, 2006(no change)

SIM/DRM Delivery 5

(Final DRM/CALDB database)

Support IODA Release 3

(launch-ready software)

Apr. 14, 2006

(no change)

SIM/DRM Delivery 4

(Ops. phase s/w & models)

Verify s/w & models with GBMspacecraft-level source survey

Jan. 2, 2006(Δ+3 mo)

SIM/DRM Delivery 3

(S/C-level s/w & models)

Support IODA Release 2.2 & 2.3, andData Challenge 3

Nov. 1, 2005

(new)

SIM/DRM Delivery 2.1

(preliminary CALDB/DRM)

Verify s/w & models with GBMsystem-level calibrations

Jun. 15, 2005(Δ+3 mo)

SIM/DRM Delivery 2

(Syst.-level s/w & models)

DriverDate†Milestone

* All deliveries from LANL to NSSTC

† Schedule changes from ground s/w CDR reflect changes in the GBM calibration schedule (affected by launch slip)

Stable since GBM System CDR June 2004

Page 16: GBM Simulation and Instrument ResponseSimulations and Response / R. M. Kippen (LANL) - 3 - GBM BWG Review, 31 August 2004 Simulation and Detector Response Software ♠Definition: Multi-purpose

Simulations and Response / R. M. Kippen (LANL)Simulations and Response / R. M. Kippen (LANL) - - 1616 - - GBM GBM BWG Review, 31 August 2004BWG Review, 31 August 2004

SIM/DRM Schedule

06/22/04

2001Task Name

A. GBM Project Milestones

B. GBM IO&DA S/W Milestones

C. GBM Calibration Milestones

D. SIM/DRM S/W Milestones

1. Functional Specifications2. SIM Input to IODA S/W Dev. Plan3. Selection of Core SIM package4. Design Phase Dev.

a. Model Dev.b. Code Dev.c. Runs/Analysis

5. Calibration Phase Dev.a. Det. Model Dev.b. Spacecraft/LAT Model Dev.c. Code Dev.d. Production Runse. Analysis

6. Operations Phase Dev.a. Det. Model Dev.b. Spacecraft/LAT Model Dev.c. Code Dev. (Incl. atmosim)d. Production runse. Analysis/modifications

E. Key External Inputs1. GBM Detector math models2. S/C math models3. LAT math models

2002 2003 2004 2005 2006

LaunchPSRPERCDRPDRTIM

PDR CDRTIM

PDR CDRTIM

TIM PlanRqmts. Sys. Cal.Det. Cal. S/C Cal.

2007

Phase E

Del.1 D2 D4 D5Del.0 D32.1