/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits PyFITSDeprecationWarning) # noqa Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Waiting 178 seconds before starting... Proceeding. Importing modules... This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. This is make4FGLxml version 01r04. The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead. warnings.warn(message, mplDeprecation, stacklevel=1) WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). number of points = 7400 number of fields = 29 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2040.5-1705_daily_bin527 RA = 310.136, Dec = -17.0901 tmin = 375926401, tmax = 376185601 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository Job = True LAT data Source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='108496', job_status='RUN', time_executed='2021-09-25 15:49:11.100629', time_epoch_executed='1632610151.1' WHERE source_name='4FGL J2040.5-1705' and cadence='daily' and bin_id='527' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/108496 Creating custom pfile directory: /scratch/kocevski/108496/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=375926401.0 && nMetStart<376185601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=375926401.0 && nMetStart<376185601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/108496/ft1_4FGL_J2040.5-1705_daily_bin527.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=375926401.0 && nMetStart<376185601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/108496/ft2_4FGL_J2040.5-1705_daily_bin527.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/108496/ft1_4FGL_J2040.5-1705_daily_bin527.fits outfile=/scratch/kocevski/108496/ft1_filteredMKT_4FGL_J2040.5-1705_daily_bin527.fits ra=310.136 dec=-17.0901 rad=12.0 tmin=375926401.0 tmax=376185601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 3.53 user 3.24 sys 0.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/108496/ft2_4FGL_J2040.5-1705_daily_bin527.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/108496/ft2_4FGL_J2040.5-1705_daily_bin527.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/108496/ft1_filteredMKT_4FGL_J2040.5-1705_daily_bin527.fits evtable="EVENTS" outfile="/scratch/kocevski/108496/ft1_filtered_4FGL_J2040.5-1705_daily_bin527.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.53 user 0.36 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/108496/ft1_filtered_4FGL_J2040.5-1705_daily_bin527.fits" evtable="EVENTS" scfile=/scratch/kocevski/108496/ft2_4FGL_J2040.5-1705_daily_bin527.fits sctable="SC_DATA" outfile=/scratch/kocevski/108496/ltcube_375926401_376185601_4FGL_J2040.5-1705_daily_bin527.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /scratch/kocevski/108496/ft2_4FGL_J2040.5-1705_daily_bin527.fits .....................! real 16.63 user 16.22 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/108496/ft1_filtered_4FGL_J2040.5-1705_daily_bin527.fits evtable="EVENTS" scfile=/scratch/kocevski/108496/ft2_4FGL_J2040.5-1705_daily_bin527.fits sctable="SC_DATA" expcube=/scratch/kocevski/108496/ltcube_375926401_376185601_4FGL_J2040.5-1705_daily_bin527.fits outfile=/scratch/kocevski/108496/expmap_375926401_376185601_4FGL_J2040.5-1705_daily_bin527.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /scratch/kocevski/108496/ltcube_375926401_376185601_4FGL_J2040.5-1705_daily_bin527.fits .....................! real 197.78 user 192.24 sys 4.94 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Added 181 point sources and 0 extended sources Setting source of interest to: 4FGL J2040.5-1705 @ 310.136 -17.0901 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/108496/ft1_filtered_4FGL_J2040.5-1705_daily_bin527.fits scfile=/scratch/kocevski/108496/ft2_4FGL_J2040.5-1705_daily_bin527.fits outfile=/scratch/kocevski/108496/cmap_375926401_376185601_4FGL_J2040.5-1705_daily_bin527.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=310.136 yref=-17.0901 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.56 user 0.39 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/108496/ft1_filtered_4FGL_J2040.5-1705_daily_bin527.fits scfile=/scratch/kocevski/108496/ft2_4FGL_J2040.5-1705_daily_bin527.fits outfile=/scratch/kocevski/108496/cmap_HighResolution_375926401_376185601_4FGL_J2040.5-1705_daily_bin527.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=310.136 yref=-17.0901 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.58 user 0.42 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/108496/ft1_filtered_4FGL_J2040.5-1705_daily_bin527.fits evtable="EVENTS" scfile=/scratch/kocevski/108496/ft2_4FGL_J2040.5-1705_daily_bin527.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/108496/Model_4FGL_J2040.5-1705_daily_bin527.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source EG_v02 adding source GAL_V02 Working on... /scratch/kocevski/108496/ft1_filtered_4FGL_J2040.5-1705_daily_bin527.fits.....................! real 66.61 user 65.18 sys 1.21 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/108496/ft1_filtered_4FGL_J2040.5-1705_daily_bin527.fits', '/scratch/kocevski/108496/ft2_4FGL_J2040.5-1705_daily_bin527.fits', expMap='/scratch/kocevski/108496/expmap_375926401_376185601_4FGL_J2040.5-1705_daily_bin527.fits', expCube='/scratch/kocevski/108496/ltcube_375926401_376185601_4FGL_J2040.5-1705_daily_bin527.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/108496/Model_4FGL_J2040.5-1705_daily_bin527.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2040.5-1705' 4FGL J2040.5-1705 Spectrum: PowerLaw 323 Prefactor: 1.223e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 324 Index: 2.541e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 325 Scale: 7.724e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/108496/ft1_filtered_4FGL_J2040.5-1705_daily_bin527.fits Spacecraft file(s): /scratch/kocevski/108496/ft2_4FGL_J2040.5-1705_daily_bin527.fits Exposure map: /scratch/kocevski/108496/expmap_375926401_376185601_4FGL_J2040.5-1705_daily_bin527.fits Exposure cube: /scratch/kocevski/108496/ltcube_375926401_376185601_4FGL_J2040.5-1705_daily_bin527.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/108496/Model_4FGL_J2040.5-1705_daily_bin527.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7179.12525657 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7179.12194609 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10241E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 46.686 1.0000 .10000E-03 10000. 3 'Prefactor ' .10215E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .53201E-01 1.0000 .10000E-03 10000. 5 'norm ' 5.9670 1.0000 .10000E-03 10000. 6 'norm ' 13.470 1.0000 .10000E-03 10000. 7 'Prefactor ' .11914E-03 1.0000 .10000E-03 10000. 8 'norm ' .10067E-03 1.0000 .10000E-03 10000. 9 'norm ' .10013E-03 1.0000 .10000E-03 10000. 10 'norm ' 6.7665 1.0000 .10000E-03 10000. 11 'Prefactor ' .10434E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' 15.596 1.0000 .10000E-03 10000. 13 'norm ' .10008E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 6.7502 1.0000 .10000E-03 10000. 15 'Prefactor ' .10063E-03 1.0000 .10000E-03 10000. 16 'norm ' 6.7923 1.0000 .10000E-03 10000. 17 'Prefactor ' 7.3127 1.0000 .10000E-03 10000. 18 'Prefactor ' .80916E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' 6.0424 1.0000 .10000E-03 10000. 20 'Prefactor ' .10047E-03 1.0000 .10000E-03 10000. 21 'Normalizat' .57919 1.0000 .10000E-01 10.000 22 'Prefactor ' 1.1385 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5990E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 7179.122 FROM MIGRAD STATUS=CONVERGED 512 CALLS 2408 TOTAL EDM= .52E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 18.086 -.32062E-07** at limit ** 2 Prefactor 46.719 46.883 .44324E-05 .15403E-03 3 Prefactor .10000E-03 1.0102 -.71761E-07** at limit ** 4 Prefactor .10016E-03 10.731 .24047E-06** at limit ** 5 norm 5.9633 8.4203 -.48337E-08 -.34358E-04 6 norm 13.464 10.407 -.21047E-06 -.53048E-04 7 Prefactor .10000E-03 121.92 .90163E-06** at limit ** 8 norm .10000E-03 15.172 .16804E-06** at limit ** 9 norm .10000E-03 14.083 -.21633E-07** at limit ** 10 norm 6.7668 1.9422 .30867E-07 -.27195E-04 11 Prefactor .10000E-03 6.2499 .14881E-06** at limit ** 12 Prefactor 15.597 9.9538 .63845E-07 -.72825E-05 13 norm .10000E-03 1.2568 -.79082E-07** at limit ** 14 Prefactor 6.7494 3.8228 .73851E-06 -.21070E-02 15 Prefactor .10000E-03 44.058 .38541E-06** at limit ** 16 norm 6.7978 23.080 .20626E-05 .34854E-04 17 Prefactor 7.2994 15.760 -.38702E-05 -.22335E-03 18 Prefactor .10000E-03 6.4158 -.60017E-07** at limit ** 19 Prefactor 6.0430 13.828 -.24219E-06 -.38472E-04 20 Prefactor .10000E-03 8.4491 .47700E-07** at limit ** 21 Normalizat .57909 .28252 .25555E-06 -.34463E-04 22 Prefactor 1.1385 .11907 -.44776E-06 .39460E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 46.7192 Prefactor = 0.0001 Prefactor = 0.00010016 norm = 5.96334 norm = 13.4642 Prefactor = 0.0001 norm = 0.0001 norm = 0.0001 norm = 6.76683 Prefactor = 0.0001 Prefactor = 15.5971 norm = 0.0001 Prefactor = 6.74944 Prefactor = 0.0001 norm = 6.79782 Prefactor = 7.29941 Prefactor = 0.0001 Prefactor = 6.043 Prefactor = 0.0001 Normalizat = 0.579095 Prefactor = 1.13854 ********** ** 18 **HESSE ********** FCN= 7179.122 FROM HESSE STATUS=OK 354 CALLS 2762 TOTAL EDM= .24E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 18.107 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 46.719 47.391 .58682E-04 -1.4340 3 Prefactor .10000E-03 1.5025 .15828E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10016E-03 12.871 .77810E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 5.9633 8.4240 .16438E-03 -1.5220 6 norm 13.464 10.395 .10913E-03 -1.4974 7 Prefactor .10000E-03 122.01 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .10000E-03 15.270 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .10000E-03 14.098 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm 6.7668 1.9401 .60887E-04 -1.5188 11 Prefactor .10000E-03 6.2614 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 15.597 9.9430 .10142E-03 -1.4918 13 norm .10000E-03 1.2597 .92747E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 6.7494 5.7375 .77219E-03 -1.5188 15 Prefactor .10000E-03 44.073 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 6.7978 23.077 .15395E-03 -1.5186 17 Prefactor 7.2994 16.152 .14832E-03 -1.5168 18 Prefactor .10000E-03 28.149 .40631E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 6.0430 13.826 .16334E-03 -1.5216 20 Prefactor .10000E-03 8.4741 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Normalizat .57909 .30063 .50574E-03 -1.0888 22 Prefactor 1.1385 .12947 .15931E-03 -.88244 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.43004e-09 Minuit parameter uncertainties: 1 1.35936e-05 2 47.4294 3 6.38804e-06 4 0.00287111 5 8.42565 6 10.3966 7 0.000139056 8 1.23662e-05 9 1.53941e-06 10 1.94016 11 7.81666e-06 12 9.94406 13 7.12013e-07 14 5.73792 15 3.36893e-05 16 23.1072 17 16.1612 18 0.000168334 19 13.8329 20 6.53592e-06 21 0.301477 22 0.129505 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7179.12185284 Extracting fit parameters... 4FGL J2040.5-1705 Spectrum: PowerLaw 323 Prefactor: 6.749e+00 5.738e+00 1.000e-04 1.000e+04 ( 1.000e-12) 324 Index: 2.541e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 325 Scale: 7.724e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 596 Prefactor: 1.139e+00 1.295e-01 0.000e+00 1.000e+01 ( 1.000e+00) 597 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 598 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 595 Normalization: 5.791e-01 3.015e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.01 Ra Dec: 310.136 -17.090 Photon Index (Fixed Index): 2.54 +/- 0.00 Photon Flux (Fixed Index): 7.91e-08 +/- 6.71e-08 Energy Flux (Fixed Index): 2.20e-05 +/- 1.87e-05 TS (Fixed Index): 2.01 Ra Dec: 310.136 -17.090 Photon Flux Upper Limit: 2.14e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.67e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/108496/likelihoodResults_375926401_376185601_4FGL_J2040.5-1705_daily_bin527.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7178.32272337 delta logL = 0.799129469295 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7178.30938587 delta logL = 0.812466973184 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.3290 1.0000 .10000E-03 10000. 2 'Index ' 3.6587 1.0000 .0000 10.000 3 'Normalizat' .48108 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1661 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5990E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 7178.309 FROM MIGRAD STATUS=CONVERGED 52 CALLS 246 TOTAL EDM= .21E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.3281 21.482 .67183E-02 .57776E-03 2 Index 3.6588 2.8864 .13829 .15566E-03 3 Normalizat .48106 .82218E-01 .12449 .56895E-04 4 Prefactor 1.1661 .34153E-01 .35487E-01 -.15568E-04 ERR DEF= .500 Final values: Prefactor = 2.32813 Index = 3.65883 Normalizat = 0.481061 Prefactor = 1.16607 ********** ** 18 **HESSE ********** FCN= 7178.309 FROM HESSE STATUS=OK 33 CALLS 279 TOTAL EDM= .12E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.3281 6.7681 .73401E-04 -1.5403 2 Index 3.6588 1.7636 .50764E-02 -.27156 3 Normalizat .48106 .30676 .55206E-03 -1.1330 4 Prefactor 1.1661 .12897 .15756E-03 -.87382 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.21089e-10 Minuit parameter uncertainties: 1 6.77028 2 1.80563 3 0.307839 4 0.129 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/108496': No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7178.3093858 delta logL = 0.812467039962 Extracting fit parameters... 4FGL J2040.5-1705 Spectrum: PowerLaw 323 Prefactor: 2.328e+00 6.770e+00 1.000e-04 1.000e+04 ( 1.000e-12) 324 Index: 3.659e+00 1.806e+00 0.000e+00 1.000e+01 (-1.000e+00) 325 Scale: 7.724e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 596 Prefactor: 1.166e+00 1.290e-01 0.000e+00 1.000e+01 ( 1.000e+00) 597 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 598 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 595 Normalization: 4.811e-01 3.078e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.91 Ra Dec: 310.136 -17.090 Photon Index (Free Index): 3.66 +/- 1.81 Photon Flux (Free Index): 1.56e-07 +/- 1.01e-07 Energy Flux (Free Index): 2.49e-05 +/- 1.66e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /scratch/kocevski/108496/cmap_HighResolution_375926401_376185601_4FGL_J2040.5-1705_daily_bin527.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/108496 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.67e-02', comment='SUCCESS', photon_flux='7.91e-08', energy_flux2='2.49e-05', photon_flux_error='6.71e-08', dlogl='8.12e-01', energy_flux='2.20e-05', photon_flux2='1.56e-07', job_status='DONE', time_completed='2021-09-25 16:01:17.837507', photon_index_error2='1.81', photon_index2='3.66', ts='2.01', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='2.14e-07', energy_flux_error2='1.66e-05', EG='0.58', time_epoch_completed='1632610877.84', return_code='0', job_id='108496', GAL2='1.17', EG2='0.48', return_code2='0', energy_flux_error='1.87e-05', photon_flux_error2='1.01e-07', ts2='3.91', photon_index='2.54' WHERE bin_id='527' AND source_name='4FGL J2040.5-1705' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 25 16:01:17 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 108496: <4FGL_J2040.5-1705_daily_bin527> in cluster Done Job <4FGL_J2040.5-1705_daily_bin527> was submitted from host by user in cluster at Sat Sep 25 15:45:17 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 25 15:46:02 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 25 15:46:02 2021 Terminated at Sat Sep 25 16:01:18 2021 Results reported at Sat Sep 25 16:01:18 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2040.5-1705_daily_bin527 310.136 -17.0901 375926401 376185601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2040.5-1705 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 727.00 sec. Max Memory : 617 MB Average Memory : 254.74 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 916 sec. Turnaround time : 961 sec. The output (if any) is above this job summary.