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/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 6 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 = 17115 number of fields = 22 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J0358.9+6004_weekly_bin9 RA = 59.7328, Dec = 60.0767 tmin = 244425601, tmax = 245030401 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='400764', job_status='RUN', time_executed='2021-07-06 21:40:11.793371', time_epoch_executed='1625632811.79' WHERE source_name='4FGL J0358.9+6004' and cadence='weekly' and bin_id='9' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/400764 Creating custom pfile directory: /scratch/kocevski/400764/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=244425601.0 && nMetStart<245030401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=244425601.0 && nMetStart<245030401.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/400764/ft1_4FGL_J0358.9+6004_weekly_bin9.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=244425601.0 && nMetStart<245030401.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/400764/ft2_4FGL_J0358.9+6004_weekly_bin9.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/400764/ft1_4FGL_J0358.9+6004_weekly_bin9.fits outfile=/scratch/kocevski/400764/ft1_filteredMKT_4FGL_J0358.9+6004_weekly_bin9.fits ra=59.7328 dec=60.0767 rad=12.0 tmin=244425601.0 tmax=245030401.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.13 user 2.49 sys 0.24 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/400764/ft2_4FGL_J0358.9+6004_weekly_bin9.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/400764/ft2_4FGL_J0358.9+6004_weekly_bin9.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/400764/ft1_filteredMKT_4FGL_J0358.9+6004_weekly_bin9.fits evtable="EVENTS" outfile="/scratch/kocevski/400764/ft1_filtered_4FGL_J0358.9+6004_weekly_bin9.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 1.04 user 0.38 sys 0.19 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/400764/ft1_filtered_4FGL_J0358.9+6004_weekly_bin9.fits" evtable="EVENTS" scfile=/scratch/kocevski/400764/ft2_4FGL_J0358.9+6004_weekly_bin9.fits sctable="SC_DATA" outfile=/scratch/kocevski/400764/ltcube_244425601_245030401_4FGL_J0358.9+6004_weekly_bin9.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/400764/ft2_4FGL_J0358.9+6004_weekly_bin9.fits .....................! real 29.30 user 27.99 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/400764/ft1_filtered_4FGL_J0358.9+6004_weekly_bin9.fits evtable="EVENTS" scfile=/scratch/kocevski/400764/ft2_4FGL_J0358.9+6004_weekly_bin9.fits sctable="SC_DATA" expcube=/scratch/kocevski/400764/ltcube_244425601_245030401_4FGL_J0358.9+6004_weekly_bin9.fits outfile=/scratch/kocevski/400764/expmap_244425601_245030401_4FGL_J0358.9+6004_weekly_bin9.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/400764/ltcube_244425601_245030401_4FGL_J0358.9+6004_weekly_bin9.fits .....................! real 196.27 user 186.10 sys 4.86 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 Extended source G150.3+4.5 in ROI with RadialDisk spatial model. Extended source HB 3 in ROI with RadialDisk spatial model. Extended source W 3 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W3.fits is the correct path to the extended template. Extended source HB 9 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/HB9.fits is the correct path to the extended template. Added 170 point sources and 4 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J0358.9+6004 @ 59.7328 60.0767 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/400764/ft1_filtered_4FGL_J0358.9+6004_weekly_bin9.fits scfile=/scratch/kocevski/400764/ft2_4FGL_J0358.9+6004_weekly_bin9.fits outfile=/scratch/kocevski/400764/cmap_244425601_245030401_4FGL_J0358.9+6004_weekly_bin9.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=59.7328 yref=60.0767 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 2.60 user 0.44 sys 0.17 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/400764/ft1_filtered_4FGL_J0358.9+6004_weekly_bin9.fits scfile=/scratch/kocevski/400764/ft2_4FGL_J0358.9+6004_weekly_bin9.fits outfile=/scratch/kocevski/400764/cmap_HighResolution_244425601_245030401_4FGL_J0358.9+6004_weekly_bin9.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=59.7328 yref=60.0767 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.63 user 0.43 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/400764/ft1_filtered_4FGL_J0358.9+6004_weekly_bin9.fits evtable="EVENTS" scfile=/scratch/kocevski/400764/ft2_4FGL_J0358.9+6004_weekly_bin9.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/400764/Model_4FGL_J0358.9+6004_weekly_bin9.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 G150.3+4.5 adding source GAL_V02 adding source HB 3 adding source HB 9 adding source W 3 Working on... /scratch/kocevski/400764/ft1_filtered_4FGL_J0358.9+6004_weekly_bin9.fits.....................! real 1650.84 user 1628.96 sys 1.26 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/400764/ft1_filtered_4FGL_J0358.9+6004_weekly_bin9.fits', '/scratch/kocevski/400764/ft2_4FGL_J0358.9+6004_weekly_bin9.fits', expMap='/scratch/kocevski/400764/expmap_244425601_245030401_4FGL_J0358.9+6004_weekly_bin9.fits', expCube='/scratch/kocevski/400764/ltcube_244425601_245030401_4FGL_J0358.9+6004_weekly_bin9.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/400764/Model_4FGL_J0358.9+6004_weekly_bin9.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0358.9+6004' 4FGL J0358.9+6004 Spectrum: PowerLaw 327 Prefactor: 8.342e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 328 Index: 2.597e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 329 Scale: 9.308e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/400764/ft1_filtered_4FGL_J0358.9+6004_weekly_bin9.fits Spacecraft file(s): /scratch/kocevski/400764/ft2_4FGL_J0358.9+6004_weekly_bin9.fits Exposure map: /scratch/kocevski/400764/expmap_244425601_245030401_4FGL_J0358.9+6004_weekly_bin9.fits Exposure cube: /scratch/kocevski/400764/ltcube_244425601_245030401_4FGL_J0358.9+6004_weekly_bin9.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/400764/Model_4FGL_J0358.9+6004_weekly_bin9.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) = 84427.8180721 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 84427.8088962 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 5.3781 1.0000 .10000E-03 10000. 2 'norm ' 6.6185 1.0000 .10000E-03 10000. 3 'Prefactor ' 5.4865 1.0000 .10000E-03 10000. 4 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 1.3376 1.0000 .10000E-03 10000. 8 'Prefactor ' 27.720 1.0000 .10000E-03 10000. 9 'norm ' .10002E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10012E-03 1.0000 .10000E-03 10000. 11 'norm ' 2.6577 1.0000 .10000E-03 10000. 12 'norm ' 12.305 1.0000 .10000E-03 10000. 13 'Prefactor ' 18.199 1.0000 .10000E-03 10000. 14 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 15 'norm ' .10000E-03 1.0000 .10000E-03 10000. 16 'Normalizat' .94975 1.0000 .10000E-01 10.000 17 'Prefactor ' 1.0018 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5900E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 84427.81 FROM MIGRAD STATUS=CONVERGED 318 CALLS 1607 TOTAL EDM= .90E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 5.3781 .41748 -.16142E-07 -.99766E-03 2 norm 6.6180 2.6793 .75061E-07 -.30876E-02 3 Prefactor 5.4815 16.932 -.94563E-05 -.52263E-04 4 Prefactor .10000E-03 1.1104 .72803E-07** at limit ** 5 Prefactor .10000E-03 .79819 .79926E-07** at limit ** 6 Prefactor .10000E-03 7.1003 -.93677E-07** at limit ** 7 Prefactor 1.3330 3.7866 .58500E-06 -.13004E-02 8 Prefactor 27.710 20.999 -.11223E-04 -.12031E-03 9 norm .10000E-03 1.4352 -.23874E-07** at limit ** 10 Prefactor .10000E-03 2.3580 -.69106E-07** at limit ** 11 norm 2.6576 3.3938 -.76058E-07 -.59149E-04 12 norm 12.302 11.536 -.17142E-05 -.22771E-04 13 Prefactor 18.198 8.0698 -.46856E-07 .81354E-05 14 Prefactor .10000E-03 3.9589 .55510E-08** at limit ** 15 norm .10000E-03 16.486 .30423E-06** at limit ** 16 Normalizat .95007 .19689 .45842E-05 .17871E-03 17 Prefactor 1.0018 .20334E-01 -.67080E-07 -.10182E-02 ERR DEF= .500 Final values: norm = 5.37808 norm = 6.61803 Prefactor = 5.48153 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 1.33301 Prefactor = 27.7099 norm = 0.0001 Prefactor = 0.0001 norm = 2.65756 norm = 12.3022 Prefactor = 18.1979 Prefactor = 0.0001 norm = 0.0001 Normalizat = 0.950065 Prefactor = 1.0018 ********** ** 18 **HESSE ********** FCN= 84427.81 FROM HESSE STATUS=OK 223 CALLS 1830 TOTAL EDM= .12E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 5.3781 .41740 .50169E-04 -1.5244 2 norm 6.6180 2.8065 .77992E-03 -1.5193 3 Prefactor 5.4815 16.904 .17154E-03 -1.5240 4 Prefactor .10000E-03 1.1299 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 .82695 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 7.1276 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 1.3330 15.343 .18960E-02 -1.5477 8 Prefactor 27.710 20.972 .76092E-04 -1.4655 9 norm .10000E-03 1.4474 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 2.4047 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 2.6576 3.3817 .25004E-03 -1.5382 12 norm 12.302 11.529 .11420E-03 -1.5006 13 Prefactor 18.198 8.0665 .93885E-04 -1.4855 14 Prefactor .10000E-03 3.9610 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .10000E-03 16.488 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Normalizat .95007 .18560 .11378E-02 -.94723 17 Prefactor 1.0018 .19534E-01 .11713E-03 -.92670 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.15715e-08 Minuit parameter uncertainties: 1 0.417398 2 2.8066 3 16.9184 4 7.61798e-06 5 9.18928e-06 6 1.13995e-05 7 9.0474 8 20.9778 9 3.79886e-06 10 1.00687e-05 11 3.3819 12 11.5307 13 8.06699 14 2.12657e-06 15 1.41268e-07 16 0.185721 17 0.0195342 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 84427.8088946 Extracting fit parameters... 4FGL J0358.9+6004 Spectrum: PowerLaw 327 Prefactor: 2.771e+01 2.098e+01 1.000e-04 1.000e+04 ( 1.000e-13) 328 Index: 2.597e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 329 Scale: 9.308e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 575 Prefactor: 1.002e+00 1.953e-02 0.000e+00 1.000e+01 ( 1.000e+00) 576 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 577 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 570 Normalization: 9.501e-01 1.857e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.01 Ra Dec: 59.733 60.077 Photon Index (Fixed Index): 2.60 +/- 0.00 Photon Flux (Fixed Index): 5.70e-08 +/- 4.31e-08 Energy Flux (Fixed Index): 1.50e-05 +/- 1.13e-05 TS (Fixed Index): 2.01 Ra Dec: 59.733 60.077 Photon Flux Upper Limit: 1.35e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.06e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/400764/likelihoodResults_244425601_245030401_4FGL_J0358.9+6004_weekly_bin9.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 84427.6835385 delta logL = 0.125356092074 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 84427.6734485 delta logL = 0.135446113505 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 17.988 1.0000 .10000E-03 10000. 2 'Index ' 2.9896 1.0000 .0000 10.000 3 'Normalizat' .93420 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0026 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5900E+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. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 84427.67 FROM MIGRAD STATUS=FAILED 100 CALLS 439 TOTAL EDM= .18E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 17.973 422.55 .94434E-04 .55860E-04 2 Index 2.9891 6.4750 .13157E-01 .33112E-02 3 Normalizat .93434 .22079 .11461E-02 .43917E-03 4 Prefactor 1.0026 .21710E-01 .11709E-03 -.26720E-02 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 84427.67 FROM SIMPLEX STATUS=UNCHANGED 101 CALLS 540 TOTAL EDM= .11E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 17.973 422.55 .21049E-03 .55860E-04 2 Index 2.9891 6.4750 .54126E-03 .33112E-02 3 Normalizat .93434 .22079 .23176E-03 .43917E-03 4 Prefactor 1.0026 .21710E-01 .21068E-04 -.26720E-02 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 84427.67 FROM MIGRAD STATUS=CONVERGED 41 CALLS 581 TOTAL EDM= .74E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 17.973 29.636 .37773E-05 .0000 2 Index 2.9891 .98412 .26314E-02 .12614E-03 3 Normalizat .93434 .18504 .45842E-04 .79359E-06 4 Prefactor 1.0026 .19434E-01 .46836E-05 -.12428E-03 ERR DEF= .500 Final values: Prefactor = 17.9727 Index = 2.98907 Normalizat = 0.934336 Prefactor = 1.00259 ********** ** 18 **HESSE ********** FCN= 84427.67 FROM HESSE STATUS=OK 25 CALLS 606 TOTAL EDM= .29E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 17.973 26.725 .37773E-05 -1.4860 2 Index 2.9891 .88822 .52629E-03 -.41390 3 Normalizat .93434 .18450 .91684E-05 -.95264 4 Prefactor 1.0026 .19382E-01 .93672E-06 -.92643 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.85537e-12 Minuit parameter uncertainties: 1 26.743 2 0.893888 3 0.184629 4 0.0193825 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/400764': 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) = 84427.6734452 delta logL = 0.135449380527 Extracting fit parameters... 4FGL J0358.9+6004 Spectrum: PowerLaw 327 Prefactor: 1.797e+01 2.674e+01 1.000e-04 1.000e+04 ( 1.000e-13) 328 Index: 2.989e+00 8.939e-01 0.000e+00 1.000e+01 (-1.000e+00) 329 Scale: 9.308e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 575 Prefactor: 1.003e+00 1.938e-02 0.000e+00 1.000e+01 ( 1.000e+00) 576 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 577 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 570 Normalization: 9.343e-01 1.846e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.31 Ra Dec: 59.733 60.077 Photon Index (Free Index): 2.99 +/- 0.89 Photon Flux (Free Index): 7.12e-08 +/- 5.28e-08 Energy Flux (Free Index): 1.43e-05 +/- 1.05e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to -2.000e-01 [aplpy.core] INFO: Auto-setting vmax to 2.220e+00 [aplpy.core] Saving /scratch/kocevski/400764/cmap_HighResolution_244425601_245030401_4FGL_J0358.9+6004_weekly_bin9.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/400764 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', comment='SUCCESS', photon_flux='5.70e-08', energy_flux2='1.43e-05', photon_flux_error='4.31e-08', dlogl='1.35e-01', energy_flux='1.50e-05', photon_flux2='7.12e-08', job_status='DONE', time_completed='2021-07-06 23:10:25.210360', photon_index_error2='0.89', photon_index2='2.99', ts='2.01', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='1.35e-07', energy_flux_error2='1.05e-05', EG='0.95', time_epoch_completed='1625638225.21', return_code='0', job_id='400764', GAL2='1.00', EG2='0.93', return_code2='0', energy_flux_error='1.13e-05', photon_flux_error2='5.28e-08', ts2='2.31', photon_index='2.60' WHERE bin_id='9' AND source_name='4FGL J0358.9+6004' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 6 23:10:25 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 400764: <4FGL_J0358.9+6004_weekly_bin9> in cluster Done Job <4FGL_J0358.9+6004_weekly_bin9> was submitted from host by user in cluster at Tue Jul 6 21:25:48 2021 Job was executed on host(s) , in queue , as user in cluster at Tue Jul 6 21:38:53 2021 was used as the home directory. was used as the working directory. Started at Tue Jul 6 21:38:53 2021 Terminated at Tue Jul 6 23:10:26 2021 Results reported at Tue Jul 6 23:10:26 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0358.9+6004_weekly_bin9 59.7328 60.0767 244425601 245030401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0358.9+6004 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 5371.58 sec. Max Memory : 1269 MB Average Memory : 482.44 MB Total Requested Memory : - Delta Memory : - Max Swap : 2950 MB Max Processes : 6 Max Threads : 21 Run time : 5492 sec. Turnaround time : 6278 sec. The output (if any) is above this job summary.