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 226 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 = 17384
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0824.4+2440_weekly_bin753
RA = 126.108, Dec = 24.6709
tmin = 694396801, tmax = 695001601
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='231032', job_status='RUN', time_executed='2023-01-10 02:56:31.317995', time_epoch_executed='1673348191.32' WHERE source_name='4FGL J0824.4+2440' and cadence='weekly' and bin_id='753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/231032

Creating custom pfile directory:
/scratch/kocevski/231032/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=694396801.0 && nMetStart<695001601.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=694396801.0 && nMetStart<695001601.0' /Data/Flight/Level1/LPA

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/231032/ft1_4FGL_J0824.4+2440_weekly_bin753.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=694396801.0 && nMetStart<695001601.0' /Data/Flight/Level1/LPA

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/231032/ft2_4FGL_J0824.4+2440_weekly_bin753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/231032/ft1_4FGL_J0824.4+2440_weekly_bin753.fits outfile=/scratch/kocevski/231032/ft1_filteredMKT_4FGL_J0824.4+2440_weekly_bin753.fits ra=126.108 dec=24.6709 rad=12.0 tmin=694396801.0 tmax=695001601.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 6.10
user 5.84
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/231032/ft2_4FGL_J0824.4+2440_weekly_bin753.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/231032/ft2_4FGL_J0824.4+2440_weekly_bin753.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/231032/ft1_filteredMKT_4FGL_J0824.4+2440_weekly_bin753.fits evtable="EVENTS" outfile="/scratch/kocevski/231032/ft1_filtered_4FGL_J0824.4+2440_weekly_bin753.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.55
user 0.37
sys 0.17

Number of photons that the gtmktime cut: 46

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/231032/ft1_filtered_4FGL_J0824.4+2440_weekly_bin753.fits" evtable="EVENTS" scfile=/scratch/kocevski/231032/ft2_4FGL_J0824.4+2440_weekly_bin753.fits sctable="SC_DATA" outfile=/scratch/kocevski/231032/ltcube_694396801_695001601_4FGL_J0824.4+2440_weekly_bin753.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/231032/ft2_4FGL_J0824.4+2440_weekly_bin753.fits
.....................!
real 30.77
user 30.39
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/231032/ft1_filtered_4FGL_J0824.4+2440_weekly_bin753.fits evtable="EVENTS" scfile=/scratch/kocevski/231032/ft2_4FGL_J0824.4+2440_weekly_bin753.fits sctable="SC_DATA" expcube=/scratch/kocevski/231032/ltcube_694396801_695001601_4FGL_J0824.4+2440_weekly_bin753.fits outfile=/scratch/kocevski/231032/expmap_694396801_695001601_4FGL_J0824.4+2440_weekly_bin753.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/231032/ltcube_694396801_695001601_4FGL_J0824.4+2440_weekly_bin753.fits
.....................!
real 193.02
user 186.88
sys 5.75

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 165 point sources and 0 extended sources

