/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment. 'Matplotlib is building the font cache using fc-list. ' /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 97 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 = 7383 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin817 RA = 250.119, Dec = 39.7626 tmin = 451094401, tmax = 451353601 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='835531', job_status='RUN', time_executed='2021-09-15 06:39:57.888403', time_epoch_executed='1631713197.89' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='817' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/835531 Creating custom pfile directory: /scratch/kocevski/835531/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=451094401.0 && nMetStart<451353601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=451094401.0 && nMetStart<451353601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/835531/ft1_4FGL_J1640.4+3945_daily_bin817.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=451094401.0 && nMetStart<451353601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/835531/ft2_4FGL_J1640.4+3945_daily_bin817.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/835531/ft1_4FGL_J1640.4+3945_daily_bin817.fits outfile=/scratch/kocevski/835531/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin817.fits ra=250.119 dec=39.7626 rad=12.0 tmin=451094401.0 tmax=451353601.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.47 user 3.25 sys 0.20 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/835531/ft2_4FGL_J1640.4+3945_daily_bin817.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/835531/ft2_4FGL_J1640.4+3945_daily_bin817.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/835531/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin817.fits evtable="EVENTS" outfile="/scratch/kocevski/835531/ft1_filtered_4FGL_J1640.4+3945_daily_bin817.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.51 user 0.33 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/835531/ft1_filtered_4FGL_J1640.4+3945_daily_bin817.fits" evtable="EVENTS" scfile=/scratch/kocevski/835531/ft2_4FGL_J1640.4+3945_daily_bin817.fits sctable="SC_DATA" outfile=/scratch/kocevski/835531/ltcube_451094401_451353601_4FGL_J1640.4+3945_daily_bin817.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/835531/ft2_4FGL_J1640.4+3945_daily_bin817.fits .....................! real 14.01 user 13.58 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/835531/ft1_filtered_4FGL_J1640.4+3945_daily_bin817.fits evtable="EVENTS" scfile=/scratch/kocevski/835531/ft2_4FGL_J1640.4+3945_daily_bin817.fits sctable="SC_DATA" expcube=/scratch/kocevski/835531/ltcube_451094401_451353601_4FGL_J1640.4+3945_daily_bin817.fits outfile=/scratch/kocevski/835531/expmap_451094401_451353601_4FGL_J1640.4+3945_daily_bin817.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/835531/ltcube_451094401_451353601_4FGL_J1640.4+3945_daily_bin817.fits .....................! real 191.65 user 185.85 sys 5.19 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/835531/ft1_filtered_4FGL_J1640.4+3945_daily_bin817.fits scfile=/scratch/kocevski/835531/ft2_4FGL_J1640.4+3945_daily_bin817.fits outfile=/scratch/kocevski/835531/cmap_451094401_451353601_4FGL_J1640.4+3945_daily_bin817.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.56 user 0.40 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/835531/ft1_filtered_4FGL_J1640.4+3945_daily_bin817.fits scfile=/scratch/kocevski/835531/ft2_4FGL_J1640.4+3945_daily_bin817.fits outfile=/scratch/kocevski/835531/cmap_HighResolution_451094401_451353601_4FGL_J1640.4+3945_daily_bin817.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.56 user 0.38 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/835531/ft1_filtered_4FGL_J1640.4+3945_daily_bin817.fits evtable="EVENTS" scfile=/scratch/kocevski/835531/ft2_4FGL_J1640.4+3945_daily_bin817.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835531/Model_4FGL_J1640.4+3945_daily_bin817.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/835531/ft1_filtered_4FGL_J1640.4+3945_daily_bin817.fits.....................! real 49.71 user 48.28 sys 1.21 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/835531/ft1_filtered_4FGL_J1640.4+3945_daily_bin817.fits', '/scratch/kocevski/835531/ft2_4FGL_J1640.4+3945_daily_bin817.fits', expMap='/scratch/kocevski/835531/expmap_451094401_451353601_4FGL_J1640.4+3945_daily_bin817.fits', expCube='/scratch/kocevski/835531/ltcube_451094401_451353601_4FGL_J1640.4+3945_daily_bin817.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/835531/Model_4FGL_J1640.4+3945_daily_bin817.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/835531/ft1_filtered_4FGL_J1640.4+3945_daily_bin817.fits Spacecraft file(s): /scratch/kocevski/835531/ft2_4FGL_J1640.4+3945_daily_bin817.fits Exposure map: /scratch/kocevski/835531/expmap_451094401_451353601_4FGL_J1640.4+3945_daily_bin817.fits Exposure cube: /scratch/kocevski/835531/ltcube_451094401_451353601_4FGL_J1640.4+3945_daily_bin817.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/835531/Model_4FGL_J1640.4+3945_daily_bin817.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) = 6247.85543439 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6247.81309581 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 28.954 1.0000 .10000E-03 10000. 3 'Prefactor ' 8.4682 1.0000 .10000E-03 10000. 4 'Prefactor ' 4.0167 1.0000 .10000E-03 10000. 5 'Prefactor ' .12914E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 7 'norm ' .69670 1.0000 .10000E-03 10000. 8 'norm ' 4.8044 1.0000 .10000E-03 10000. 9 'Prefactor ' 8.3717 1.0000 .10000E-03 10000. 10 'Prefactor ' .10006E-03 1.0000 .10000E-03 10000. 11 'norm ' 1.2565 1.0000 .10000E-03 10000. 12 'Prefactor ' 2.7321 1.0000 .10000E-03 10000. 13 'Prefactor ' .29526 1.0000 .10000E-03 10000. 14 'Prefactor ' 1.5303 1.0000 .10000E-03 10000. 15 'Prefactor ' .10861E-03 1.0000 .10000E-03 10000. 16 'norm ' 5.6512 1.0000 .10000E-03 10000. 17 'norm ' 1.0915 1.0000 .10000E-03 10000. 18 'Prefactor ' 9.1826 1.0000 .10000E-03 10000. 19 'norm ' .10000E-03 1.0000 .10000E-03 10000. 20 'norm ' 1.6972 1.0000 .10000E-03 10000. 21 'norm ' 3.9121 1.0000 .10000E-03 10000. 22 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 23 'norm ' 4.5184 1.0000 .10000E-03 10000. 24 'Prefactor ' 55.299 1.0000 .10000E-03 10000. 25 'Normalizat' .58923 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.0711 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= 6247.813 FROM MIGRAD STATUS=CONVERGED 646 CALLS 3147 TOTAL EDM= .47E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 29.297 -.88020E-07** at limit ** 2 Prefactor 29.014 52.893 .66946E-06 .51998E-04 3 Prefactor 8.4694 3.9299 .77970E-07 -.13858E-03 4 Prefactor 4.0239 4.6462 .10948E-06 -.78556E-04 5 Prefactor .10000E-03 48.984 .61686E-07** at limit ** 6 Prefactor .10000E-03 1.1840 .32511E-07** at limit ** 7 norm .69657 .18640 -.39303E-07 -.68192E-02 8 norm 4.8058 11.756 .40830E-06 -.62834E-04 9 Prefactor 8.3681 19.268 -.44582E-07 -.11982E-03 10 Prefactor .10000E-03 2.8633 -.41552E-07** at limit ** 11 norm 1.1823 238.30 -.66426E-05 -.45191E-04 12 Prefactor 2.7306 1.9523 -.84242E-06 -.31511E-02 13 Prefactor .29485 2.2440 .21860E-05 -.14344E-02 14 Prefactor 1.5303 2.9412 .32871E-06 -.19260E-03 15 Prefactor .10000E-03 1.2650 .23417E-06** at limit ** 16 norm 5.6502 1.8647 -.10355E-06 -.68434E-03 17 norm 1.0915 .91883 .94567E-08 -.30302E-03 18 Prefactor 9.1831 7.1554 .39342E-07 -.15595E-03 19 norm .10000E-03 .19887 -.28857E-09** at limit ** 20 norm 1.6969 6.3764 .12370E-05 -.19308E-03 21 norm 3.9122 1.7128 .17036E-07 -.13206E-03 22 Prefactor .10000E-03 19.194 -.68778E-07** at limit ** 23 norm 4.5168 6.0331 .25299E-06 -.22506E-03 24 Prefactor 55.370 66.170 -.13516E-06 .75210E-04 25 Normalizat .58911 .19758 -.16111E-05 -.28076E-03 26 Prefactor 1.0712 .15791 .30807E-06 -.41883E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 29.0142 Prefactor = 8.4694 Prefactor = 4.02392 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.696566 norm = 4.80575 Prefactor = 8.3681 Prefactor = 0.0001 norm = 1.18226 Prefactor = 2.73065 Prefactor = 0.294847 Prefactor = 1.53031 Prefactor = 0.0001 norm = 5.65022 norm = 1.09148 Prefactor = 9.18311 norm = 0.0001 norm = 1.69686 norm = 3.91216 Prefactor = 0.0001 norm = 4.51675 Prefactor = 55.3697 Normalizat = 0.589108 Prefactor = 1.07119 ********** ** 18 **HESSE ********** FCN= 6247.813 FROM HESSE STATUS=OK 464 CALLS 3611 TOTAL EDM= .11E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 29.687 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 29.014 52.810 .74456E-04 -1.4630 3 Prefactor 8.4694 3.9342 .10133E-03 -1.5126 4 Prefactor 4.0239 4.6279 .17582E-03 -1.5307 5 Prefactor .10000E-03 49.705 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 1.1977 .83950E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .69657 .19021 .15543E-04 -1.5541 8 norm 4.8058 11.724 .18354E-03 -1.5269 9 Prefactor 8.3681 19.373 .13855E-03 -1.5129 10 Prefactor .10000E-03 2.9133 .13041E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 1.1823 235.59 .39834E-03 -1.5491 12 Prefactor 2.7306 2.1391 .52727E-04 -1.5377 13 Prefactor .29485 3.2301 .11967E-02 -1.5599 14 Prefactor 1.5303 2.8786 .17440E-03 -1.5461 15 Prefactor .10000E-03 2.1748 .16850E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 5.6502 1.8668 .60082E-04 -1.5233 17 norm 1.0915 .88848 .63466E-04 -1.5499 18 Prefactor 9.1831 7.1176 .13226E-03 -1.5102 19 norm .10000E-03 .19901 .18142E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 1.6969 6.2715 .32297E-03 -1.5447 21 norm 3.9122 1.7107 .65618E-04 -1.5312 22 Prefactor .10000E-03 19.201 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 4.5168 5.9958 .18940E-03 -1.5283 24 Prefactor 55.370 65.976 .53942E-04 -1.4218 25 Normalizat .58911 .22731 .32101E-03 -1.0845 26 Prefactor 1.0712 .18416 .20528E-03 -.90393 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.07658e-09 Minuit parameter uncertainties: 1 5.31995e-05 2 52.8949 3 3.93433 4 4.62834 5 1.9251e-05 6 1.32129e-06 7 0.190215 8 11.7294 9 19.3877 10 3.94967e-06 11 33.5116 12 2.1392 13 1.95159 14 2.87884 15 5.24975e-05 16 1.86687 17 0.888488 18 7.11825 19 1.71631e-09 20 6.27396 21 1.71071 22 2.63962e-06 23 5.99664 24 66.0634 25 0.227675 26 0.184271 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6247.81308474 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.731e+00 2.139e+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 GAL_V02 Spectrum: PowerLaw 659 Prefactor: 1.071e+00 1.843e-01 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: 5.891e-01 2.277e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 13.34 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 1.08e-07 +/- 8.44e-08 Energy Flux (Fixed Index): 3.44e-05 +/- 2.69e-05 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) = 6247.49183501 delta logL = 0.321249729301 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 6247.49008906 delta logL = 0.322995677803 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.8152 1.0000 .10000E-03 10000. 2 'Index ' 2.1207 1.0000 .0000 10.000 3 'Normalizat' .61499 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0559 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= 6247.490 FROM MIGRAD STATUS=CONVERGED 51 CALLS 243 TOTAL EDM= .45E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.8177 29.064 .51660E-02 .10243E-03 2 Index 2.1204 2.9050 .12241 .99960E-04 3 Normalizat .61500 .11151 .71130E-01 .30342E-04 4 Prefactor 1.0559 .67494E-01 .39574E-01 .95311E-06 ERR DEF= .500 Final values: Prefactor = 3.8177 Index = 2.1204 Normalizat = 0.615 Prefactor = 1.05593 ********** ** 18 **HESSE ********** FCN= 6247.490 FROM HESSE STATUS=OK 33 CALLS 276 TOTAL EDM= .13E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.8177 2.0556 .64564E-04 -1.5317 2 Index 2.1204 .36732 .46954E-02 -.61373 3 Normalizat .61500 .21583 .31484E-03 -1.0735 4 Prefactor 1.0559 .18109 .20659E-03 -.90888 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.31232e-09 Minuit parameter uncertainties: 1 2.05563 2 0.367816 3 0.216121 4 0.181195 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/835531': 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) = 6247.49008831 delta logL = 0.322996431366 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.818e+00 2.056e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.120e+00 3.678e-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: 1.056e+00 1.812e-01 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: 6.150e-01 2.161e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 14.30 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.12 +/- 0.37 Photon Flux (Free Index): 8.70e-08 +/- 4.66e-08 Energy Flux (Free Index): 4.57e-05 +/- 2.87e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/835531/cmap_HighResolution_451094401_451353601_4FGL_J1640.4+3945_daily_bin817.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/835531 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.08e-07', energy_flux2='4.57e-05', photon_flux_error='8.44e-08', dlogl='3.23e-01', energy_flux='3.44e-05', photon_flux2='8.70e-08', job_status='DONE', time_completed='2021-09-15 06:52:10.132941', photon_index_error2='0.37', photon_index2='2.12', ts='13.34', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='2.87e-05', EG='0.59', time_epoch_completed='1631713930.13', return_code='0', job_id='835531', GAL2='1.06', EG2='0.61', return_code2='0', energy_flux_error='2.69e-05', photon_flux_error2='4.66e-08', ts2='14.30', photon_index='2.42' WHERE bin_id='817' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:52:10 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 835531: <4FGL_J1640.4+3945_daily_bin817> in cluster Done Job <4FGL_J1640.4+3945_daily_bin817> was submitted from host by user in cluster at Wed Sep 15 06:35:31 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:38:02 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:38:02 2021 Terminated at Wed Sep 15 06:52:10 2021 Results reported at Wed Sep 15 06:52:10 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin817 250.119 39.7626 451094401 451353601 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 : 731.00 sec. Max Memory : 1095 MB Average Memory : 293.67 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 848 sec. Turnaround time : 999 sec. The output (if any) is above this job summary.