/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 103 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 = 7411 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin251 RA = 250.119, Dec = 39.7626 tmin = 304387201, tmax = 304646401 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='831612', job_status='RUN', time_executed='2021-09-15 06:23:18.450637', time_epoch_executed='1631712198.45' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='251' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/831612 Creating custom pfile directory: /scratch/kocevski/831612/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=304387201.0 && nMetStart<304646401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=304387201.0 && nMetStart<304646401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/831612/ft1_4FGL_J1640.4+3945_daily_bin251.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=304387201.0 && nMetStart<304646401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/831612/ft2_4FGL_J1640.4+3945_daily_bin251.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/831612/ft1_4FGL_J1640.4+3945_daily_bin251.fits outfile=/scratch/kocevski/831612/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin251.fits ra=250.119 dec=39.7626 rad=12.0 tmin=304387201.0 tmax=304646401.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 4.10 user 3.87 sys 0.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/831612/ft2_4FGL_J1640.4+3945_daily_bin251.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/831612/ft2_4FGL_J1640.4+3945_daily_bin251.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/831612/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin251.fits evtable="EVENTS" outfile="/scratch/kocevski/831612/ft1_filtered_4FGL_J1640.4+3945_daily_bin251.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.53 user 0.34 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/831612/ft1_filtered_4FGL_J1640.4+3945_daily_bin251.fits" evtable="EVENTS" scfile=/scratch/kocevski/831612/ft2_4FGL_J1640.4+3945_daily_bin251.fits sctable="SC_DATA" outfile=/scratch/kocevski/831612/ltcube_304387201_304646401_4FGL_J1640.4+3945_daily_bin251.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/831612/ft2_4FGL_J1640.4+3945_daily_bin251.fits .....................! real 13.62 user 13.24 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/831612/ft1_filtered_4FGL_J1640.4+3945_daily_bin251.fits evtable="EVENTS" scfile=/scratch/kocevski/831612/ft2_4FGL_J1640.4+3945_daily_bin251.fits sctable="SC_DATA" expcube=/scratch/kocevski/831612/ltcube_304387201_304646401_4FGL_J1640.4+3945_daily_bin251.fits outfile=/scratch/kocevski/831612/expmap_304387201_304646401_4FGL_J1640.4+3945_daily_bin251.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/831612/ltcube_304387201_304646401_4FGL_J1640.4+3945_daily_bin251.fits .....................! real 194.23 user 188.05 sys 5.65 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/831612/ft1_filtered_4FGL_J1640.4+3945_daily_bin251.fits scfile=/scratch/kocevski/831612/ft2_4FGL_J1640.4+3945_daily_bin251.fits outfile=/scratch/kocevski/831612/cmap_304387201_304646401_4FGL_J1640.4+3945_daily_bin251.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.57 user 0.40 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/831612/ft1_filtered_4FGL_J1640.4+3945_daily_bin251.fits scfile=/scratch/kocevski/831612/ft2_4FGL_J1640.4+3945_daily_bin251.fits outfile=/scratch/kocevski/831612/cmap_HighResolution_304387201_304646401_4FGL_J1640.4+3945_daily_bin251.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.40 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/831612/ft1_filtered_4FGL_J1640.4+3945_daily_bin251.fits evtable="EVENTS" scfile=/scratch/kocevski/831612/ft2_4FGL_J1640.4+3945_daily_bin251.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/831612/Model_4FGL_J1640.4+3945_daily_bin251.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/831612/ft1_filtered_4FGL_J1640.4+3945_daily_bin251.fits.....................! real 55.38 user 53.80 sys 1.32 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/831612/ft1_filtered_4FGL_J1640.4+3945_daily_bin251.fits', '/scratch/kocevski/831612/ft2_4FGL_J1640.4+3945_daily_bin251.fits', expMap='/scratch/kocevski/831612/expmap_304387201_304646401_4FGL_J1640.4+3945_daily_bin251.fits', expCube='/scratch/kocevski/831612/ltcube_304387201_304646401_4FGL_J1640.4+3945_daily_bin251.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/831612/Model_4FGL_J1640.4+3945_daily_bin251.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/831612/ft1_filtered_4FGL_J1640.4+3945_daily_bin251.fits Spacecraft file(s): /scratch/kocevski/831612/ft2_4FGL_J1640.4+3945_daily_bin251.fits Exposure map: /scratch/kocevski/831612/expmap_304387201_304646401_4FGL_J1640.4+3945_daily_bin251.fits Exposure cube: /scratch/kocevski/831612/ltcube_304387201_304646401_4FGL_J1640.4+3945_daily_bin251.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/831612/Model_4FGL_J1640.4+3945_daily_bin251.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) = 6970.50070487 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6970.49729014 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 26.589 1.0000 .10000E-03 10000. 3 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' 8.4562 1.0000 .10000E-03 10000. 5 'Prefactor ' 1.8654 1.0000 .10000E-03 10000. 6 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 7 'norm ' .39576 1.0000 .10000E-03 10000. 8 'norm ' 2.1001 1.0000 .10000E-03 10000. 9 'Prefactor ' 19.110 1.0000 .10000E-03 10000. 10 'Prefactor ' 13.640 1.0000 .10000E-03 10000. 11 'norm ' 82.441 1.0000 .10000E-03 10000. 12 'Prefactor ' 7.1094 1.0000 .10000E-03 10000. 13 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 4.2724 1.0000 .10000E-03 10000. 15 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 16 'norm ' 1.5404 1.0000 .10000E-03 10000. 17 'norm ' .46684 1.0000 .10000E-03 10000. 18 'Prefactor ' 5.1581 1.0000 .10000E-03 10000. 19 'norm ' .10000E-03 1.0000 .10000E-03 10000. 20 'norm ' .10064E-03 1.0000 .10000E-03 10000. 21 'norm ' 7.3170 1.0000 .10000E-03 10000. 22 'Prefactor ' 45.272 1.0000 .10000E-03 10000. 23 'norm ' .10038E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' .10025E-03 1.0000 .10000E-03 10000. 25 'Normalizat' .91723 1.0000 .10000E-01 10.000 26 'Prefactor ' .86785 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= 6970.497 FROM MIGRAD STATUS=CONVERGED 632 CALLS 3115 TOTAL EDM= .56E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .9% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 26.056 .72498E-06** at limit ** 2 Prefactor 26.590 54.051 .64423E-06 .47054E-06 3 Prefactor .10000E-03 1.3784 .30488E-08** at limit ** 4 Prefactor 8.4409 10.010 -.54604E-06 -.18794E-04 5 Prefactor 1.9031 154.07 .62662E-06 .11793E-04 6 Prefactor .10000E-03 1.8311 -.92773E-09** at limit ** 7 norm .39575 .20468 .33592E-08 -.54278E-04 8 norm 2.0997 2.1755 .56245E-08 -.29351E-03 9 Prefactor 19.113 25.090 -.14343E-06 .15279E-05 10 Prefactor 13.639 5.3447 -.51779E-06 .88078E-05 11 norm 82.442 53.236 .65285E-06 .30078E-05 12 Prefactor 7.1104 1.7479 -.21092E-07 .52216E-04 13 Prefactor .10000E-03 .65297 -.52276E-08** at limit ** 14 Prefactor 4.2724 2.9275 .74227E-07 .19989E-04 15 Prefactor .10000E-03 .73839 -.16294E-07** at limit ** 16 norm 1.5404 1.1775 -.22763E-08 .11421E-04 17 norm .46715 .68574 -.84156E-07 -.55185E-03 18 Prefactor 5.1556 6.6714 .15921E-05 .69019E-04 19 norm .10000E-03 .32994 -.92971E-07** at limit ** 20 norm .10000E-03 6.0201 .49959E-07** at limit ** 21 norm 7.3169 2.3054 -.95207E-07 .68775E-04 22 Prefactor 45.266 43.766 -.33779E-05 -.64444E-06 23 norm .10000E-03 1.6762 .27985E-07** at limit ** 24 Prefactor .10000E-03 25.336 -.78330E-06** at limit ** 25 Normalizat .91714 .19315 .73398E-07 .27512E-04 26 Prefactor .86786 .14787 .18600E-06 .19634E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 26.5898 Prefactor = 0.0001 Prefactor = 8.4409 Prefactor = 1.9031 Prefactor = 0.0001 norm = 0.395754 norm = 2.09968 Prefactor = 19.1131 Prefactor = 13.6388 norm = 82.4418 Prefactor = 7.1104 Prefactor = 0.0001 Prefactor = 4.27242 Prefactor = 0.0001 norm = 1.54042 norm = 0.467153 Prefactor = 5.15557 norm = 0.0001 norm = 0.0001 norm = 7.31689 Prefactor = 45.2661 norm = 0.0001 Prefactor = 0.0001 Normalizat = 0.917142 Prefactor = 0.867858 ********** ** 18 **HESSE ********** FCN= 6970.497 FROM HESSE STATUS=OK 466 CALLS 3581 TOTAL EDM= .42E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 26.301 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 26.590 54.055 .77689E-04 -1.4676 3 Prefactor .10000E-03 1.4079 .95659E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 8.4409 8.8933 .13785E-03 -1.5127 5 Prefactor 1.9031 121.25 .30503E-03 -1.5432 6 Prefactor .10000E-03 1.8578 .11017E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .39575 .20679 .20677E-04 -1.5582 8 norm 2.0997 10.656 .14239E-02 -1.5418 9 Prefactor 19.113 25.603 .91622E-04 -1.4833 10 Prefactor 13.639 5.3148 .10845E-03 -1.4969 11 norm 82.442 54.242 .44238E-04 -1.3890 12 Prefactor 7.1104 1.7362 .46781E-04 -1.5175 13 Prefactor .10000E-03 .66096 .12978E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 4.2724 2.9059 .11212E-03 -1.5295 15 Prefactor .10000E-03 .74198 .70022E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 1.5404 1.1833 .76831E-04 -1.5460 17 norm .46715 .58118 .78417E-03 -1.5571 18 Prefactor 5.1556 6.6560 .17701E-03 -1.5254 19 norm .10000E-03 .56576 .92449E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .10000E-03 6.2044 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 7.3169 2.3000 .67034E-04 -1.5167 22 Prefactor 45.266 43.511 .59588E-04 -1.4361 23 norm .10000E-03 1.6854 .10555E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .10000E-03 25.340 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .91714 .22582 .27836E-03 -.95860 26 Prefactor .86786 .17365 .23290E-03 -.97273 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.19232e-10 Minuit parameter uncertainties: 1 7.61915e-06 2 54.1546 3 5.15213e-07 4 8.89472 5 30.4446 6 2.47978e-07 7 0.206788 8 9.46265 9 25.6174 10 5.31496 11 54.2741 12 1.7362 13 4.16102e-07 14 2.90603 15 9.28628e-07 16 1.18327 17 0.581189 18 6.657 19 7.49051e-06 20 4.26573e-06 21 2.29999 22 43.5419 23 3.48931e-06 24 8.08844e-06 25 0.226054 26 0.173764 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6970.49728773 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 7.110e+00 1.736e+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: 8.679e-01 1.738e-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.171e-01 2.261e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 52.04 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 2.81e-07 +/- 6.85e-08 Energy Flux (Fixed Index): 8.95e-05 +/- 2.19e-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) = 6969.86367994 delta logL = 0.633607798141 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 6969.8627797 delta logL = 0.634508036601 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 4.8148 1.0000 .10000E-03 10000. 2 'Index ' 2.6940 1.0000 .0000 10.000 3 'Normalizat' .86645 1.0000 .10000E-01 10.000 4 'Prefactor ' .89607 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= 6969.863 FROM MIGRAD STATUS=CONVERGED 56 CALLS 220 TOTAL EDM= .39E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.8149 13.194 .45835E-02 .11142E-03 2 Index 2.6940 1.4425 .45723E-01 .21000E-03 3 Normalizat .86643 .11607 .64445E-01 .20714E-04 4 Prefactor .89610 .79864E-01 .44955E-01 .93140E-05 ERR DEF= .500 Final values: Prefactor = 4.81492 Index = 2.69399 Normalizat = 0.866427 Prefactor = 0.896096 ********** ** 18 **HESSE ********** FCN= 6969.863 FROM HESSE STATUS=OK 33 CALLS 253 TOTAL EDM= .27E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 4.8149 2.3638 .36302E-04 -1.5269 2 Index 2.6940 .27274 .19822E-02 -.47935 3 Normalizat .86643 .21621 .28506E-03 -.97650 4 Prefactor .89610 .17327 .22952E-03 -.96278 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.6773e-09 Minuit parameter uncertainties: 1 2.36388 2 0.272916 3 0.216427 4 0.173376 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/831612': 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) = 6969.86277966 delta logL = 0.634508072721 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 4.815e+00 2.364e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.694e+00 2.729e-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.961e-01 1.734e-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.664e-01 2.164e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 55.32 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.69 +/- 0.27 Photon Flux (Free Index): 3.26e-07 +/- 7.71e-08 Energy Flux (Free Index): 7.87e-05 +/- 1.86e-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/831612/cmap_HighResolution_304387201_304646401_4FGL_J1640.4+3945_daily_bin251.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/831612 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.81e-07', energy_flux2='7.87e-05', photon_flux_error='6.85e-08', dlogl='6.35e-01', energy_flux='8.95e-05', photon_flux2='3.26e-07', job_status='DONE', time_completed='2021-09-15 06:36:35.147769', photon_index_error2='0.27', photon_index2='2.69', ts='52.04', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='1.86e-05', EG='0.92', time_epoch_completed='1631712995.15', return_code='0', job_id='831612', GAL2='0.90', EG2='0.87', return_code2='0', energy_flux_error='2.19e-05', photon_flux_error2='7.71e-08', ts2='55.32', photon_index='2.42' WHERE bin_id='251' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:36:35 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 831612: <4FGL_J1640.4+3945_daily_bin251> in cluster Done Job <4FGL_J1640.4+3945_daily_bin251> 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:25 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:21:25 2021 Terminated at Wed Sep 15 06:36:35 2021 Results reported at Wed Sep 15 06:36:35 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin251 250.119 39.7626 304387201 304646401 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 : 793.00 sec. Max Memory : 619 MB Average Memory : 280.44 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 910 sec. Turnaround time : 971 sec. The output (if any) is above this job summary.