/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 2 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 = 7364 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin911 RA = 250.119, Dec = 39.7626 tmin = 475459201, tmax = 475718401 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='835686', job_status='RUN', time_executed='2021-09-15 06:41:23.510240', time_epoch_executed='1631713283.51' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='911' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/835686 Creating custom pfile directory: /scratch/kocevski/835686/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=475459201.0 && nMetStart<475718401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=475459201.0 && nMetStart<475718401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/835686/ft1_4FGL_J1640.4+3945_daily_bin911.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=475459201.0 && nMetStart<475718401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/835686/ft2_4FGL_J1640.4+3945_daily_bin911.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/835686/ft1_4FGL_J1640.4+3945_daily_bin911.fits outfile=/scratch/kocevski/835686/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin911.fits ra=250.119 dec=39.7626 rad=12.0 tmin=475459201.0 tmax=475718401.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.54 user 3.31 sys 0.21 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/835686/ft2_4FGL_J1640.4+3945_daily_bin911.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/835686/ft2_4FGL_J1640.4+3945_daily_bin911.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/835686/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin911.fits evtable="EVENTS" outfile="/scratch/kocevski/835686/ft1_filtered_4FGL_J1640.4+3945_daily_bin911.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.52 user 0.35 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/835686/ft1_filtered_4FGL_J1640.4+3945_daily_bin911.fits" evtable="EVENTS" scfile=/scratch/kocevski/835686/ft2_4FGL_J1640.4+3945_daily_bin911.fits sctable="SC_DATA" outfile=/scratch/kocevski/835686/ltcube_475459201_475718401_4FGL_J1640.4+3945_daily_bin911.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/835686/ft2_4FGL_J1640.4+3945_daily_bin911.fits .....................! real 13.64 user 13.25 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/835686/ft1_filtered_4FGL_J1640.4+3945_daily_bin911.fits evtable="EVENTS" scfile=/scratch/kocevski/835686/ft2_4FGL_J1640.4+3945_daily_bin911.fits sctable="SC_DATA" expcube=/scratch/kocevski/835686/ltcube_475459201_475718401_4FGL_J1640.4+3945_daily_bin911.fits outfile=/scratch/kocevski/835686/expmap_475459201_475718401_4FGL_J1640.4+3945_daily_bin911.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/835686/ltcube_475459201_475718401_4FGL_J1640.4+3945_daily_bin911.fits .....................! real 195.09 user 189.44 sys 5.21 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/835686/ft1_filtered_4FGL_J1640.4+3945_daily_bin911.fits scfile=/scratch/kocevski/835686/ft2_4FGL_J1640.4+3945_daily_bin911.fits outfile=/scratch/kocevski/835686/cmap_475459201_475718401_4FGL_J1640.4+3945_daily_bin911.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.39 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/835686/ft1_filtered_4FGL_J1640.4+3945_daily_bin911.fits scfile=/scratch/kocevski/835686/ft2_4FGL_J1640.4+3945_daily_bin911.fits outfile=/scratch/kocevski/835686/cmap_HighResolution_475459201_475718401_4FGL_J1640.4+3945_daily_bin911.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.55 user 0.39 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/835686/ft1_filtered_4FGL_J1640.4+3945_daily_bin911.fits evtable="EVENTS" scfile=/scratch/kocevski/835686/ft2_4FGL_J1640.4+3945_daily_bin911.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835686/Model_4FGL_J1640.4+3945_daily_bin911.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/835686/ft1_filtered_4FGL_J1640.4+3945_daily_bin911.fits.....................! real 62.42 user 61.04 sys 1.20 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/835686/ft1_filtered_4FGL_J1640.4+3945_daily_bin911.fits', '/scratch/kocevski/835686/ft2_4FGL_J1640.4+3945_daily_bin911.fits', expMap='/scratch/kocevski/835686/expmap_475459201_475718401_4FGL_J1640.4+3945_daily_bin911.fits', expCube='/scratch/kocevski/835686/ltcube_475459201_475718401_4FGL_J1640.4+3945_daily_bin911.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/835686/Model_4FGL_J1640.4+3945_daily_bin911.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/835686/ft1_filtered_4FGL_J1640.4+3945_daily_bin911.fits Spacecraft file(s): /scratch/kocevski/835686/ft2_4FGL_J1640.4+3945_daily_bin911.fits Exposure map: /scratch/kocevski/835686/expmap_475459201_475718401_4FGL_J1640.4+3945_daily_bin911.fits Exposure cube: /scratch/kocevski/835686/ltcube_475459201_475718401_4FGL_J1640.4+3945_daily_bin911.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/835686/Model_4FGL_J1640.4+3945_daily_bin911.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) = 7794.42550143 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7794.40619071 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10064E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 79.528 1.0000 .10000E-03 10000. 3 'Prefactor ' 1.8798 1.0000 .10000E-03 10000. 4 'Prefactor ' 1.2518 1.0000 .10000E-03 10000. 5 'Prefactor ' 53.796 1.0000 .10000E-03 10000. 6 'Prefactor ' 3.5504 1.0000 .10000E-03 10000. 7 'norm ' .48946 1.0000 .10000E-03 10000. 8 'norm ' .10000E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 19.986 1.0000 .10000E-03 10000. 10 'Prefactor ' .24368E-03 1.0000 .10000E-03 10000. 11 'norm ' .10000E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 3.9034 1.0000 .10000E-03 10000. 15 'Prefactor ' 2.8133 1.0000 .10000E-03 10000. 16 'norm ' 8.2633 1.0000 .10000E-03 10000. 17 'norm ' 2.0607 1.0000 .10000E-03 10000. 18 'Prefactor ' 2.2432 1.0000 .10000E-03 10000. 19 'norm ' .42533 1.0000 .10000E-03 10000. 20 'norm ' .10000E-03 1.0000 .10000E-03 10000. 21 'norm ' 3.7395 1.0000 .10000E-03 10000. 22 'Prefactor ' 73.117 1.0000 .10000E-03 10000. 23 'norm ' 10.214 1.0000 .10000E-03 10000. 24 'Prefactor ' 35.228 1.0000 .10000E-03 10000. 25 'Normalizat' 1.2559 1.0000 .10000E-01 10.000 26 'Prefactor ' .66453 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= 7794.406 FROM MIGRAD STATUS=CONVERGED 617 CALLS 3167 TOTAL EDM= .14E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 21.816 .19811E-07** at limit ** 2 Prefactor 79.545 69.284 .47799E-06 .14321E-03 3 Prefactor 1.8796 2.8268 .23588E-06 -.67509E-04 4 Prefactor 1.2468 9.5575 .85424E-05 .49712E-03 5 Prefactor 53.837 33.665 -.44749E-05 .53451E-03 6 Prefactor 3.5504 2.8194 .17248E-06 -.63439E-04 7 norm .48943 .17456 .15480E-07 -.29409E-03 8 norm .10000E-03 8.0729 .13283E-06** at limit ** 9 Prefactor 19.990 18.830 .56303E-06 .82277E-04 10 Prefactor .10000E-03 1.6064 .27665E-06** at limit ** 11 norm .10000E-03 9.6179 -.18107E-06** at limit ** 12 Prefactor .10000E-03 .42274 -.20925E-07** at limit ** 13 Prefactor .10000E-03 .31174 -.14626E-07** at limit ** 14 Prefactor 3.9043 2.8622 .40780E-07 -.21093E-03 15 Prefactor 2.8135 2.4702 .17325E-07 -.21443E-03 16 norm 8.2633 2.2258 .40133E-08 -.97428E-04 17 norm 2.0610 .99208 -.49825E-07 -.52514E-03 18 Prefactor 2.2432 4.8088 .32250E-05 -.96480E-03 19 norm .42526 .60493 .22415E-06 .17097E-02 20 norm .10000E-03 2.6602 -.16268E-07** at limit ** 21 norm 3.7394 1.8385 -.56480E-07 -.20059E-03 22 Prefactor 73.138 51.488 .11783E-05 .37287E-03 23 norm 10.213 6.7496 -.53615E-07 -.23766E-04 24 Prefactor 35.228 80.990 .24936E-06 -.14126E-04 25 Normalizat 1.2559 .19621 -.37854E-05 -.30128E-03 26 Prefactor .66456 .14831 .25994E-05 -.31004E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 79.5454 Prefactor = 1.87962 Prefactor = 1.24683 Prefactor = 53.8369 Prefactor = 3.55039 norm = 0.489429 norm = 0.0001 Prefactor = 19.9897 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 3.90425 Prefactor = 2.81351 norm = 8.26331 norm = 2.061 Prefactor = 2.24318 norm = 0.425257 norm = 0.0001 norm = 3.73942 Prefactor = 73.1384 norm = 10.213 Prefactor = 35.2279 Normalizat = 1.2559 Prefactor = 0.664559 ********** ** 18 **HESSE ********** FCN= 7794.406 FROM HESSE STATUS=OK 462 CALLS 3629 TOTAL EDM= .28E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 21.964 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 79.545 69.430 .45034E-04 -1.3922 3 Prefactor 1.8796 2.8090 .17337E-03 -1.5434 4 Prefactor 1.2468 9.7189 .39957E-03 -1.5485 5 Prefactor 53.837 33.935 .54686E-04 -1.4239 6 Prefactor 3.5504 2.8144 .12589E-03 -1.5331 7 norm .48943 .17363 .19306E-04 -1.5568 8 norm .10000E-03 8.1319 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 19.990 19.009 .89592E-04 -1.4813 10 Prefactor .10000E-03 6.2806 .21420E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .10000E-03 9.6214 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 .43543 .11127E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .10000E-03 .31753 .95882E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 3.9043 2.8540 .12105E-03 -1.5313 15 Prefactor 2.8135 2.4569 .12412E-03 -1.5372 16 norm 8.2633 2.2236 .65870E-04 -1.5133 17 norm 2.0610 .98673 .57042E-04 -1.5421 18 Prefactor 2.2432 4.9891 .13720E-02 -1.5408 19 norm .42526 .52743 .79094E-03 -1.5578 20 norm .10000E-03 2.6701 .14060E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 3.7394 1.8325 .80111E-04 -1.5321 22 Prefactor 73.138 51.833 .46952E-04 -1.3995 23 norm 10.213 6.7440 .12538E-03 -1.5069 24 Prefactor 35.228 80.925 .67519E-04 -1.4520 25 Normalizat 1.2559 .23409 .25778E-03 -.84892 26 Prefactor .66456 .17722 .27392E-03 -1.0493 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.75635e-09 Minuit parameter uncertainties: 1 8.50367e-05 2 69.5008 3 2.80917 4 6.96342 5 33.9474 6 2.81451 7 0.173635 8 5.50782e-05 9 19.0143 10 6.26509e-05 11 7.1583e-05 12 1.69639e-07 13 2.00461e-07 14 2.85409 15 2.45695 16 2.22366 17 0.986737 18 4.98999 19 0.527434 20 1.15037e-06 21 1.83248 22 51.8649 23 6.74449 24 81.1789 25 0.234291 26 0.177367 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7794.40617809 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 1.696e-07 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: 6.646e-01 1.774e-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: 1.256e+00 2.343e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 6.83e-08 ph cm-2 s-1 Energy Flux Upper Limit: 5.29e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/835686/likelihoodResults_475459201_475718401_4FGL_J1640.4+3945_daily_bin911.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) = 7794.41683546 delta logL = -0.0106573689163 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 7794.40618005 delta logL = -1.95687152882e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10213E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.4045 1.0000 .0000 10.000 3 'Normalizat' 1.2560 1.0000 .10000E-01 10.000 4 'Prefactor ' .66458 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. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 7794.406 FROM MIGRAD STATUS=FAILED 107 CALLS 261 TOTAL EDM= .13E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 44.374 .64562E-03** at limit ** 2 Index 1.7154 5.0825 .50000 -.11095E-04 3 Normalizat 1.2559 .42971E-01 .25779E-03 .18390E-04 4 Prefactor .66456 .34416E-01 .27392E-03 -.18677E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 7794.406 FROM SIMPLEX STATUS=UNCHANGED 216 CALLS 477 TOTAL EDM= .18E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 44.374 .15791E-03** at limit ** 2 Index 1.7154 5.0825 .23117E-06 -.11095E-04 3 Normalizat 1.2559 .42971E-01 .10905E-07 .18390E-04 4 Prefactor .66456 .34416E-01 .48510E-08 -.18677E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 7794.406 FROM MIGRAD STATUS=CONVERGED 72 CALLS 549 TOTAL EDM= .17E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .59631 .25825E-04** at limit ** 2 Index 1.7154 7.1359 .50000 -.11095E-04 3 Normalizat 1.2559 .21575 .20623E-05 .18743E-04 4 Prefactor .66456 .17281 .21913E-05 -.18677E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 1.71535 Normalizat = 1.25591 Prefactor = 0.664558 ********** ** 18 **HESSE ********** FCN= 7794.406 FROM HESSE STATUS=OK 25 CALLS 574 TOTAL EDM= .16E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 .57024 .51650E-05 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.7154 7.7436 .50000 -.71674 3 Normalizat 1.2559 .22149 .41246E-06 -.84892 4 Prefactor .66456 .17673 .43827E-06 -1.0493 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.59944e-08 Minuit parameter uncertainties: 1 4.54332e-07 2 42.9507 3 0.221657 4 0.17688 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/835686': 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) = 7794.40615111 delta logL = 2.69838292297e-05 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 4.543e-07 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 1.715e+00 4.295e+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: 6.646e-01 1.769e-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: 1.256e+00 2.217e-01 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 -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /scratch/kocevski/835686/cmap_HighResolution_475459201_475718401_4FGL_J1640.4+3945_daily_bin911.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/835686 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.29e-03', job_status='DONE', photon_flux_upper_limit='6.83e-08', time_completed='2021-09-15 06:57:37.737292', job_id='835686', GAL2='0.66', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1631714257.74', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='2.70e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='911' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:57:37 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 835686: <4FGL_J1640.4+3945_daily_bin911> in cluster Done Job <4FGL_J1640.4+3945_daily_bin911> was submitted from host by user in cluster at Wed Sep 15 06:35:46 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:41:12 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:41:12 2021 Terminated at Wed Sep 15 06:57:38 2021 Results reported at Wed Sep 15 06:57:38 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin911 250.119 39.7626 475459201 475718401 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 : 972.00 sec. Max Memory : 618 MB Average Memory : 315.45 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 986 sec. Turnaround time : 1312 sec. The output (if any) is above this job summary.