simulations and response / r. m. kippen (lanl)- 1 - gbm bwg review, 31 august 2004 gbm simulation...

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

Upload: job-simpson

Post on 13-Jan-2016

228 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Simulations and Response / R. M. Kippen (LANL)- 1 - GBM BWG Review, 31 August 2004 GBM Simulation and Instrument Response R. Marc Kippen Space and Atmospheric

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

GBM Simulation and Instrument Response

R. Marc Kippen

Space and Atmospheric Sciences Group

Los Alamos National Laboratory

Page 2: Simulations and Response / R. M. Kippen (LANL)- 1 - GBM BWG Review, 31 August 2004 GBM Simulation and Instrument Response R. Marc Kippen Space and Atmospheric

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

GBM Detector / Instrument Response

GRBG

RB

GRB Photon Spectrum

1

10

100

1000

Counts

10 100 1000

Measured Energy (keV)

101

102

103

104

Photon Energy (keV)

101

102

103

104

Measured Energy (keV)

103

104

105

GRB Flux (keV · cm

–2 · s

–1)

10 100 1000

Photon Energy (keV)

×

+

=

Instrument Response Instrument Background Observed Data

1

10

100

1000

Counts

10 100 1000

Measured Energy (keV)

Page 3: Simulations and Response / R. M. Kippen (LANL)- 1 - GBM BWG Review, 31 August 2004 GBM Simulation and Instrument Response R. Marc Kippen Space and Atmospheric

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

Simulation and Detector Response Software

Definition: Multi-purpose software suite that computes the physical and instrumental 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 and

ground 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: Simulations and Response / R. M. Kippen (LANL)- 1 - GBM BWG Review, 31 August 2004 GBM Simulation and Instrument Response R. Marc Kippen Space and Atmospheric

Simulations and Response / R. M. Kippen (LANL)Simulations and Response / R. M. Kippen (LANL) - - 44 - - GBM BWG Review, 31 August 2004 GBM BWG 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 interaction physics (included in core simulation package — GEANT4)

Accurate mass models, environment models, and instrument models (but not overly complex)

Later stages of development require S/C models (including LAT model)

Verification through comparison with experimental data

Final DRMs must include contribution from atmospheric scattering (+direct detector and S/C scattered response)

GLAST S/C will have rapid slew capability — different DRMs are required whenever aspect changes by > 1°

DRM generation s/w is part of GBM IODA s/w and subject to the same requirements for standards, configuration control, etc.

Page 5: Simulations and Response / R. M. Kippen (LANL)- 1 - GBM BWG Review, 31 August 2004 GBM Simulation and Instrument Response R. Marc Kippen Space and Atmospheric

Simulations and Response / R. M. Kippen (LANL)Simulations and Response / R. M. Kippen (LANL) - - 55 - - GBM BWG Review, 31 August 2004 GBM BWG 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 software designed and developed at LANL in collaboration with GBM PI and GSW lead

Development process falls under GSW Development Plan (GBM-PLAN-1023)

Final products (s/w and data) delivered to GBM PI at NSSTC (also available to MPE and other interested parties)

Page 6: Simulations and Response / R. M. Kippen (LANL)- 1 - GBM BWG Review, 31 August 2004 GBM Simulation and Instrument Response R. Marc Kippen Space and Atmospheric

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

Phased Software/Model Development

Software and models require cross-validation with calibration data

Three phases of SIM/DRM sw/model development Design

Simulate prototype detectors

Calibration Simulate three levels of

calibration/test Detector level GBM system level On-spacecraft level

Operation In-flight configuration

appropriate for analysis of science 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

Des

ign

Ph

ase

Cal

ibra

tio

nP

has

eO

per

atio

ns

Ph

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: Simulations and Response / R. M. Kippen (LANL)- 1 - GBM BWG Review, 31 August 2004 GBM Simulation and Instrument Response R. Marc Kippen Space and Atmospheric

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

Implementation: GBM REsponse Simulation System

Integrated package that will encompass all GBM instrument response software and data needs

Configuration controlled as a single deliverable package with component software/data modules

All packages (and their dependencies) use GNU compilers — mainly g++

All data files have headers with detailed version & job tracking data

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

gbmsim

GBM instrumentphysical simulator

calsim

Instrumental/calibrationeffects & data packager

atmosim

Atmospheric scatteringsimulator

drmgen

Application-specific DRMgenerator

GRESS

arpack

Atmospheric scatteringdata packager

Page 8: Simulations and Response / R. M. Kippen (LANL)- 1 - GBM BWG Review, 31 August 2004 GBM Simulation and Instrument Response R. Marc Kippen Space and Atmospheric

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

Implementation: GBM REsponse Simulation System

gbmsim calsim

atmosim

GRESS

rootfiles

armdb

drmdb

Mass model

Mass model

Cal.Params.

Cmds.

Cmds.

Cmds.

ApplicationSpecific

DRM

Source LocationSoftware

(SSC & IOC)

Data AnalysisSoftware

(IOC)

IODA

Spectrumor DRM

Spectrumor ARM

caldb

drm

gen

Aux. data

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

arpackrootfiles

GRESS/IODAOverlap Area

