/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 58 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 = 7236 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin774 RA = 250.119, Dec = 39.7626 tmin = 439948801, tmax = 440208001 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='835460', job_status='RUN', time_executed='2021-09-15 06:37:50.483564', time_epoch_executed='1631713070.48' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='774' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/835460 Creating custom pfile directory: /scratch/kocevski/835460/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=439948801.0 && nMetStart<440208001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=439948801.0 && nMetStart<440208001.0' /Data/Flight/Level1/LPA Retrieving 45 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/835460/ft1_4FGL_J1640.4+3945_daily_bin774.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=439948801.0 && nMetStart<440208001.0' /Data/Flight/Level1/LPA Retrieving 45 files... Done. Merging files... Merged file saved to: /scratch/kocevski/835460/ft2_4FGL_J1640.4+3945_daily_bin774.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/835460/ft1_4FGL_J1640.4+3945_daily_bin774.fits outfile=/scratch/kocevski/835460/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin774.fits ra=250.119 dec=39.7626 rad=12.0 tmin=439948801.0 tmax=440208001.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.39 user 3.14 sys 0.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/835460/ft2_4FGL_J1640.4+3945_daily_bin774.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/835460/ft2_4FGL_J1640.4+3945_daily_bin774.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/835460/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin774.fits evtable="EVENTS" outfile="/scratch/kocevski/835460/ft1_filtered_4FGL_J1640.4+3945_daily_bin774.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.35 sys 0.14 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/835460/ft1_filtered_4FGL_J1640.4+3945_daily_bin774.fits" evtable="EVENTS" scfile=/scratch/kocevski/835460/ft2_4FGL_J1640.4+3945_daily_bin774.fits sctable="SC_DATA" outfile=/scratch/kocevski/835460/ltcube_439948801_440208001_4FGL_J1640.4+3945_daily_bin774.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/835460/ft2_4FGL_J1640.4+3945_daily_bin774.fits .....................! real 14.39 user 14.02 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/835460/ft1_filtered_4FGL_J1640.4+3945_daily_bin774.fits evtable="EVENTS" scfile=/scratch/kocevski/835460/ft2_4FGL_J1640.4+3945_daily_bin774.fits sctable="SC_DATA" expcube=/scratch/kocevski/835460/ltcube_439948801_440208001_4FGL_J1640.4+3945_daily_bin774.fits outfile=/scratch/kocevski/835460/expmap_439948801_440208001_4FGL_J1640.4+3945_daily_bin774.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/835460/ltcube_439948801_440208001_4FGL_J1640.4+3945_daily_bin774.fits .....................! real 191.11 user 186.76 sys 3.87 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/835460/ft1_filtered_4FGL_J1640.4+3945_daily_bin774.fits scfile=/scratch/kocevski/835460/ft2_4FGL_J1640.4+3945_daily_bin774.fits outfile=/scratch/kocevski/835460/cmap_439948801_440208001_4FGL_J1640.4+3945_daily_bin774.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.39 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/835460/ft1_filtered_4FGL_J1640.4+3945_daily_bin774.fits scfile=/scratch/kocevski/835460/ft2_4FGL_J1640.4+3945_daily_bin774.fits outfile=/scratch/kocevski/835460/cmap_HighResolution_439948801_440208001_4FGL_J1640.4+3945_daily_bin774.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.40 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/835460/ft1_filtered_4FGL_J1640.4+3945_daily_bin774.fits evtable="EVENTS" scfile=/scratch/kocevski/835460/ft2_4FGL_J1640.4+3945_daily_bin774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835460/Model_4FGL_J1640.4+3945_daily_bin774.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/835460/ft1_filtered_4FGL_J1640.4+3945_daily_bin774.fits.....................! real 62.91 user 61.58 sys 1.11 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/835460/ft1_filtered_4FGL_J1640.4+3945_daily_bin774.fits', '/scratch/kocevski/835460/ft2_4FGL_J1640.4+3945_daily_bin774.fits', expMap='/scratch/kocevski/835460/expmap_439948801_440208001_4FGL_J1640.4+3945_daily_bin774.fits', expCube='/scratch/kocevski/835460/ltcube_439948801_440208001_4FGL_J1640.4+3945_daily_bin774.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/835460/Model_4FGL_J1640.4+3945_daily_bin774.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/835460/ft1_filtered_4FGL_J1640.4+3945_daily_bin774.fits Spacecraft file(s): /scratch/kocevski/835460/ft2_4FGL_J1640.4+3945_daily_bin774.fits Exposure map: /scratch/kocevski/835460/expmap_439948801_440208001_4FGL_J1640.4+3945_daily_bin774.fits Exposure cube: /scratch/kocevski/835460/ltcube_439948801_440208001_4FGL_J1640.4+3945_daily_bin774.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/835460/Model_4FGL_J1640.4+3945_daily_bin774.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) = 7952.19582048 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7952.18626974 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 16.915 1.0000 .10000E-03 10000. 2 'Prefactor ' 42.857 1.0000 .10000E-03 10000. 3 'Prefactor ' 6.7055 1.0000 .10000E-03 10000. 4 'Prefactor ' .10052E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10190E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 2.6150 1.0000 .10000E-03 10000. 7 'norm ' .72503 1.0000 .10000E-03 10000. 8 'norm ' 4.4301 1.0000 .10000E-03 10000. 9 'Prefactor ' 19.811 1.0000 .10000E-03 10000. 10 'Prefactor ' .10068E-03 1.0000 .10000E-03 10000. 11 'norm ' .10004E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .80090 1.0000 .10000E-03 10000. 13 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 1.2541 1.0000 .10000E-03 10000. 15 'Prefactor ' 2.4238 1.0000 .10000E-03 10000. 16 'norm ' 6.1390 1.0000 .10000E-03 10000. 17 'norm ' .10000E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 19 'norm ' .10000E-03 1.0000 .10000E-03 10000. 20 'norm ' 5.1541 1.0000 .10000E-03 10000. 21 'norm ' 8.7248 1.0000 .10000E-03 10000. 22 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 23 'norm ' 4.3632 1.0000 .10000E-03 10000. 24 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 25 'Normalizat' 1.2731 1.0000 .10000E-01 10.000 26 'Prefactor ' .86948 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 7952.186 FROM MIGRAD STATUS=CONVERGED 89 CALLS 2615 TOTAL EDM= .11E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 16.915 1.0047 -.35708E-07 .21451E-03 2 Prefactor 42.858 1.0043 .25274E-07 -.54871E-03 3 Prefactor 6.7050 1.0426 -.21928E-06 -.46189E-03 4 Prefactor .10000E-03 4.3392 .11937E-06** at limit ** 5 Prefactor .10275E-03 16.030 .16481E-05** at limit ** 6 Prefactor 2.6156 3.3832 .47025E-05 .44052E-02 7 norm .72509 .19205 .77485E-08 .43574E-03 8 norm 4.4217 1.1074 -.17339E-06 .31143E-03 9 Prefactor 19.806 1.4406 -.41676E-06 .38115E-02 10 Prefactor .10000E-03 3.9292 -.15859E-06** at limit ** 11 norm .10003E-03 12.528 -.31153E-05** at limit ** 12 Prefactor .80070 .78768 -.12590E-06 -.27156E-04 13 Prefactor .10000E-03 .48994 .18920E-06** at limit ** 14 Prefactor 1.2546 2.3784 -.36426E-07 .76385E-04 15 Prefactor 2.4243 2.7773 -.32738E-06 -.38634E-03 16 norm 6.1389 2.4381 .40722E-06 .67836E-03 17 norm .10000E-03 .18976 .60436E-07** at limit ** 18 Prefactor .10000E-03 2.9361 -.45865E-06** at limit ** 19 norm .10000E-03 .26098 .23613E-06** at limit ** 20 norm 5.1551 1.0071 -.37098E-07 -.63111E-04 21 norm 8.7246 2.3457 -.25094E-06 -.79833E-03 22 Prefactor .10018E-03 15.338 -.19677E-05** at limit ** 23 norm 4.3632 1.0082 -.21371E-08 -.15824E-03 24 Prefactor .10250E-03 24.085 -.74693E-05** at limit ** 25 Normalizat 1.2733 .23463 -.91636E-06 .39378E-04 26 Prefactor .86938 .18393 .36855E-06 .28044E-04 ERR DEF= .500 Final values: Prefactor = 16.9146 Prefactor = 42.8578 Prefactor = 6.70498 Prefactor = 0.0001 Prefactor = 0.000102753 Prefactor = 2.61564 norm = 0.725092 norm = 4.42166 Prefactor = 19.8059 Prefactor = 0.0001 norm = 0.000100031 Prefactor = 0.800704 Prefactor = 0.0001 Prefactor = 1.25459 Prefactor = 2.42431 norm = 6.13894 norm = 0.0001 Prefactor = 0.0001 norm = 0.0001 norm = 5.15506 norm = 8.72462 Prefactor = 0.000100175 norm = 4.36315 Prefactor = 0.000102495 Normalizat = 1.27329 Prefactor = 0.869378 ********** ** 18 **HESSE ********** FCN= 7952.186 FROM HESSE STATUS=OK 518 CALLS 3133 TOTAL EDM= .34E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 16.915 16.044 .24346E-02 -1.4885 2 Prefactor 42.858 41.386 .15309E-02 -1.4398 3 Prefactor 6.7050 4.1270 .38739E-02 -1.5190 4 Prefactor .10000E-03 4.2735 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10275E-03 31.304 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 2.6156 3.4987 .63059E-02 -1.5384 7 norm .72509 .21175 .42207E-02 -1.5538 8 norm 4.4217 14.191 .47831E-02 -1.5287 9 Prefactor 19.806 26.672 .22497E-02 -1.4818 10 Prefactor .10000E-03 3.7988 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .10003E-03 12.691 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .80070 .77427 .12443E-01 -1.5529 13 Prefactor .10000E-03 .48070 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 1.2546 2.4164 .99740E-02 -1.5484 15 Prefactor 2.4243 2.8073 .65722E-02 -1.5397 16 norm 6.1389 2.4497 .40508E-02 -1.5212 17 norm .10000E-03 .18750 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10000E-03 2.9149 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .10000E-03 .25498 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 5.1551 9.1158 .44270E-02 -1.5254 21 norm 8.7246 2.3498 .33926E-02 -1.5117 22 Prefactor .10018E-03 16.265 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 4.3632 4.8687 .48207E-02 -1.5290 24 Prefactor .10250E-03 38.959 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.2733 .19893 .62295E-01 -.84367 26 Prefactor .86938 .15501 .44615E-01 -.97219 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.41835e-07 Minuit parameter uncertainties: 1 16.0481 2 41.4137 3 4.12721 4 6.07808e-05 5 0.0185778 6 3.49898 7 0.21175 8 14.2019 9 26.6884 10 5.39926e-05 11 0.00124716 12 0.774281 13 3.0223e-07 14 2.41663 15 2.80742 16 2.44972 17 1.17756e-07 18 4.81641e-06 19 3.12346e-07 20 9.11827 21 2.34986 22 0.00337704 23 4.86914 24 0.0197328 25 0.199046 26 0.15509 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 7952.18626902 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 8.007e-01 7.743e-01 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.694e-01 1.551e-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.273e+00 1.990e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 4.20 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 3.16e-08 +/- 3.06e-08 Energy Flux (Fixed Index): 1.01e-05 +/- 9.75e-06 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) = 7951.9524308 delta logL = 0.233838223264 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 7951.94790318 delta logL = 0.238365839265 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .84264 1.0000 .10000E-03 10000. 2 'Index ' 1.7160 1.0000 .0000 10.000 3 'Normalizat' 1.2942 1.0000 .10000E-01 10.000 4 'Prefactor ' .85993 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= 7951.948 FROM MIGRAD STATUS=CONVERGED 51 CALLS 212 TOTAL EDM= .49E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .84269 39.317 .12598E-01 -.48283E-03 2 Index 1.7158 6.7850 .27732 -.52411E-04 3 Normalizat 1.2943 .17275 .61917E-01 .90050E-05 4 Prefactor .85989 .83515E-01 .44492E-01 .18471E-04 ERR DEF= .500 Final values: Prefactor = 0.842691 Index = 1.71583 Normalizat = 1.29425 Prefactor = 0.859892 ********** ** 18 **HESSE ********** FCN= 7951.948 FROM HESSE STATUS=OK 35 CALLS 247 TOTAL EDM= .32E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .84269 .90354 .78425E-03 -1.5524 2 Index 1.7158 .86017 .15390E-01 -.71661 3 Normalizat 1.2943 .22680 .27386E-03 -.83738 4 Prefactor .85989 .18248 .26313E-03 -.97557 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.2184e-09 Minuit parameter uncertainties: 1 0.903557 2 0.867814 3 0.226978 4 0.182606 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/835460': 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) = 7951.94790313 delta logL = 0.238365893006 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 8.427e-01 9.036e-01 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 1.716e+00 8.678e-01 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 8.599e-01 1.826e-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.294e+00 2.270e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 4.70 Ra Dec: 250.119 39.763 Photon Index (Free Index): 1.72 +/- 0.87 Photon Flux (Free Index): 1.04e-08 +/- 1.81e-08 Energy Flux (Free Index): 1.61e-05 +/- 2.72e-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/835460/cmap_HighResolution_439948801_440208001_4FGL_J1640.4+3945_daily_bin774.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/835460 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.16e-08', energy_flux2='1.61e-05', photon_flux_error='3.06e-08', dlogl='2.38e-01', energy_flux='1.01e-05', photon_flux2='1.04e-08', job_status='DONE', time_completed='2021-09-15 06:50:46.870262', photon_index_error2='0.87', photon_index2='1.72', ts='4.20', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='2.72e-05', EG='1.27', time_epoch_completed='1631713846.87', return_code='0', job_id='835460', GAL2='0.86', EG2='1.29', return_code2='0', energy_flux_error='9.75e-06', photon_flux_error2='1.81e-08', ts2='4.70', photon_index='2.42' WHERE bin_id='774' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:50:46 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 835460: <4FGL_J1640.4+3945_daily_bin774> in cluster Done Job <4FGL_J1640.4+3945_daily_bin774> was submitted from host by user in cluster at Wed Sep 15 06:35:26 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:36:44 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:36:44 2021 Terminated at Wed Sep 15 06:50:47 2021 Results reported at Wed Sep 15 06:50:47 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin774 250.119 39.7626 439948801 440208001 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 : 774.33 sec. Max Memory : 618 MB Average Memory : 288.62 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 843 sec. Turnaround time : 921 sec. The output (if any) is above this job summary.