/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 69 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 = 7469 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin721 RA = 250.119, Dec = 39.7626 tmin = 426211201, tmax = 426470401 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='835372', job_status='RUN', time_executed='2021-09-15 06:36:42.026873', time_epoch_executed='1631713002.03' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='721' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/835372 Creating custom pfile directory: /scratch/kocevski/835372/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=426211201.0 && nMetStart<426470401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=426211201.0 && nMetStart<426470401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/835372/ft1_4FGL_J1640.4+3945_daily_bin721.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=426211201.0 && nMetStart<426470401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/835372/ft2_4FGL_J1640.4+3945_daily_bin721.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/835372/ft1_4FGL_J1640.4+3945_daily_bin721.fits outfile=/scratch/kocevski/835372/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin721.fits ra=250.119 dec=39.7626 rad=12.0 tmin=426211201.0 tmax=426470401.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.58 user 3.33 sys 0.21 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/835372/ft2_4FGL_J1640.4+3945_daily_bin721.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/835372/ft2_4FGL_J1640.4+3945_daily_bin721.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/835372/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin721.fits evtable="EVENTS" outfile="/scratch/kocevski/835372/ft1_filtered_4FGL_J1640.4+3945_daily_bin721.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.49 user 0.33 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/835372/ft1_filtered_4FGL_J1640.4+3945_daily_bin721.fits" evtable="EVENTS" scfile=/scratch/kocevski/835372/ft2_4FGL_J1640.4+3945_daily_bin721.fits sctable="SC_DATA" outfile=/scratch/kocevski/835372/ltcube_426211201_426470401_4FGL_J1640.4+3945_daily_bin721.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/835372/ft2_4FGL_J1640.4+3945_daily_bin721.fits .....................! real 13.38 user 13.02 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/835372/ft1_filtered_4FGL_J1640.4+3945_daily_bin721.fits evtable="EVENTS" scfile=/scratch/kocevski/835372/ft2_4FGL_J1640.4+3945_daily_bin721.fits sctable="SC_DATA" expcube=/scratch/kocevski/835372/ltcube_426211201_426470401_4FGL_J1640.4+3945_daily_bin721.fits outfile=/scratch/kocevski/835372/expmap_426211201_426470401_4FGL_J1640.4+3945_daily_bin721.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/835372/ltcube_426211201_426470401_4FGL_J1640.4+3945_daily_bin721.fits .....................! real 190.64 user 185.83 sys 4.38 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/835372/ft1_filtered_4FGL_J1640.4+3945_daily_bin721.fits scfile=/scratch/kocevski/835372/ft2_4FGL_J1640.4+3945_daily_bin721.fits outfile=/scratch/kocevski/835372/cmap_426211201_426470401_4FGL_J1640.4+3945_daily_bin721.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.54 user 0.38 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/835372/ft1_filtered_4FGL_J1640.4+3945_daily_bin721.fits scfile=/scratch/kocevski/835372/ft2_4FGL_J1640.4+3945_daily_bin721.fits outfile=/scratch/kocevski/835372/cmap_HighResolution_426211201_426470401_4FGL_J1640.4+3945_daily_bin721.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.38 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/835372/ft1_filtered_4FGL_J1640.4+3945_daily_bin721.fits evtable="EVENTS" scfile=/scratch/kocevski/835372/ft2_4FGL_J1640.4+3945_daily_bin721.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835372/Model_4FGL_J1640.4+3945_daily_bin721.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/835372/ft1_filtered_4FGL_J1640.4+3945_daily_bin721.fits.....................! real 54.32 user 52.93 sys 1.16 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/835372/ft1_filtered_4FGL_J1640.4+3945_daily_bin721.fits', '/scratch/kocevski/835372/ft2_4FGL_J1640.4+3945_daily_bin721.fits', expMap='/scratch/kocevski/835372/expmap_426211201_426470401_4FGL_J1640.4+3945_daily_bin721.fits', expCube='/scratch/kocevski/835372/ltcube_426211201_426470401_4FGL_J1640.4+3945_daily_bin721.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/835372/Model_4FGL_J1640.4+3945_daily_bin721.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/835372/ft1_filtered_4FGL_J1640.4+3945_daily_bin721.fits Spacecraft file(s): /scratch/kocevski/835372/ft2_4FGL_J1640.4+3945_daily_bin721.fits Exposure map: /scratch/kocevski/835372/expmap_426211201_426470401_4FGL_J1640.4+3945_daily_bin721.fits Exposure cube: /scratch/kocevski/835372/ltcube_426211201_426470401_4FGL_J1640.4+3945_daily_bin721.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/835372/Model_4FGL_J1640.4+3945_daily_bin721.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) = 6523.24136178 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6523.24059803 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 17.380 1.0000 .10000E-03 10000. 3 'Prefactor ' 1.3953 1.0000 .10000E-03 10000. 4 'Prefactor ' 5.1867 1.0000 .10000E-03 10000. 5 'Prefactor ' .10010E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 7 'norm ' .30508 1.0000 .10000E-03 10000. 8 'norm ' 12.336 1.0000 .10000E-03 10000. 9 'Prefactor ' 9.8017 1.0000 .10000E-03 10000. 10 'Prefactor ' .78984 1.0000 .10000E-03 10000. 11 'norm ' .10000E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .87259 1.0000 .10000E-03 10000. 13 'Prefactor ' .10008E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 1.7720 1.0000 .10000E-03 10000. 15 'Prefactor ' 2.0915 1.0000 .10000E-03 10000. 16 'norm ' 3.5345 1.0000 .10000E-03 10000. 17 'norm ' 1.4379 1.0000 .10000E-03 10000. 18 'Prefactor ' .10016E-03 1.0000 .10000E-03 10000. 19 'norm ' .41745 1.0000 .10000E-03 10000. 20 'norm ' 18.961 1.0000 .10000E-03 10000. 21 'norm ' 5.6264 1.0000 .10000E-03 10000. 22 'Prefactor ' .10047E-03 1.0000 .10000E-03 10000. 23 'norm ' .10044E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' .10528E-03 1.0000 .10000E-03 10000. 25 'Normalizat' .92022 1.0000 .10000E-01 10.000 26 'Prefactor ' .93062 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= 6523.241 FROM MIGRAD STATUS=CONVERGED 629 CALLS 3206 TOTAL EDM= .52E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 8.7424 .45258E-07** at limit ** 2 Prefactor 17.162 95.559 .61496E-04 .31481E-04 3 Prefactor 1.3953 2.4900 .52302E-06 .85875E-04 4 Prefactor 5.1916 7.5516 -.21916E-05 -.46507E-03 5 Prefactor .10000E-03 10.710 .47285E-07** at limit ** 6 Prefactor .10000E-03 1.3823 .12360E-06** at limit ** 7 norm .30504 .19985 .32959E-07 .36875E-03 8 norm 12.335 13.372 .88006E-07 -.65042E-05 9 Prefactor 9.8012 18.651 .84531E-06 -.53717E-05 10 Prefactor .78981 4.4476 .19857E-04 -.13769E-03 11 norm .10000E-03 13.901 -.12799E-06** at limit ** 12 Prefactor .87232 1.5146 .32815E-06 .43769E-03 13 Prefactor .10000E-03 .81385 -.11914E-06** at limit ** 14 Prefactor 1.7736 3.5963 -.78794E-06 -.97752E-04 15 Prefactor 2.0917 3.1288 .20420E-06 -.15363E-04 16 norm 3.5344 1.8967 .75159E-07 -.31969E-04 17 norm 1.4381 .91105 -.17006E-06 -.11338E-02 18 Prefactor .10000E-03 5.8378 .12686E-06** at limit ** 19 norm .41738 .53099 .85611E-07 .91965E-04 20 norm 18.961 11.656 .72500E-06 -.13868E-05 21 norm 5.6269 2.1179 .14680E-06 -.17587E-03 22 Prefactor .10000E-03 37.048 .76916E-06** at limit ** 23 norm .10000E-03 2.6438 .61468E-07** at limit ** 24 Prefactor .10000E-03 86.957 -.29041E-05** at limit ** 25 Normalizat .92016 .19957 -.56652E-05 .55278E-04 26 Prefactor .93069 .14940 .41686E-06 -.30354E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 17.1616 Prefactor = 1.3953 Prefactor = 5.19158 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.305043 norm = 12.3351 Prefactor = 9.80124 Prefactor = 0.789815 norm = 0.0001 Prefactor = 0.872321 Prefactor = 0.0001 Prefactor = 1.77363 Prefactor = 2.09168 norm = 3.53436 norm = 1.43812 Prefactor = 0.0001 norm = 0.417385 norm = 18.9611 norm = 5.62686 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 Normalizat = 0.920157 Prefactor = 0.930693 ********** ** 18 **HESSE ********** FCN= 6523.241 FROM HESSE STATUS=OK 462 CALLS 3668 TOTAL EDM= .10E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 8.7475 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 17.162 95.614 .96072E-04 -1.4879 3 Prefactor 1.3953 2.4534 .16368E-03 -1.5472 4 Prefactor 5.1916 7.5326 .88257E-03 -1.5252 5 Prefactor .10000E-03 10.715 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 1.3928 .92606E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .30504 .19182 .22017E-04 -1.5598 8 norm 12.335 13.372 .11405E-03 -1.5005 9 Prefactor 9.8012 18.808 .12799E-03 -1.5082 10 Prefactor .78981 4.4868 .15454E-02 -1.5530 11 norm .10000E-03 13.903 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .87232 1.2661 .93682E-04 -1.5521 13 Prefactor .10000E-03 .97581 .12127E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 1.7736 3.5502 .19416E-03 -1.5442 15 Prefactor 2.0917 3.0698 .15998E-03 -1.5419 16 norm 3.5344 1.8848 .77393E-04 -1.5332 17 norm 1.4381 .89673 .56104E-04 -1.5468 18 Prefactor .10000E-03 5.9306 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .41738 .49339 .63746E-03 -1.5579 20 norm 18.961 11.642 .91980E-04 -1.4837 21 norm 5.6269 2.1148 .68813E-04 -1.5234 22 Prefactor .10000E-03 37.100 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm .10000E-03 2.6573 .12817E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .10000E-03 87.165 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .92016 .23054 .27547E-03 -.95755 26 Prefactor .93069 .17454 .22319E-03 -.95077 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.98292e-10 Minuit parameter uncertainties: 1 1.16515e-05 2 81.2156 3 2.45357 4 7.53396 5 4.52681e-05 6 2.4658e-06 7 0.191824 8 13.3755 9 18.8189 10 3.76516 11 8.53109e-06 12 1.2661 13 1.5477e-05 14 3.55065 15 3.07006 16 1.88479 17 0.896739 18 8.47564e-06 19 0.493393 20 11.6432 21 2.11484 22 8.00107e-05 23 5.7895e-06 24 4.09369e-05 25 0.23079 26 0.174643 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6523.24059376 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 8.723e-01 1.266e+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: 9.307e-01 1.746e-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.202e-01 2.308e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.75 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 1.31e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.01e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/835372/likelihoodResults_426211201_426470401_4FGL_J1640.4+3945_daily_bin721.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) = 6521.4980054 delta logL = 1.74258836686 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6521.47335601 delta logL = 1.76723775622 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .71717E-02 1.0000 .10000E-03 10000. 2 'Index ' 5.1818 1.0000 .0000 10.000 3 'Normalizat' .80313 1.0000 .10000E-01 10.000 4 'Prefactor ' .99736 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= 6521.473 FROM MIGRAD STATUS=CONVERGED 55 CALLS 262 TOTAL EDM= .80E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .69874E-02 .50552E-01 .93302E-03 .18492E-01 2 Index 5.1926 1.8828 .78434E-01 .28737E-03 3 Normalizat .80365 .50117E-01 .66032E-01 -.82224E-05 4 Prefactor .99702 .41032E-01 .46234E-01 -.12191E-03 ERR DEF= .500 Final values: Prefactor = 0.0069874 Index = 5.19264 Normalizat = 0.803647 Prefactor = 0.997023 ********** ** 18 **HESSE ********** FCN= 6521.473 FROM HESSE STATUS=NOT POSDEF 33 CALLS 295 TOTAL EDM= .42E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .69874E-02 .10357 .36334E-04 -1.5691 2 Index 5.1926 2.9609 .31213E-02 .38537E-01 3 Normalizat .80365 .17176 .29213E-03 -.99934 4 Prefactor .99702 .13792 .21647E-03 -.92829 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 4.19013e-11 Minuit parameter uncertainties: 1 0.0534178 2 3.16924 3 0.171878 4 0.137965 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/835372': 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) = 6521.47334413 delta logL = 1.76724963241 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 6.987e-03 5.342e-02 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 5.193e+00 3.169e+00 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.970e-01 1.380e-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: 8.036e-01 1.719e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 4.69 Ra Dec: 250.119 39.763 Photon Index (Free Index): 5.19 +/- 3.17 Photon Flux (Free Index): 1.32e-07 +/- 7.13e-08 Energy Flux (Free Index): 1.73e-05 +/- 1.09e-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/835372/cmap_HighResolution_426211201_426470401_4FGL_J1640.4+3945_daily_bin721.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/835372 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', comment='SUCCESS', energy_flux2='1.73e-05', dlogl='1.77e+00', photon_flux2='1.32e-07', job_status='DONE', time_completed='2021-09-15 06:50:42.429460', photon_index_error2='3.17', photon_index2='5.19', ts='0.75', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='1.31e-07', energy_flux_error2='1.09e-05', EG='0.92', time_epoch_completed='1631713842.43', return_code='0', job_id='835372', GAL2='1.00', EG2='0.80', return_code2='102', photon_flux_error2='7.13e-08', ts2='4.69', photon_index='2.42' WHERE bin_id='721' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:50:42 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 835372: <4FGL_J1640.4+3945_daily_bin721> in cluster Done Job <4FGL_J1640.4+3945_daily_bin721> was submitted from host by user in cluster at Wed Sep 15 06:35:17 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:35:24 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:35:24 2021 Terminated at Wed Sep 15 06:50:43 2021 Results reported at Wed Sep 15 06:50:43 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin721 250.119 39.7626 426211201 426470401 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 : 840.00 sec. Max Memory : 897 MB Average Memory : 313.78 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 918 sec. Turnaround time : 926 sec. The output (if any) is above this job summary.