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 153 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 = 17378 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1058.0+4305_weekly_bin388 RA = 164.518, Dec = 43.0938 tmin = 473644801, tmax = 474249601 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='614291', job_status='RUN', time_executed='2021-07-17 12:52:43.411366', time_epoch_executed='1626551563.41' WHERE source_name='4FGL J1058.0+4305' and cadence='weekly' and bin_id='388' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/614291 Creating custom pfile directory: /scratch/kocevski/614291/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=473644801.0 && nMetStart<474249601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=473644801.0 && nMetStart<474249601.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/614291/ft1_4FGL_J1058.0+4305_weekly_bin388.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=473644801.0 && nMetStart<474249601.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/614291/ft2_4FGL_J1058.0+4305_weekly_bin388.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/614291/ft1_4FGL_J1058.0+4305_weekly_bin388.fits outfile=/scratch/kocevski/614291/ft1_filteredMKT_4FGL_J1058.0+4305_weekly_bin388.fits ra=164.518 dec=43.0938 rad=12.0 tmin=473644801.0 tmax=474249601.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 10.83 user 9.39 sys 0.33 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/614291/ft2_4FGL_J1058.0+4305_weekly_bin388.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/614291/ft2_4FGL_J1058.0+4305_weekly_bin388.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/614291/ft1_filteredMKT_4FGL_J1058.0+4305_weekly_bin388.fits evtable="EVENTS" outfile="/scratch/kocevski/614291/ft1_filtered_4FGL_J1058.0+4305_weekly_bin388.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.40 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/614291/ft1_filtered_4FGL_J1058.0+4305_weekly_bin388.fits" evtable="EVENTS" scfile=/scratch/kocevski/614291/ft2_4FGL_J1058.0+4305_weekly_bin388.fits sctable="SC_DATA" outfile=/scratch/kocevski/614291/ltcube_473644801_474249601_4FGL_J1058.0+4305_weekly_bin388.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/614291/ft2_4FGL_J1058.0+4305_weekly_bin388.fits .....................! real 37.33 user 35.63 sys 0.30 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/614291/ft1_filtered_4FGL_J1058.0+4305_weekly_bin388.fits evtable="EVENTS" scfile=/scratch/kocevski/614291/ft2_4FGL_J1058.0+4305_weekly_bin388.fits sctable="SC_DATA" expcube=/scratch/kocevski/614291/ltcube_473644801_474249601_4FGL_J1058.0+4305_weekly_bin388.fits outfile=/scratch/kocevski/614291/expmap_473644801_474249601_4FGL_J1058.0+4305_weekly_bin388.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/614291/ltcube_473644801_474249601_4FGL_J1058.0+4305_weekly_bin388.fits .....................! real 195.53 user 187.99 sys 4.45 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 226 point sources and 0 extended sources Setting source of interest to: 4FGL J1058.0+4305 @ 164.518 43.0938 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/614291/ft1_filtered_4FGL_J1058.0+4305_weekly_bin388.fits scfile=/scratch/kocevski/614291/ft2_4FGL_J1058.0+4305_weekly_bin388.fits outfile=/scratch/kocevski/614291/cmap_473644801_474249601_4FGL_J1058.0+4305_weekly_bin388.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=164.518 yref=43.0938 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.43 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/614291/ft1_filtered_4FGL_J1058.0+4305_weekly_bin388.fits scfile=/scratch/kocevski/614291/ft2_4FGL_J1058.0+4305_weekly_bin388.fits outfile=/scratch/kocevski/614291/cmap_HighResolution_473644801_474249601_4FGL_J1058.0+4305_weekly_bin388.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=164.518 yref=43.0938 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.45 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/614291/ft1_filtered_4FGL_J1058.0+4305_weekly_bin388.fits evtable="EVENTS" scfile=/scratch/kocevski/614291/ft2_4FGL_J1058.0+4305_weekly_bin388.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/614291/Model_4FGL_J1058.0+4305_weekly_bin388.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/614291/ft1_filtered_4FGL_J1058.0+4305_weekly_bin388.fits.....................! real 96.05 user 93.31 sys 1.28 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/614291/ft1_filtered_4FGL_J1058.0+4305_weekly_bin388.fits', '/scratch/kocevski/614291/ft2_4FGL_J1058.0+4305_weekly_bin388.fits', expMap='/scratch/kocevski/614291/expmap_473644801_474249601_4FGL_J1058.0+4305_weekly_bin388.fits', expCube='/scratch/kocevski/614291/ltcube_473644801_474249601_4FGL_J1058.0+4305_weekly_bin388.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/614291/Model_4FGL_J1058.0+4305_weekly_bin388.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1058.0+4305' 4FGL J1058.0+4305 Spectrum: PowerLaw 355 Prefactor: 7.092e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-14) 356 Index: 2.346e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 357 Scale: 1.363e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/614291/ft1_filtered_4FGL_J1058.0+4305_weekly_bin388.fits Spacecraft file(s): /scratch/kocevski/614291/ft2_4FGL_J1058.0+4305_weekly_bin388.fits Exposure map: /scratch/kocevski/614291/expmap_473644801_474249601_4FGL_J1058.0+4305_weekly_bin388.fits Exposure cube: /scratch/kocevski/614291/ltcube_473644801_474249601_4FGL_J1058.0+4305_weekly_bin388.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/614291/Model_4FGL_J1058.0+4305_weekly_bin388.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) = 12589.1979156 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 12589.1722564 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 20.007 1.0000 .10000E-03 10000. 2 'Prefactor ' 4.1769 1.0000 .10000E-03 10000. 3 'Prefactor ' 4.5043 1.0000 .10000E-03 10000. 4 'norm ' 8.4825 1.0000 .10000E-03 10000. 5 'Prefactor ' .85382E-03 1.0000 .10000E-03 10000. 6 'norm ' 11.632 1.0000 .10000E-03 10000. 7 'Prefactor ' 2.5226 1.0000 .10000E-03 10000. 8 'Prefactor ' 1.7624 1.0000 .10000E-03 10000. 9 'Prefactor ' .14089E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 10.072 1.0000 .10000E-03 10000. 11 'Prefactor ' 39.838 1.0000 .10000E-03 10000. 12 'Prefactor ' 16.481 1.0000 .10000E-03 10000. 13 'Prefactor ' 38.100 1.0000 .10000E-03 10000. 14 'Prefactor ' 26.851 1.0000 .10000E-03 10000. 15 'norm ' 2.8193 1.0000 .10000E-03 10000. 16 'Prefactor ' .16350E-02 1.0000 .10000E-03 10000. 17 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 18 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 19 'norm ' .25953 1.0000 .10000E-03 10000. 20 'norm ' 55.162 1.0000 .10000E-03 10000. 21 'Prefactor ' 2.0557 1.0000 .10000E-03 10000. 22 'Prefactor ' .10158E-03 1.0000 .10000E-03 10000. 23 'norm ' 2.5007 1.0000 .10000E-03 10000. 24 'Prefactor ' .29422 1.0000 .10000E-03 10000. 25 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 26 'norm ' .54658 1.0000 .10000E-03 10000. 27 'norm ' .10753E-03 1.0000 .10000E-03 10000. 28 'Prefactor ' 6.3910 1.0000 .10000E-03 10000. 29 'Prefactor ' 54.024 1.0000 .10000E-03 10000. 30 'Prefactor ' .16266E-03 1.0000 .10000E-03 10000. 31 'Normalizat' .84519 1.0000 .10000E-01 10.000 32 'Prefactor ' 1.0441 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7170E+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= 12589.17 FROM MIGRAD STATUS=FAILED 1622 CALLS 5903 TOTAL EDM= .92E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 20.007 9.4139 .89544E-04 -.36311E-04 2 Prefactor 4.1742 3.9802 .18604E-03 .47126E-03 3 Prefactor 4.5040 21.752 .18970E-03 -.10428E-04 4 norm 8.4828 2.1265 .79211E-04 -.93864E-04 5 Prefactor .10000E-03 2.8836 .39893E-01** at limit ** 6 norm 11.630 7.3009 .11746E-03 -.20848E-03 7 Prefactor 2.5254 9.6669 .25721E-03 -.23037E-03 8 Prefactor 1.7634 2.3140 .18548E-03 -.19246E-03 9 Prefactor .10000E-03 2.8961 .24548E-02** at limit ** 10 Prefactor 10.071 15.039 .63129E-03 -.69334E-04 11 Prefactor 39.846 45.295 .63506E-04 -.14894E-04 12 Prefactor 16.482 18.389 .98656E-04 -.17977E-04 13 Prefactor 38.043 60.930 .64933E-04 -.44191E-04 14 Prefactor 26.816 33.110 .77310E-04 .33163E-03 15 norm 2.8192 .31925 .20456E-04 -.31012E-03 16 Prefactor .10009E-03 58.503 .48291E-02** at limit ** 17 Prefactor .10000E-03 3.2169 .18142E-02** at limit ** 18 Prefactor .10025E-03 21.686 .19680 ** at limit ** 19 norm .27830 55.605 .43692E-02 -.92731E-04 20 norm 55.162 33.226 .54008E-04 -.67360E-05 21 Prefactor 2.0544 1.9239 .13433E-03 -.70245E-04 22 Prefactor .10000E-03 15.749 .18142E-02** at limit ** 23 norm 2.5010 1.9502 .12707E-03 .45037E-03 24 Prefactor .30429 16.691 .36355E-02 .35687E-02 25 Prefactor .10000E-03 27.559 .18142E-02** at limit ** 26 norm .54636 .80796 .10845E-03 -.59000E-03 27 norm .10000E-03 6.1655 .18142E-02** at limit ** 28 Prefactor 6.3886 3.2767 .13883E-03 .10586E-02 29 Prefactor 54.059 39.711 .54571E-04 .14666E-04 30 Prefactor .10028E-03 53.764 .63439E-02** at limit ** 31 Normalizat .84549 .14217 .25028E-03 .32986E-03 32 Prefactor 1.0436 .17174 .28919E-03 .26237E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 12589.17 FROM SIMPLEX STATUS=PROGRESS 1295 CALLS 7198 TOTAL EDM= .19E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 20.007 9.4139 .90975E-08 -1.4813 2 Prefactor 4.1742 3.9802 .21150E-07 -1.5299 3 Prefactor 4.5040 21.752 .44749E-07 -1.5283 4 norm 8.4828 2.1265 .80132E-08 -1.5125 5 Prefactor .10000E-03 2.8836 .19483E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 11.630 7.3009 .95000E-08 -1.5026 7 Prefactor 2.5254 9.6669 .27854E-07 -1.5390 8 Prefactor 1.7634 2.3140 .94128E-08 -1.5442 9 Prefactor .10000E-03 2.8961 .35514E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 10.071 15.039 .79255E-08 -1.5073 11 Prefactor 39.846 45.295 .18089E-07 -1.4445 12 Prefactor 16.482 18.389 .14858E-07 -1.4896 13 Prefactor 38.043 60.930 .43782E-07 -1.4474 14 Prefactor 26.816 33.110 .26148E-07 -1.4672 15 norm 2.8192 .31925 .81868E-09 -1.5372 16 Prefactor .10009E-03 58.503 .48254E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .10000E-03 3.2169 .26231E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10025E-03 21.686 .24743E-05 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .27830 55.605 .14164E-07 -1.5602 20 norm 55.162 33.226 .91580E-09 -1.4221 21 Prefactor 2.0544 1.9239 .36441E-09 -1.5421 22 Prefactor .10000E-03 15.749 .24373E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 2.5010 1.9502 .54589E-09 -1.5392 24 Prefactor .30429 16.691 .12211E-07 -1.5598 25 Prefactor .10000E-03 27.559 .80796E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 norm .54636 .80796 .10180E-09 -1.5560 27 norm .10000E-03 6.1655 .11590E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Prefactor 6.3886 3.2767 .23030E-09 -1.5202 29 Prefactor 54.059 39.711 .76101E-09 -1.4236 30 Prefactor .10028E-03 53.764 .25062E-05 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 31 Normalizat .84549 .14217 .48151E-10 -.98403 32 Prefactor 1.0436 .17174 .12553E-10 -.91290 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 12589.17 FROM MIGRAD STATUS=CONVERGED 652 CALLS 7850 TOTAL EDM= .19E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 20.007 9.4120 .35818E-05 .12696E-05 2 Prefactor 4.1742 3.9530 .74418E-05 .26276E-04 3 Prefactor 4.5040 21.721 .75882E-05 .11986E-05 4 norm 8.4828 2.1263 .31685E-05 .14352E-05 5 Prefactor .10000E-03 2.3413 .45849E-01** at limit ** 6 norm 11.630 7.2984 .46984E-05 .48394E-05 7 Prefactor 2.5256 9.6404 .10288E-04 -.48621E-05 8 Prefactor 1.7634 2.3134 .74192E-05 .49034E-05 9 Prefactor .10000E-03 2.8983 .49095E-03** at limit ** 10 Prefactor 10.072 15.037 .25251E-04 .16208E-05 11 Prefactor 39.846 45.288 .12701E-04 .71608E-06 12 Prefactor 16.482 18.383 .39463E-05 .57618E-05 13 Prefactor 38.043 60.902 .12987E-04 .21010E-05 14 Prefactor 26.815 33.102 .15462E-04 .14705E-05 15 norm 2.8192 .31884 .81823E-06 .72462E-03 16 Prefactor .10000E-03 60.526 .19316E-03** at limit ** 17 Prefactor .10000E-03 3.2171 .36285E-03** at limit ** 18 Prefactor .10025E-03 21.705 .19655 ** at limit ** 19 norm .27850 56.559 .17477E-03 .92372E-05 20 norm 55.162 33.225 .10802E-04 .16840E-05 21 Prefactor 2.0544 1.9085 .53732E-05 -.67706E-04 22 Prefactor .10000E-03 15.749 .36285E-03** at limit ** 23 norm 2.5010 1.9496 .50829E-05 -.17893E-04 24 Prefactor .30439 16.621 .72709E-03 .15177E-03 25 Prefactor .10000E-03 27.564 .36285E-03** at limit ** 26 norm .54637 .80749 .43378E-05 .52416E-05 27 norm .10000E-03 6.1685 .36285E-03** at limit ** 28 Prefactor 6.3886 3.2696 .55533E-05 .35539E-03 29 Prefactor 54.058 39.695 .10914E-04 .20833E-05 30 Prefactor .10000E-03 54.953 .25376E-03** at limit ** 31 Normalizat .84549 .14210 .10011E-04 .65409E-04 32 Prefactor 1.0436 .17188 .11568E-04 .44422E-04 ERR DEF= .500 Final values: norm = 20.0073 Prefactor = 4.17421 Prefactor = 4.50401 norm = 8.48281 Prefactor = 0.000100004 norm = 11.6298 Prefactor = 2.52557 Prefactor = 1.76345 Prefactor = 0.0001 Prefactor = 10.0715 Prefactor = 39.8465 Prefactor = 16.4817 Prefactor = 38.0431 Prefactor = 26.8149 norm = 2.8192 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.000100251 norm = 0.278504 norm = 55.1623 Prefactor = 2.05442 Prefactor = 0.0001 norm = 2.50103 Prefactor = 0.30439 Prefactor = 0.0001 norm = 0.54637 norm = 0.0001 Prefactor = 6.38861 Prefactor = 54.0585 Prefactor = 0.0001 Normalizat = 0.845491 Prefactor = 1.04359 ********** ** 18 **HESSE ********** FCN= 12589.17 FROM HESSE STATUS=OK 647 CALLS 8497 TOTAL EDM= .37E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 20.007 9.4197 .71635E-06 -1.4813 2 Prefactor 4.1742 3.9613 .14884E-05 -1.5299 3 Prefactor 4.5040 21.611 .15176E-05 -1.5283 4 norm 8.4828 2.1260 .63369E-06 -1.5125 5 Prefactor .10000E-03 2.4758 .44143E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 11.630 7.2799 .93968E-06 -1.5026 7 Prefactor 2.5256 9.6389 .20576E-05 -1.5390 8 Prefactor 1.7634 2.3132 .14838E-05 -1.5442 9 Prefactor .10000E-03 2.8984 .98190E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 10.072 15.034 .50503E-05 -1.5073 11 Prefactor 39.846 45.306 .25402E-05 -1.4445 12 Prefactor 16.482 18.302 .78925E-06 -1.4896 13 Prefactor 38.043 60.874 .25973E-05 -1.4474 14 Prefactor 26.815 33.095 .30924E-05 -1.4672 15 norm 2.8192 .31883 .36650E-06 -1.5372 16 Prefactor .10000E-03 60.526 .38633E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .10000E-03 3.2171 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .10025E-03 21.703 .19656 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .27850 56.587 .69907E-05 -1.5602 20 norm 55.162 33.221 .21603E-05 -1.4221 21 Prefactor 2.0544 1.9056 .10746E-05 -1.5421 22 Prefactor .10000E-03 15.749 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 2.5010 1.9494 .10166E-05 -1.5392 24 Prefactor .30439 16.555 .14542E-03 -1.5598 25 Prefactor .10000E-03 27.564 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 norm .54637 .80733 .86757E-06 -1.5560 27 norm .10000E-03 6.1687 .72569E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Prefactor 6.3886 3.2698 .11107E-05 -1.5202 29 Prefactor 54.058 39.644 .21828E-05 -1.4236 30 Prefactor .10000E-03 54.953 .50751E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 31 Normalizat .84549 .14239 .20023E-05 -.98403 32 Prefactor 1.0436 .17197 .23136E-05 -.91290 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.6725e-11 Minuit parameter uncertainties: 1 9.42039 2 3.96151 3 19.743 4 2.126 5 0.000201333 6 7.28043 7 9.64486 8 2.31327 9 5.99412e-06 10 15.0399 11 45.3454 12 18.308 13 60.9736 14 33.1172 15 0.318826 16 2.25327e-05 17 3.6368e-09 18 0.00466505 19 7.9459 20 33.2326 21 1.90569 22 3.24217e-07 23 1.94947 24 4.49013 25 4.71386e-07 26 0.807345 27 3.87493e-07 28 3.26994 29 39.6638 30 0.000278811 31 0.142454 32 0.172061 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 12589.1722198 Extracting fit parameters... 4FGL J1058.0+4305 Spectrum: PowerLaw 355 Prefactor: 3.804e+01 6.097e+01 1.000e-04 1.000e+04 ( 1.000e-14) 356 Index: 2.346e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 357 Scale: 1.363e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 714 Prefactor: 1.044e+00 1.721e-01 0.000e+00 1.000e+01 ( 1.000e+00) 715 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 716 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 713 Normalization: 8.455e-01 1.425e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.49 Ra Dec: 164.518 43.094 Photon Flux Upper Limit: 5.92e-08 ph cm-2 s-1 Energy Flux Upper Limit: 4.56e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/614291/likelihoodResults_473644801_474249601_4FGL_J1058.0+4305_weekly_bin388.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) = 12588.1888943 delta logL = 0.983325458767 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 12588.1807293 delta logL = 0.99149048109 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 4.7062 1.0000 .10000E-03 10000. 2 'Index ' 3.9875 1.0000 .0000 10.000 3 'Normalizat' .79005 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0901 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7170E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 12588.18 FROM MIGRAD STATUS=FAILED 104 CALLS 373 TOTAL EDM= .16E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.6861 104.89 .79549E-03 -.23024E-03 2 Index 3.9893 3.7462 .54506E-02 .14116E-02 3 Normalizat .79010 .10865 .25802E-03 -.37452E-04 4 Prefactor 1.0901 .13578 .28367E-03 .42241E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 12588.18 FROM SIMPLEX STATUS=UNCHANGED 93 CALLS 466 TOTAL EDM= .10E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.6861 104.89 .36247E-03 -.23024E-03 2 Index 3.9893 3.7462 .14282E-02 .14116E-02 3 Normalizat .79010 .10865 .79817E-04 -.37452E-04 4 Prefactor 1.0901 .13578 .47203E-04 .42241E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 12588.18 FROM MIGRAD STATUS=CONVERGED 40 CALLS 506 TOTAL EDM= .11E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.6861 37.332 .31820E-04 -.42874E-05 2 Index 3.9893 2.4336 .10901E-02 -.73418E-05 3 Normalizat .79010 .14188 .10321E-04 -.11456E-04 4 Prefactor 1.0901 .17631 .11347E-04 .17233E-04 ERR DEF= .500 Final values: Prefactor = 4.68612 Index = 3.98934 Normalizat = 0.790095 Prefactor = 1.09007 ********** ** 18 **HESSE ********** FCN= 12588.18 FROM HESSE STATUS=OK 23 CALLS 529 TOTAL EDM= .75E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 4.6861 14.876 .12728E-05 -1.5275 2 Index 3.9893 1.4117 .43605E-04 -.20353 3 Normalizat .79010 .14064 .20642E-05 -1.0044 4 Prefactor 1.0901 .17437 .22694E-05 -.89785 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.48813e-12 Minuit parameter uncertainties: 1 14.8882 2 1.432 3 0.1407 4 0.174458 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/614291': 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) = 12588.180728 delta logL = 0.991491758989 Extracting fit parameters... 4FGL J1058.0+4305 Spectrum: PowerLaw 355 Prefactor: 4.686e+00 1.489e+01 1.000e-04 1.000e+04 ( 1.000e-14) 356 Index: 3.989e+00 1.432e+00 0.000e+00 1.000e+01 (-1.000e+00) 357 Scale: 1.363e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 714 Prefactor: 1.090e+00 1.745e-01 0.000e+00 1.000e+01 ( 1.000e+00) 715 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 716 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 713 Normalization: 7.901e-01 1.407e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.64 Ra Dec: 164.518 43.094 Photon Index (Free Index): 3.99 +/- 1.43 Photon Flux (Free Index): 5.28e-08 +/- 3.86e-08 Energy Flux (Free Index): 7.92e-06 +/- 5.68e-06 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/614291/cmap_HighResolution_473644801_474249601_4FGL_J1058.0+4305_weekly_bin388.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/614291 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.56e-03', comment='SUCCESS', energy_flux2='7.92e-06', dlogl='9.91e-01', photon_flux2='5.28e-08', job_status='DONE', time_completed='2021-07-17 13:38:10.699514', photon_index_error2='1.43', photon_index2='3.99', ts='0.49', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='5.92e-08', energy_flux_error2='5.68e-06', EG='0.85', time_epoch_completed='1626554290.7', return_code='0', job_id='614291', GAL2='1.09', EG2='0.79', return_code2='0', photon_flux_error2='3.86e-08', ts2='2.64', photon_index='2.35' WHERE bin_id='388' AND source_name='4FGL J1058.0+4305' AND cadence='weekly'; Database successfully updated. Analysis Complete. Sat Jul 17 13:38:10 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 614291: <4FGL_J1058.0+4305_weekly_bin388> in cluster Done Job <4FGL_J1058.0+4305_weekly_bin388> was submitted from host by user in cluster at Sat Jul 17 12:46:55 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Jul 17 12:50:00 2021 was used as the home directory. was used as the working directory. Started at Sat Jul 17 12:50:00 2021 Terminated at Sat Jul 17 13:38:11 2021 Results reported at Sat Jul 17 13:38:11 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1058.0+4305_weekly_bin388 164.518 43.0938 473644801 474249601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1058.0+4305 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 2667.04 sec. Max Memory : 795 MB Average Memory : 324.09 MB Total Requested Memory : - Delta Memory : - Max Swap : 2935 MB Max Processes : 6 Max Threads : 21 Run time : 2891 sec. Turnaround time : 3076 sec. The output (if any) is above this job summary.