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


Performing analysis on: 4FGL_J0824.4+2440_weekly_bin752
RA = 126.108, Dec = 24.6709
tmin = 693792001, tmax = 694396801
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='435018', job_status='RUN', time_executed='2023-01-03 01:31:01.605900', time_epoch_executed='1672738261.61' WHERE source_name='4FGL J0824.4+2440' and cadence='weekly' and bin_id='752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/435018

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/435018/ft1_4FGL_J0824.4+2440_weekly_bin752.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/435018/ft2_4FGL_J0824.4+2440_weekly_bin752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/435018/ft1_4FGL_J0824.4+2440_weekly_bin752.fits outfile=/scratch/kocevski/435018/ft1_filteredMKT_4FGL_J0824.4+2440_weekly_bin752.fits ra=126.108 dec=24.6709 rad=12.0 tmin=693792001.0 tmax=694396801.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.75
user 8.30
sys 0.32

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/435018/ft2_4FGL_J0824.4+2440_weekly_bin752.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/435018/ft1_filteredMKT_4FGL_J0824.4+2440_weekly_bin752.fits evtable="EVENTS" outfile="/scratch/kocevski/435018/ft1_filtered_4FGL_J0824.4+2440_weekly_bin752.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.39
sys 0.16

Number of photons that the gtmktime cut: 578

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/435018/ft1_filtered_4FGL_J0824.4+2440_weekly_bin752.fits" evtable="EVENTS" scfile=/scratch/kocevski/435018/ft2_4FGL_J0824.4+2440_weekly_bin752.fits sctable="SC_DATA" outfile=/scratch/kocevski/435018/ltcube_693792001_694396801_4FGL_J0824.4+2440_weekly_bin752.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/435018/ft2_4FGL_J0824.4+2440_weekly_bin752.fits
.....................!
real 37.86
user 36.89
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/435018/ft1_filtered_4FGL_J0824.4+2440_weekly_bin752.fits evtable="EVENTS" scfile=/scratch/kocevski/435018/ft2_4FGL_J0824.4+2440_weekly_bin752.fits sctable="SC_DATA" expcube=/scratch/kocevski/435018/ltcube_693792001_694396801_4FGL_J0824.4+2440_weekly_bin752.fits outfile=/scratch/kocevski/435018/expmap_693792001_694396801_4FGL_J0824.4+2440_weekly_bin752.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/435018/ltcube_693792001_694396801_4FGL_J0824.4+2440_weekly_bin752.fits
.....................!
real 195.85
user 188.67
sys 4.28

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/435018/ft1_filtered_4FGL_J0824.4+2440_weekly_bin752.fits scfile=/scratch/kocevski/435018/ft2_4FGL_J0824.4+2440_weekly_bin752.fits outfile=/scratch/kocevski/435018/cmap_693792001_694396801_4FGL_J0824.4+2440_weekly_bin752.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.60
user 0.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/435018/ft1_filtered_4FGL_J0824.4+2440_weekly_bin752.fits scfile=/scratch/kocevski/435018/ft2_4FGL_J0824.4+2440_weekly_bin752.fits outfile=/scratch/kocevski/435018/cmap_HighResolution_693792001_694396801_4FGL_J0824.4+2440_weekly_bin752.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.60
user 0.44
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11402E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    8.8965       1.0000          .0000       .10000E+07
     3 'Prefactor '    27.671       1.0000          .0000       .10000E+07
     4 'Prefactor '    19.497       1.0000          .0000       .10000E+07
     5 'norm      '    .36068E-05   1.0000          .0000       .10000E+07
     6 'norm      '    .10813E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .78426E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .11726E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .50287E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .82101E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    9.2323       1.0000          .0000       .10000E+07
    12 'norm      '    .16884E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    12.173       1.0000          .0000       .10000E+07
    14 'Prefactor '    26.323       1.0000          .0000       .10000E+07
    15 'norm      '    18.562       1.0000          .0000       .10000E+07
    16 'Normalizat'    .98381       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .93613       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=   6308.914     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1054 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11102E-09    2.1221        .47383E-06** at limit **
   2  Prefactor     9.3260        4.3331        .73564E-07    .28266E-01
   3  Prefactor     27.625        12.255        .11080E-05   -.13607E-01
   4  Prefactor     19.415        2.1335       -.17920E-06    .37128E-01
   5  norm           .0000        4.4886        .66698E-06** at limit **
   6  norm          .25591E-07    55.941       -.22589E-05** at limit **
   7  Prefactor     .32752E-08    26.351       -.21525E-05** at limit **
   8  Prefactor      .0000        5.4530       -.13585E-05** at limit **
   9  Prefactor     .55511E-10    11.479        .10401E-05** at limit **
  10  norm           .0000        .53712        .42351E-06** at limit **
  11  Prefactor     9.1515        8.1315       -.29829E-06    .24889E-02
  12  norm          .21289E-01    4.4612       -.56962E-06** at limit **
  13  Prefactor     12.004        11.631       -.57629E-07   -.21436E-02
  14  Prefactor     26.200        11.954       -.11013E-05   -.25974E-01
  15  norm          18.454        2.7529       -.30289E-06    .15507E-01
  16  Normalizat    .98438        .20087        .16955E-05   -.11215E-03
  17  Prefactor     .93589        .16437       -.11811E-04   -.53960E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11022e-10
  Prefactor  = 9.32604
  Prefactor  = 27.6248
  Prefactor  = 19.4147
  norm       = 0
  norm       = 2.55906e-08
  Prefactor  = 3.27516e-09
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 9.1515
  norm       = 0.0212886
  Prefactor  = 12.0042
  Prefactor  = 26.1999
  norm       = 18.4542
  Normalizat = 0.984383
  Prefactor  = 0.935894
 **********
 **   18 **HESSE 
 **********

 FCN=   6308.914     FROM HESSE     STATUS=OK           261 CALLS     1315 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11102E-09    2.1341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.3260        34.744        .33580E-03   -1.5647    
   3  Prefactor     27.625        18.212        .19014E-03   -1.5603    
   4  Prefactor     19.415        47.171        .22655E-03   -1.5620    
   5  norm           .0000        4.4938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .25591E-07    56.771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .32752E-08    26.374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        5.4589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    11.500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .52245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.1515        8.1462        .32960E-03   -1.5647    
  12  norm          .21289E-01    .53519        .20010E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.004        11.757        .28687E-03   -1.5639    
  14  Prefactor     26.200        17.017        .19495E-03   -1.5606    
  15  norm          18.454        21.992        .23220E-03   -1.5622    
  16  Normalizat    .98438        .17593        .45964E-01   -.93555    
  17  Prefactor     .93589        .13976        .45464E-01   -.94898    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.92776e-07
