/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 179 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 = 7395 number of fields = 29 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2040.5-1705_daily_bin481 RA = 310.136, Dec = -17.0901 tmin = 364003201, tmax = 364262401 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='108431', job_status='RUN', time_executed='2021-09-25 15:48:22.503873', time_epoch_executed='1632610102.5' WHERE source_name='4FGL J2040.5-1705' and cadence='daily' and bin_id='481' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/108431 Creating custom pfile directory: /scratch/kocevski/108431/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=364003201.0 && nMetStart<364262401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=364003201.0 && nMetStart<364262401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/108431/ft1_4FGL_J2040.5-1705_daily_bin481.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=364003201.0 && nMetStart<364262401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/108431/ft2_4FGL_J2040.5-1705_daily_bin481.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/108431/ft1_4FGL_J2040.5-1705_daily_bin481.fits outfile=/scratch/kocevski/108431/ft1_filteredMKT_4FGL_J2040.5-1705_daily_bin481.fits ra=310.136 dec=-17.0901 rad=12.0 tmin=364003201.0 tmax=364262401.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.23 user 3.02 sys 0.20 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/108431/ft2_4FGL_J2040.5-1705_daily_bin481.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/108431/ft2_4FGL_J2040.5-1705_daily_bin481.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/108431/ft1_filteredMKT_4FGL_J2040.5-1705_daily_bin481.fits evtable="EVENTS" outfile="/scratch/kocevski/108431/ft1_filtered_4FGL_J2040.5-1705_daily_bin481.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.49 user 0.34 sys 0.14 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/108431/ft1_filtered_4FGL_J2040.5-1705_daily_bin481.fits" evtable="EVENTS" scfile=/scratch/kocevski/108431/ft2_4FGL_J2040.5-1705_daily_bin481.fits sctable="SC_DATA" outfile=/scratch/kocevski/108431/ltcube_364003201_364262401_4FGL_J2040.5-1705_daily_bin481.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/108431/ft2_4FGL_J2040.5-1705_daily_bin481.fits .....................! real 14.99 user 14.62 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/108431/ft1_filtered_4FGL_J2040.5-1705_daily_bin481.fits evtable="EVENTS" scfile=/scratch/kocevski/108431/ft2_4FGL_J2040.5-1705_daily_bin481.fits sctable="SC_DATA" expcube=/scratch/kocevski/108431/ltcube_364003201_364262401_4FGL_J2040.5-1705_daily_bin481.fits outfile=/scratch/kocevski/108431/expmap_364003201_364262401_4FGL_J2040.5-1705_daily_bin481.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/108431/ltcube_364003201_364262401_4FGL_J2040.5-1705_daily_bin481.fits .....................! real 192.70 user 186.80 sys 4.11 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/108431/ft1_filtered_4FGL_J2040.5-1705_daily_bin481.fits scfile=/scratch/kocevski/108431/ft2_4FGL_J2040.5-1705_daily_bin481.fits outfile=/scratch/kocevski/108431/cmap_364003201_364262401_4FGL_J2040.5-1705_daily_bin481.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.55 user 0.37 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/108431/ft1_filtered_4FGL_J2040.5-1705_daily_bin481.fits scfile=/scratch/kocevski/108431/ft2_4FGL_J2040.5-1705_daily_bin481.fits outfile=/scratch/kocevski/108431/cmap_HighResolution_364003201_364262401_4FGL_J2040.5-1705_daily_bin481.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.55 user 0.40 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/108431/ft1_filtered_4FGL_J2040.5-1705_daily_bin481.fits evtable="EVENTS" scfile=/scratch/kocevski/108431/ft2_4FGL_J2040.5-1705_daily_bin481.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/108431/Model_4FGL_J2040.5-1705_daily_bin481.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/108431/ft1_filtered_4FGL_J2040.5-1705_daily_bin481.fits.....................! real 69.39 user 67.88 sys 1.20 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/108431/ft1_filtered_4FGL_J2040.5-1705_daily_bin481.fits', '/scratch/kocevski/108431/ft2_4FGL_J2040.5-1705_daily_bin481.fits', expMap='/scratch/kocevski/108431/expmap_364003201_364262401_4FGL_J2040.5-1705_daily_bin481.fits', expCube='/scratch/kocevski/108431/ltcube_364003201_364262401_4FGL_J2040.5-1705_daily_bin481.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/108431/Model_4FGL_J2040.5-1705_daily_bin481.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/108431/ft1_filtered_4FGL_J2040.5-1705_daily_bin481.fits Spacecraft file(s): /scratch/kocevski/108431/ft2_4FGL_J2040.5-1705_daily_bin481.fits Exposure map: /scratch/kocevski/108431/expmap_364003201_364262401_4FGL_J2040.5-1705_daily_bin481.fits Exposure cube: /scratch/kocevski/108431/ltcube_364003201_364262401_4FGL_J2040.5-1705_daily_bin481.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/108431/Model_4FGL_J2040.5-1705_daily_bin481.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 102 logL (Fixed Index) = 7511.9728825 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7511.88459597 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 24.398 1.0000 .10000E-03 10000. 3 'Prefactor ' .10273E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' 4.4170 1.0000 .10000E-03 10000. 5 'norm ' 27.698 1.0000 .10000E-03 10000. 6 'norm ' 17.048 1.0000 .10000E-03 10000. 7 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 8 'norm ' .87037 1.0000 .10000E-03 10000. 9 'norm ' 43.640 1.0000 .10000E-03 10000. 10 'norm ' .10094E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' 2.9753 1.0000 .10000E-03 10000. 12 'Prefactor ' 9.3301 1.0000 .10000E-03 10000. 13 'norm ' 4.0377 1.0000 .10000E-03 10000. 14 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' 9.1208 1.0000 .10000E-03 10000. 16 'norm ' 32.850 1.0000 .10000E-03 10000. 17 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' 9.2445 1.0000 .10000E-03 10000. 21 'Normalizat' .64834 1.0000 .10000E-01 10.000 22 'Prefactor ' 1.0967 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= 7511.885 FROM MIGRAD STATUS=CONVERGED 468 CALLS 2448 TOTAL EDM= .78E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 17.637 -.26642E-07** at limit ** 2 Prefactor 24.395 38.547 -.14136E-06 -.24157E-04 3 Prefactor .10000E-03 .99867 .31137E-06** at limit ** 4 Prefactor 4.4156 18.024 -.22383E-05 -.10067E-03 5 norm 27.697 19.207 .96744E-07 -.36307E-04 6 norm 17.047 12.509 .42432E-07 -.12124E-03 7 Prefactor .10000E-03 32.029 -.16012E-07** at limit ** 8 norm .86088 7.6344 .35290E-06 -.82948E-04 9 norm 43.638 31.945 .13599E-07 -.14732E-04 10 norm .10000E-03 .69135 -.17209E-06** at limit ** 11 Prefactor 2.9686 26.435 .10501E-05 .11913E-05 12 Prefactor 9.3301 7.4774 .12736E-06 -.18686E-04 13 norm 4.0377 2.9215 -.65507E-08 .62055E-06 14 Prefactor .10000E-03 1.5320 -.14732E-07** at limit ** 15 Prefactor 9.1645 108.44 .96258E-06 .27115E-04 16 norm 32.848 24.906 .13990E-06 -.15140E-05 17 Prefactor .10000E-03 15.980 -.11315E-06** at limit ** 18 Prefactor .10000E-03 4.0651 .25143E-06** at limit ** 19 Prefactor .10000E-03 5.9436 -.97677E-07** at limit ** 20 Prefactor 9.2447 14.339 .24293E-05 -.43387E-04 21 Normalizat .64825 .25216 -.47820E-06 -.56171E-04 22 Prefactor 1.0968 .11125 -.16018E-06 -.17024E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 24.3951 Prefactor = 0.0001 Prefactor = 4.41561 norm = 27.6972 norm = 17.0474 Prefactor = 0.0001 norm = 0.860884 norm = 43.6379 norm = 0.0001 Prefactor = 2.96856 Prefactor = 9.33007 norm = 4.03767 Prefactor = 0.0001 Prefactor = 9.1645 norm = 32.848 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 9.24466 Normalizat = 0.648245 Prefactor = 1.09677 ********** ** 18 **HESSE ********** FCN= 7511.885 FROM HESSE STATUS=OK 350 CALLS 2798 TOTAL EDM= .29E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 17.655 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 24.395 38.760 .81097E-04 -1.4720 3 Prefactor .10000E-03 16.852 .14849E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 4.4156 16.756 .19162E-03 -1.5288 5 norm 27.697 19.234 .76123E-04 -1.4655 6 norm 17.047 12.447 .97003E-04 -1.4882 7 Prefactor .10000E-03 32.031 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .86088 34.820 .46107E-02 -1.5522 9 norm 43.638 31.950 .60687E-04 -1.4386 10 norm .10000E-03 .70751 .13955E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 2.9686 26.034 .23538E-03 -1.5363 12 Prefactor 9.3301 7.4684 .13120E-03 -1.5097 13 norm 4.0377 2.9217 .12243E-03 -1.5306 14 Prefactor .10000E-03 1.5714 .20942E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 9.1645 107.25 .13271E-03 -1.5102 16 norm 32.848 24.881 .69913E-04 -1.4561 17 Prefactor .10000E-03 16.113 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 4.1026 .17054E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .10000E-03 5.9541 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 9.2447 13.912 .65907E-03 -1.5100 21 Normalizat .64825 .28065 .45383E-03 -1.0597 22 Prefactor 1.0968 .12753 .15718E-03 -.89570 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.91611e-08 Minuit parameter uncertainties: 1 2.041e-06 2 38.7995 3 0.00016595 4 16.7743 5 19.2385 6 12.4492 7 1.25171e-05 8 10.9563 9 31.9625 10 6.05175e-08 11 17.5922 12 7.46915 13 2.92175 14 1.4008e-06 15 62.8429 16 24.8888 17 1.5698e-05 18 8.88717e-07 19 9.71641e-06 20 13.9166 21 0.281267 22 0.127565 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7511.88459445 Extracting fit parameters... 4FGL J2040.5-1705 Spectrum: PowerLaw 323 Prefactor: 1.000e-04 1.401e-06 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.097e+00 1.276e-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: 6.482e-01 2.813e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 310.136 -17.090 Photon Flux Upper Limit: 6.80e-08 ph cm-2 s-1 Energy Flux Upper Limit: 5.30e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/108431/likelihoodResults_364003201_364262401_4FGL_J2040.5-1705_daily_bin481.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): 102 logL (Free Index) = 7511.88762178 delta logL = -0.00302732854107 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 7511.88459527 delta logL = -8.19434717414e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10052E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.5302 1.0000 .0000 10.000 3 'Normalizat' .64810 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0968 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. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 7511.885 FROM MIGRAD STATUS=FAILED 89 CALLS 244 TOTAL EDM= .15E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10099E-03 161.64 .21054E-03** at limit ** 2 Index 2.4665 6.1371 .50000 .49103E-04 3 Normalizat .64825 .66964E-01 .45383E-03 -.60121E-06 4 Prefactor 1.0968 .29762E-01 .15718E-03 .32693E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 7511.885 FROM SIMPLEX STATUS=PROGRESS 149 CALLS 393 TOTAL EDM= .50E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10012E-03 161.64 .15681E-03** at limit ** 2 Index 2.4656 6.1371 .28895E-03 .49103E-04 3 Normalizat .64823 .66964E-01 .68035E-05 -.60121E-06 4 Prefactor 1.0968 .29762E-01 .30070E-05 .32693E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 7511.885 FROM MIGRAD STATUS=CONVERGED 46 CALLS 439 TOTAL EDM= .14E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 162.51 .42108E-03** at limit ** 2 Index 2.1947 5.8672 .50000 -.28526E-06 3 Normalizat .64825 .64955E-01 .18153E-04 -.41208E-04 4 Prefactor 1.0968 .28873E-01 .62872E-05 -.11645E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 2.19475 Normalizat = 0.648246 Prefactor = 1.09677 ********** ** 18 **HESSE ********** FCN= 7511.885 FROM HESSE STATUS=OK 29 CALLS 468 TOTAL EDM= .48E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 5.9670 .84215E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.1947 5.8203 .50000 -.59565 3 Normalizat .64825 .27283 .36306E-05 -1.0597 4 Prefactor 1.0968 .12149 .12574E-05 -.89570 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.76989e-10 Minuit parameter uncertainties: 1 4.42502e-05 2 139.592 3 0.273403 4 0.121522 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/108431': 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) = 7511.88459199 delta logL = 2.46157196671e-06 Extracting fit parameters... 4FGL J2040.5-1705 Spectrum: PowerLaw 323 Prefactor: 1.000e-04 4.425e-05 1.000e-04 1.000e+04 ( 1.000e-12) 324 Index: 2.195e+00 1.396e+02 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.097e+00 1.215e-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: 6.482e-01 2.734e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 310.136 -17.090 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/108431/cmap_HighResolution_364003201_364262401_4FGL_J2040.5-1705_daily_bin481.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/108431 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.30e-03', job_status='DONE', photon_flux_upper_limit='6.80e-08', time_completed='2021-09-25 16:00:51.956834', job_id='108431', GAL2='1.10', fit_tolerance='1e-08', EG2='0.65', EG='0.65', time_epoch_completed='1632610851.96', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.46e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='481' AND source_name='4FGL J2040.5-1705' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 25 16:00:51 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 108431: <4FGL_J2040.5-1705_daily_bin481> in cluster Done Job <4FGL_J2040.5-1705_daily_bin481> was submitted from host by user in cluster at Sat Sep 25 15:45:12 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 25 15:45:15 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 25 15:45:15 2021 Terminated at Sat Sep 25 16:00:52 2021 Results reported at Sat Sep 25 16:00:52 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2040.5-1705_daily_bin481 310.136 -17.0901 364003201 364262401 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 : 747.00 sec. Max Memory : 617 MB Average Memory : 248.90 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 937 sec. Turnaround time : 940 sec. The output (if any) is above this job summary.