Setting source of interest to:
4FGL J0824.4+2440 @ 126.108 24.6709

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/231032/ft1_filtered_4FGL_J0824.4+2440_weekly_bin753.fits scfile=/scratch/kocevski/231032/ft2_4FGL_J0824.4+2440_weekly_bin753.fits outfile=/scratch/kocevski/231032/cmap_694396801_695001601_4FGL_J0824.4+2440_weekly_bin753.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=126.108 yref=24.6709 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.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/231032/ft1_filtered_4FGL_J0824.4+2440_weekly_bin753.fits scfile=/scratch/kocevski/231032/ft2_4FGL_J0824.4+2440_weekly_bin753.fits outfile=/scratch/kocevski/231032/cmap_HighResolution_694396801_695001601_4FGL_J0824.4+2440_weekly_bin753.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=126.108 yref=24.6709 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/231032/ft1_filtered_4FGL_J0824.4+2440_weekly_bin753.fits evtable="EVENTS" scfile=/scratch/kocevski/231032/ft2_4FGL_J0824.4+2440_weekly_bin753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/231032/Model_4FGL_J0824.4+2440_weekly_bin753.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/231032/ft1_filtered_4FGL_J0824.4+2440_weekly_bin753.fits.......................!
real 17.92
user 16.69
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/231032/ft1_filtered_4FGL_J0824.4+2440_weekly_bin753.fits', '/scratch/kocevski/231032/ft2_4FGL_J0824.4+2440_weekly_bin753.fits', expMap='/scratch/kocevski/231032/expmap_694396801_695001601_4FGL_J0824.4+2440_weekly_bin753.fits', expCube='/scratch/kocevski/231032/ltcube_694396801_695001601_4FGL_J0824.4+2440_weekly_bin753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/231032/Model_4FGL_J0824.4+2440_weekly_bin753.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0824.4+2440'

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  8.553e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  2.529e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  9.487e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/231032/ft1_filtered_4FGL_J0824.4+2440_weekly_bin753.fits
Spacecraft file(s): /scratch/kocevski/231032/ft2_4FGL_J0824.4+2440_weekly_bin753.fits
Exposure map: /scratch/kocevski/231032/expmap_694396801_695001601_4FGL_J0824.4+2440_weekly_bin753.fits
Exposure cube: /scratch/kocevski/231032/ltcube_694396801_695001601_4FGL_J0824.4+2440_weekly_bin753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/231032/Model_4FGL_J0824.4+2440_weekly_bin753.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 576.974296128

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 575.607337619

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7830       1.0000          .0000       .10000E+07
     2 'Prefactor '    7.4886       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.9747       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.1447       1.0000          .0000       .10000E+07
     5 'norm      '    9.5382       1.0000          .0000       .10000E+07
     6 'norm      '    9.4981       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.0986       1.0000          .0000       .10000E+07
     8 'Prefactor '    .27581E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.2183       1.0000          .0000       .10000E+07
    10 'norm      '    .30851E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    72.030       1.0000          .0000       .10000E+07
    12 'norm      '    .14405E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .80108       1.0000          .0000       .10000E+07
    14 'Prefactor '    77.349       1.0000          .0000       .10000E+07
    15 'norm      '    4.8725       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.4125       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .57686       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   575.5806     FROM MIGRAD    STATUS=CONVERGED    156 CALLS      288 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7830        1.0460         .0000         .0000    
   2  Prefactor     7.4886        1.0022         .0000         .0000    
   3  Prefactor     6.9747        1.0026         .0000         .0000    
   4  Prefactor     2.9567        337.74       -.24764E-06    .59529E-01
   5  norm          10.773        26.778        .84877E-07   -.25038E-01
   6  norm          .15781E-01    3183.3        .41090E-06** at limit **
   7  Prefactor     .42188E-08    443.68       -.43504E-06** at limit **
   8  Prefactor      .0000        185.83        .23304E-06** at limit **
   9  Prefactor     .49960E-09    104.75        .84787E-07** at limit **
  10  norm           .0000        7.7728       -.13213E-07** at limit **
  11  Prefactor     71.665        70.007        .38559E-06   -.27636E-01
  12  norm           .0000        .73014       -.17484E-07** at limit **
  13  Prefactor     2.2045        157.39        .16609E-04    .17715E-02
  14  Prefactor     76.223        86.017       -.12912E-06    .99738E-01
  15  norm          .23161E-05    350.32       -.95258E-05** at limit **
  16  Normalizat    1.4242        .81395       -.73866E-05   -.14109E-05
  17  Prefactor     .57282        .61397       -.10572E-04    .11207E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 1.78302
  Prefactor  = 7.48855
  Prefactor  = 6.9747
  Prefactor  = 2.95669
  norm       = 10.7729
  norm       = 0.0157807
  Prefactor  = 4.21885e-09
  Prefactor  = 0
  Prefactor  = 4.996e-10
  norm       = 0
  Prefactor  = 71.6647
  norm       = 0
  Prefactor  = 2.20446
  Prefactor  = 76.2229
  norm       = 2.31615e-06
  Normalizat = 1.4242
  Prefactor  = 0.57282
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   575.5806     FROM HESSE     STATUS=FAILED        11 CALLS      299 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          62977.        62976.         .0000       -1.5681    
   2  Prefactor     7.4886        1.0022         .0000       -1.5653    
   3  Prefactor     6.9747        1.0026         .0000       -1.5655    
   4  Prefactor     2.9567        .64489       -.24764E-06   -1.5674    
   5  norm          10.773        1.0642        .84877E-07   -1.5642    
   6  norm          .15781E-01    .40818E-01    .41090E-06   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .42188E-08    .32186       -.43504E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        .68733        .23304E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .49960E-09    .79652E-01    .84787E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .44347E-01   -.13213E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     71.665        .99748        .38559E-06   -1.5539    
  12  norm           .0000        .44347E-01   -.17484E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.2045        .78475        .16609E-04   -1.5678    
  14  Prefactor     76.223        .99272       -.12912E-06   -1.5533    
  15  norm          .23161E-05    .51861E-01   -.95258E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.4242        1.0638       -.73866E-05   -.79931    
  17  Prefactor     .57282        .92069       -.10572E-04   -1.0874    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.01678e-10
