obs_group,s,h,"og_spi.fits[GROUPING]",,,"Observation Group to work with" startLevel,s,ql,"POIN",,,"Analysis level at which the analysis should begin" endLevel,s,ql,"IMA",,,"Analysis level at which the analysis should end" coeffDOL,s,ql,"${ISDC_IC_TREE}/ic/spi/cal/spi_coef_cal_0006.fits[1]",,,"DOL of the gain coefficient file (has to be set!)" only_clean,b,h,no,,,"Only cleaning the Group without stepping forward (yes/no) ?" run_spiskymax,b,h,yes,,,"Apply image reconstruction with spiskymax (yes/no) ?" run_spiros,b,h,yes,,,"Apply image/source reconstruction with spiros (yes/no) ?" run_psd,b,ql,no,,,"Apply PSD optimisation (yes/no) ?" clobber,b,h,"yes",,,"clobber flag" blc_spipoint_pointing-file,s,h,"spi/pointings.fits",,,"output pointing file (without template or DOL)" 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,"-1",,,"Detectors used for analysis (-1 = all)" spidead_dead-time-dol,s,h,"spi/dead_time.fits(SPI.-OBS.-DTI.tpl)",,,"Output DS DOL: " spidead_deadtimecorrection,r,ql,0.985,-1.0,+1.0,"Dead time correction (fraction of live time) for pseudo detectors:" spi_gain_corr_randomise,b,ql,yes,,,"Randomise energies in gain correction ?" spi_psd_optimise_outdisDOL,s,h,"spi/psd_disc.fits",,,"PSD discrimination DOL or filename" spi_psd_optimise_alpha,r,q,0.0,0.0,,"Signal-to-background fraction" spi_psd_optimise_method,s,h,"2D",NO|SAID|ONBOARD|2D|2DSLICE|3D,,"Optimisation method (NO/SAID/ONBOARD/2D/2DSLICE/3D)" spi_psd_optimise_insetDOL,s,ql,"",,,"PSD response cube definition DOL or filename (leave empty for automatic access" spi_psd_optimise_nslices,i,h,10,0,,"Number of slices for 2DSLICE" spi_psd_optimise_slice,b,h,no,,,"Optimise PSD for time sub-intervals ?" spi_psd_optimise_ontime,r,hl,50000,0,,"Constant ONTIME slice (seconds)" 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_energy-boundaries-dol,s,h,"spi/energy_boundaries.fits(SPI.-EBDS-SET.tpl)",,,"Output DS DOL:" spibounds_nregions,i,ql,1,1,,"Number of regions:" spibounds_regions,s,ql,"20,2000",,,"Region bounds [keV]:" spibounds_nbins,s,ql,"1",,,"Number of bins in regions:" spibounds_bintype,s,h,"PI",PI|PHA,,"Energy Units (PI/PHA):" spihist_outfile,s,h,"hist",,,"Name of output file:" spihist_det-spec-dol,s,h,"spi/evts_det_spec.fits(SPI.-OBS.-DSP.tpl)",,,"Output DS DOL:" spihist_dtype,i,h,1,1|2|3,,"Output data units: (1) counts/bin, (2) counts/s/bin, or (3) cts/s/kev:" spihist_psdtype,s,h,"raw",raw|prp,,"Use on-board (raw) or Ground (prp) derived PSD localized flag" spihist_detnums,s,h,"0-84",,,"Detectors to be processed:" spihist_detsummed,b,hl,no,,,"Output is summed over detectors (per pointing):" spihist_pntgsummed,b,hl,no,,,"Output is summed over pointings:" spihist_outputformat,s,h,"ISDC",ISDC|PHA,,"Output file format (PHA/ISDC):" spiback_back-mod-idx,s,h,"spi/back_model_index.fits(SPI.-BMOD-DSP-IDX.tpl)",,,"Name of output background model index file: " spiback_back-mod-dol,s,h,"back_model.fits(SPI.-BMOD-DSP.tpl)",,,"Name of output background model data file: " spiback_back-const,s,ql,"YES",YES|NO,,"Do you want a constant background component? (yes/no):" spiback_back-const-value,r,ql,1e-07,,,"Constant background level in each detector (cnts/det/sec/kev):" spiback_back-linear,s,ql,"NO",YES|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-polynomial,s,h,"",,,"Polynomial parameters (type,cff1,cff2,cff3,cff4): " spiback_back-sincos,s,h,"NO",YES|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): " spiback_back-SCHK,s,h,"NO",NO|DFEE|ACS|IREM,,"Name of SCHK count rate archive for background model:" spiback_back-onegtiseq,s,h,"NO",YES|NO,,"Use only one detector GTI to determine background" spiback_back-orbital-POWL,s,h,"NO",,,"Parameters for powerlaw variations (ampl,index): " spiback_back-orbital-COS,s,h,"NO",,,"Parameters for COSINE variations (ampl,phase,period): " spiback_back-orbital-SIN,s,h,"NO",,,"Parameters for SINE variations (ampl,phase,period):" spiback_back-orbital-SIN+1,s,h,"NO",,,"Parameters for SINE+1 variations (ampl,phase,period): " spiback_back-orbital-COS+1,s,h,"NO",,,"Parameters for COSINE+1 variations (ampl,phase,period): " 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 for spi_psd_effigen" spi_psd_effigen_navg,i,h,2,1,,"Number of pointings to average in spi_psd_effigen" spi_psd_respgen_outprfDOL,s,h,"spi/psd_response.fits",,,"PSD response DOL or filename" ## SPIROS parameters spiros_mode,s,ql,"IMAGING",IMAGING|SPECTRA|TIMING|DIFFUSE,,"Select processing mode [IMAGING,SPECTRA,TIMING]:" spiros_background-method,i,ql,2,0|1|2|3|4,,"Enter handling method of background model response values [0=ZERO,1=FIXED,2=FLOATING,3=FUNCTION]:" spiros_optistat,s,h,"CHI2",CHI2|LIKEH,,"Enter optimization statistic [CHI2,LIKEH]: " spiros_solution-constr,s,h,"NONE",NONE|POSITIVE,,"Enter image solution constraints [NONE,POSITIVE]: " spiros_maxlikfile,s,h,"spi/spiros_ml_residues(SPI.-MAXL-RES.tpl)",,,"Enter maximum likelihood residue output file: " spiros_nagoptions,s,h," ",,,"Enter NAG options file for minimization subroutines: " spiros_energy-response,s,h,"NO",YES|NO,,"Enter if an Energy Response Matrix is to be used [YES/NO]: " spiros_energy-subset,s,h," ",,,"Enter subset of energy bins [a-b,c-d,f,g.....]: " spiros_pointing-subset,s,ql,"",,,"Enter subset of pointing bins [a-b,c-d,f,g.....]:" spiros_detector-subset,s,ql,"",,,"Enter subset of detector bins [a-b,c-d,f,g.....]:" spiros_source-cat-dol,s,ql,"",,,"Enter name of catalogue of known sources (leave empty for automatic access):" spiros_inst-resp-idx,s,ql,"/unsaved_data/spi_int/IRF/may03/spi_irf_grp_0014.fits[1]",,,"Enter name of instrument response function (leave empty for automatic access):" spiros_out-og-dol,s,ql,"og_spiros.fits",,,"Output observation group (leave empty in case the output group should be the input group)" spiros_srclocbins,s,ql,"FIRST",,,"Enter count spectrum bins used for source location [Blank,SUM,FIRST,ALL]:" spiros_image-idx,s,h,"spi/spiros_image_index.fits(SPI.-SKY.-IMA-IDX.tpl)",,,"Enter name of output sky image index: " spiros_image-int,s,h,"Y",,,"Enter name of intensity image [NO=none]: " spiros_image-err,s,h,"Y",,,"Enter name of error image [NO=none]: " spiros_image-sig,s,h,"Y",,,"Enter name of significance image [NO=none]: " spiros_source-res,s,h,"spi/source_res.fits(SPI.-SRCL-RES.tpl)",,,"Enter name of output source catalogue:" spiros_source-spec-idx,s,h,"spi/source_spec_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,"spi/spiros_noise_backgr_index.fits(SPI.-BACK-DSP-IDX.tpl)",,,"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_reference-coord,s,ql,"RADEC",RADEC|GALACTIC,,"Enter output image reference coordinate system [RADEC,GALACTIC]:" spiros_image-proj,s,ql,"CAR",CAR|TAN|AIT,,"Enter output image projection type [CAR,TAN,AIT]:" spiros_image-fov,s,ql,"POINTING+ZCFOV",POINTING+FCFOV|POINTING+ZCFOV|POINTING|USER,,"Enter extent and location of output image:" spiros_center-long,r,h,300.0,,,"Enter longitude of output image centerpoint (degrees): " spiros_center-lat,r,h,35.20,,,"Enter latitude of output image centerpoint (degrees): " spiros_image-dim-long,i,h,101,,,"Enter output image dimension in longitude: " spiros_image-dim-lat,i,h,81,,,"Enter output image dimension in latitude: " spiros_image-pixel-long,r,h,0.2,,,"Enter output image pixel size in longitude [degrees]: " spiros_image-pixel-lat,r,h,0.2,,,"Enter output image pixel size in latitude [degrees]: " spiros_image-orient,s,h,"STANDARD",USER|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_nofsources,i,ql,3,0,,"Enter maximum number of sources to be searched for [0,1,2...]:" spiros_kofsources,s,h,"POINT",,,"Enter shape of sources to be searched for [POINT,BSPLINE,CUBIC,HAT]: " spiros_sigmathres,r,h,3.0,0.0,,"Enter lower sigma threshold to stop source search: " spiros_chilocstep,r,h,0.05,0.0,,"Enter source location sampling step [degrees]: " spiros_srclocprec,r,h,0.01,0.0,,"Enter source location stopping precision [degrees]: " spiros_chiwidstep,r,h,0.1,0.0,,"Enter source width sampling step [degrees]: " spiros_srcwidprec,r,h,0.1,0.0,,"Enter source width stopping precision [degrees]: " spiros_iteration-output,s,h,"YES",YES|NO,,"Enter whether output should be produced at each iteration [YES/NO]: " spiros_source-relocation,s,h,"NO",YES|NO,,"Enter if final source locations are to be found using entire count spectrum: " spiros_blur-size,r,h,0.5,0.0,,"Enter FWHM blurring factor for output point sources: " spiros_pixel-func,s,h," ",,,"Enter shape of image pixel or spline function: [POINT,HAT,BSPLINE,LINEAR,FOURIER]: " spiros_pixel-size,r,h,0.0,0.0,,"Enter FWHM size of image array pixel/spline function: " spiros_constrtype,s,h," ",,,"Enter image constraint matrix type: [WIENER,CUBIC-SMOOTH,LINEAR-SMOOTH]: " spiros_constrmult,r,h,0.0,0.0,,"Enter image constraint matrix multiplier: " spiros_constrincr,r,h,0.0,0.0,,"Enter image constraint matrix multiplier increment: " spiros_constriter,i,h,0,,,"Enter image constraint iterations: " spiros_location-max-error,r,h,0.1,0.0,,"Enter maximum admissible input error source location: " spiros_source-timing-mode,s,h,"QUICKLOOK",QUICKLOOK|TRANSIENT,,"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_energy_range_min,i,ql,1,1,,"minimum energy range sequence number as in ebounds file: 1,2,3..." spiskymax_energy_range_max,i,ql,1,1,,"maximum energy range sequence number as in ebounds file: 1,2,3..." spiskymax_max_iter,i,ql,100,0,1000,"maximum number of memsys5 iterations" spiskymax_irf_input_file,s,ql,"",,,"input IRF file (leave blank for automatic access):" 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,C|G,,"input skymap coordinate system C=celestial, G=Galactic" spiskymax_image-fov,s,ql,"POINTING+FCFOV",SURVEY|USER|POINTING|POINTING+FCFOV|POINTING+ZCFOV|POINTING-CENTER,,"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_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|2|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" # Parameters for SPISKYMAX profiles 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)"