aklog: Couldn't determine realm of user:aklog: No credentials cache found 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 217 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 make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. 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 = 17407 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0509.4+1012_weekly_bin762 RA = 77.351, Dec = 10.2008 tmin = 699840001, tmax = 700444801 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='975289', job_status='RUN', time_executed='2023-03-14 01:54:17.505202', time_epoch_executed='1678784057.51' WHERE source_name='4FGL J0509.4+1012' and cadence='weekly' and bin_id='762' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/975289 Creating custom pfile directory: /scratch/kocevski/975289/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=699840001.0 && nMetStart<700444801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=699840001.0 && nMetStart<700444801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/975289/ft1_4FGL_J0509.4+1012_weekly_bin762.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=699840001.0 && nMetStart<700444801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /scratch/kocevski/975289/ft2_4FGL_J0509.4+1012_weekly_bin762.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/975289/ft1_4FGL_J0509.4+1012_weekly_bin762.fits outfile=/scratch/kocevski/975289/ft1_filteredMKT_4FGL_J0509.4+1012_weekly_bin762.fits ra=77.351 dec=10.2008 rad=12.0 tmin=699840001.0 tmax=700444801.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 8.03 user 7.73 sys 0.28 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/975289/ft2_4FGL_J0509.4+1012_weekly_bin762.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/975289/ft2_4FGL_J0509.4+1012_weekly_bin762.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/975289/ft1_filteredMKT_4FGL_J0509.4+1012_weekly_bin762.fits evtable="EVENTS" outfile="/scratch/kocevski/975289/ft1_filtered_4FGL_J0509.4+1012_weekly_bin762.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.54 user 0.37 sys 0.15 Number of photons that the gtmktime cut: 3206 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/975289/ft1_filtered_4FGL_J0509.4+1012_weekly_bin762.fits" evtable="EVENTS" scfile=/scratch/kocevski/975289/ft2_4FGL_J0509.4+1012_weekly_bin762.fits sctable="SC_DATA" outfile=/scratch/kocevski/975289/ltcube_699840001_700444801_4FGL_J0509.4+1012_weekly_bin762.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/975289/ft2_4FGL_J0509.4+1012_weekly_bin762.fits .....................! real 25.89 user 25.49 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/975289/ft1_filtered_4FGL_J0509.4+1012_weekly_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/975289/ft2_4FGL_J0509.4+1012_weekly_bin762.fits sctable="SC_DATA" expcube=/scratch/kocevski/975289/ltcube_699840001_700444801_4FGL_J0509.4+1012_weekly_bin762.fits outfile=/scratch/kocevski/975289/expmap_699840001_700444801_4FGL_J0509.4+1012_weekly_bin762.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/975289/ltcube_699840001_700444801_4FGL_J0509.4+1012_weekly_bin762.fits .....................! real 190.85 user 185.95 sys 4.56 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 S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/S147.fits is the correct path to the extended template. Extended source IC 443 in ROI with RadialGaussian spatial model. Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/Rosette.fits is the correct path to the extended template. Added 159 point sources and 3 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 J0509.4+1012 @ 77.351 10.2008 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/975289/ft1_filtered_4FGL_J0509.4+1012_weekly_bin762.fits scfile=/scratch/kocevski/975289/ft2_4FGL_J0509.4+1012_weekly_bin762.fits outfile=/scratch/kocevski/975289/cmap_699840001_700444801_4FGL_J0509.4+1012_weekly_bin762.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=77.351 yref=10.2008 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.57 user 0.40 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/975289/ft1_filtered_4FGL_J0509.4+1012_weekly_bin762.fits scfile=/scratch/kocevski/975289/ft2_4FGL_J0509.4+1012_weekly_bin762.fits outfile=/scratch/kocevski/975289/cmap_HighResolution_699840001_700444801_4FGL_J0509.4+1012_weekly_bin762.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=77.351 yref=10.2008 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.58 user 0.41 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/975289/ft1_filtered_4FGL_J0509.4+1012_weekly_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/975289/ft2_4FGL_J0509.4+1012_weekly_bin762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/975289/Model_4FGL_J0509.4+1012_weekly_bin762.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 adding source IC 443 adding source Rosette adding source S 147 Working on... /scratch/kocevski/975289/ft1_filtered_4FGL_J0509.4+1012_weekly_bin762.fits.....................! real 726.68 user 723.96 sys 1.55 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/975289/ft1_filtered_4FGL_J0509.4+1012_weekly_bin762.fits', '/scratch/kocevski/975289/ft2_4FGL_J0509.4+1012_weekly_bin762.fits', expMap='/scratch/kocevski/975289/expmap_699840001_700444801_4FGL_J0509.4+1012_weekly_bin762.fits', expCube='/scratch/kocevski/975289/ltcube_699840001_700444801_4FGL_J0509.4+1012_weekly_bin762.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/975289/Model_4FGL_J0509.4+1012_weekly_bin762.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0509.4+1012' 4FGL J0509.4+1012 Spectrum: PowerLaw 227 Prefactor: 1.153e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 228 Index: 2.408e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 229 Scale: 9.562e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/975289/ft1_filtered_4FGL_J0509.4+1012_weekly_bin762.fits Spacecraft file(s): /scratch/kocevski/975289/ft2_4FGL_J0509.4+1012_weekly_bin762.fits Exposure map: /scratch/kocevski/975289/expmap_699840001_700444801_4FGL_J0509.4+1012_weekly_bin762.fits Exposure cube: /scratch/kocevski/975289/ltcube_699840001_700444801_4FGL_J0509.4+1012_weekly_bin762.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/975289/Model_4FGL_J0509.4+1012_weekly_bin762.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) = 31908.479315 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 31908.257123 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 13.963 1.0000 .0000 .10000E+07 2 'Prefactor ' 6.1842 1.0000 .0000 .10000E+07 3 'norm ' 2.7160 1.0000 .0000 .10000E+07 4 'Prefactor ' .52736E-08 1.0000 .0000 .10000E+07 5 'norm ' 2.1292 1.0000 .0000 .10000E+07 6 'Prefactor ' .97844E-06 1.0000 .0000 .10000E+07 7 'Prefactor ' .33207E-06 1.0000 .0000 .10000E+07 8 'Prefactor ' .75664E-04 1.0000 .0000 .10000E+07 9 'norm ' .27684 1.0000 .0000 .10000E+07 10 'norm ' 5.7130 1.0000 .0000 .10000E+07 11 'Prefactor ' .55511E-09 1.0000 .0000 .10000E+07 12 'norm ' 2.6227 1.0000 .0000 .10000E+07 13 'Prefactor ' .44455 1.0000 .0000 .10000E+07 14 'Prefactor ' .12212E-08 1.0000 .0000 .10000E+07 15 'norm ' 1.4957 1.0000 .0000 .10000E+07 16 'Prefactor ' .61062E-09 1.0000 .0000 .10000E+07 17 'norm ' .42935E-02 1.0000 .0000 .10000E+07 18 'norm ' 2.4441 1.0000 .0000 .10000E+07 19 'Prefactor ' .81102E-07 1.0000 .0000 .10000E+07 20 'Prefactor ' .11763E-06 1.0000 .0000 .10000E+07 21 'Prefactor ' 5.2782 1.0000 .0000 .10000E+07 22 'Normalizat' 1.2546 1.0000 .10000E-01 10.000 23 'Prefactor ' .93816 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 31908.26 FROM MIGRAD STATUS=CONVERGED 144 CALLS 1872 TOTAL EDM= .14E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 13.960 3.6606 .63796E-08 -.15177E-01 2 Prefactor 6.1837 6.9181 -.32667E-07 .21591E-03 3 norm 2.7125 1.9318 -.14753E-07 .17902E-03 4 Prefactor .55511E-10 11.766 -.17491E-06** at limit ** 5 norm 2.1291 1.1609 -.56152E-08 .25530E-03 6 Prefactor .18319E-08 6.9493 .17535E-06** at limit ** 7 Prefactor .78826E-08 8.5656 .15022E-06** at limit ** 8 Prefactor .0000 7.9779 -.43746E-07** at limit ** 9 norm .27699 .29346 -.33402E-08 .13957E-03 10 norm 5.7126 2.7064 -.22299E-07 -.19332E-03 11 Prefactor .0000 .49587 -.51714E-07** at limit ** 12 norm 2.6226 1.9247 .20329E-07 -.16247E-03 13 Prefactor .44473 1.6682 .57173E-07 .34019E-03 14 Prefactor .11657E-08 16.418 .34267E-06** at limit ** 15 norm 1.4957 1.0372 -.11180E-07 .53054E-03 16 Prefactor .0000 2.7947 .76183E-07** at limit ** 17 norm .22204E-09 65.840 -.96628E-06** at limit ** 18 norm 2.4441 .76944 .25237E-07 -.17076E-02 19 Prefactor .0000 4.1080 .14765E-09** at limit ** 20 Prefactor .0000 5.4273 -.99885E-07** at limit ** 21 Prefactor 5.2793 3.1057 .51932E-07 -.37019E-03 22 Normalizat 1.2548 .18599 -.36326E-05 .15507E-04 23 Prefactor .93812 .40449E-01 .17671E-05 -.10231E-04 ERR DEF= .500 Final values: Prefactor = 13.9603 Prefactor = 6.18372 norm = 2.7125 Prefactor = 5.55112e-11 norm = 2.12909 Prefactor = 1.83187e-09 Prefactor = 7.88258e-09 Prefactor = 0 norm = 0.276991 norm = 5.71263 Prefactor = 0 norm = 2.62259 Prefactor = 0.444731 Prefactor = 1.16573e-09 norm = 1.49571 Prefactor = 0 norm = 2.22045e-10 norm = 2.44413 Prefactor = 0 Prefactor = 0 Prefactor = 5.27932 Normalizat = 1.25483 Prefactor = 0.938124 ********** ** 18 **HESSE ********** FCN= 31908.26 FROM HESSE STATUS=OK 428 CALLS 2300 TOTAL EDM= .11E-04 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 13.960 21.750 .26779E-03 -1.5633 2 Prefactor 6.1837 6.9138 .40345E-03 -1.5658 3 norm 2.7125 2.4375 .61774E-03 -1.5675 4 Prefactor .55511E-10 11.792 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 2.1291 1.1678 .70631E-03 -1.5679 6 Prefactor .18319E-08 15.663 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .78826E-08 15.401 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .0000 7.8792 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .27699 .35298 .22444E-02 -1.5697 10 norm 5.7126 2.8450 .42000E-03 -1.5660 11 Prefactor .0000 .49537 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 2.6226 1.9279 .62949E-03 -1.5676 13 Prefactor .44473 1.6789 .84497E-03 -1.5695 14 Prefactor .11657E-08 16.836 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 1.4957 1.0379 .87573E-03 -1.5684 16 Prefactor .0000 2.7929 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm .22204E-09 2.0990 .60230E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 2.4441 .77186 .65412E-03 -1.5677 19 Prefactor .0000 4.1173 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .0000 5.4375 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 5.2793 3.1691 .43725E-03 -1.5662 22 Normalizat 1.2548 .17819 .12651 -.84925 23 Prefactor .93812 .37873E-01 .32090E-01 -.94821 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.1366e-05 Minuit parameter uncertainties: 1 21.7498 2 6.91378 3 2.43749 4 3.90093e-05 5 1.16781 6 0.000336751 7 0.000696444 8 5.36133e-06 9 0.352977 10 2.84497 11 3.36682e-07 12 1.92794 13 1.67886 14 0.000281857 15 1.03788 16 3.2614e-06 17 4.23798e-05 18 0.771858 19 3.31863e-06 20 4.58378e-06 21 3.16906 22 0.178277 23 0.0378744 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 31908.2570827 Extracting fit parameters... 4FGL J0509.4+1012 Spectrum: PowerLaw 227 Prefactor: 0.000e+00 3.367e-07 0.000e+00 1.000e+06 ( 1.000e-12) 228 Index: 2.408e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 229 Scale: 9.562e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.381e-01 3.787e-02 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 1.255e+00 1.783e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 77.351 10.201 Photon Flux Upper Limit: 3.96e-08 ph cm-2 s-1 Energy Flux Upper Limit: 3.06e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/975289/likelihoodResults_699840001_700444801_4FGL_J0509.4+1012_weekly_bin762.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): 102 logL (Free Index) = 31908.2588468 delta logL = -0.0017640985061 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 31908.2570827 delta logL = -4.43833414465e-09 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .38303E-08 1.0000 .0000 .10000E+07 2 'Index ' 2.1429 1.0000 .0000 10.000 3 'Normalizat' 1.2548 1.0000 .10000E-01 10.000 4 'Prefactor ' .93813 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 31908.26 FROM MIGRAD STATUS=CONVERGED 33 CALLS 249 TOTAL EDM= .20E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 .55402 .42118E-03** at limit ** 2 Index 1.7636 .94390 .43100E-05 .0000 3 Normalizat 1.2548 1.0900 -.39494E-05 -.11192E-03 4 Prefactor .93812 1.2810 .19354E-06 -.35249E-03 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.76356 Normalizat = 1.25483 Prefactor = 0.938124 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 31908.26 FROM HESSE STATUS=FAILED 9 CALLS 258 TOTAL EDM= .20E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 .55402 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .31486 1.5495 .43100E-05 -.70402 3 Normalizat 1.2548 1.0900 -.39494E-05 -.84925 4 Prefactor .93812 1.2810 .19354E-06 -.94821 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.99964e-11 Minuit parameter uncertainties: 1 4.61916e-06 2 0.953826 3 1.11083 4 1.32631 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/975289': 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): 101 logL (Free Index) = 31908.2570827 delta logL = -7.27595761418e-12 Extracting fit parameters... 4FGL J0509.4+1012 Spectrum: PowerLaw 227 Prefactor: 0.000e+00 4.619e-06 0.000e+00 1.000e+06 ( 1.000e-12) 228 Index: 1.764e+00 9.538e-01 0.000e+00 1.000e+01 (-1.000e+00) 229 Scale: 9.562e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 537 Prefactor: 9.381e-01 1.326e+00 0.000e+00 1.000e+01 ( 1.000e+00) 538 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 539 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 536 Normalization: 1.255e+00 1.111e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 77.351 10.201 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/975289/cmap_HighResolution_699840001_700444801_4FGL_J0509.4+1012_weekly_bin762.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/975289 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.06e-03', job_status='DONE', photon_flux_upper_limit='3.96e-08', time_completed='2023-03-14 02:32:28.578647', job_id='975289', GAL2='0.94', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1678786348.58', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='-7.28e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='762' AND source_name='4FGL J0509.4+1012' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Mar 14 02:32:28 PDT 2023 ------------------------------------------------------------ Sender: LSF System Subject: Job 975289: <4FGL_J0509.4+1012_weekly_bin762> in cluster Done Job <4FGL_J0509.4+1012_weekly_bin762> was submitted from host by user in cluster at Tue Mar 14 01:50:31 2023 Job was executed on host(s) , in queue , as user in cluster at Tue Mar 14 01:50:32 2023 was used as the home directory. was used as the working directory. Started at Tue Mar 14 01:50:32 2023 Terminated at Tue Mar 14 02:32:29 2023 Results reported at Tue Mar 14 02:32:29 2023 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0509.4+1012_weekly_bin762 77.351 10.2008 699840001 700444801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0509.4+1012 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 2290.00 sec. Max Memory : 785 MB Average Memory : 381.87 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 2516 sec. Turnaround time : 2518 sec. The output (if any) is above this job summary.