Minuit parameter uncertainties:
  1  2.7223e-05
  2  34.7444
  3  18.212
  4  47.1716
  5  2.57358e-06
  6  0.00240972
  7  0.000585965
  8  1.6043e-05
  9  5.56393e-05
  10  3.59957e-06
  11  8.14617
  12  0.21348
  13  11.7575
  14  17.0169
  15  21.9916
  16  0.176037
  17  0.139817
Done.

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

Extracting fit parameters...

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  5.551e-11  5.564e-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:  9.359e-01  1.398e-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:  9.844e-01  1.760e-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: 5.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.41e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/435018/likelihoodResults_693792001_694396801_4FGL_J0824.4+2440_weekly_bin752.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) = 6308.95718421
delta logL = -0.0435743572098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6308.91361025
delta logL = -3.91681169276e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32079E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.3137       1.0000          .0000       10.000    
     3 'Normalizat'    .98438       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93595       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=   6308.914     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      195 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    15.372       -.23480E-05** at limit **
   2  Index         2.2223        3.0733        .61636E-04    .16393E-10
   3  Normalizat    .98438        .19296       -.20598E-04    .85648E-04
   4  Prefactor     .93589        .16186        .12582E-04    .11310E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Index      = 2.22229
  Normalizat = 0.984384
  Prefactor  = 0.935893
 **********
 **   18 **HESSE 
 **********

 FCN=   6308.914     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      230 TOTAL
                     EDM=   .13E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    .10706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2223        8.3972        .50000       -.58901    
   3  Normalizat    .98438        .35280E-03    .45971E-01   -.93555    
   4  Prefactor     .93589        .29676E-03    .45462E-01   -.94898    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.25809e-13
Minuit parameter uncertainties:
  1  9.61115e-06
  2  7563.74
  3  0.000352804
  4  0.00029676
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/435018': 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) = 6308.91360985
delta logL = 1.81898940355e-12

Extracting fit parameters...

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  2.220e-10  9.611e-06  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  2.222e+00  7.564e+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:  9.359e-01  2.968e-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:  9.844e-01  3.528e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/435018/cmap_HighResolution_693792001_694396801_4FGL_J0824.4+2440_weekly_bin752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.41e-03', job_status='DONE', photon_flux_upper_limit='5.66e-08', time_completed='2023-01-03 01:40:36.350587', job_id='435018', GAL2='0.94', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1672738836.35', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.82e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='752' AND source_name='4FGL J0824.4+2440' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan  3 01:40:36 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 435018: <4FGL_J0824.4+2440_weekly_bin752> in cluster <slac> Done

Job <4FGL_J0824.4+2440_weekly_bin752> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Jan  3 01:30:26 2023
Job was executed on host(s) <bullet0090>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan  3 01:30:50 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan  3 01:30:50 2023
Terminated at Tue Jan  3 01:40:37 2023
Results reported at Tue Jan  3 01:40:37 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.4+2440_weekly_bin752 126.108 24.6709 693792001 694396801 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 :                                   566.11 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             280.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   586 sec.
    Turnaround time :                            611 sec.

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

