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 7 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 = 17092 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J0152.2+3714_weekly_bin133 RA = 28.0631, Dec = 37.2341 tmin = 319420801, tmax = 320025601 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='262172', job_status='RUN', time_executed='2021-07-04 02:35:24.915057', time_epoch_executed='1625391324.92' WHERE source_name='4FGL J0152.2+3714' and cadence='weekly' and bin_id='133' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/262172 Creating custom pfile directory: /scratch/kocevski/262172/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=319420801.0 && nMetStart<320025601.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=319420801.0 && nMetStart<320025601.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/262172/ft1_4FGL_J0152.2+3714_weekly_bin133.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=319420801.0 && nMetStart<320025601.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/262172/ft2_4FGL_J0152.2+3714_weekly_bin133.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/262172/ft1_4FGL_J0152.2+3714_weekly_bin133.fits outfile=/scratch/kocevski/262172/ft1_filteredMKT_4FGL_J0152.2+3714_weekly_bin133.fits ra=28.0631 dec=37.2341 rad=12.0 tmin=319420801.0 tmax=320025601.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.90 user 7.05 sys 0.30 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/262172/ft2_4FGL_J0152.2+3714_weekly_bin133.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/262172/ft2_4FGL_J0152.2+3714_weekly_bin133.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/262172/ft1_filteredMKT_4FGL_J0152.2+3714_weekly_bin133.fits evtable="EVENTS" outfile="/scratch/kocevski/262172/ft1_filtered_4FGL_J0152.2+3714_weekly_bin133.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.81 user 0.37 sys 0.17 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/262172/ft1_filtered_4FGL_J0152.2+3714_weekly_bin133.fits" evtable="EVENTS" scfile=/scratch/kocevski/262172/ft2_4FGL_J0152.2+3714_weekly_bin133.fits sctable="SC_DATA" outfile=/scratch/kocevski/262172/ltcube_319420801_320025601_4FGL_J0152.2+3714_weekly_bin133.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/262172/ft2_4FGL_J0152.2+3714_weekly_bin133.fits .....................! real 27.95 user 26.95 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/262172/ft1_filtered_4FGL_J0152.2+3714_weekly_bin133.fits evtable="EVENTS" scfile=/scratch/kocevski/262172/ft2_4FGL_J0152.2+3714_weekly_bin133.fits sctable="SC_DATA" expcube=/scratch/kocevski/262172/ltcube_319420801_320025601_4FGL_J0152.2+3714_weekly_bin133.fits outfile=/scratch/kocevski/262172/expmap_319420801_320025601_4FGL_J0152.2+3714_weekly_bin133.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/262172/ltcube_319420801_320025601_4FGL_J0152.2+3714_weekly_bin133.fits .....................! real 195.43 user 187.58 sys 5.04 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 169 point sources and 0 extended sources Setting source of interest to: 4FGL J0152.2+3714 @ 28.0631 37.2341 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/262172/ft1_filtered_4FGL_J0152.2+3714_weekly_bin133.fits scfile=/scratch/kocevski/262172/ft2_4FGL_J0152.2+3714_weekly_bin133.fits outfile=/scratch/kocevski/262172/cmap_319420801_320025601_4FGL_J0152.2+3714_weekly_bin133.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=28.0631 yref=37.2341 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.75 user 0.41 sys 0.19 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/262172/ft1_filtered_4FGL_J0152.2+3714_weekly_bin133.fits scfile=/scratch/kocevski/262172/ft2_4FGL_J0152.2+3714_weekly_bin133.fits outfile=/scratch/kocevski/262172/cmap_HighResolution_319420801_320025601_4FGL_J0152.2+3714_weekly_bin133.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=28.0631 yref=37.2341 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.76 user 0.42 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/262172/ft1_filtered_4FGL_J0152.2+3714_weekly_bin133.fits evtable="EVENTS" scfile=/scratch/kocevski/262172/ft2_4FGL_J0152.2+3714_weekly_bin133.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/262172/Model_4FGL_J0152.2+3714_weekly_bin133.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/262172/ft1_filtered_4FGL_J0152.2+3714_weekly_bin133.fits.....................! real 225.95 user 218.94 sys 1.20 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/262172/ft1_filtered_4FGL_J0152.2+3714_weekly_bin133.fits', '/scratch/kocevski/262172/ft2_4FGL_J0152.2+3714_weekly_bin133.fits', expMap='/scratch/kocevski/262172/expmap_319420801_320025601_4FGL_J0152.2+3714_weekly_bin133.fits', expCube='/scratch/kocevski/262172/ltcube_319420801_320025601_4FGL_J0152.2+3714_weekly_bin133.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/262172/Model_4FGL_J0152.2+3714_weekly_bin133.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0152.2+3714' 4FGL J0152.2+3714 Spectrum: PowerLaw 264 Prefactor: 1.750e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 265 Index: 2.343e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 266 Scale: 1.251e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/262172/ft1_filtered_4FGL_J0152.2+3714_weekly_bin133.fits Spacecraft file(s): /scratch/kocevski/262172/ft2_4FGL_J0152.2+3714_weekly_bin133.fits Exposure map: /scratch/kocevski/262172/expmap_319420801_320025601_4FGL_J0152.2+3714_weekly_bin133.fits Exposure cube: /scratch/kocevski/262172/ltcube_319420801_320025601_4FGL_J0152.2+3714_weekly_bin133.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/262172/Model_4FGL_J0152.2+3714_weekly_bin133.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) = 22322.4620028 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 22322.4520819 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.0402 1.0000 .10000E-03 10000. 2 'Prefactor ' .37789 1.0000 .10000E-03 10000. 3 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 5 'norm ' 1.9340 1.0000 .10000E-03 10000. 6 'Prefactor ' 5.3493 1.0000 .10000E-03 10000. 7 'Prefactor ' 2.2148 1.0000 .10000E-03 10000. 8 'norm ' 1.0321 1.0000 .10000E-03 10000. 9 'norm ' 2.5058 1.0000 .10000E-03 10000. 10 'Prefactor ' 37.919 1.0000 .10000E-03 10000. 11 'norm ' .56712 1.0000 .10000E-03 10000. 12 'Prefactor ' 5.4465 1.0000 .10000E-03 10000. 13 'Prefactor ' 2.4426 1.0000 .10000E-03 10000. 14 'Prefactor ' .10498E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' 29.984 1.0000 .10000E-03 10000. 16 'norm ' 12.894 1.0000 .10000E-03 10000. 17 'Prefactor ' 13.139 1.0000 .10000E-03 10000. 18 'norm ' 2.4373 1.0000 .10000E-03 10000. 19 'Prefactor ' .10035E-03 1.0000 .10000E-03 10000. 20 'norm ' 1.2620 1.0000 .10000E-03 10000. 21 'norm ' 1.9944 1.0000 .10000E-03 10000. 22 'Prefactor ' 1.3437 1.0000 .10000E-03 10000. 23 'norm ' 3.0790 1.0000 .10000E-03 10000. 24 'Prefactor ' .10377E-03 1.0000 .10000E-03 10000. 25 'Normalizat' 1.1691 1.0000 .10000E-01 10.000 26 'Prefactor ' .91803 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5580E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 22322.45 FROM MIGRAD STATUS=CONVERGED 627 CALLS 3174 TOTAL EDM= .88E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 5.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.0415 8.6612 .14322E-05 -.31381E-04 2 Prefactor .40121 4.4749 .34916E-05 -.63457E-03 3 Prefactor .10000E-03 4.8658 .43862E-07** at limit ** 4 Prefactor .10000E-03 8.0081 .34119E-07** at limit ** 5 norm 1.9340 .84691 -.63189E-07 -.13419E-02 6 Prefactor 5.3504 4.5418 .11433E-06 -.57018E-03 7 Prefactor 2.2159 9.8798 .67116E-05 .12727E-03 8 norm 1.0322 .63070 .21406E-07 .84505E-04 9 norm 2.5059 .56274 .74911E-08 -.89326E-04 10 Prefactor 37.905 66.872 .17144E-05 -.10306E-03 11 norm .56740 .38935 -.16015E-06 -.56124E-02 12 Prefactor 5.4472 7.9424 -.45468E-07 -.22372E-04 13 Prefactor 2.4429 1.8007 .93802E-07 .15269E-03 14 Prefactor .10000E-03 32.575 .28831E-06** at limit ** 15 Prefactor 29.989 26.748 .45860E-07 .12848E-03 16 norm 12.894 3.8558 .39440E-07 -.35749E-03 17 Prefactor 13.131 6.3497 -.16363E-06 -.36043E-03 18 norm 2.4371 2.0536 .81544E-07 .11586E-04 19 Prefactor .10000E-03 1.6949 -.21423E-06** at limit ** 20 norm 1.2619 .42493 -.13074E-07 -.40533E-03 21 norm 1.9944 .28805 .42802E-08 -.43673E-04 22 Prefactor 1.3433 2.6182 .35963E-06 .63730E-04 23 norm 3.0789 3.1092 .65469E-07 .16735E-04 24 Prefactor .10000E-03 24.708 .25782E-06** at limit ** 25 Normalizat 1.1690 .13704 .79289E-06 -.18214E-03 26 Prefactor .91798 .69932E-01 -.87978E-06 -.83620E-03 ERR DEF= .500 Final values: Prefactor = 1.04154 Prefactor = 0.401212 Prefactor = 0.0001 Prefactor = 0.0001 norm = 1.93402 Prefactor = 5.35045 Prefactor = 2.21593 norm = 1.03224 norm = 2.5059 Prefactor = 37.9053 norm = 0.567398 Prefactor = 5.44718 Prefactor = 2.44287 Prefactor = 0.0001 Prefactor = 29.9887 norm = 12.8942 Prefactor = 13.1314 norm = 2.43714 Prefactor = 0.0001 norm = 1.26192 norm = 1.99443 Prefactor = 1.34329 norm = 3.07887 Prefactor = 0.0001 Normalizat = 1.16902 Prefactor = 0.917982 ********** ** 18 **HESSE ********** FCN= 22322.45 FROM HESSE STATUS=OK 472 CALLS 3646 TOTAL EDM= .22E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.0415 8.9785 .49124E-03 -1.5504 2 Prefactor .40121 13.229 .41389E-02 -1.5581 3 Prefactor .10000E-03 4.8944 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 8.0136 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 1.9340 .84284 .85398E-04 -1.5430 6 Prefactor 5.3504 4.5768 .17376E-03 -1.5245 7 Prefactor 2.2159 11.374 .13818E-02 -1.5410 8 norm 1.0322 .61501 .90158E-04 -1.5505 9 norm 2.5059 .56228 .51136E-04 -1.5391 10 Prefactor 37.905 66.692 .65087E-04 -1.4476 11 norm .56740 .37974 .71936E-03 -1.5557 12 Prefactor 5.4472 7.9199 .17218E-03 -1.5241 13 Prefactor 2.4429 1.7869 .16014E-03 -1.5395 14 Prefactor .10000E-03 33.786 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 29.989 26.754 .73170E-04 -1.4612 16 norm 12.894 3.8525 .11155E-03 -1.4990 17 Prefactor 13.131 6.3338 .11050E-03 -1.4983 18 norm 2.4371 2.0513 .16891E-03 -1.5396 19 Prefactor .10000E-03 8.2830 .36610E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 1.2619 .42092 .48202E-04 -1.5483 21 norm 1.9944 .28758 .29079E-04 -1.5426 22 Prefactor 1.3433 2.5514 .30265E-03 -1.5476 23 norm 3.0789 3.0534 .23115E-03 -1.5357 24 Prefactor .10000E-03 25.112 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.1690 .16098 .33449E-03 -.87566 26 Prefactor .91798 .81747E-01 .20496E-03 -.95516 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.20067e-09 Minuit parameter uncertainties: 1 6.11697 2 4.60815 3 3.64605e-07 4 3.1873e-05 5 0.842843 6 4.57714 7 10.0434 8 0.615012 9 0.562286 10 66.8232 11 0.379739 12 7.92141 13 1.78692 14 1.61357e-05 15 26.7647 16 3.8526 17 6.33408 18 2.05136 19 4.06293e-05 20 0.42092 21 0.287581 22 2.5516 23 3.05357 24 0.000217312 25 0.161045 26 0.0817578 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 22322.4520667 Extracting fit parameters... 4FGL J0152.2+3714 Spectrum: PowerLaw 264 Prefactor: 5.447e+00 7.921e+00 1.000e-04 1.000e+04 ( 1.000e-13) 265 Index: 2.343e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 266 Scale: 1.251e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 555 Prefactor: 9.180e-01 8.176e-02 0.000e+00 1.000e+01 ( 1.000e+00) 556 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 557 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 554 Normalization: 1.169e+00 1.610e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.58 Ra Dec: 28.063 37.234 Photon Flux Upper Limit: 6.01e-08 ph cm-2 s-1 Energy Flux Upper Limit: 4.62e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/262172/likelihoodResults_319420801_320025601_4FGL_J0152.2+3714_weekly_bin133.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) = 22322.2063864 delta logL = 0.245680260759 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 22322.1945629 delta logL = 0.257503798901 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 2.4592 1.0000 .10000E-03 10000. 2 'Index ' 3.0796 1.0000 .0000 10.000 3 'Normalizat' 1.1479 1.0000 .10000E-01 10.000 4 'Prefactor ' .92556 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5580E+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= 22322.19 FROM MIGRAD STATUS=FAILED 98 CALLS 297 TOTAL EDM= .18E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.4469 123.97 .22651E-03 -.12768E-03 2 Index 3.0830 6.3642 .77123E-02 .84471E-03 3 Normalizat 1.1475 .15888 .33724E-03 -.29531E-04 4 Prefactor .92578 .86898E-01 .20420E-03 -.27615E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 22322.19 FROM SIMPLEX STATUS=UNCHANGED 82 CALLS 379 TOTAL EDM= .18E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.4469 123.97 .11150E-03 -.12768E-03 2 Index 3.0830 6.3642 .11192E-02 .84471E-03 3 Normalizat 1.1475 .15888 .18267E-03 -.29531E-04 4 Prefactor .92578 .86898E-01 .95103E-04 -.27615E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 22322.19 FROM MIGRAD STATUS=CONVERGED 31 CALLS 410 TOTAL EDM= .45E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 2.4469 6.5714 .90606E-05 -.13150E-03 2 Index 3.0830 1.3339 .15425E-02 -.19487E-04 3 Normalizat 1.1475 .14968 .13489E-04 -.30340E-04 4 Prefactor .92578 .80974E-01 .81678E-05 -.27838E-04 ERR DEF= .500 Final values: Prefactor = 2.44691 Index = 3.08296 Normalizat = 1.14752 Prefactor = 0.925778 ********** ** 18 **HESSE ********** FCN= 22322.19 FROM HESSE STATUS=OK 23 CALLS 433 TOTAL EDM= .50E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 2.4469 5.8999 .18121E-05 -1.5395 2 Index 3.0830 1.2005 .61699E-04 -.39348 3 Normalizat 1.1475 .14983 .26979E-05 -.88240 4 Prefactor .92578 .81023E-01 .16336E-05 -.95246 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.00132e-12 Minuit parameter uncertainties: 1 5.90129 2 1.2144 3 0.149887 4 0.0810332 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/262172': 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) = 22322.1945559 delta logL = 0.257510719592 Extracting fit parameters... 4FGL J0152.2+3714 Spectrum: PowerLaw 264 Prefactor: 2.447e+00 5.901e+00 1.000e-04 1.000e+04 ( 1.000e-13) 265 Index: 3.083e+00 1.214e+00 0.000e+00 1.000e+01 (-1.000e+00) 266 Scale: 1.251e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 555 Prefactor: 9.258e-01 8.103e-02 0.000e+00 1.000e+01 ( 1.000e+00) 556 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 557 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 554 Normalization: 1.148e+00 1.499e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.13 Ra Dec: 28.063 37.234 Photon Index (Free Index): 3.08 +/- 1.21 Photon Flux (Free Index): 2.84e-08 +/- 3.07e-08 Energy Flux (Free Index): 5.46e-06 +/- 5.78e-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/262172/cmap_HighResolution_319420801_320025601_4FGL_J0152.2+3714_weekly_bin133.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/262172 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.62e-03', comment='SUCCESS', energy_flux2='5.46e-06', dlogl='2.58e-01', photon_flux2='2.84e-08', job_status='DONE', time_completed='2021-07-04 03:08:46.974222', photon_index_error2='1.21', photon_index2='3.08', ts='0.58', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='6.01e-08', energy_flux_error2='5.78e-06', EG='1.17', time_epoch_completed='1625393326.97', return_code='0', job_id='262172', GAL2='0.93', EG2='1.15', return_code2='0', photon_flux_error2='3.07e-08', ts2='1.13', photon_index='2.34' WHERE bin_id='133' AND source_name='4FGL J0152.2+3714' AND cadence='weekly'; Database successfully updated. Analysis Complete. Sun Jul 4 03:08:46 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 262172: <4FGL_J0152.2+3714_weekly_bin133> in cluster Done Job <4FGL_J0152.2+3714_weekly_bin133> was submitted from host by user in cluster at Sun Jul 4 02:34:12 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Jul 4 02:34:14 2021 was used as the home directory. was used as the working directory. Started at Sun Jul 4 02:34:14 2021 Terminated at Sun Jul 4 03:08:51 2021 Results reported at Sun Jul 4 03:08:51 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0152.2+3714_weekly_bin133 28.0631 37.2341 319420801 320025601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0152.2+3714 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 1967.62 sec. Max Memory : 1107 MB Average Memory : 353.49 MB Total Requested Memory : - Delta Memory : - Max Swap : 3410 MB Max Processes : 6 Max Threads : 21 Run time : 2076 sec. Turnaround time : 2079 sec. The output (if any) is above this job summary.