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


Performing analysis on: 4FGL_J0824.4+2440_weekly_bin763
RA = 126.108, Dec = 24.6709
tmin = 700444801, tmax = 701049601
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='415141', job_status='RUN', time_executed='2023-03-21 00:53:25.600975', time_epoch_executed='1679385205.6' WHERE source_name='4FGL J0824.4+2440' and cadence='weekly' and bin_id='763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/415141

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/415141/ft1_4FGL_J0824.4+2440_weekly_bin763.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/415141/ft2_4FGL_J0824.4+2440_weekly_bin763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/415141/ft1_4FGL_J0824.4+2440_weekly_bin763.fits outfile=/scratch/kocevski/415141/ft1_filteredMKT_4FGL_J0824.4+2440_weekly_bin763.fits ra=126.108 dec=24.6709 rad=12.0 tmin=700444801.0 tmax=701049601.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 9.57
user 9.23
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/415141/ft2_4FGL_J0824.4+2440_weekly_bin763.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/415141/ft1_filteredMKT_4FGL_J0824.4+2440_weekly_bin763.fits evtable="EVENTS" outfile="/scratch/kocevski/415141/ft1_filtered_4FGL_J0824.4+2440_weekly_bin763.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.56
user 0.38
sys 0.15

Number of photons that the gtmktime cut: 1418

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/415141/ft1_filtered_4FGL_J0824.4+2440_weekly_bin763.fits" evtable="EVENTS" scfile=/scratch/kocevski/415141/ft2_4FGL_J0824.4+2440_weekly_bin763.fits sctable="SC_DATA" outfile=/scratch/kocevski/415141/ltcube_700444801_701049601_4FGL_J0824.4+2440_weekly_bin763.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/415141/ft2_4FGL_J0824.4+2440_weekly_bin763.fits
.....................!
real 26.37
user 26.01
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/415141/ft1_filtered_4FGL_J0824.4+2440_weekly_bin763.fits evtable="EVENTS" scfile=/scratch/kocevski/415141/ft2_4FGL_J0824.4+2440_weekly_bin763.fits sctable="SC_DATA" expcube=/scratch/kocevski/415141/ltcube_700444801_701049601_4FGL_J0824.4+2440_weekly_bin763.fits outfile=/scratch/kocevski/415141/expmap_700444801_701049601_4FGL_J0824.4+2440_weekly_bin763.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/415141/ltcube_700444801_701049601_4FGL_J0824.4+2440_weekly_bin763.fits
.....................!
real 190.70
user 185.51
sys 4.84

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/415141/ft1_filtered_4FGL_J0824.4+2440_weekly_bin763.fits scfile=/scratch/kocevski/415141/ft2_4FGL_J0824.4+2440_weekly_bin763.fits outfile=/scratch/kocevski/415141/cmap_700444801_701049601_4FGL_J0824.4+2440_weekly_bin763.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.57
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/415141/ft1_filtered_4FGL_J0824.4+2440_weekly_bin763.fits scfile=/scratch/kocevski/415141/ft2_4FGL_J0824.4+2440_weekly_bin763.fits outfile=/scratch/kocevski/415141/cmap_HighResolution_700444801_701049601_4FGL_J0824.4+2440_weekly_bin763.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/415141/ft1_filtered_4FGL_J0824.4+2440_weekly_bin763.fits evtable="EVENTS" scfile=/scratch/kocevski/415141/ft2_4FGL_J0824.4+2440_weekly_bin763.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/415141/Model_4FGL_J0824.4+2440_weekly_bin763.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/415141/ft1_filtered_4FGL_J0824.4+2440_weekly_bin763.fits.....................!
real 137.92
user 136.42
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/415141/ft1_filtered_4FGL_J0824.4+2440_weekly_bin763.fits', '/scratch/kocevski/415141/ft2_4FGL_J0824.4+2440_weekly_bin763.fits', expMap='/scratch/kocevski/415141/expmap_700444801_701049601_4FGL_J0824.4+2440_weekly_bin763.fits', expCube='/scratch/kocevski/415141/ltcube_700444801_701049601_4FGL_J0824.4+2440_weekly_bin763.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/415141/Model_4FGL_J0824.4+2440_weekly_bin763.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/415141/ft1_filtered_4FGL_J0824.4+2440_weekly_bin763.fits
Spacecraft file(s): /scratch/kocevski/415141/ft2_4FGL_J0824.4+2440_weekly_bin763.fits
Exposure map: /scratch/kocevski/415141/expmap_700444801_701049601_4FGL_J0824.4+2440_weekly_bin763.fits
Exposure cube: /scratch/kocevski/415141/ltcube_700444801_701049601_4FGL_J0824.4+2440_weekly_bin763.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/415141/Model_4FGL_J0824.4+2440_weekly_bin763.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) = 15933.988024

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 15933.8082914

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7986       1.0000          .0000       .10000E+07
     2 'Prefactor '    28.480       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.1138       1.0000          .0000       .10000E+07
     4 'Prefactor '    .54734E-07   1.0000          .0000       .10000E+07
     5 'norm      '    .83712E-05   1.0000          .0000       .10000E+07
     6 'norm      '    .26452E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.6359       1.0000          .0000       .10000E+07
     8 'Prefactor '    .17508E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .35061E-05   1.0000          .0000       .10000E+07
    10 'norm      '    .47280       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.8321       1.0000          .0000       .10000E+07
    12 'norm      '    .49410       1.0000          .0000       .10000E+07
    13 'Prefactor '    .55028E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    49.494       1.0000          .0000       .10000E+07
    15 'norm      '    9.1470       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2016       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .85168       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=   15933.81     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      988 TOTAL
                     EDM=   .96E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7217        2.8163       -.20015E-06    .81606E-04
   2  Prefactor     30.134        29.345        .11211E-07    .98767E-04
   3  Prefactor     4.1371        9.0137        .22195E-06   -.12007E-03
   4  Prefactor      .0000        10.403       -.23294E-06** at limit **
   5  norm           .0000        2.1934        .26482E-06** at limit **
   6  norm           .0000        18.789        .12591E-05** at limit **
   7  Prefactor     7.9027        13.245        .38970E-06   -.23072E-03
   8  Prefactor      .0000        5.3258        .36881E-06** at limit **
   9  Prefactor      .0000        14.287        .28713E-06** at limit **
  10  norm          .47366        .56391       -.61694E-07   -.46469E-03
  11  Prefactor     2.8414        5.5031       -.41925E-06   -.22582E-03
  12  norm          .49449        .36399       -.76192E-07    .78455E-03
  13  Prefactor      .0000        3.1040        .41125E-06** at limit **
  14  Prefactor     49.373        2.2057       -.19869E-07   -.45757E-02
  15  norm          9.1438        1.1029       -.79079E-08    .97434E-04
  16  Normalizat    1.2004        .14124        .16131E-05   -.93850E-05
  17  Prefactor     .85207        .10883        .74018E-07    .47172E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.72166
  Prefactor  = 30.1337
  Prefactor  = 4.13708
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Prefactor  = 7.90268
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.473655
  Prefactor  = 2.84141
  norm       = 0.494487
  Prefactor  = 0
  Prefactor  = 49.3727
  norm       = 9.14385
  Normalizat = 1.2004
  Prefactor  = 0.852065
 **********
 **   18 **HESSE 
 **********

 FCN=   15933.81     FROM HESSE     STATUS=OK           257 CALLS     1245 TOTAL
                     EDM=   .39E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7217        2.9798        .77926E-03   -1.5682    
   2  Prefactor     30.134        30.191        .18741E-03   -1.5598    
   3  Prefactor     4.1371        9.1777        .49677E-03   -1.5667    
   4  Prefactor      .0000        10.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        2.1914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        18.774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.9027        13.369        .36267E-03   -1.5652    
   8  Prefactor      .0000        5.3218        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        14.198        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .47366        .56522        .81494E-04   -1.5694    
  11  Prefactor     2.8414        5.5080        .60402E-03   -1.5674    
  12  norm          .49449        .35812        .79305E-03   -1.5694    
  13  Prefactor      .0000        3.0996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     49.373        14.530        .14215E-03   -1.5567    
  15  norm          9.1438        17.684        .33114E-03   -1.5647    
  16  Normalizat    1.2004        .11953        .55862E-01   -.86591    
  17  Prefactor     .85207        .91237E-01    .44386E-01   -.97837    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.889e-07
