/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 43 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 = 74190 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_monthly_bin165 RA = 250.119, Dec = 39.7626 tmin = 664675201, tmax = 667267201 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='344240', job_status='RUN', time_executed='2022-02-23 02:46:24.682165', time_epoch_executed='1645613184.68' WHERE source_name='4FGL J1640.4+3945' and cadence='monthly' and bin_id='165' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/344240 Creating custom pfile directory: /scratch/kocevski/344240/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=664675201.0 && nMetStart<667267201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=664675201.0 && nMetStart<667267201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/344240/ft1_4FGL_J1640.4+3945_monthly_bin165.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=664675201.0 && nMetStart<667267201.0' /Data/Flight/Level1/LPA Retrieving 457 files... Done. Merging files... Merged file saved to: /scratch/kocevski/344240/ft2_4FGL_J1640.4+3945_monthly_bin165.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/344240/ft1_4FGL_J1640.4+3945_monthly_bin165.fits outfile=/scratch/kocevski/344240/ft1_filteredMKT_4FGL_J1640.4+3945_monthly_bin165.fits ra=250.119 dec=39.7626 rad=12.0 tmin=664675201.0 tmax=667267201.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 32.83 user 30.86 sys 0.78 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/344240/ft2_4FGL_J1640.4+3945_monthly_bin165.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/344240/ft2_4FGL_J1640.4+3945_monthly_bin165.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/344240/ft1_filteredMKT_4FGL_J1640.4+3945_monthly_bin165.fits evtable="EVENTS" outfile="/scratch/kocevski/344240/ft1_filtered_4FGL_J1640.4+3945_monthly_bin165.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.86 user 0.66 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/344240/ft1_filtered_4FGL_J1640.4+3945_monthly_bin165.fits" evtable="EVENTS" scfile=/scratch/kocevski/344240/ft2_4FGL_J1640.4+3945_monthly_bin165.fits sctable="SC_DATA" outfile=/scratch/kocevski/344240/ltcube_664675201_667267201_4FGL_J1640.4+3945_monthly_bin165.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/344240/ft2_4FGL_J1640.4+3945_monthly_bin165.fits .....................! real 154.33 user 153.65 sys 0.39 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/344240/ft1_filtered_4FGL_J1640.4+3945_monthly_bin165.fits evtable="EVENTS" scfile=/scratch/kocevski/344240/ft2_4FGL_J1640.4+3945_monthly_bin165.fits sctable="SC_DATA" expcube=/scratch/kocevski/344240/ltcube_664675201_667267201_4FGL_J1640.4+3945_monthly_bin165.fits outfile=/scratch/kocevski/344240/expmap_664675201_667267201_4FGL_J1640.4+3945_monthly_bin165.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/344240/ltcube_664675201_667267201_4FGL_J1640.4+3945_monthly_bin165.fits .....................! real 195.82 user 188.87 sys 5.93 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 205 point sources and 0 extended sources Setting source of interest to: 4FGL J1640.4+3945 @ 250.119 39.7626 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/344240/ft1_filtered_4FGL_J1640.4+3945_monthly_bin165.fits scfile=/scratch/kocevski/344240/ft2_4FGL_J1640.4+3945_monthly_bin165.fits outfile=/scratch/kocevski/344240/cmap_664675201_667267201_4FGL_J1640.4+3945_monthly_bin165.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=250.119 yref=39.7626 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.82 user 0.64 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/344240/ft1_filtered_4FGL_J1640.4+3945_monthly_bin165.fits scfile=/scratch/kocevski/344240/ft2_4FGL_J1640.4+3945_monthly_bin165.fits outfile=/scratch/kocevski/344240/cmap_HighResolution_664675201_667267201_4FGL_J1640.4+3945_monthly_bin165.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=250.119 yref=39.7626 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.81 user 0.63 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/344240/ft1_filtered_4FGL_J1640.4+3945_monthly_bin165.fits evtable="EVENTS" scfile=/scratch/kocevski/344240/ft2_4FGL_J1640.4+3945_monthly_bin165.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/344240/Model_4FGL_J1640.4+3945_monthly_bin165.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/344240/ft1_filtered_4FGL_J1640.4+3945_monthly_bin165.fits.....................! real 547.44 user 545.03 sys 1.35 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/344240/ft1_filtered_4FGL_J1640.4+3945_monthly_bin165.fits', '/scratch/kocevski/344240/ft2_4FGL_J1640.4+3945_monthly_bin165.fits', expMap='/scratch/kocevski/344240/expmap_664675201_667267201_4FGL_J1640.4+3945_monthly_bin165.fits', expCube='/scratch/kocevski/344240/ltcube_664675201_667267201_4FGL_J1640.4+3945_monthly_bin165.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/344240/Model_4FGL_J1640.4+3945_monthly_bin165.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1640.4+3945' 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.345e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/344240/ft1_filtered_4FGL_J1640.4+3945_monthly_bin165.fits Spacecraft file(s): /scratch/kocevski/344240/ft2_4FGL_J1640.4+3945_monthly_bin165.fits Exposure map: /scratch/kocevski/344240/expmap_664675201_667267201_4FGL_J1640.4+3945_monthly_bin165.fits Exposure cube: /scratch/kocevski/344240/ltcube_664675201_667267201_4FGL_J1640.4+3945_monthly_bin165.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/344240/Model_4FGL_J1640.4+3945_monthly_bin165.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) = 87623.0109398 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 87622.9289763 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.0335 1.0000 .10000E-03 10000. 2 'Prefactor ' .13127E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 3.2080 1.0000 .10000E-03 10000. 4 'Prefactor ' .50695 1.0000 .10000E-03 10000. 5 'Prefactor ' 5.0368 1.0000 .10000E-03 10000. 6 'Prefactor ' .12588 1.0000 .10000E-03 10000. 7 'norm ' .19843 1.0000 .10000E-03 10000. 8 'norm ' 2.4270 1.0000 .10000E-03 10000. 9 'Prefactor ' .10012E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 11 'norm ' 4.8397 1.0000 .10000E-03 10000. 12 'Prefactor ' .10007E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 5.6909 1.0000 .10000E-03 10000. 14 'Prefactor ' 4.4419 1.0000 .10000E-03 10000. 15 'Prefactor ' .10018E-03 1.0000 .10000E-03 10000. 16 'norm ' 3.1748 1.0000 .10000E-03 10000. 17 'norm ' .13843 1.0000 .10000E-03 10000. 18 'Prefactor ' .48953 1.0000 .10000E-03 10000. 19 'norm ' .17710 1.0000 .10000E-03 10000. 20 'norm ' 5.7136 1.0000 .10000E-03 10000. 21 'norm ' 7.4712 1.0000 .10000E-03 10000. 22 'Prefactor ' .10039E-03 1.0000 .10000E-03 10000. 23 'norm ' 2.4956 1.0000 .10000E-03 10000. 24 'Prefactor ' .13192E-03 1.0000 .10000E-03 10000. 25 'Normalizat' 1.0518 1.0000 .10000E-01 10.000 26 'Prefactor ' .93518 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 87622.93 FROM MIGRAD STATUS=CONVERGED 631 CALLS 2751 TOTAL EDM= .72E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.0265 3.3798 -.28285E-05 -.15674E-03 2 Prefactor .10000E-03 7.3864 .14766E-05** at limit ** 3 Prefactor 3.2082 .94065 -.29917E-07 -.32115E-03 4 Prefactor .50616 .89955 .30807E-06 -.10441E-02 5 Prefactor 5.0259 5.4007 -.94864E-06 -.14486E-03 6 Prefactor .12610 .24271 -.32273E-07 .49455E-03 7 norm .19843 .35633E-01 -.48655E-10 .39070E-04 8 norm 2.4267 1.9772 -.18626E-06 -.64161E-04 9 Prefactor .10000E-03 1.5282 -.10560E-06** at limit ** 10 Prefactor .10000E-03 .21464 -.97312E-07** at limit ** 11 norm 4.8262 5.4420 -.12069E-05 .65131E-05 12 Prefactor .10000E-03 .55890E-01 .42453E-08** at limit ** 13 Prefactor 5.6913 .50092 .55542E-08 -.16548E-02 14 Prefactor 4.4423 .87002 .14695E-07 .12816E-03 15 Prefactor .10000E-03 .12658 -.62710E-08** at limit ** 16 norm 3.1749 .46623 .22419E-07 .13190E-03 17 norm .13846 .13185 -.14881E-07 -.10761E-02 18 Prefactor .48788 .70846 -.19595E-07 -.23754E-03 19 norm .17710 .15619 -.24054E-07 -.24753E-02 20 norm 5.7142 1.6404 .16314E-07 -.25083E-02 21 norm 7.4711 .62221 -.33787E-08 .33940E-03 22 Prefactor .10000E-03 1.8184 .89165E-07** at limit ** 23 norm 2.4966 1.1505 .34118E-10 -.26138E-03 24 Prefactor .10000E-03 8.2598 -.15599E-05** at limit ** 25 Normalizat 1.0518 .54224E-01 .18604E-06 .21022E-03 26 Prefactor .93516 .42839E-01 -.99220E-08 .36166E-03 ERR DEF= .500 Final values: Prefactor = 2.0265 Prefactor = 0.0001 Prefactor = 3.20825 Prefactor = 0.506161 Prefactor = 5.02593 Prefactor = 0.1261 norm = 0.198432 norm = 2.42671 Prefactor = 0.0001 Prefactor = 0.0001 norm = 4.82625 Prefactor = 0.0001 Prefactor = 5.69132 Prefactor = 4.4423 Prefactor = 0.0001 norm = 3.1749 norm = 0.138459 Prefactor = 0.487877 norm = 0.177102 norm = 5.7142 norm = 7.47105 Prefactor = 0.0001 norm = 2.49664 Prefactor = 0.0001 Normalizat = 1.05179 Prefactor = 0.935165 ********** ** 18 **HESSE ********** FCN= 87622.93 FROM HESSE STATUS=OK 478 CALLS 3229 TOTAL EDM= .32E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.0265 3.3907 .29007E-03 -1.5423 2 Prefactor .10000E-03 7.4125 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 3.2082 .94419 .14856E-03 -1.5350 4 Prefactor .50616 1.1928 .41860E-03 -1.5566 5 Prefactor 5.0259 5.4328 .17917E-03 -1.5260 6 Prefactor .12610 .83341 .19047E-02 -1.5637 7 norm .19843 .34600E-01 .21746E-04 -1.5619 8 norm 2.4267 1.9717 .26269E-03 -1.5396 9 Prefactor .10000E-03 1.5505 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 .22212 .26741E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 4.8262 5.4244 .18286E-03 -1.5269 12 Prefactor .10000E-03 .57062 .10811E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 5.6913 .42524 .23848E-03 -1.5231 14 Prefactor 4.4423 .85711 .11497E-03 -1.5286 15 Prefactor .10000E-03 .27544 .20115E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 3.1749 .46619 .74527E-04 -1.5352 17 norm .13846 .14324 .96582E-03 -1.5634 18 Prefactor .48788 1.3192 .27062E-02 -1.5568 19 norm .17710 .15207 .10467E-03 -1.5624 20 norm 5.7142 1.9809 .84021E-03 -1.5230 21 norm 7.4711 .61928 .64120E-04 -1.5161 22 Prefactor .10000E-03 1.8207 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 2.4966 1.1459 .20614E-03 -1.5392 24 Prefactor .10000E-03 8.3008 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.0518 .65212E-01 .26695E-03 -.91315 26 Prefactor .93516 .51946E-01 .23390E-03 -.94923 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.20594e-07 Minuit parameter uncertainties: 1 3.39102 2 1.11063e-06 3 0.944193 4 1.19281 5 5.43334 6 0.648119 7 0.0346005 8 1.97173 9 1.03587e-06 10 2.52861e-07 11 5.42495 12 1.0392e-06 13 0.425239 14 0.857111 15 2.16554e-06 16 0.466194 17 0.14324 18 1.31925 19 0.152071 20 1.98089 21 0.619284 22 3.64994e-07 23 1.14589 24 1.55384e-06 25 0.0652169 26 0.0519483 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 87622.9289608 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 1.039e-06 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 9.352e-01 5.195e-02 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 1.052e+00 6.522e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 2.48e-08 ph cm-2 s-1 Energy Flux Upper Limit: 1.92e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/344240/likelihoodResults_664675201_667267201_4FGL_J1640.4+3945_monthly_bin165.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) = 87622.9376709 delta logL = -0.00871014628501 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 87622.9289607 delta logL = 7.49714672565e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10010E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.4130 1.0000 .0000 10.000 3 'Normalizat' 1.0518 1.0000 .10000E-01 10.000 4 'Prefactor ' .93517 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 87622.93 FROM MIGRAD STATUS=CONVERGED 64 CALLS 239 TOTAL EDM= .11E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .54579E-03 .44478E-01** at limit ** 2 Index 2.4060 1.9358 .50000 .70386E-04 3 Normalizat 1.0518 .15526E-03 .60360E-01 -.37153E-03 4 Prefactor .93516 .12973E-03 .45452E-01 -.66291E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 2.40604 Normalizat = 1.05179 Prefactor = 0.935165 ********** ** 18 **HESSE ********** FCN= 87622.93 FROM HESSE STATUS=NOT POSDEF 35 CALLS 274 TOTAL EDM= .27E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 2.4151 .10961E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.4060 5.8212 .50000 -.54544 3 Normalizat 1.0518 .26073E-02 .26695E-03 -.91315 4 Prefactor .93516 .21796E-02 .23390E-03 -.94923 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.73644e-07 Minuit parameter uncertainties: 1 3.54183e-05 2 33.6339 3 0.0026073 4 0.00217962 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/344240': 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): 102 logL (Free Index) = 87622.9289605 delta logL = 3.15805664286e-07 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 3.542e-05 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.406e+00 3.363e+01 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 9.352e-01 2.180e-03 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 1.052e+00 2.607e-03 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 250.119 39.763 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.000e-01 [aplpy.core] INFO: Auto-setting vmax to 2.220e+00 [aplpy.core] Saving /scratch/kocevski/344240/cmap_HighResolution_664675201_667267201_4FGL_J1640.4+3945_monthly_bin165.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/344240 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.92e-03', job_status='DONE', photon_flux_upper_limit='2.48e-08', time_completed='2022-02-23 04:50:29.622275', job_id='344240', GAL2='0.94', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1645620629.62', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.16e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='165' AND source_name='4FGL J1640.4+3945' AND cadence='monthly'; Database successfully updated. Analysis Complete. Wed Feb 23 04:50:29 PST 2022 ------------------------------------------------------------ Sender: LSF System Subject: Job 344240: <4FGL_J1640.4+3945_monthly_bin165> in cluster Done Job <4FGL_J1640.4+3945_monthly_bin165> was submitted from host by user in cluster at Wed Feb 23 02:14:22 2022 Job was executed on host(s) , in queue , as user in cluster at Wed Feb 23 02:45:29 2022 was used as the home directory. was used as the working directory. Started at Wed Feb 23 02:45:29 2022 Terminated at Wed Feb 23 04:50:30 2022 Results reported at Wed Feb 23 04:50:30 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_monthly_bin165 250.119 39.7626 664675201 667267201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1640.4+3945 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 7398.00 sec. Max Memory : 631 MB Average Memory : 429.49 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 7501 sec. Turnaround time : 9368 sec. The output (if any) is above this job summary.