/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 13 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 = 7477 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin254 RA = 250.119, Dec = 39.7626 tmin = 305164801, tmax = 305424001 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='831616', job_status='RUN', time_executed='2021-09-15 06:21:55.352413', time_epoch_executed='1631712115.35' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='254' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/831616 Creating custom pfile directory: /scratch/kocevski/831616/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=305164801.0 && nMetStart<305424001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=305164801.0 && nMetStart<305424001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/831616/ft1_4FGL_J1640.4+3945_daily_bin254.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=305164801.0 && nMetStart<305424001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/831616/ft2_4FGL_J1640.4+3945_daily_bin254.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/831616/ft1_4FGL_J1640.4+3945_daily_bin254.fits outfile=/scratch/kocevski/831616/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin254.fits ra=250.119 dec=39.7626 rad=12.0 tmin=305164801.0 tmax=305424001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 3.54 user 3.30 sys 0.21 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/831616/ft2_4FGL_J1640.4+3945_daily_bin254.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/831616/ft2_4FGL_J1640.4+3945_daily_bin254.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/831616/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin254.fits evtable="EVENTS" outfile="/scratch/kocevski/831616/ft1_filtered_4FGL_J1640.4+3945_daily_bin254.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.54 user 0.37 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/831616/ft1_filtered_4FGL_J1640.4+3945_daily_bin254.fits" evtable="EVENTS" scfile=/scratch/kocevski/831616/ft2_4FGL_J1640.4+3945_daily_bin254.fits sctable="SC_DATA" outfile=/scratch/kocevski/831616/ltcube_305164801_305424001_4FGL_J1640.4+3945_daily_bin254.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/831616/ft2_4FGL_J1640.4+3945_daily_bin254.fits .....................! real 14.75 user 14.39 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/831616/ft1_filtered_4FGL_J1640.4+3945_daily_bin254.fits evtable="EVENTS" scfile=/scratch/kocevski/831616/ft2_4FGL_J1640.4+3945_daily_bin254.fits sctable="SC_DATA" expcube=/scratch/kocevski/831616/ltcube_305164801_305424001_4FGL_J1640.4+3945_daily_bin254.fits outfile=/scratch/kocevski/831616/expmap_305164801_305424001_4FGL_J1640.4+3945_daily_bin254.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/831616/ltcube_305164801_305424001_4FGL_J1640.4+3945_daily_bin254.fits .....................! real 191.60 user 186.28 sys 4.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/831616/ft1_filtered_4FGL_J1640.4+3945_daily_bin254.fits scfile=/scratch/kocevski/831616/ft2_4FGL_J1640.4+3945_daily_bin254.fits outfile=/scratch/kocevski/831616/cmap_305164801_305424001_4FGL_J1640.4+3945_daily_bin254.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=250.119 yref=39.7626 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.56 user 0.39 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/831616/ft1_filtered_4FGL_J1640.4+3945_daily_bin254.fits scfile=/scratch/kocevski/831616/ft2_4FGL_J1640.4+3945_daily_bin254.fits outfile=/scratch/kocevski/831616/cmap_HighResolution_305164801_305424001_4FGL_J1640.4+3945_daily_bin254.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.57 user 0.41 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/831616/ft1_filtered_4FGL_J1640.4+3945_daily_bin254.fits evtable="EVENTS" scfile=/scratch/kocevski/831616/ft2_4FGL_J1640.4+3945_daily_bin254.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/831616/Model_4FGL_J1640.4+3945_daily_bin254.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/831616/ft1_filtered_4FGL_J1640.4+3945_daily_bin254.fits.....................! real 64.03 user 62.65 sys 1.17 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/831616/ft1_filtered_4FGL_J1640.4+3945_daily_bin254.fits', '/scratch/kocevski/831616/ft2_4FGL_J1640.4+3945_daily_bin254.fits', expMap='/scratch/kocevski/831616/expmap_305164801_305424001_4FGL_J1640.4+3945_daily_bin254.fits', expCube='/scratch/kocevski/831616/ltcube_305164801_305424001_4FGL_J1640.4+3945_daily_bin254.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/831616/Model_4FGL_J1640.4+3945_daily_bin254.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/831616/ft1_filtered_4FGL_J1640.4+3945_daily_bin254.fits Spacecraft file(s): /scratch/kocevski/831616/ft2_4FGL_J1640.4+3945_daily_bin254.fits Exposure map: /scratch/kocevski/831616/expmap_305164801_305424001_4FGL_J1640.4+3945_daily_bin254.fits Exposure cube: /scratch/kocevski/831616/ltcube_305164801_305424001_4FGL_J1640.4+3945_daily_bin254.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/831616/Model_4FGL_J1640.4+3945_daily_bin254.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) = 8461.46255412 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8461.44252922 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 ' .10001E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 29.491 1.0000 .10000E-03 10000. 6 'Prefactor ' 8.7025 1.0000 .10000E-03 10000. 7 'norm ' .45627 1.0000 .10000E-03 10000. 8 'norm ' .10019E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10039E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 10.850 1.0000 .10000E-03 10000. 11 'norm ' 64.536 1.0000 .10000E-03 10000. 12 'Prefactor ' 8.8861 1.0000 .10000E-03 10000. 13 'Prefactor ' .18728 1.0000 .10000E-03 10000. 14 'Prefactor ' 8.3321 1.0000 .10000E-03 10000. 15 'Prefactor ' .34616 1.0000 .10000E-03 10000. 16 'norm ' 2.9317 1.0000 .10000E-03 10000. 17 'norm ' 1.6634 1.0000 .10000E-03 10000. 18 'Prefactor ' 4.7709 1.0000 .10000E-03 10000. 19 'norm ' .10004E-03 1.0000 .10000E-03 10000. 20 'norm ' .10001E-03 1.0000 .10000E-03 10000. 21 'norm ' 5.8208 1.0000 .10000E-03 10000. 22 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 23 'norm ' 1.0588 1.0000 .10000E-03 10000. 24 'Prefactor ' 20.898 1.0000 .10000E-03 10000. 25 'Normalizat' .63418 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.1682 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= 8461.443 FROM MIGRAD STATUS=CONVERGED 618 CALLS 3115 TOTAL EDM= .13E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 7.2968 -.55287E-06** at limit ** 2 Prefactor .10000E-03 37.393 -.99623E-05** at limit ** 3 Prefactor .10000E-03 1.0294 -.45642E-07** at limit ** 4 Prefactor .10000E-03 2.3921 -.90134E-07** at limit ** 5 Prefactor 29.490 19.468 -.50841E-06 .70732E-04 6 Prefactor 8.7024 4.1372 -.14165E-05 .35530E-03 7 norm .45629 .15484 -.10466E-07 .98410E-03 8 norm .10000E-03 16.135 .41304E-05** at limit ** 9 Prefactor .10000E-03 29.970 .14117E-04** at limit ** 10 Prefactor 10.850 4.6049 -.26698E-06 .17730E-03 11 norm 64.549 47.109 .13284E-04 .19448E-03 12 Prefactor 8.8893 2.5846 .25954E-07 .43885E-02 13 Prefactor .18612 1.4723 -.67657E-06 .52297E-04 14 Prefactor 8.3319 3.5657 .23187E-06 .16674E-04 15 Prefactor .33374 1.4618 -.12345E-05 .52425E-03 16 norm 2.9321 1.5384 -.14482E-07 .78634E-03 17 norm 1.6634 .89028 -.93756E-08 .59856E-04 18 Prefactor 4.7708 6.3122 -.42580E-06 -.18386E-03 19 norm .10000E-03 .23789 .34128E-07** at limit ** 20 norm .10000E-03 4.7087 -.66825E-08** at limit ** 21 norm 5.8206 1.9889 .64604E-08 .72668E-04 22 Prefactor .10000E-03 18.981 -.77411E-05** at limit ** 23 norm 1.0592 3.0709 -.76834E-07 -.10063E-02 24 Prefactor 20.885 36.966 -.19708E-04 .97449E-05 25 Normalizat .63426 .19188 .16114E-05 .24619E-03 26 Prefactor 1.1682 .15156 .11516E-06 .36580E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 29.4896 Prefactor = 8.70237 norm = 0.456294 norm = 0.0001 Prefactor = 0.0001 Prefactor = 10.8503 norm = 64.5492 Prefactor = 8.8893 Prefactor = 0.186124 Prefactor = 8.33188 Prefactor = 0.333741 norm = 2.93209 norm = 1.66336 Prefactor = 4.7708 norm = 0.0001 norm = 0.0001 norm = 5.82065 Prefactor = 0.0001 norm = 1.05918 Prefactor = 20.8849 Normalizat = 0.634257 Prefactor = 1.16824 ********** ** 18 **HESSE ********** FCN= 8461.443 FROM HESSE STATUS=OK 464 CALLS 3579 TOTAL EDM= .26E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 7.3046 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 37.386 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 1.0408 .91099E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 2.3980 .13873E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 29.490 19.468 .73777E-04 -1.4621 6 Prefactor 8.7024 4.1411 .11963E-03 -1.5118 7 norm .45629 .15423 .19361E-04 -1.5573 8 norm .10000E-03 16.271 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 30.199 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 10.850 4.5980 .12163E-03 -1.5049 11 norm 64.549 47.459 .24977E-03 -1.4099 12 Prefactor 8.8893 2.5857 .47384E-04 -1.5112 13 Prefactor .18612 4.6337 .13180E-02 -1.5622 14 Prefactor 8.3319 3.5617 .10676E-03 -1.5131 15 Prefactor .33374 5.7965 .20054E-02 -1.5592 16 norm 2.9321 1.5288 .79203E-04 -1.5365 17 norm 1.6634 .88170 .59287E-04 -1.5450 18 Prefactor 4.7708 6.2209 .18420E-03 -1.5271 19 norm .10000E-03 .37672 .85992E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .10000E-03 4.7481 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 5.8206 1.9856 .72054E-04 -1.5225 22 Prefactor .10000E-03 18.951 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 1.0592 2.9955 .26335E-03 -1.5502 24 Prefactor 20.885 36.376 .87616E-04 -1.4794 25 Normalizat .63426 .21621 .35300E-03 -1.0655 26 Prefactor 1.1682 .17261 .22339E-03 -.87314 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.5908e-09 Minuit parameter uncertainties: 1 1.94159e-06 2 2.98923e-06 3 1.88401e-06 4 3.11079e-06 5 19.4724 6 4.14119 7 0.154225 8 6.06474e-05 9 0.000109271 10 4.59813 11 47.487 12 2.58568 13 1.85702 14 3.56176 15 2.78165 16 1.52878 17 0.881707 18 6.22176 19 3.33896e-06 20 3.11449e-05 21 1.98562 22 2.68819e-05 23 2.99593 24 36.4148 25 0.216502 26 0.172691 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8461.44251806 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 8.889e+00 2.586e+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.168e+00 1.727e-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: 6.343e-01 2.165e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 86.39 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 3.51e-07 +/- 1.02e-07 Energy Flux (Fixed Index): 1.12e-04 +/- 3.26e-05 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) = 8459.03203947 delta logL = 2.41047859737 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 8459.02333985 delta logL = 2.41917820835 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 13.584 1.0000 .10000E-03 10000. 2 'Index ' 2.0587 1.0000 .0000 10.000 3 'Normalizat' .70172 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1322 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= 8459.023 FROM MIGRAD STATUS=CONVERGED 82 CALLS 250 TOTAL EDM= .33E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 13.584 3.1866 .61953E-04 .24092E-02 2 Index 2.0587 .15964 .26766E-02 .45341E-03 3 Normalizat .70176 .20614 .33776E-03 -.16762E-04 4 Prefactor 1.1321 .17044 .22661E-03 -.71501E-04 ERR DEF= .500 Final values: Prefactor = 13.5842 Index = 2.05874 Normalizat = 0.701758 Prefactor = 1.13213 ********** ** 18 **HESSE ********** FCN= 8459.023 FROM HESSE STATUS=OK 25 CALLS 275 TOTAL EDM= .32E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 13.584 3.1420 .12391E-04 -1.4971 2 Index 2.0587 .15734 .10707E-03 -.62890 3 Normalizat .70176 .20626 .13510E-04 -1.0382 4 Prefactor 1.1321 .17056 .45321E-04 -.88446 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.16472e-10 Minuit parameter uncertainties: 1 3.14206 2 0.157376 3 0.206485 4 0.170643 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/831616': 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) = 8459.02333974 delta logL = 2.41917832377 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.358e+01 3.142e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.059e+00 1.574e-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: 1.132e+00 1.706e-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: 7.018e-01 2.065e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 94.07 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.06 +/- 0.16 Photon Flux (Free Index): 2.79e-07 +/- 6.47e-08 Energy Flux (Free Index): 1.68e-04 +/- 4.96e-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/831616/cmap_HighResolution_305164801_305424001_4FGL_J1640.4+3945_daily_bin254.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/831616 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.51e-07', energy_flux2='1.68e-04', photon_flux_error='1.02e-07', dlogl='2.42e+00', energy_flux='1.12e-04', photon_flux2='2.79e-07', job_status='DONE', time_completed='2021-09-15 06:36:33.075276', photon_index_error2='0.16', photon_index2='2.06', ts='86.39', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='4.96e-05', EG='0.63', time_epoch_completed='1631712993.08', return_code='0', job_id='831616', GAL2='1.13', EG2='0.70', return_code2='0', energy_flux_error='3.26e-05', photon_flux_error2='6.47e-08', ts2='94.07', photon_index='2.42' WHERE bin_id='254' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:36:33 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 831616: <4FGL_J1640.4+3945_daily_bin254> in cluster Done Job <4FGL_J1640.4+3945_daily_bin254> was submitted from host by user in cluster at Wed Sep 15 06:20:24 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:21:34 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:21:34 2021 Terminated at Wed Sep 15 06:36:33 2021 Results reported at Wed Sep 15 06:36:33 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin254 250.119 39.7626 305164801 305424001 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 : 874.00 sec. Max Memory : 1257 MB Average Memory : 354.53 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 900 sec. Turnaround time : 969 sec. The output (if any) is above this job summary.