aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189) while getting realm /nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment. 'Matplotlib is building the font cache using fc-list. ' /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 167 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 = 17196 number of fields = 29 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_weekly_bin196 RA = 250.119, Dec = 39.7626 tmin = 357523201, tmax = 358128001 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='812924', job_status='RUN', time_executed='2021-07-25 09:08:10.570116', time_epoch_executed='1627229290.57' WHERE source_name='4FGL J1640.4+3945' and cadence='weekly' and bin_id='196' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/812924 Creating custom pfile directory: /scratch/kocevski/812924/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=357523201.0 && nMetStart<358128001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=357523201.0 && nMetStart<358128001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/812924/ft1_4FGL_J1640.4+3945_weekly_bin196.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=357523201.0 && nMetStart<358128001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/812924/ft2_4FGL_J1640.4+3945_weekly_bin196.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/812924/ft1_4FGL_J1640.4+3945_weekly_bin196.fits outfile=/scratch/kocevski/812924/ft1_filteredMKT_4FGL_J1640.4+3945_weekly_bin196.fits ra=250.119 dec=39.7626 rad=12.0 tmin=357523201.0 tmax=358128001.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 7.53 user 7.20 sys 0.30 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/812924/ft2_4FGL_J1640.4+3945_weekly_bin196.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/812924/ft2_4FGL_J1640.4+3945_weekly_bin196.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/812924/ft1_filteredMKT_4FGL_J1640.4+3945_weekly_bin196.fits evtable="EVENTS" outfile="/scratch/kocevski/812924/ft1_filtered_4FGL_J1640.4+3945_weekly_bin196.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.57 user 0.38 sys 0.18 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/812924/ft1_filtered_4FGL_J1640.4+3945_weekly_bin196.fits" evtable="EVENTS" scfile=/scratch/kocevski/812924/ft2_4FGL_J1640.4+3945_weekly_bin196.fits sctable="SC_DATA" outfile=/scratch/kocevski/812924/ltcube_357523201_358128001_4FGL_J1640.4+3945_weekly_bin196.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/812924/ft2_4FGL_J1640.4+3945_weekly_bin196.fits .....................! real 34.15 user 33.71 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/812924/ft1_filtered_4FGL_J1640.4+3945_weekly_bin196.fits evtable="EVENTS" scfile=/scratch/kocevski/812924/ft2_4FGL_J1640.4+3945_weekly_bin196.fits sctable="SC_DATA" expcube=/scratch/kocevski/812924/ltcube_357523201_358128001_4FGL_J1640.4+3945_weekly_bin196.fits outfile=/scratch/kocevski/812924/expmap_357523201_358128001_4FGL_J1640.4+3945_weekly_bin196.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/812924/ltcube_357523201_358128001_4FGL_J1640.4+3945_weekly_bin196.fits .....................! real 191.59 user 186.05 sys 5.02 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/812924/ft1_filtered_4FGL_J1640.4+3945_weekly_bin196.fits scfile=/scratch/kocevski/812924/ft2_4FGL_J1640.4+3945_weekly_bin196.fits outfile=/scratch/kocevski/812924/cmap_357523201_358128001_4FGL_J1640.4+3945_weekly_bin196.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.60 user 0.42 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/812924/ft1_filtered_4FGL_J1640.4+3945_weekly_bin196.fits scfile=/scratch/kocevski/812924/ft2_4FGL_J1640.4+3945_weekly_bin196.fits outfile=/scratch/kocevski/812924/cmap_HighResolution_357523201_358128001_4FGL_J1640.4+3945_weekly_bin196.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 1.14 user 0.41 sys 0.18 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/812924/ft1_filtered_4FGL_J1640.4+3945_weekly_bin196.fits evtable="EVENTS" scfile=/scratch/kocevski/812924/ft2_4FGL_J1640.4+3945_weekly_bin196.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/812924/Model_4FGL_J1640.4+3945_weekly_bin196.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/812924/ft1_filtered_4FGL_J1640.4+3945_weekly_bin196.fits.....................! real 110.38 user 106.61 sys 1.30 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/812924/ft1_filtered_4FGL_J1640.4+3945_weekly_bin196.fits', '/scratch/kocevski/812924/ft2_4FGL_J1640.4+3945_weekly_bin196.fits', expMap='/scratch/kocevski/812924/expmap_357523201_358128001_4FGL_J1640.4+3945_weekly_bin196.fits', expCube='/scratch/kocevski/812924/ltcube_357523201_358128001_4FGL_J1640.4+3945_weekly_bin196.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/812924/Model_4FGL_J1640.4+3945_weekly_bin196.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/812924/ft1_filtered_4FGL_J1640.4+3945_weekly_bin196.fits Spacecraft file(s): /scratch/kocevski/812924/ft2_4FGL_J1640.4+3945_weekly_bin196.fits Exposure map: /scratch/kocevski/812924/expmap_357523201_358128001_4FGL_J1640.4+3945_weekly_bin196.fits Exposure cube: /scratch/kocevski/812924/ltcube_357523201_358128001_4FGL_J1640.4+3945_weekly_bin196.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/812924/Model_4FGL_J1640.4+3945_weekly_bin196.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) = 15653.83298 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15653.8078663 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10016E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10008E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 4.9475 1.0000 .10000E-03 10000. 4 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' 1.3953 1.0000 .10000E-03 10000. 7 'norm ' .34683 1.0000 .10000E-03 10000. 8 'norm ' .10002E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' 19.152 1.0000 .10000E-03 10000. 10 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 11 'norm ' 18.222 1.0000 .10000E-03 10000. 12 'Prefactor ' 1.1424 1.0000 .10000E-03 10000. 13 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 2.8756 1.0000 .10000E-03 10000. 15 'Prefactor ' 1.7590 1.0000 .10000E-03 10000. 16 'norm ' 1.3223 1.0000 .10000E-03 10000. 17 'norm ' .43446 1.0000 .10000E-03 10000. 18 'Prefactor ' .80475E-02 1.0000 .10000E-03 10000. 19 'norm ' .46623 1.0000 .10000E-03 10000. 20 'norm ' .53379 1.0000 .10000E-03 10000. 21 'norm ' 1.5795 1.0000 .10000E-03 10000. 22 'Prefactor ' 3.1628 1.0000 .10000E-03 10000. 23 'norm ' 1.1184 1.0000 .10000E-03 10000. 24 'Prefactor ' 12.681 1.0000 .10000E-03 10000. 25 'Normalizat' .93484 1.0000 .10000E-01 10.000 26 'Prefactor ' .97781 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= 15653.81 FROM MIGRAD STATUS=CONVERGED 627 CALLS 2744 TOTAL EDM= .68E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 4.4880 .16357E-10** at limit ** 2 Prefactor .10000E-03 19.826 -.51760E-07** at limit ** 3 Prefactor 4.9466 2.6838 .11650E-06 -.15461E-03 4 Prefactor .10000E-03 1.8065 .29730E-07** at limit ** 5 Prefactor .10000E-03 5.4621 .45518E-08** at limit ** 6 Prefactor 1.3953 1.4462 .10539E-06 -.22247E-03 7 norm .34684 .99217E-01 .57772E-08 -.94467E-04 8 norm .10000E-03 3.2308 .78019E-08** at limit ** 9 Prefactor 19.146 12.594 -.26633E-07 -.14927E-04 10 Prefactor .10000E-03 .78436 .54322E-08** at limit ** 11 norm 18.226 17.541 .77679E-06 .34566E-04 12 Prefactor 1.1423 .65100 .23179E-08 -.12368E-03 13 Prefactor .10000E-03 .18485 -.11441E-07** at limit ** 14 Prefactor 2.8757 1.7657 .18605E-07 -.29815E-03 15 Prefactor 1.7592 1.4330 .45109E-07 -.21323E-03 16 norm 1.3223 .76516 .43277E-08 -.13981E-04 17 norm .43494 .51074 .16016E-06 -.16753E-03 18 Prefactor .10000E-03 2.0379 -.53747E-07** at limit ** 19 norm .46650 .35005 .17606E-07 -.15816E-03 20 norm .52786 2.4824 -.25778E-06 -.29493E-03 21 norm 1.5799 .86522 .25571E-07 -.22964E-03 22 Prefactor 3.1627 22.010 -.69906E-06 -.25455E-04 23 norm 1.1203 1.9731 .68560E-06 -.25182E-03 24 Prefactor 12.689 31.173 .34946E-05 .37320E-04 25 Normalizat .93488 .12153 -.44766E-06 -.21475E-04 26 Prefactor .97783 .96937E-01 -.14549E-06 -.14101E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 4.94657 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 1.39531 norm = 0.346837 norm = 0.0001 Prefactor = 19.1464 Prefactor = 0.0001 norm = 18.2262 Prefactor = 1.14235 Prefactor = 0.0001 Prefactor = 2.87571 Prefactor = 1.75921 norm = 1.32225 norm = 0.434941 Prefactor = 0.0001 norm = 0.466496 norm = 0.527861 norm = 1.57989 Prefactor = 3.16266 norm = 1.1203 Prefactor = 12.6893 Normalizat = 0.934877 Prefactor = 0.977827 ********** ** 18 **HESSE ********** FCN= 15653.81 FROM HESSE STATUS=OK 484 CALLS 3228 TOTAL EDM= .12E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 4.4944 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 19.850 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 4.9466 2.6857 .14297E-03 -1.5263 4 Prefactor .10000E-03 1.8402 .16415E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 5.4811 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 1.3953 1.4288 .14668E-03 -1.5472 7 norm .34684 .98484E-01 .18544E-04 -1.5590 8 norm .10000E-03 3.2414 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 19.146 12.626 .91521E-04 -1.4833 10 Prefactor .10000E-03 .79607 .10811E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 18.226 17.564 .93825E-04 -1.4854 12 Prefactor 1.1423 .61325 .66171E-04 -1.5494 13 Prefactor .10000E-03 .24098 .97406E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 2.8757 1.7335 .12160E-03 -1.5369 15 Prefactor 1.7592 1.4163 .12797E-03 -1.5443 16 norm 1.3223 .76097 .80419E-04 -1.5478 17 norm .43494 .47144 .89527E-03 -1.5576 18 Prefactor .10000E-03 2.1840 .49595E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .46650 .33632 .60944E-03 -1.5571 20 norm .52786 7.3077 .37094E-02 -1.5563 21 norm 1.5799 .85717 .82565E-04 -1.5457 22 Prefactor 3.1627 21.961 .22790E-03 -1.5352 23 norm 1.1203 1.9077 .24001E-02 -1.5496 24 Prefactor 12.689 32.336 .11249E-03 -1.4995 25 Normalizat .93488 .14280 .26640E-03 -.95245 26 Prefactor .97783 .11494 .21818E-03 -.93472 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.24435e-07 Minuit parameter uncertainties: 1 1.38986e-06 2 3.21357e-06 3 2.68572 4 2.25956e-06 5 3.14461e-06 6 1.42884 7 0.0984837 8 6.3831e-07 9 12.6277 10 2.48158e-07 11 17.5687 12 0.613256 13 3.54356e-07 14 1.73358 15 1.41634 16 0.760979 17 0.471447 18 5.05516e-05 19 0.336321 20 3.92829 21 0.857174 22 16.6764 23 1.9078 24 32.3808 25 0.142854 26 0.114967 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15653.807733 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.142e+00 6.133e-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: 9.778e-01 1.150e-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.349e-01 1.429e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 9.14 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 4.51e-08 +/- 2.42e-08 Energy Flux (Fixed Index): 1.44e-05 +/- 7.72e-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) = 15653.4995435 delta logL = 0.308189494681 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 15653.4849816 delta logL = 0.322751394331 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.4665 1.0000 .10000E-03 10000. 2 'Index ' 2.0436 1.0000 .0000 10.000 3 'Normalizat' .95307 1.0000 .10000E-01 10.000 4 'Prefactor ' .96868 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= 15653.48 FROM MIGRAD STATUS=CONVERGED 98 CALLS 263 TOTAL EDM= .32E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.4665 .84043 .81562E-04 -.70976E-03 2 Index 2.0435 .47455 .10320E-01 .46712E-03 3 Normalizat .95304 .13691 .26429E-03 -.22454E-04 4 Prefactor .96870 .11362 .21914E-03 -.23035E-04 ERR DEF= .500 Final values: Prefactor = 1.46653 Index = 2.04352 Normalizat = 0.953045 Prefactor = 0.968698 ********** ** 18 **HESSE ********** FCN= 15653.48 FROM HESSE STATUS=OK 25 CALLS 288 TOTAL EDM= .27E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.4665 .83167 .32625E-05 -1.5466 2 Index 2.0435 .46939 .20639E-02 -.63267 3 Normalizat .95304 .13696 .10572E-04 -.94621 4 Prefactor .96870 .11371 .87654E-05 -.93780 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.67775e-11 Minuit parameter uncertainties: 1 0.831679 2 0.470458 3 0.137013 4 0.113738 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/812924': 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) = 15653.4849815 delta logL = 0.322751435244 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.467e+00 8.317e-01 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.044e+00 4.705e-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: 9.687e-01 1.137e-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.530e-01 1.370e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 9.84 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.04 +/- 0.47 Photon Flux (Free Index): 2.94e-08 +/- 2.56e-08 Energy Flux (Free Index): 1.83e-05 +/- 1.28e-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/812924/cmap_HighResolution_357523201_358128001_4FGL_J1640.4+3945_weekly_bin196.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/812924 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.51e-08', energy_flux2='1.83e-05', photon_flux_error='2.42e-08', dlogl='3.23e-01', energy_flux='1.44e-05', photon_flux2='2.94e-08', job_status='DONE', time_completed='2021-07-25 09:32:12.437128', photon_index_error2='0.47', photon_index2='2.04', ts='9.14', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.28e-05', EG='0.93', time_epoch_completed='1627230732.44', return_code='0', job_id='812924', GAL2='0.97', EG2='0.95', return_code2='0', energy_flux_error='7.72e-06', photon_flux_error2='2.56e-08', ts2='9.84', photon_index='2.42' WHERE bin_id='196' AND source_name='4FGL J1640.4+3945' AND cadence='weekly'; Database successfully updated. Analysis Complete. Sun Jul 25 09:32:12 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 812924: <4FGL_J1640.4+3945_weekly_bin196> in cluster Done Job <4FGL_J1640.4+3945_weekly_bin196> was submitted from host by user in cluster at Sun Jul 25 08:36:31 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Jul 25 08:54:35 2021 was used as the home directory. was used as the working directory. Started at Sun Jul 25 08:54:35 2021 Terminated at Sun Jul 25 09:32:13 2021 Results reported at Sun Jul 25 09:32:13 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_weekly_bin196 250.119 39.7626 357523201 358128001 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 : 1287.05 sec. Max Memory : 1266 MB Average Memory : 233.14 MB Total Requested Memory : - Delta Memory : - Max Swap : 2934 MB Max Processes : 6 Max Threads : 21 Run time : 2257 sec. Turnaround time : 3342 sec. The output (if any) is above this job summary.