Minuit parameter uncertainties:
  1  2.97978
  2  30.1911
  3  9.17776
  4  7.67514e-06
  5  2.51173e-07
  6  4.28519e-06
  7  13.3691
  8  9.18096e-08
  9  4.47194e-06
  10  0.565218
  11  5.508
  12  0.35812
  13  1.16571e-06
  14  14.5298
  15  17.6845
  16  0.119559
  17  0.091253
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 15933.8064029

Extracting fit parameters...

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  0.000e+00  4.472e-06  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:  8.521e-01  9.125e-02  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.200e+00  1.196e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 126.108 24.671
Photon Flux Upper Limit: 4.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/415141/likelihoodResults_700444801_701049601_4FGL_J0824.4+2440_weekly_bin763.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) = 15933.8439314
delta logL = -0.0375284880502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15933.8064034
delta logL = -5.24174538441e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .48235E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.5699       1.0000          .0000       10.000    
     3 'Normalizat'    1.2005       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85201       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=   15933.81     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      198 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    18.664       -.48385E-05** at limit **
   2  Index         2.2868        2.2923        .52395E-04    .64709E-11
   3  Normalizat    1.2004        .13530       -.25871E-04   -.18221E-03
   4  Prefactor     .85206        .10884        .11831E-04   -.23543E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Index      = 2.28684
  Normalizat = 1.2004
  Prefactor  = 0.852065
 **********
 **   18 **HESSE 
 **********

 FCN=   15933.81     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      235 TOTAL
                     EDM=   .43E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    .72720E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2868        6.0781        .50000       -.57357    
   3  Normalizat    1.2004        .18174E-03    .55862E-01   -.86591    
   4  Prefactor     .85206        .14540E-03    .44390E-01   -.97837    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.30405e-14
