/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 143 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 = 7717 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin764 RA = 250.119, Dec = 39.7626 tmin = 437356801, tmax = 437616001 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='835445', job_status='RUN', time_executed='2021-09-15 06:39:03.002779', time_epoch_executed='1631713143.0' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='764' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/835445 Creating custom pfile directory: /scratch/kocevski/835445/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=437356801.0 && nMetStart<437616001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=437356801.0 && nMetStart<437616001.0' /Data/Flight/Level1/LPA Retrieving 48 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/835445/ft1_4FGL_J1640.4+3945_daily_bin764.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=437356801.0 && nMetStart<437616001.0' /Data/Flight/Level1/LPA Retrieving 48 files... Done. Merging files... Merged file saved to: /scratch/kocevski/835445/ft2_4FGL_J1640.4+3945_daily_bin764.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/835445/ft1_4FGL_J1640.4+3945_daily_bin764.fits outfile=/scratch/kocevski/835445/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin764.fits ra=250.119 dec=39.7626 rad=12.0 tmin=437356801.0 tmax=437616001.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 5.61 user 5.32 sys 0.24 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/835445/ft2_4FGL_J1640.4+3945_daily_bin764.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/835445/ft2_4FGL_J1640.4+3945_daily_bin764.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/835445/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin764.fits evtable="EVENTS" outfile="/scratch/kocevski/835445/ft1_filtered_4FGL_J1640.4+3945_daily_bin764.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.78 user 0.37 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/835445/ft1_filtered_4FGL_J1640.4+3945_daily_bin764.fits" evtable="EVENTS" scfile=/scratch/kocevski/835445/ft2_4FGL_J1640.4+3945_daily_bin764.fits sctable="SC_DATA" outfile=/scratch/kocevski/835445/ltcube_437356801_437616001_4FGL_J1640.4+3945_daily_bin764.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/835445/ft2_4FGL_J1640.4+3945_daily_bin764.fits .....................! real 14.54 user 14.12 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/835445/ft1_filtered_4FGL_J1640.4+3945_daily_bin764.fits evtable="EVENTS" scfile=/scratch/kocevski/835445/ft2_4FGL_J1640.4+3945_daily_bin764.fits sctable="SC_DATA" expcube=/scratch/kocevski/835445/ltcube_437356801_437616001_4FGL_J1640.4+3945_daily_bin764.fits outfile=/scratch/kocevski/835445/expmap_437356801_437616001_4FGL_J1640.4+3945_daily_bin764.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/835445/ltcube_437356801_437616001_4FGL_J1640.4+3945_daily_bin764.fits .....................! real 191.66 user 186.02 sys 4.18 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/835445/ft1_filtered_4FGL_J1640.4+3945_daily_bin764.fits scfile=/scratch/kocevski/835445/ft2_4FGL_J1640.4+3945_daily_bin764.fits outfile=/scratch/kocevski/835445/cmap_437356801_437616001_4FGL_J1640.4+3945_daily_bin764.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.55 user 0.41 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/835445/ft1_filtered_4FGL_J1640.4+3945_daily_bin764.fits scfile=/scratch/kocevski/835445/ft2_4FGL_J1640.4+3945_daily_bin764.fits outfile=/scratch/kocevski/835445/cmap_HighResolution_437356801_437616001_4FGL_J1640.4+3945_daily_bin764.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.58 user 0.41 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/835445/ft1_filtered_4FGL_J1640.4+3945_daily_bin764.fits evtable="EVENTS" scfile=/scratch/kocevski/835445/ft2_4FGL_J1640.4+3945_daily_bin764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835445/Model_4FGL_J1640.4+3945_daily_bin764.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/835445/ft1_filtered_4FGL_J1640.4+3945_daily_bin764.fits.....................! real 44.09 user 42.66 sys 1.20 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/835445/ft1_filtered_4FGL_J1640.4+3945_daily_bin764.fits', '/scratch/kocevski/835445/ft2_4FGL_J1640.4+3945_daily_bin764.fits', expMap='/scratch/kocevski/835445/expmap_437356801_437616001_4FGL_J1640.4+3945_daily_bin764.fits', expCube='/scratch/kocevski/835445/ltcube_437356801_437616001_4FGL_J1640.4+3945_daily_bin764.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/835445/Model_4FGL_J1640.4+3945_daily_bin764.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/835445/ft1_filtered_4FGL_J1640.4+3945_daily_bin764.fits Spacecraft file(s): /scratch/kocevski/835445/ft2_4FGL_J1640.4+3945_daily_bin764.fits Exposure map: /scratch/kocevski/835445/expmap_437356801_437616001_4FGL_J1640.4+3945_daily_bin764.fits Exposure cube: /scratch/kocevski/835445/ltcube_437356801_437616001_4FGL_J1640.4+3945_daily_bin764.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/835445/Model_4FGL_J1640.4+3945_daily_bin764.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) = 4868.05621624 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4868.04863441 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10017E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10067E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 1.2325 1.0000 .10000E-03 10000. 4 'Prefactor ' 3.7569 1.0000 .10000E-03 10000. 5 'Prefactor ' 12.060 1.0000 .10000E-03 10000. 6 'Prefactor ' 1.8995 1.0000 .10000E-03 10000. 7 'norm ' .45225 1.0000 .10000E-03 10000. 8 'norm ' .10005E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 22.113 1.0000 .10000E-03 10000. 10 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 11 'norm ' 49.089 1.0000 .10000E-03 10000. 12 'Prefactor ' .10655E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 1.1795 1.0000 .10000E-03 10000. 14 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 16 'norm ' 2.9667 1.0000 .10000E-03 10000. 17 'norm ' .55783 1.0000 .10000E-03 10000. 18 'Prefactor ' 3.6818 1.0000 .10000E-03 10000. 19 'norm ' .65124 1.0000 .10000E-03 10000. 20 'norm ' 5.1325 1.0000 .10000E-03 10000. 21 'norm ' 4.0559 1.0000 .10000E-03 10000. 22 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 23 'norm ' 12.523 1.0000 .10000E-03 10000. 24 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 25 'Normalizat' .94813 1.0000 .10000E-01 10.000 26 'Prefactor ' .88125 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. FCN= 4868.049 FROM MIGRAD STATUS=CONVERGED 1088 CALLS 4115 TOTAL EDM= .44E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 14.055 .18142E-02** at limit ** 2 Prefactor .10000E-03 103.52 .18142E-02** at limit ** 3 Prefactor 1.2326 4.9360 .27347E-03 -.15428E-03 4 Prefactor 3.7532 111.03 .20830E-03 -.57690E-04 5 Prefactor 12.100 397.09 .11535E-03 -.98556E-07 6 Prefactor 1.8993 3.4101 .16621E-03 -.13140E-03 7 norm .45223 .22324 .19216E-04 -.13803E-02 8 norm .10000E-03 14.704 .18142E-02** at limit ** 9 Prefactor 22.113 26.357 .85178E-04 -.65801E-04 10 Prefactor .10000E-03 3.6457 .12983E-02** at limit ** 11 norm 49.083 67.621 .57235E-04 -.45249E-04 12 Prefactor .10000E-03 5.3406 .11522E-02** at limit ** 13 Prefactor 1.1787 1.2709 .75635E-04 -.24215E-03 14 Prefactor .10000E-03 3.7968 .13244E-02** at limit ** 15 Prefactor .10000E-03 1.6852 .87864E-03** at limit ** 16 norm 2.9667 1.8317 .71458E-04 -.89571E-04 17 norm .55678 2.0700 .16472E-03 -.27608E-05 18 Prefactor 3.6906 21.652 .21049E-03 -.10537E-03 19 norm .65062 .82526 .70325E-03 .41906E-03 20 norm 5.1291 14.165 .17746E-03 -.14350E-04 21 norm 4.0554 3.2670 .10553E-03 -.41370E-04 22 Prefactor .10000E-03 16.662 .18142E-02** at limit ** 23 norm 12.522 7.5842 .11319E-03 -.61265E-04 24 Prefactor .10000E-03 34.758 .18142E-02** at limit ** 25 Normalizat .94813 .29909 .28366E-03 -.10056E-03 26 Prefactor .88126 .21042 .22130E-03 -.21867E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 1.23261 Prefactor = 3.75321 Prefactor = 12.1003 Prefactor = 1.89934 norm = 0.45223 norm = 0.0001 Prefactor = 22.1126 Prefactor = 0.0001 norm = 49.0829 Prefactor = 0.0001 Prefactor = 1.17867 Prefactor = 0.0001 Prefactor = 0.0001 norm = 2.96669 norm = 0.556778 Prefactor = 3.69058 norm = 0.650622 norm = 5.12913 norm = 4.05541 Prefactor = 0.0001 norm = 12.5222 Prefactor = 0.0001 Normalizat = 0.948125 Prefactor = 0.881259 ********** ** 18 **HESSE ********** FCN= 4868.049 FROM HESSE STATUS=OK 432 CALLS 4547 TOTAL EDM= .43E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 14.055 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 103.52 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 1.2326 4.9277 .10939E-04 -1.5486 4 Prefactor 3.7532 108.10 .83319E-05 -1.5320 5 Prefactor 12.100 386.78 .46141E-05 -1.5012 6 Prefactor 1.8993 3.4097 .66483E-05 -1.5432 7 norm .45223 .22323 .76864E-06 -1.5573 8 norm .10000E-03 14.705 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 22.113 26.362 .34071E-05 -1.4767 10 Prefactor .10000E-03 3.6459 .25967E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 49.083 67.615 .11447E-04 -1.4306 12 Prefactor .10000E-03 5.3482 .23043E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 1.1787 1.2667 .30254E-05 -1.5491 14 Prefactor .10000E-03 3.7971 .26488E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .10000E-03 1.6854 .17573E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 2.9667 1.8317 .28583E-05 -1.5363 17 norm .55678 2.0665 .65887E-05 -1.5559 18 Prefactor 3.6906 21.545 .84197E-05 -1.5324 19 norm .65062 .82433 .28130E-04 -1.5547 20 norm 5.1291 14.160 .70984E-05 -1.5255 21 norm 4.0554 3.2662 .42210E-05 -1.5305 22 Prefactor .10000E-03 16.662 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 12.522 7.5832 .45278E-05 -1.5000 24 Prefactor .10000E-03 34.758 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .94813 .29928 .11346E-04 -.94789 26 Prefactor .88126 .21066 .44260E-04 -.96799 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.34366e-10 Minuit parameter uncertainties: 1 1.36712e-05 2 5.46129e-05 3 4.92936 4 40.366 5 137.807 6 3.41005 7 0.223227 8 4.4355e-05 9 26.3756 10 4.57082e-06 11 67.7207 12 1.21668e-05 13 1.26671 14 4.07093e-06 15 6.40683e-06 16 1.83175 17 2.06679 18 17.8433 19 0.824347 20 14.1696 21 3.2663 22 5.17777e-06 23 7.58375 24 7.25121e-05 25 0.29981 26 0.210851 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4868.04863275 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 1.217e-05 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: 8.813e-01 2.109e-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: 9.481e-01 2.998e-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: 1.29e-07 ph cm-2 s-1 Energy Flux Upper Limit: 9.99e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/835445/likelihoodResults_437356801_437616001_4FGL_J1640.4+3945_daily_bin764.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) = 4868.04954973 delta logL = -0.000916977243833 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 4868.04863173 delta logL = 1.02367721411e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .12807E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.3210 1.0000 .0000 10.000 3 'Normalizat' .94788 1.0000 .10000E-01 10.000 4 'Prefactor ' .88143 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= 4868.049 FROM MIGRAD STATUS=CONVERGED 64 CALLS 233 TOTAL EDM= .27E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .77326E-01 .43631E-01** at limit ** 2 Index 2.2421 5.5519 .50000 .30028E-04 3 Normalizat .94812 .16451E-02 .45510E-01 .37934E-04 4 Prefactor .88126 .12485E-02 .44768E-01 .38544E-04 ERR DEF= .500 Final values: Prefactor = 0.000100003 Index = 2.24213 Normalizat = 0.948125 Prefactor = 0.88126 ********** ** 18 **HESSE ********** FCN= 4868.049 FROM HESSE STATUS=NOT POSDEF 35 CALLS 268 TOTAL EDM= .97E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 28.166 .12489E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.2421 7.7526 .50000 -.58425 3 Normalizat .94812 .92738E-02 .28366E-03 -.94789 4 Prefactor .88126 .70388E-02 .22130E-03 -.96799 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 9.65419e-08 Minuit parameter uncertainties: 1 0.000545757 2 39.2968 3 0.00927378 4 0.00703878 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/835445': 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) = 4868.04862849 delta logL = 4.25727921538e-06 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 5.458e-04 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.242e+00 3.930e+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: 8.813e-01 7.039e-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: 9.481e-01 9.274e-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 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/835445/cmap_HighResolution_437356801_437616001_4FGL_J1640.4+3945_daily_bin764.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/835445 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.99e-03', job_status='DONE', photon_flux_upper_limit='1.29e-07', time_completed='2021-09-15 06:51:57.584597', job_id='835445', GAL2='0.88', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1631713917.58', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='4.26e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='764' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:51:57 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 835445: <4FGL_J1640.4+3945_daily_bin764> in cluster Done Job <4FGL_J1640.4+3945_daily_bin764> was submitted from host by user in cluster at Wed Sep 15 06:35:24 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:36:31 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:36:31 2021 Terminated at Wed Sep 15 06:51:58 2021 Results reported at Wed Sep 15 06:51:58 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin764 250.119 39.7626 437356801 437616001 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 : 767.15 sec. Max Memory : 618 MB Average Memory : 252.87 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 926 sec. Turnaround time : 994 sec. The output (if any) is above this job summary.