/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 45 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 = 7410 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin388 RA = 250.119, Dec = 39.7626 tmin = 339897601, tmax = 340156801 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='832898', job_status='RUN', time_executed='2021-09-15 06:27:01.134033', time_epoch_executed='1631712421.13' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='388' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/832898 Creating custom pfile directory: /scratch/kocevski/832898/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=339897601.0 && nMetStart<340156801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=339897601.0 && nMetStart<340156801.0' /Data/Flight/Level1/LPA Retrieving 48 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/832898/ft1_4FGL_J1640.4+3945_daily_bin388.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=339897601.0 && nMetStart<340156801.0' /Data/Flight/Level1/LPA Retrieving 48 files... Done. Merging files... Merged file saved to: /scratch/kocevski/832898/ft2_4FGL_J1640.4+3945_daily_bin388.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/832898/ft1_4FGL_J1640.4+3945_daily_bin388.fits outfile=/scratch/kocevski/832898/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin388.fits ra=250.119 dec=39.7626 rad=12.0 tmin=339897601.0 tmax=340156801.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.35 user 3.13 sys 0.20 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/832898/ft2_4FGL_J1640.4+3945_daily_bin388.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/832898/ft2_4FGL_J1640.4+3945_daily_bin388.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/832898/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin388.fits evtable="EVENTS" outfile="/scratch/kocevski/832898/ft1_filtered_4FGL_J1640.4+3945_daily_bin388.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.34 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/832898/ft1_filtered_4FGL_J1640.4+3945_daily_bin388.fits" evtable="EVENTS" scfile=/scratch/kocevski/832898/ft2_4FGL_J1640.4+3945_daily_bin388.fits sctable="SC_DATA" outfile=/scratch/kocevski/832898/ltcube_339897601_340156801_4FGL_J1640.4+3945_daily_bin388.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/832898/ft2_4FGL_J1640.4+3945_daily_bin388.fits .....................! real 14.43 user 14.06 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/832898/ft1_filtered_4FGL_J1640.4+3945_daily_bin388.fits evtable="EVENTS" scfile=/scratch/kocevski/832898/ft2_4FGL_J1640.4+3945_daily_bin388.fits sctable="SC_DATA" expcube=/scratch/kocevski/832898/ltcube_339897601_340156801_4FGL_J1640.4+3945_daily_bin388.fits outfile=/scratch/kocevski/832898/expmap_339897601_340156801_4FGL_J1640.4+3945_daily_bin388.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/832898/ltcube_339897601_340156801_4FGL_J1640.4+3945_daily_bin388.fits .....................! real 192.21 user 187.23 sys 4.52 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/832898/ft1_filtered_4FGL_J1640.4+3945_daily_bin388.fits scfile=/scratch/kocevski/832898/ft2_4FGL_J1640.4+3945_daily_bin388.fits outfile=/scratch/kocevski/832898/cmap_339897601_340156801_4FGL_J1640.4+3945_daily_bin388.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.38 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/832898/ft1_filtered_4FGL_J1640.4+3945_daily_bin388.fits scfile=/scratch/kocevski/832898/ft2_4FGL_J1640.4+3945_daily_bin388.fits outfile=/scratch/kocevski/832898/cmap_HighResolution_339897601_340156801_4FGL_J1640.4+3945_daily_bin388.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.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/832898/ft1_filtered_4FGL_J1640.4+3945_daily_bin388.fits evtable="EVENTS" scfile=/scratch/kocevski/832898/ft2_4FGL_J1640.4+3945_daily_bin388.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/832898/Model_4FGL_J1640.4+3945_daily_bin388.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/832898/ft1_filtered_4FGL_J1640.4+3945_daily_bin388.fits.....................! real 54.95 user 53.63 sys 1.16 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/832898/ft1_filtered_4FGL_J1640.4+3945_daily_bin388.fits', '/scratch/kocevski/832898/ft2_4FGL_J1640.4+3945_daily_bin388.fits', expMap='/scratch/kocevski/832898/expmap_339897601_340156801_4FGL_J1640.4+3945_daily_bin388.fits', expCube='/scratch/kocevski/832898/ltcube_339897601_340156801_4FGL_J1640.4+3945_daily_bin388.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/832898/Model_4FGL_J1640.4+3945_daily_bin388.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/832898/ft1_filtered_4FGL_J1640.4+3945_daily_bin388.fits Spacecraft file(s): /scratch/kocevski/832898/ft2_4FGL_J1640.4+3945_daily_bin388.fits Exposure map: /scratch/kocevski/832898/expmap_339897601_340156801_4FGL_J1640.4+3945_daily_bin388.fits Exposure cube: /scratch/kocevski/832898/ltcube_339897601_340156801_4FGL_J1640.4+3945_daily_bin388.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/832898/Model_4FGL_J1640.4+3945_daily_bin388.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) = 7237.72368019 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7237.45074917 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10206E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 1.0602 1.0000 .10000E-03 10000. 4 'Prefactor ' 1.5429 1.0000 .10000E-03 10000. 5 'Prefactor ' 1.3344 1.0000 .10000E-03 10000. 6 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 7 'norm ' .51753 1.0000 .10000E-03 10000. 8 'norm ' 1.9835 1.0000 .10000E-03 10000. 9 'Prefactor ' 21.387 1.0000 .10000E-03 10000. 10 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 11 'norm ' 63.449 1.0000 .10000E-03 10000. 12 'Prefactor ' .35734 1.0000 .10000E-03 10000. 13 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 5.9650 1.0000 .10000E-03 10000. 15 'Prefactor ' .10314E-03 1.0000 .10000E-03 10000. 16 'norm ' 1.4327 1.0000 .10000E-03 10000. 17 'norm ' 1.8818 1.0000 .10000E-03 10000. 18 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 19 'norm ' .80398 1.0000 .10000E-03 10000. 20 'norm ' .10002E-03 1.0000 .10000E-03 10000. 21 'norm ' 1.2187 1.0000 .10000E-03 10000. 22 'Prefactor ' 90.095 1.0000 .10000E-03 10000. 23 'norm ' .10195E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' .10075E-03 1.0000 .10000E-03 10000. 25 'Normalizat' .94424 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.0140 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= 7237.451 FROM MIGRAD STATUS=CONVERGED 614 CALLS 2772 TOTAL EDM= .19E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 31.669 -.25500E-05** at limit ** 2 Prefactor .10000E-03 57.513 .43345E-04** at limit ** 3 Prefactor 1.0599 2.4356 -.85076E-06 -.12185E-02 4 Prefactor 1.5459 3.6160 -.23281E-05 -.77995E-03 5 Prefactor 1.3221 37.923 -.11119E-05 -.18593E-03 6 Prefactor .10000E-03 1.4559 .59984E-07** at limit ** 7 norm .51743 .18725 -.22876E-07 -.45338E-02 8 norm 1.9837 7.7163 .25053E-05 -.34177E-03 9 Prefactor 21.388 17.705 -.35500E-06 -.13559E-03 10 Prefactor .10000E-03 3.5712 .11849E-05** at limit ** 11 norm 63.437 42.371 -.10342E-04 -.12797E-03 12 Prefactor .35825 1.1623 .42419E-06 -.18306E-02 13 Prefactor .10000E-03 .92044 .25253E-06** at limit ** 14 Prefactor 5.9650 3.4360 -.12440E-06 -.27032E-03 15 Prefactor .10000E-03 1.2018 .15726E-07** at limit ** 16 norm 1.4325 1.3559 -.68512E-07 -.75679E-03 17 norm 1.8818 .86698 -.38653E-07 -.29560E-03 18 Prefactor .10000E-03 2.5938 .22762E-06** at limit ** 19 norm .80396 .54716 -.11457E-07 -.12087E-03 20 norm .10000E-03 2.3968 -.98104E-07** at limit ** 21 norm 1.2185 1.4007 -.23440E-06 -.91364E-03 22 Prefactor 90.085 51.166 -.83492E-05 .62063E-04 23 norm .10000E-03 3.7582 -.43640E-06** at limit ** 24 Prefactor .10000E-03 66.237 -.46299E-04** at limit ** 25 Normalizat .94426 .18623 .13198E-05 -.15184E-03 26 Prefactor 1.0140 .14951 .58753E-06 -.96547E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 1.05995 Prefactor = 1.54593 Prefactor = 1.32212 Prefactor = 0.0001 norm = 0.517431 norm = 1.98366 Prefactor = 21.3875 Prefactor = 0.0001 norm = 63.437 Prefactor = 0.358253 Prefactor = 0.0001 Prefactor = 5.96501 Prefactor = 0.000100001 norm = 1.43247 norm = 1.8818 Prefactor = 0.0001 norm = 0.803958 norm = 0.0001 norm = 1.21854 Prefactor = 90.0851 norm = 0.0001 Prefactor = 0.0001 Normalizat = 0.944257 Prefactor = 1.014 ********** ** 18 **HESSE ********** FCN= 7237.451 FROM HESSE STATUS=OK 464 CALLS 3236 TOTAL EDM= .33E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 32.004 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 57.161 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 1.0599 2.3884 .19314E-03 -1.5502 4 Prefactor 1.5459 3.4801 .22306E-03 -1.5459 5 Prefactor 1.3221 36.266 .37989E-03 -1.5478 6 Prefactor .10000E-03 1.4862 .10008E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .51743 .18341 .17622E-04 -1.5564 8 norm 1.9837 7.6599 .29426E-03 -1.5426 9 Prefactor 21.388 17.834 .86610E-04 -1.4783 10 Prefactor .10000E-03 3.7308 .31334E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 63.437 41.711 .25189E-03 -1.4113 12 Prefactor .35825 1.1617 .10855E-02 -1.5588 13 Prefactor .10000E-03 1.2059 .12892E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 5.9650 3.4327 .11358E-03 -1.5219 15 Prefactor .10000E-03 3.4141 .17926E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 1.4325 1.3324 .92067E-04 -1.5469 17 norm 1.8818 .86464 .51188E-04 -1.5434 18 Prefactor .10000E-03 2.6236 .13370E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .80396 .54043 .50089E-04 -1.5529 20 norm .10000E-03 2.4025 .12861E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 1.2185 1.3764 .10326E-03 -1.5487 22 Prefactor 90.085 51.046 .42333E-04 -1.3807 23 norm .10000E-03 3.8439 .32163E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .10000E-03 65.679 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .94426 .21491 .27315E-03 -.94922 26 Prefactor 1.0140 .17513 .22367E-03 -.92264 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.34121e-09 Minuit parameter uncertainties: 1 4.11368e-05 2 0.000142529 3 2.38866 4 3.48054 5 13.8576 6 9.71534e-06 7 0.183407 8 7.66367 9 17.8386 10 1.04995e-05 11 41.7302 12 1.16181 13 3.48279e-05 14 3.43283 15 0.000112567 16 1.33239 17 0.864647 18 1.82154e-06 19 0.54043 20 7.07305e-06 21 1.37641 22 51.0706 23 6.07318e-05 24 0.000251523 25 0.215101 26 0.175229 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7237.45074737 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 3.583e-01 1.162e+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.014e+00 1.752e-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.443e-01 2.151e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.14 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1 Energy Flux Upper Limit: 7.97e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/832898/likelihoodResults_339897601_340156801_4FGL_J1640.4+3945_daily_bin388.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) = 7236.96272587 delta logL = 0.488021496691 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 7236.94492628 delta logL = 0.505821085106 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10781 1.0000 .10000E-03 10000. 2 'Index ' 3.6341 1.0000 .0000 10.000 3 'Normalizat' .89537 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0396 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= 7236.945 FROM MIGRAD STATUS=CONVERGED 54 CALLS 228 TOTAL EDM= .35E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10789 1.4999 .59661E-02 .38160E-02 2 Index 3.6338 2.4728 .10140 .20643E-03 3 Normalizat .89575 .34676E-01 .44842E-01 .22421E-04 4 Prefactor 1.0395 .29485E-01 .40559E-01 .93015E-05 ERR DEF= .500 Final values: Prefactor = 0.107889 Index = 3.63375 Normalizat = 0.895755 Prefactor = 1.03945 ********** ** 18 **HESSE ********** FCN= 7236.945 FROM HESSE STATUS=NOT POSDEF 33 CALLS 261 TOTAL EDM= .11E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10789 5.2039 .26866E-04 -1.5642 2 Index 3.6338 6.8166 .59225E-02 -.27677 3 Normalizat .89575 .19222 .27917E-03 -.96609 4 Prefactor 1.0395 .16027 .22108E-03 -.91426 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.10415e-06 Minuit parameter uncertainties: 1 1.49804 2 6.15615 3 0.192371 4 0.160347 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/832898': 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) = 7236.94492357 delta logL = 0.505823802635 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.079e-01 1.498e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 3.634e+00 6.156e+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: 1.039e+00 1.603e-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.958e-01 1.924e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.23 Ra Dec: 250.119 39.763 Photon Index (Free Index): 3.63 +/- 6.16 Photon Flux (Free Index): 5.48e-08 +/- 5.47e-08 Energy Flux (Free Index): 8.82e-06 +/- 1.60e-05 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/832898/cmap_HighResolution_339897601_340156801_4FGL_J1640.4+3945_daily_bin388.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/832898 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.97e-03', comment='SUCCESS', energy_flux2='8.82e-06', dlogl='5.06e-01', photon_flux2='5.48e-08', job_status='DONE', time_completed='2021-09-15 06:41:34.688583', photon_index_error2='6.16', photon_index2='3.63', ts='0.14', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='1.60e-05', EG='0.94', time_epoch_completed='1631713294.69', return_code='0', job_id='832898', GAL2='1.04', EG2='0.90', return_code2='102', photon_flux_error2='5.47e-08', ts2='1.23', photon_index='2.42' WHERE bin_id='388' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:41:34 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 832898: <4FGL_J1640.4+3945_daily_bin388> in cluster Done Job <4FGL_J1640.4+3945_daily_bin388> was submitted from host by user in cluster at Wed Sep 15 06:25:18 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:26:07 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:26:07 2021 Terminated at Wed Sep 15 06:41:35 2021 Results reported at Wed Sep 15 06:41:35 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin388 250.119 39.7626 339897601 340156801 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 : 872.00 sec. Max Memory : 1258 MB Average Memory : 345.84 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 927 sec. Turnaround time : 977 sec. The output (if any) is above this job summary.