Minuit parameter uncertainties:
  1  8.27178e-06
  2  3593.98
  3  0.00018174
  4  0.000145401
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/415141': 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) = 15933.8064029
delta logL = -1.63709046319e-11

Extracting fit parameters...

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  2.220e-10  8.272e-06  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  2.287e+00  3.594e+03  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:  8.521e-01  1.454e-04  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.200e+00  1.817e-04  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/415141/cmap_HighResolution_700444801_701049601_4FGL_J0824.4+2440_weekly_bin763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.34e-03', job_status='DONE', photon_flux_upper_limit='4.28e-08', time_completed='2023-03-21 01:06:43.795782', job_id='415141', GAL2='0.85', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1679386003.8', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='-1.64e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='763' AND source_name='4FGL J0824.4+2440' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Mar 21 01:06:43 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0179>
Subject: Job 415141: <4FGL_J0824.4+2440_weekly_bin763> in cluster <slac> Done

Job <4FGL_J0824.4+2440_weekly_bin763> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Mar 21 00:50:23 2023
Job was executed on host(s) <bullet0179>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 21 00:50:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 21 00:50:24 2023
Terminated at Tue Mar 21 01:06:44 2023
Results reported at Tue Mar 21 01:06:44 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.4+2440_weekly_bin763 126.108 24.6709 700444801 701049601 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 :                                   798.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             310.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   980 sec.
    Turnaround time :                            981 sec.

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

