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 229 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_J0502.5+1340_weekly_bin762 RA = 75.6341, Dec = 13.6685 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='975275', job_status='RUN', time_executed='2023-03-14 01:54:28.655463', time_epoch_executed='1678784068.66' WHERE source_name='4FGL J0502.5+1340' and cadence='weekly' and bin_id='762' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/975275 Creating custom pfile directory: /scratch/kocevski/975275/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/975275/ft1_4FGL_J0502.5+1340_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/975275/ft2_4FGL_J0502.5+1340_weekly_bin762.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/975275/ft1_4FGL_J0502.5+1340_weekly_bin762.fits outfile=/scratch/kocevski/975275/ft1_filteredMKT_4FGL_J0502.5+1340_weekly_bin762.fits ra=75.6341 dec=13.6685 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.22 user 7.87 sys 0.31 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/975275/ft2_4FGL_J0502.5+1340_weekly_bin762.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/975275/ft2_4FGL_J0502.5+1340_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/975275/ft1_filteredMKT_4FGL_J0502.5+1340_weekly_bin762.fits evtable="EVENTS" outfile="/scratch/kocevski/975275/ft1_filtered_4FGL_J0502.5+1340_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.58 user 0.40 sys 0.17 Number of photons that the gtmktime cut: 4154 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/975275/ft1_filtered_4FGL_J0502.5+1340_weekly_bin762.fits" evtable="EVENTS" scfile=/scratch/kocevski/975275/ft2_4FGL_J0502.5+1340_weekly_bin762.fits sctable="SC_DATA" outfile=/scratch/kocevski/975275/ltcube_699840001_700444801_4FGL_J0502.5+1340_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/975275/ft2_4FGL_J0502.5+1340_weekly_bin762.fits .....................! real 33.44 user 33.01 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/975275/ft1_filtered_4FGL_J0502.5+1340_weekly_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/975275/ft2_4FGL_J0502.5+1340_weekly_bin762.fits sctable="SC_DATA" expcube=/scratch/kocevski/975275/ltcube_699840001_700444801_4FGL_J0502.5+1340_weekly_bin762.fits outfile=/scratch/kocevski/975275/expmap_699840001_700444801_4FGL_J0502.5+1340_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/975275/ltcube_699840001_700444801_4FGL_J0502.5+1340_weekly_bin762.fits .....................! real 194.23 user 188.22 sys 5.47 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. Added 161 point sources and 2 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 J0502.5+1340 @ 75.6341 13.6685 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/975275/ft1_filtered_4FGL_J0502.5+1340_weekly_bin762.fits scfile=/scratch/kocevski/975275/ft2_4FGL_J0502.5+1340_weekly_bin762.fits outfile=/scratch/kocevski/975275/cmap_699840001_700444801_4FGL_J0502.5+1340_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=75.6341 yref=13.6685 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.62 user 0.43 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/975275/ft1_filtered_4FGL_J0502.5+1340_weekly_bin762.fits scfile=/scratch/kocevski/975275/ft2_4FGL_J0502.5+1340_weekly_bin762.fits outfile=/scratch/kocevski/975275/cmap_HighResolution_699840001_700444801_4FGL_J0502.5+1340_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=75.6341 yref=13.6685 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.63 user 0.45 sys 0.17 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/975275/ft1_filtered_4FGL_J0502.5+1340_weekly_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/975275/ft2_4FGL_J0502.5+1340_weekly_bin762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/975275/Model_4FGL_J0502.5+1340_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 S 147 Working on... /scratch/kocevski/975275/ft1_filtered_4FGL_J0502.5+1340_weekly_bin762.fits.....................! real 864.64 user 859.88 sys 1.32 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/975275/ft1_filtered_4FGL_J0502.5+1340_weekly_bin762.fits', '/scratch/kocevski/975275/ft2_4FGL_J0502.5+1340_weekly_bin762.fits', expMap='/scratch/kocevski/975275/expmap_699840001_700444801_4FGL_J0502.5+1340_weekly_bin762.fits', expCube='/scratch/kocevski/975275/ltcube_699840001_700444801_4FGL_J0502.5+1340_weekly_bin762.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/975275/Model_4FGL_J0502.5+1340_weekly_bin762.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0502.5+1340' 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.139e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 219 Index: 2.232e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/975275/ft1_filtered_4FGL_J0502.5+1340_weekly_bin762.fits Spacecraft file(s): /scratch/kocevski/975275/ft2_4FGL_J0502.5+1340_weekly_bin762.fits Exposure map: /scratch/kocevski/975275/expmap_699840001_700444801_4FGL_J0502.5+1340_weekly_bin762.fits Exposure cube: /scratch/kocevski/975275/ltcube_699840001_700444801_4FGL_J0502.5+1340_weekly_bin762.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/975275/Model_4FGL_J0502.5+1340_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) = 39530.3390286 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 39530.1734724 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .33021E-02 1.0000 .0000 .10000E+07 2 'Prefactor ' 2.7194 1.0000 .0000 .10000E+07 3 'norm ' 2.1863 1.0000 .0000 .10000E+07 4 'Prefactor ' .21797E-03 1.0000 .0000 .10000E+07 5 'norm ' 2.2209 1.0000 .0000 .10000E+07 6 'Prefactor ' .33521E-03 1.0000 .0000 .10000E+07 7 'Prefactor ' .14676E-02 1.0000 .0000 .10000E+07 8 'Prefactor ' .58800E-04 1.0000 .0000 .10000E+07 9 'norm ' .30546 1.0000 .0000 .10000E+07 10 'norm ' 5.9401 1.0000 .0000 .10000E+07 11 'Prefactor ' .12307E-05 1.0000 .0000 .10000E+07 12 'norm ' 2.6905 1.0000 .0000 .10000E+07 13 'Prefactor ' .49395 1.0000 .0000 .10000E+07 14 'Prefactor ' .18421E-03 1.0000 .0000 .10000E+07 15 'norm ' 1.6890 1.0000 .0000 .10000E+07 16 'norm ' .27792E-01 1.0000 .0000 .10000E+07 17 'norm ' 2.5578 1.0000 .0000 .10000E+07 18 'Prefactor ' 1.2589 1.0000 .10000E-03 10000. 19 'Prefactor ' 2.4169 1.0000 .0000 .10000E+07 20 'Prefactor ' .19281E-03 1.0000 .0000 .10000E+07 21 'Prefactor ' .23137E-04 1.0000 .0000 .10000E+07 22 'Prefactor ' 5.4898 1.0000 .0000 .10000E+07 23 'Normalizat' 1.1551 1.0000 .10000E-01 10.000 24 'Prefactor ' .95428 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= 39530.17 FROM MIGRAD STATUS=CONVERGED 131 CALLS 1598 TOTAL EDM= .93E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .22906E-05 19.585 -.82446E-05** at limit ** 2 Prefactor 2.7598 5.2516 -.97926E-06 -.58878E-03 3 norm 2.1863 1.8461 .21173E-06 -.49190E-02 4 Prefactor .47740E-08 12.896 .67675E-06** at limit ** 5 norm 2.2203 1.1804 -.18346E-06 -.35300E-02 6 Prefactor .21035E-05 5.8988 -.16597E-05** at limit ** 7 Prefactor .18581E-05 6.0240 -.23824E-05** at limit ** 8 Prefactor .11102E-09 9.8533 .34786E-05** at limit ** 9 norm .30540 .30696 .17914E-06 .53977E-02 10 norm 5.9445 2.7697 .45319E-06 .54982E-02 11 Prefactor .0000 .51791 .22568E-06** at limit ** 12 norm 2.6895 1.9622 -.34591E-07 -.57336E-03 13 Prefactor .49061 1.6923 .11393E-05 -.21690E-03 14 Prefactor .13782E-05 13.924 .31594E-05** at limit ** 15 norm 1.6884 1.1117 -.14455E-07 -.51083E-02 16 norm .62521E-05 1.7233 .16441E-05** at limit ** 17 norm 2.5568 .78534 -.11952E-06 .34774E-02 18 Prefactor 1.2589 .82624E-01 .20477E-07 .34356E-02 19 Prefactor 2.4170 .61874 .98977E-08 .27265E-01 20 Prefactor .22204E-09 4.3058 .91252E-06** at limit ** 21 Prefactor .66613E-09 5.8014 .20825E-05** at limit ** 22 Prefactor 5.5072 3.1271 -.79212E-06 -.91798E-03 23 Normalizat 1.1554 .19133 -.38753E-04 .25754E-03 24 Prefactor .95429 .37767E-01 .62877E-05 .17191E-02 ERR DEF= .500 Final values: Prefactor = 2.29061e-06 Prefactor = 2.75981 norm = 2.18626 Prefactor = 4.77396e-09 norm = 2.22029 Prefactor = 2.10354e-06 Prefactor = 1.85807e-06 Prefactor = 1.11022e-10 norm = 0.305399 norm = 5.94453 Prefactor = 0 norm = 2.68952 Prefactor = 0.490613 Prefactor = 1.37823e-06 norm = 1.68836 norm = 6.25211e-06 norm = 2.55683 Prefactor = 1.25892 Prefactor = 2.41705 Prefactor = 2.22045e-10 Prefactor = 6.66134e-10 Prefactor = 5.50725 Normalizat = 1.15541 Prefactor = 0.954287 ********** ** 18 **HESSE ********** FCN= 39530.17 FROM HESSE STATUS=OK 459 CALLS 2057 TOTAL EDM= .88E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .22906E-05 26.121 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 2.7598 5.3193 .61732E-03 -1.5675 3 norm 2.1863 1.8639 .69584E-03 -1.5678 4 Prefactor .47740E-08 12.964 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 2.2203 1.1880 .68974E-03 -1.5678 6 Prefactor .21035E-05 23.226 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .18581E-05 23.588 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .11102E-09 9.6910 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .30540 .36651 .24465E-02 -1.5697 10 norm 5.9445 2.9042 .41177E-03 -1.5659 11 Prefactor .0000 .51977 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 2.6895 1.9599 .62087E-03 -1.5675 13 Prefactor .49061 1.7100 .79320E-03 -1.5694 14 Prefactor .13782E-05 18.677 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 1.6884 1.1138 .80977E-03 -1.5682 16 norm .62521E-05 .81320 .11839E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 2.5568 .79023 .63810E-03 -1.5676 18 Prefactor 1.2589 .80680E-01 .25503E-02 -1.5484 19 Prefactor 2.4170 .61325 .65814E-03 -1.5677 20 Prefactor .22204E-09 4.3301 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .66613E-09 5.8089 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 5.5072 3.1956 .42859E-03 -1.5661 23 Normalizat 1.1554 .18539 .14717 -.87992 24 Prefactor .95429 .35509E-01 .32870E-01 -.94269 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.79899e-06 Minuit parameter uncertainties: 1 0.0154703 2 5.31932 3 1.86393 4 0.00049873 5 1.18799 6 0.0139797 7 0.0132407 8 5.87087e-05 9 0.366508 10 2.90419 11 5.98032e-06 12 1.95989 13 1.70999 14 0.0101474 15 1.11381 16 0.00450963 17 0.790232 18 0.0806804 19 0.613251 20 6.48905e-05 21 0.000126602 22 3.19565 23 0.185499 24 0.0355098 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 39530.1731266 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.110e-10 5.871e-05 0.000e+00 1.000e+06 ( 1.000e-13) 219 Index: 2.232e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 541 Prefactor: 9.543e-01 3.551e-02 0.000e+00 1.000e+01 ( 1.000e+00) 542 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 543 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 540 Normalization: 1.155e+00 1.855e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 75.634 13.668 Photon Flux Upper Limit: 5.64e-08 ph cm-2 s-1 Energy Flux Upper Limit: 4.31e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/975275/likelihoodResults_699840001_700444801_4FGL_J0502.5+1340_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): 0 logL (Free Index) = 39530.2424614 delta logL = -0.0693348839268 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 39530.1692791 delta logL = 0.00384745403426 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .14308 1.0000 .0000 .10000E+07 2 'Index ' 2.7851 1.0000 .0000 10.000 3 'Normalizat' 1.1532 1.0000 .10000E-01 10.000 4 'Prefactor ' .95432 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. FCN= 39530.17 FROM MIGRAD STATUS=CONVERGED 71 CALLS 265 TOTAL EDM= .47E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .14424 .43995 .77783E-02** at limit ** 2 Index 2.7827 .16233 .50000 .50482E-05 3 Normalizat 1.1531 .46022E-02 .14730 .16583E-03 4 Prefactor .95433 .94364E-03 .32870E-01 -.10562E-03 ERR DEF= .500 Final values: Prefactor = 0.144241 Index = 2.78273 Normalizat = 1.15311 Prefactor = 0.954332 ********** ** 18 **HESSE ********** FCN= 39530.17 FROM HESSE STATUS=NOT POSDEF 35 CALLS 300 TOTAL EDM= .22E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .14424 1003.6 .23433E-03 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.7827 5.7488 .73289E-02 -.45945 3 Normalizat 1.1531 .25400 .65450E-03 -.88064 4 Prefactor .95433 .35583E-01 .14525E-03 -.94268 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.18117e-05 Minuit parameter uncertainties: 1 24.0676 2 36.4248 3 0.254275 4 0.0355836 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/975275': 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): 102 logL (Free Index) = 39530.1692786 delta logL = 0.00384792619298 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.442e-01 2.407e+01 0.000e+00 1.000e+06 ( 1.000e-13) 219 Index: 2.783e+00 3.642e+01 0.000e+00 1.000e+01 (-1.000e+00) 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 541 Prefactor: 9.543e-01 3.558e-02 0.000e+00 1.000e+01 ( 1.000e+00) 542 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 543 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 540 Normalization: 1.153e+00 2.543e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 75.634 13.668 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/975275/cmap_HighResolution_699840001_700444801_4FGL_J0502.5+1340_weekly_bin762.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/975275 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.31e-03', job_status='DONE', photon_flux_upper_limit='5.64e-08', time_completed='2023-03-14 02:40:12.779164', job_id='975275', GAL2='0.95', fit_tolerance='1e-08', EG2='1.15', EG='1.16', time_epoch_completed='1678786812.78', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='3.85e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='762' AND source_name='4FGL J0502.5+1340' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Mar 14 02:40:12 PDT 2023 ------------------------------------------------------------ Sender: LSF System Subject: Job 975275: <4FGL_J0502.5+1340_weekly_bin762> in cluster Done Job <4FGL_J0502.5+1340_weekly_bin762> was submitted from host by user in cluster at Tue Mar 14 01:50:30 2023 Job was executed on host(s) , in queue , as user in cluster at Tue Mar 14 01:50:31 2023 was used as the home directory. was used as the working directory. Started at Tue Mar 14 01:50:31 2023 Terminated at Tue Mar 14 02:40:13 2023 Results reported at Tue Mar 14 02:40:13 2023 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0502.5+1340_weekly_bin762 75.6341 13.6685 699840001 700444801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0502.5+1340 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 2741.00 sec. Max Memory : 624 MB Average Memory : 391.06 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 2982 sec. Turnaround time : 2983 sec. The output (if any) is above this job summary.