Page 9: Simulations and Response / R. M. Kippen (LANL)- 1 - GBM BWG Review, 31 August 2004 GBM Simulation and Instrument Response R. Marc Kippen Space and Atmospheric

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

How – Direct Instrument Response

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

100

101

102

103

104

105

106

Counts / keV

6005004003002001000

Energy (keV)

GBM NaI500 keV

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

100

101

102

103

104

105

106

Counts / keV

6005004003002001000

Energy (keV)

GBM NaI500 keV

Page 10: Simulations and Response / R. M. Kippen (LANL)- 1 - GBM BWG Review, 31 August 2004 GBM Simulation and Instrument Response R. Marc Kippen Space and Atmospheric

Simulations and Response / R. M. Kippen (LANL)Simulations and Response / R. M. Kippen (LANL) - - 1010 - - GBM BWG Review, 31 August 2004 GBM BWG 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: Simulations and Response / R. M. Kippen (LANL)- 1 - GBM BWG Review, 31 August 2004 GBM Simulation and Instrument Response R. Marc Kippen Space and Atmospheric

Simulations and Response / R. M. Kippen (LANL)Simulations and Response / R. M. Kippen (LANL) - - 1111 - - GBM BWG Review, 31 August 2004 GBM BWG 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

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

Page 12: Simulations and Response / R. M. Kippen (LANL)- 1 - GBM BWG Review, 31 August 2004 GBM Simulation and Instrument Response R. Marc Kippen Space and Atmospheric

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

How — Response used for Spectral Analysis

Model GRB Spectrum

rmfit/xspec — spectral model “hypothesis testing”

Parameterized spectral models

Built-in models or “custom” models

1

10

100

1000

Counts

10 100 1000

Measured Energy (keV)

1

10

100

1000

Counts

10 100 1000

Measured Energy (keV)

101

102

103

104

Photon Energy (keV)

101

102

103

104

Measured Energy (keV)

103

104

105

GRB Flux (keV · cm

–2 · s

–1)

10 100 1000

Photon Energy (keV)

×

+

=

Total Det. Response Background Model Observed/Predicted Counts

iterate

From drmgenUpdated

automatically when S/C pointing changes

Empirical, time-dependent model based on data before and after burst

Observed and predicted counts compared via test statistic

Chi-squared (Gaussian) or Poisson log Likelihood

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: Simulations and Response / R. M. Kippen (LANL)- 1 - GBM BWG Review, 31 August 2004 GBM Simulation and Instrument Response R. Marc Kippen Space and Atmospheric

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

How — Response used for Localization

Internalresponsegenerator

caldb

Trial GRB Direction

ϑ ,ϕ( ) i

Trial Spectral

Parameters

Simultaneous spatial/spectral model “hypothesis testing”

S/C attitude/ position

Predicteddetector counts

Observed Det. counts

Chi-squareevaluation

Spatial/spectral optimization

Background model

Page 14: Simulations and Response / R. M. Kippen (LANL)- 1 - GBM BWG Review, 31 August 2004 GBM Simulation and Instrument Response R. Marc Kippen Space and Atmospheric

Simulations and Response / R. M. Kippen (LANL)Simulations and Response / R. M. Kippen (LANL) - - 1414 - - GBM BWG Review, 31 August 2004 GBM BWG 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) — all

slipped 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: Simulations and Response / R. M. Kippen (LANL)- 1 - GBM BWG Review, 31 August 2004 GBM Simulation and Instrument Response R. Marc Kippen Space and Atmospheric

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

SIM/DRM Revised Delivery Schedule

Milestone Date† Driver Date

SIM/DRM Delivery 1

(Det.-level s/w & models)

Nov. 1, 2004

(+4 mo)

Verify s/w & models with GBM detector-level calibrations

Feb. 2005 –

Mar. 2005

SIM/DRM Delivery 2

(Syst.-level s/w & models)

Jun. 15, 2005

(+3 mo)

Verify s/w & models with GBM system-level calibrations

Jul. 2005 –

Sep. 2005

SIM/DRM Delivery 2.1

(preliminary CALDB/DRM)

Nov. 1, 2005

(new)

Support IODA Release 2.2 & 2.3, and Data Challenge 3

Nov. 1, 2005; Dec. 1, 2005

SIM/DRM Delivery 3

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

Jan. 2, 2006

(+3 mo)

Verify s/w & models with GBM spacecraft-level source survey

Feb. 2006

SIM/DRM Delivery 4

(Ops. phase s/w & models)

Apr. 14, 2006

(no change)

Support IODA Release 3

(launch-ready software)

Sept. 1, 2005

SIM/DRM Delivery 5

(Final DRM/CALDB database)

Nov. 1, 2006(no change)

Support Phase E science/Ops. Post-launch

* 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: Simulations and Response / R. M. Kippen (LANL)- 1 - GBM BWG Review, 31 August 2004 GBM Simulation and Instrument Response R. Marc Kippen Space and Atmospheric

Simulations and Response / R. M. Kippen (LANL)Simulations and Response / R. M. Kippen (LANL) - - 1616 - - GBM BWG Review, 31 August 2004 GBM BWG 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