Minuit parameter uncertainties:
  1  1.04601
  2  1.00225
  3  1.00259
  4  0.644885
  5  1.06422
  6  0.0408178
  7  7.37866e-05
  8  8.41342e-07
  9  1.26672e-05
  10  1.15644e-06
  11  0.997485
  12  4.73687e-08
  13  0.784748
  14  0.992715
  15  0.000693155
  16  1.08112
  17  0.94666
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 575.580627438

Extracting fit parameters...

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  4.996e-10  1.267e-05  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  2.529e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  9.487e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  5.728e-01  9.467e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  1.424e+00  1.081e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 126.108 24.671
Photon Flux Upper Limit: 1.13e-06 ph cm-2 s-1
Energy Flux Upper Limit: 8.81e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/231032/likelihoodResults_694396801_695001601_4FGL_J0824.4+2440_weekly_bin753.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) = 575.585171249
delta logL = -0.00454381035968

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 575.580627449
delta logL = -1.11200506581e-08

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13890E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.9172       1.0000          .0000       10.000    
     3 'Normalizat'    1.4243       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .57279       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   575.5806     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      212 TOTAL
                     EDM=   .11E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        226.53       -.19569E-05** at limit **
   2  Index         1.5794        8.8901        .28604E-04     .0000    
   3  Normalizat    1.4242        .72282        .29524E-05   -.12100E-05
   4  Prefactor     .57282        .56834       -.60234E-05    .42452E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.57938
  Normalizat = 1.4242
  Prefactor  = 0.57282
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   575.5806     FROM HESSE     STATUS=FAILED        11 CALLS      223 TOTAL
                     EDM=   .11E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        226.59        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .23437        1.4625        .28604E-04   -.75340    
   3  Normalizat    1.4242        1.0586        .29524E-05   -.79931    
   4  Prefactor     .57282        .91950       -.60234E-05   -1.0874    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.08123e-13
Minuit parameter uncertainties:
  1  0.000127822
  2  0.958696
  3  1.07558
  4  0.945362
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/231032': 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) = 575.580627438
delta logL = 2.38742359215e-12

Extracting fit parameters...

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  0.000e+00  1.278e-04  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  1.579e+00  9.587e-01  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  9.487e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  5.728e-01  9.454e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  1.424e+00  1.076e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 126.108 24.671

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/231032/cmap_HighResolution_694396801_695001601_4FGL_J0824.4+2440_weekly_bin753.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/231032

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.81e-02', job_status='DONE', photon_flux_upper_limit='1.13e-06', time_completed='2023-01-10 03:02:39.632346', job_id='231032', GAL2='0.57', fit_tolerance='1e-08', EG2='1.42', EG='1.42', time_epoch_completed='1673348559.63', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.57', dlogl='2.39e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='753' AND source_name='4FGL J0824.4+2440' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan 10 03:02:39 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 231032: <4FGL_J0824.4+2440_weekly_bin753> in cluster <slac> Done

Job <4FGL_J0824.4+2440_weekly_bin753> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Jan 10 02:50:31 2023
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 02:52:35 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 02:52:35 2023
Terminated at Tue Jan 10 03:02:40 2023
Results reported at Tue Jan 10 03:02:40 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.4+2440_weekly_bin753 126.108 24.6709 694396801 695001601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0824.4+2440 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   370.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   604 sec.
    Turnaround time :                            729 sec.

The output (if any) is above this job summary.

