# General parameters obs_group,s,ql,"og_spi.fits[GROUPING]",,,"Observation Group to work with" startLevel,s,ql,"POIN",,,"Analysis level at which the analysis should begin" endLevel,s,ql,"BIN_I",,,"Analysis level at which the analysis should end" only_clean,b,ql,no,,,"Only cleaning the Group without stepping forward (yes/no) ?" run_spiskymax,b,ql,no,,,"Apply image reconstruction with spiskymax (yes/no) ?" run_spiros,b,ql,no,,,"Apply image/source reconstruction with spiros (yes/no) ?" clobber,b,ql,"yes",,,"clobber flag" # parameters for sub-components blc_spipoint_rwgroup,s,h,"og_spi.fits[GROUPING]",,,"Group" blc_spipoint_pointing-file,s,h,"spi/pointings.fits",,,"output pointing file (without template or DOL)" spi_allgti_rogroup,s,h,"",,,"input OG to work with" spi_allgti_rwgroup,s,h,"og_spi.fits[GROUPING]",,,"output OG to work with" spi_allgti_ropointing,s,h,"",,,"input pointing data structure" spi_allgti_rwgti,s,h,"spi/gti.fits(SPI.-OBS.-GTI.tpl)",,,"output gti data structure" spi_allgti_numdet,i,h,"85",,,"Number of detectors" spi_allgti_det_id,s,ql,"0-84",,,"Detectors used for analysis (-1 = all)" spi_allgti_clobber,b,h,yes,,,"Clobber Flag" spidead_in-og-dol,s,h,"",,,"Input Observation Group DOL:" spidead_dead-time-dol,s,h,"spi/dead_time.fits(SPI.-OBS.-DTI.tpl)",,,"Output DS DOL: " spidead_out-og-dol,s,h,"og_spi.fits[GROUPING]",,,"Ouput Observation Group DOL:" spidead_swg-index-dol,s,h,"",,,"corrected swg index DOL: " spidead_gti-dol,s,h,"",,,"Good Time Interval DOL: " spidead_clobber,b,h,yes,,,"Do you want to overwrite existing output files?:" spidead_chatter,i,h,10,1,100,"Chatter Level: " spidead_deadtimecorrection,r,h,-1,,,"Dead time correction (fraction of live time) for pseudo detectors: " spi_gain_corr_prpOG,s,h,"og_spi.fits[GROUPING]",,,"Prepared Observation Group" spi_gain_corr_inSWG,s,h,,,,"Raw SWG (optional)" spi_gain_corr_outfile,s,h,,,,"Output file (optional)" spi_gain_corr_coeffDOL,s,h,"/unsaved_data/spi_int/IRF/cal/spi_coef_cal_0006.fits[1]",,,"Calibration file" spi_gain_corr_clobber,b,h,yes,,,"Clobber flag" spi_psd_optimise_ingrpDOL,s,h,"",,,"Input Observation Group DOL or filename" spi_psd_optimise_ingtiDOL,s,h,"",,,"Good Time Interval DOL or filename" spi_psd_optimise_inlibDOL,s,h,"/isdc/testdata/unit_test/ic_tree/4.9/ic/spi/cal/spi_lib_psd_0002.fits[SPI.-LIB.-PSD,1,BINTABLE]",,,"PSD library DOL or filename" spi_psd_optimise_inalgDOL,s,h,"/isdc/testdata/unit_test/ic_tree/4.9/ic/spi/cal/spi_algo_psd_0002.fits[SPI.-ALGO-PSD,1,BINTABLE]",,,"PSD algorithm parameter DOL or filename" spi_psd_optimise_outgrpDOL,s,h,"og_spi.fits[GROUPING]",,,"Output Observation Group DOL or filename" spi_psd_optimise_outdisDOL,s,h,"spi/psd_disc.fits",,,"PSD discrimination DOL or filename" spi_psd_optimise_method,s,hl,"ONBOARD",ONBOARD,,"Optimisation method (ONBOARD)" spi_psd_optimise_slice,b,hl,yes,,,"Optimise PSD for time sub-intervals ?" spi_psd_optimise_ontime,r,hl,4000,,,"Constant ONTIME slice (seconds)" spi_psd_optimise_clobber,b,h,yes,,,"Overwrite existing output data ?" spi_psd_optimise_verbose,i,h,3,0,3,"Information logging level" spi_psd_postprocess_ingrpDOL,s,ql,"",,,"Input Observation Group DOL or filename" spi_psd_postprocess_indisDOL,s,ql,"",,,"PSD discrimination DOL or filename" spi_psd_postprocess_outgrpDOL,s,ql,"og_spi.fits[GROUPING]",,,"Output Observation Group DOL or filename" spi_psd_postprocess_clobber,b,h, yes,,, "Overwrite existing output data ?" spi_psd_postprocess_verbose,i,h, 2,0,3, "Information logging level" spibounds_outfile,s,h,"",,,"Name of output file:" spibounds_in-og-dol,s,h,"",,,"Observation Input Group DOL:" spibounds_energy-boundaries-dol,s,h,"spi/energy_boundaries.fits(SPI.-EBDS-SET.tpl)",,,"Output DS DOL:" spibounds_out-og-dol,s,h,"og_spi.fits[GROUPING]",,,"Observation Output Group DOL:" spibounds_swg-index-dol,s,h,"",,,"Corrected swg index DOL:" spibounds_gti-dol,s,h,"",,,"Good Time Interval DOL:" spibounds_deadtime-dol,s,h,"",,,"Dead Time DOL:" spibounds_ebounds-dol,s,h,"",,,"Energy Bin Boundaries DOL:" spibounds_clobber,b,h,yes,,,"Do you want to overwrite existing output files?:" spibounds_binfile,s,h,"none",,,"" # Energy binning spibounds_nregions,i,ql,5,,,"Number of regions:" spibounds_regions,s,ql,"65,1165,1180,1325,1340,2040",,,"Region bounds:" spibounds_nbins,s,ql,"11,15,2,15,7",,,"Number of bins in regions:" spibounds_telescope,s,h,"INTEGRAL",,,"Telescope name:" spibounds_instrume,s,h,"SPI",,,"Instrument name:" spibounds_filter,s,h,"",,,"Filter:" spibounds_bintype,s,h,"PI",,,"Energy Units (PI/PHA):" spibounds_chatter,i,h,20,,,"Chatter flag:" spibounds_clobber,b,h,yes,,,"Do you want to delete any existing output files?:" spibounds_mode,s,h,"h",,,"" spihist_outfile,s,h,"hist",,,"Name of output file:" spihist_in-og-dol,s,h,"",,,"Observation Input Group DOL:" spihist_det-spec-dol,s,h,"spi/evts_det_spec.fits(SPI.-OBS.-DSP.tpl)",,,"Output DS DOL:" spihist_out-og-dol,s,h,"og_spi.fits[GROUPING]",,,"Observation Output Group DOL:" spihist_swg-index-dol,s,h,"",,,"Corrected swg index DOL:" spihist_gti-dol,s,h,"",,,"Good Time Interval DOL:" spihist_deadtime-dol,s,h,"",,,"Dead Time DOL:" spihist_ebounds-dol,s,h,"",,,"Energy Bin Boundaries DOL:" spihist_clobber,b,h,yes,,,"Do you want to overwrite existing output files?:" spihist_dtype,i,h,1,1,3,"Output data units: (1) counts/bin, (2) counts/s/bin, or (3) cts/s/kev:" spihist_psdtype,s,h,"raw",,,"Use on-board (raw) or Ground (prp) derived PSD localized flag" spihist_detnums,s,h,"0-84",,,"Detectors to be processed:" spihist_multipointing,s,h,"d",,,"Summed or distinct pointings:" spihist_tstart,s,h,"indef",,,"Start time for accumulations:" spihist_tstop,s,h,"indef",,,"Stop time for accumulations:" spihist_instrume,s,h,"SPI",,,"Instrument name:" spihist_chatter,i,h,20,,,"Chatter flag:" spihist_outputformat,s,h,"ISDC",,,"Output file format (PHA/ISDC):" spiback_in-og-dol,s,h,"",,,"Enter name of Observation Group Dataset for input " spiback_pointing-dol,s,h,"",,,"Enter observation pointing directions DOL: " spiback_ebounds-dol,s,h,"",,,"Enter energy binning boundaries DOL: " spiback_evts-det-spec-dol,s,h,"",,,"Enter detector event spectra DOL: " spiback_gti-dol,s,h,"",,,"Enter observation good time intervals DOL: " spiback_deadtime-dol,s,h,"",,,"Enter observation dead time intervals DOL: " spiback_back-mod-idx,s,h,"spi/back_model_index.fits(SPI.-BMOD-DSP-IDX.tpl)",,,"Name of output background model data file: " spiback_back-mod-dol,s,h,"back_model.fits(SPI.-BMOD-DSP.tpl)",,,"Name of output background model index file: " spiback_out-og-dol,s,h,"og_spi.fits[GROUPING]",,,"Enter name of Observation Group Dataset for output " spiback_back-const,s,h,"YES",,,"Do you want a constant background component? (yes/no): " spiback_back-const-value,r,ql,2e-05,,,"Constant background level in each detector (cnts/det/sec/kev):" spiback_back-linear,s,h,"NO",,,"Do you want a linear background component? (yes/no): " spiback_back-linear-mjd0,r,h,0.0,,,"Start time of the linear background component as Modified Julian Date: " spiback_back-linear-slope,r,h,0.1,,,"Slope of the linear background component (cnts/sec/det/kev/day): " spiback_back-sincos,s,h,"NO",,,"Do you want a sinusoidal background component (yes/no):" spiback_back-sincos-mjd0,r,h,0.0,,,"Phase of the SIN-COS background component as Modified Julian Date: " spiback_back-sincos-period,r,h,0.15,,,"Period of the SIN-COS component (days): " spiback_back-sin-amp,r,h,1.0,,,"Amplitude of the SIN background component (cnts/det/sec/kev): " spiback_back-cos-amp,r,h,0.0,,,"Amplitude of the COS background component (cnts/det/sec/kev): " spi_psd_effigen_ingrpDOL,s,h,"",,,"Input Observation Group DOL or filename" spi_psd_effigen_inebdDOL,s,h,"",,,"Energy boundary definition DOL or filename" spi_psd_effigen_ingtiDOL,s,h,"",,,"Good Time Interval DOL or filename" spi_psd_effigen_indspDOL,s,h,"",,,"Detector spectrum DOL or filename" spi_psd_effigen_outgrpDOL,s,h,"og_spi.fits[GROUPING]",,,"Output Observation Group DOL or filename" spi_psd_effigen_outpefDOL,s,h,"spi/psd_efficiency.fits",,,"PSD efficiency DOL or filename" spi_psd_effigen_min_bin,r,h,1000.0,0.0,, "Requested minimum number of events/bin" spi_psd_effigen_navg,i,h,2,1,, "Number of pointings to average" spi_psd_effigen_clobber,b,h,yes,,, "Overwrite existing output data ?" spi_psd_effigen_verbose,i,h,0,0,3, "Information logging level" spi_psd_respgen_ingrpDOL,s,h,"",,,"Input Observation Group DOL or filename" spi_psd_respgen_inebdDOL,s,h,"",,,"Energy boundary definition DOL or filename" spi_psd_respgen_ingtiDOL,s,h,"",,,"Good Time Interval DOL or filename" spi_psd_respgen_indisDOL,s,h,"",,,"PSD discrimination DOL or filename" spi_psd_respgen_outgrpDOL,s,h,"og_spi.fits[GROUPING]",,,"Output Observation Group DOL or filename" spi_psd_respgen_outprfDOL,s,h,"spi/psd_response.fits",,,"PSD response DOL or filename" spi_psd_respgen_clobber,b,h,yes,,, "Overwrite existing output data ?" spi_psd_respgen_verbose,i,h,2,0,3, "Information logging level" # SPIROS parameters spiros_in-og-dol,s,h,"",,,"Enter name of observation input group DOL:" spiros_pointing-dol,s,h,"",,,"Enter observation pointing directions DOL: " spiros_gti-dol,s,h,"",,,"Enter observation good time intervals DOL: " spiros_deadtime-dol,s,h,"",,,"Enter observation dead time intervals DOL: " spiros_ebounds-dol,s,h,"",,,"Enter energy binning boundaries DOL: " spiros_evts-det-spec-dol,s,h,"",,,"Enter detector event spectra DOL: " spiros_out-og-dol,s,h,"og_spi.fits[GROUPING]",,,"Enter name of observation output group DOL: " spiros_inst-resp-idx,s,h,"/isdc/testdata/unit_test/ic_tree/4.5/ic/spi/rsp/spi_irf_grp_0011.fits[1]",,,"Enter name of instrument response function: " spiros_energy-response,s,h,"N",,,"Enter if an Energy Response Matrix is to be used [YES/NO]: " spiros_back-model-idx,s,h,"",,,"Enter name of detector background model response spectra index DOL: " spiros_background-method,i,h,3,,,"Enter handling method of background model response [0=ZERO,1=FIXED,2=FLOATING,3=FUNCTION]: " spiros_mode,s,h,"IMAGING",,,"Enter SPIROS analysis mode [IMAGING,SPECTRAL,TIMING]: " spiros_source-cat-dol,s,h,"",,,"Enter name of input catalogue of known sources: " #spiros_source-cat-dol,s,h,"${ISDC_ENV}/source_res_in.fits[1]",,,"Enter name of input catalogue of known sources: " spiros_location-max-error,r,h,0.1,,,"Enter maximum admissible input error source location: " spiros_optistat,s,h,"CHI2",,,"Enter optimization statistic [CHI2,LIKEH]: " spiros_solution-constr,s,h,"NONE",,,"Enter image solution constraints [NONE,POSITIVE]: " spiros_maxlikprec,r,h,0.2,,,"Enter maximum likelihood parameter stopping precision: " spiros_nagoptions,s,h," ",,,"Enter name of textfile with modifications to NAG optimization subroutine parameters: " spiros_chilocstep,r,h,0.1,,,"Enter source location sampling step [degrees]: " spiros_chiwidstep,r,h,0.5,,,"Enter source width sampling step [degrees]: " spiros_image-idx,s,h,"spi/spiros_imaging.fits(SPI.-SKY.-IMA-IDX.tpl)",,,"Enter name of output sky image index: " spiros_image-int,s,h,"YES",,,"Enter request for flux intensity image [YES,NO or image name]: " spiros_image-err,s,h,"YES",,,"Enter request for flux error image [YES,NO or image name]: " spiros_image-sig,s,h,"YES",,,"Enter request for flux significance image [YES,NO or image name]: " spiros_source-res,s,h,"spi/source_res.fits(SPI.-SRCL-RES.tpl)",,,"Enter name of output source catalogue: " spiros_maxlikfile,s,h,"spi/spiros_ML_residues.fits(SPI.-MAXL-RES.tpl)",,,"Enter maximum likelihood parameter residue output file: " spiros_reference-coord,s,h,"RADEC",,,"Enter source location and imaging coordinate system [RADEC,GALACTIC]: " spiros_image-fov,s,h,"POINTING+FCFOV",,,"Enter extent and location of output image: " spiros_center-long,r,h,0.0,,,"Enter longitude of output image centerpoint (degrees): " spiros_center-lat,r,h,0.0,,,"Enter latitude of output image centerpoint (degrees): " spiros_image-dim-long,i,h,201,,,"Enter output image dimension in longitude: " spiros_image-dim-lat,i,h,201,,,"Enter output image dimension in latitude: " spiros_image-pixel-long,r,h,0.1,,,"Enter output image pixel size in longitude [degrees]: " spiros_image-pixel-lat,r,h,0.1,,,"Enter output image pixel size in latitude [degrees]: " spiros_image-orient,s,h,"STANDARD",,,"Enter output image orientation [USER,STANDARD]: " spiros_image-pole-long,r,h,0.0,,,"Enter longitude of output image pole [degrees]: " spiros_image-pole-lat,r,h,90.0,,,"Enter latitude of output image pole [degrees]: " spiros_image-proj,s,h,"AIT",,,"Enter output image projection type [CAR,TAN,AIT]: " spiros_blur-size,r,h,1.0,,,"Enter FWHM blurring factor to highlight point sources in output images: " spiros_kofsources,s,h,"POINT",,,"Enter shape of sources to be searched for [POINT,POINTLIKE,DIFFUSE]: " spiros_nofsources,i,h,1,,,"Enter maximum number of sources to be searched for [0,1,2...]: " spiros_srclocbins,s,h,"SUM",,,"Enter source location energy bins [ALL,SUM,FIRST,A-B,A-BkeV]: " spiros_searchstep,r,h,0.5,,,"Enter source search grid step [degrees,0=>PSF-FWHM/6]: " spiros_sigmathres,r,h,2.0,,,"Enter lower sigma threshold to stop source search: " spiros_srclocprec,r,h,0.01,,,"Enter source location stopping precision [degrees]: " spiros_srcwidprec,r,h,0.1,,,"Enter source width stopping precision [degrees]: " spiros_iteration-output,s,h,"YES",,,"Enter whether output should be produced at each iteration [YES/NO]: " spiros_source-relocation,s,h,"NO",,,"Enter if final source locations are to be found using entire count spectrum: " spiros_pixel-func,s,h," ",,,"Enter shape of image pixel or spline function: [POINT,HAT,BSPLINE,LINEAR]: " spiros_pixel-size,r,h,0.0,,,"Enter size of image array pixel or FWHM of BSPLINE function: " spiros_constrtype,s,h," ",,,"Enter image constraint matrix type: [DIAGONAL, WIENER-SMOOTHING]: " spiros_constrmult,r,h,0.0,,,"Enter image constraint matrix multiplier [1.0 = Optimal value]: " spiros_constrincr,r,h,0.0,,,"Enter image constraint matrix multiplier increment: " spiros_constriter,i,h,0,,,"Enter number of image constraint iterations: " spiros_source-spec-idx,s,h,"spi/spectra_index.fits(SPI.-PHA1-SPE-IDX.tpl)",,,"Enter name of output source spectra index:" spiros_source-spec,s,h,"spi/spectra.fits",,,"Enter name of output source spectra dataset: " spiros_back-det-spec-idx,s,h,"NO",,,"Enter name of output detector background spectra index: " spiros_back-det-spec,s,h," ",,,"Enter name of output detector background spectra dataset: " spiros_source-det-spec-idx,s,h,"NO",,,"Enter name of output source detector spectra index: " spiros_source-det-spec,s,h," ",,,"Enter name of output source detector spectra dataset: " spiros_source-timing-mode,s,h,"QUICKLOOK",,,"Enter timing analysis mode [QUICKLOOK, TRANSIENT]: " spiros_source-timing-scale,r,h,0.0,,,"Enter timing observation integration time [seconds]: " spiros_source-timing-idx,s,h,"spi/spiros_timing_index.fits(SPI.-SRC.-LCR-IDX.tpl)",,,"Enter name of output source timing index: " spiros_source-timing,s,h,"spiros_timing_data.fits",,,"Enter name of output source timing dataset: " # SPISKYMAX parameters spiskymax_debug,i,h,0,0,2,"0=silent,1,2 gives more verbose output" spiskymax_display,i,h,0,0,2,"1,2 displays skymap using root" spiskymax_title,s,h,"spiskymax processing",,,"title to write as comment to FITS header" spiskymax_rogroup,s,h,"",,,"R/O Group" spiskymax_rwgroup,s,h,"og_spi.fits[GROUPING]",,,"R/W Group" spiskymax_counts_input_file,s,h,"",,," input count file" spiskymax_pointing_input_file,s,h,"",,," input pointing file" spiskymax_ebounds_input_file, s,h,"",,," input energy bounds file" spiskymax_deadtime-dol,s,h,"",,,"DTI deadtime/livetime input file" spiskymax_background_input_file,s,h,"" ,,,"input background file" spiskymax_irf_input_file,s,h,"$ISDC_IC_TREE/ic/spi/rsp/spi_irf_grp_0011.fits[GROUPING]",,,"input IRF file" #spiskymax_irf_input_file,s,h,"/isdc/integration/ic/spi/rsp/spi_irf_grp_0005.fits[GROUPING]",,,"input IRF file" spiskymax_source-cat-dol,s,h,,,,"input catalogue of sources for SPISKYMAX" spiskymax_image-idx,s,h,"spi/skymax_index.fits(SPI.-SKY.-IMA-IDX.tpl)",,,"output skymap image index file " spiskymax_image-int,s,h,"skymax_image.fits",,,"output skymap images file" spiskymax_source-res-dol,s,h,"spi/spiskymax_sources.fits(SPI.-SRCL-RES.tpl)",,,"output catalogue of sources " spiskymax_skymap_system,s,h,C,,,"input skymap coordinate system C=celestial, G=Galactic" spiskymax_image-fov,s,ql,"POINTING+FCFOV",,,"Image field of view: SURVEY USER POINTING POINTING+FCFOV POINTING+ZCFOV POINTING-CENTER" spiskymax_center-long,r,h,1.0,,,"Longitude of centre pixel (degrees) [image-fov= USER]" spiskymax_center-lat,r,h,2.0,,,"Latitude of centre pixel (degrees) [image-fov= USER]" spiskymax_image-pixel-long,r,h,0.5,,,"Longitude pixel size (degrees) [image-fov= USER,POINTING*]" spiskymax_image-pixel-lat,r,h,0.5,,,"Latitude pixel size (degrees) [image-fov= USER,POINTING*]" spiskymax_image-dim-long,i,h,40,,,"Longitude dimension (pixels) [image-fov= USER,POINTING-CENTER]" spiskymax_image-dim-lat,i,h,41,,,"Latitude dimension (pixels) [image-fov= USER,POINTING-CENTER]" spiskymax_chi_0,r,h,-10.,,,"Longitude of first pixel (degrees)[image-fov= SURVEY]" spiskymax_chi_1,r,h,+10.,,,"Longitude of last pixel (degrees)[image-fov= SURVEY]" spiskymax_d_chi,r,h,0.50,,,"Longitude binsize (degrees)[image-fov= SURVEY]" spiskymax_psi_0,r,h,-10.0,,,"Latitude of first pixel (degrees)[image-fov= SURVEY]" spiskymax_psi_1,r,h,+10.0,,,"Latitude of last pixel (degrees)[image-fov= SURVEY]" spiskymax_d_psi,r,h,0.50,,,"Latitude binsize (degrees)[image-fov= SURVEY]" spiskymax_energy_range_min,i,ql,1,,,"minimum energy range sequence number as in ebounds file: 1,2,3..." spiskymax_energy_range_max,i,ql,1,,,"maximum energy range sequence number as in ebounds file: 1,2,3..." spiskymax_max_iter,i,h,35,0,1000,"maximum number of memsys5 iterations" spiskymax_image_default,r,h,1.0e-3,,,"image default intensity, cm-2 sr-1 s-1" spiskymax_background_scaling_default,r,h,1.0e-0,,,"background scaling default" spiskymax_background_entropy_factor,r,h,1.0e-0,,,"background factor to reduce contribution to entropy" spiskymax_background_method,i,h,2,1,2,"background method:1=free 2=fixed" spiskymax_memsys_iBayes,i,h,1,1,3,"memsys Bayesian method code: 1= classic, 3=ad hoc specified by fAim " spiskymax_memsys_iEntropy,i,h,1,1,5,"memsys entropy type: 1= standard, 5=fixed total=sum over defaults " spiskymax_memsys_fAim,r,h,1.0,1e-10,1e10,"memsys stopping criterion: classic: 1/Omega =1.0, ad hoc: alpha " spiskymax_n_source_fluxes,i,h,1,0,100,"number of source fluxes with errors" spiskymax_source_chi_1,r,h,0.0,,,"longitude (degrees) of source 1" spiskymax_source_psi_1,r,h,0.0,,,"latitude (degrees) of source 1" spiskymax_source_ON_radius_1,r,h,2.00,,,"ON radius (degrees) for source 1 and catalogue analysis" spiskymax_source_OFF_radius_1,r,h,4.00,,,"OFF radius (degrees) for source 1 and catalogue analysis" spiskymax_n_profiles,i,h,0,0,100,"number of intensity profiles with errors" spiskymax_profile_chi_0,s,h,"180.0 180.0",,,"Longitude of first pixel of profiles (degrees)" spiskymax_profile_chi_1,s,h,"200.0 200.0",,,"Longitude of last pixel of profiles (degrees)" spiskymax_profile_d_chi,s,h," 1.0 2.0 ",,,"Longitude binsize of profiles (degrees)" spiskymax_profile_psi_0,s,h," +2.0 +2.0 ",,,"Latitude of first pixel of profiles (degrees)" spiskymax_profile_psi_1,s,h," +2.0 +2.0 ",,,"Latitude of last pixel of profiles (degrees)" spiskymax_profile_d_psi,s,h,"2.0 2.0",,,"Latitude binsize of profiles (degrees)"