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


Performing analysis on: 4FGL_J0824.4+2440_daily_bin1749
RA = 126.108, Dec = 24.6709
tmin = 692668801, tmax = 692928001
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='946720', job_status='RUN', time_executed='2022-12-17 00:26:12.977645', time_epoch_executed='1671265572.98' WHERE source_name='4FGL J0824.4+2440' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/946720

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/946720/ft1_4FGL_J0824.4+2440_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/946720/ft2_4FGL_J0824.4+2440_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/946720/ft1_4FGL_J0824.4+2440_daily_bin1749.fits outfile=/scratch/kocevski/946720/ft1_filteredMKT_4FGL_J0824.4+2440_daily_bin1749.fits ra=126.108 dec=24.6709 rad=12.0 tmin=692668801.0 tmax=692928001.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 3.67
user 3.44
sys 0.21

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

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

Number of photons that the gtmktime cut: 633

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/946720/ft1_filtered_4FGL_J0824.4+2440_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/946720/ft2_4FGL_J0824.4+2440_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/946720/ltcube_692668801_692928001_4FGL_J0824.4+2440_daily_bin1749.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/946720/ft2_4FGL_J0824.4+2440_daily_bin1749.fits
.....................!
real 12.05
user 11.66
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/946720/ft1_filtered_4FGL_J0824.4+2440_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/946720/ft2_4FGL_J0824.4+2440_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/946720/ltcube_692668801_692928001_4FGL_J0824.4+2440_daily_bin1749.fits outfile=/scratch/kocevski/946720/expmap_692668801_692928001_4FGL_J0824.4+2440_daily_bin1749.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/946720/ltcube_692668801_692928001_4FGL_J0824.4+2440_daily_bin1749.fits
.....................!
real 192.01
user 186.30
sys 5.11

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/946720/ft1_filtered_4FGL_J0824.4+2440_daily_bin1749.fits scfile=/scratch/kocevski/946720/ft2_4FGL_J0824.4+2440_daily_bin1749.fits outfile=/scratch/kocevski/946720/cmap_692668801_692928001_4FGL_J0824.4+2440_daily_bin1749.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/946720/ft1_filtered_4FGL_J0824.4+2440_daily_bin1749.fits scfile=/scratch/kocevski/946720/ft2_4FGL_J0824.4+2440_daily_bin1749.fits outfile=/scratch/kocevski/946720/cmap_HighResolution_692668801_692928001_4FGL_J0824.4+2440_daily_bin1749.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.5352       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.0704       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.647       1.0000          .0000       .10000E+07
     4 'Prefactor '    64.836       1.0000          .0000       .10000E+07
     5 'norm      '    1.6561       1.0000          .0000       .10000E+07
     6 'norm      '    .37728       1.0000          .0000       .10000E+07
     7 'Prefactor '    .20694E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    3.0258       1.0000          .0000       .10000E+07
     9 'Prefactor '    .83054E-01   1.0000          .0000       .10000E+07
    10 'norm      '    1.6208       1.0000          .0000       .10000E+07
    11 'Prefactor '    .16385E-03   1.0000          .0000       .10000E+07
    12 'norm      '    1.3351       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.3370       1.0000          .0000       .10000E+07
    14 'Prefactor '    43.059       1.0000          .0000       .10000E+07
    15 'norm      '    2.5584       1.0000          .0000       .10000E+07
    16 'Normalizat'    .83329       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2525       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=   7290.434     FROM MIGRAD    STATUS=CONVERGED     58 CALLS     1727 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5026        4.9852       -.28406E-07    .39982E-02
   2  Prefactor     6.0756        1.0439        .14661E-08   -.12865E-01
   3  Prefactor     13.649        1.1395       -.38440E-08    .24136E-01
   4  Prefactor     64.840        1.0017       -.53177E-09    .29305E-01
   5  norm          1.6457        1.2315        .61152E-08    .20830E-02
   6  norm          .30032E-07    43.494        .13807E-06** at limit **
   7  Prefactor     .11102E-09    9.1314       -.90905E-07** at limit **
   8  Prefactor     3.0265        1.0569        .16425E-08    .32263E-02
   9  Prefactor     .10991E-07    20.600       -.87778E-06** at limit **
  10  norm          1.6218        1.3591        .26255E-07    .70926E-02
  11  Prefactor     .55511E-10    4.3605       -.10632E-06** at limit **
  12  norm          1.3347        .77179        .64340E-08    .68410E-02
  13  Prefactor     3.3335        1.0430        .63116E-08   -.95634E-02
  14  Prefactor     43.036        1.3434       -.77560E-08    .29690    
  15  norm          2.5709        1.0617        .11081E-07   -.22813E-01
  16  Normalizat    .83354        .21770        .37587E-06    .27974E-03
  17  Prefactor     1.2526        .17576        .95934E-06    .42896E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.50265
  Prefactor  = 6.07555
  Prefactor  = 13.6488
  Prefactor  = 64.8405
  norm       = 1.64573
  norm       = 3.00315e-08
  Prefactor  = 1.11022e-10
  Prefactor  = 3.02655
  Prefactor  = 1.09912e-08
  norm       = 1.62178
  Prefactor  = 5.55112e-11
  norm       = 1.33474
  Prefactor  = 3.33353
  Prefactor  = 43.0358
  norm       = 2.57093
  Normalizat = 0.833544
  Prefactor  = 1.25257
 **********
 **   18 **HESSE 
 **********

 FCN=   7290.434     FROM HESSE     STATUS=OK           265 CALLS     1992 TOTAL
                     EDM=   .99E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5026        6.3555        .47249E-03   -1.5666    
   2  Prefactor     6.0756        76.873        .40727E-03   -1.5659    
   3  Prefactor     13.649        24.835        .27088E-03   -1.5634    
   4  Prefactor     64.840        53.783        .12420E-03   -1.5547    
   5  norm          1.6457        33.130        .81976E-03   -1.5682    
   6  norm          .30032E-07    43.604        .92167E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    9.1227        .16991E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.0265        16.914        .58313E-03   -1.5673    
   9  Prefactor     .10991E-07    20.462        .14409E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.6218        1.3819        .83097E-03   -1.5682    
  11  Prefactor     .55511E-10    4.3559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.3347        .81683        .94923E-03   -1.5685    
  13  Prefactor     3.3335        12.562        .55382E-03   -1.5671    
  14  Prefactor     43.036        19.393        .15241E-03   -1.5577    
  15  norm          2.5709        44.962        .63802E-03   -1.5676    
  16  Normalizat    .83354        .19135        .70751E-01   -.98836    
  17  Prefactor     1.2526        .15016        .48490E-01   -.84729    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.91249e-07
Minuit parameter uncertainties:
  1  6.35551
  2  43.223
  3  24.8351
  4  53.783
  5  14.7681
  6  0.00228958
  7  6.24296e-05
  8  14.3096
  9  0.000948391
  10  1.38189
  11  2.64449e-05
  12  0.816833
  13  12.5619
  14  19.3928
  15  21.5031
  16  0.1915
  17  0.150216
Done.

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

Extracting fit parameters...

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  1.099e-08  9.484e-04  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:  1.253e+00  1.502e-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:  8.335e-01  1.915e-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: 9.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/946720/likelihoodResults_692668801_692928001_4FGL_J0824.4+2440_daily_bin1749.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) = 7290.45816782
delta logL = -0.0237031376319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7289.56427813
delta logL = 0.870186555562

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7290.434     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      421 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .93259E-08    29.218        .42118E-03** at limit **
   2  Index         2.6530        7.5186        .41045        .19112E-08
   3  Normalizat    .83354        .17942        .70749E-01   -.31885E-04
   4  Prefactor     1.2526        .14810        .48490E-01    .17063E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.32587e-09
  Index      = 2.65295
  Normalizat = 0.833541
  Prefactor  = 1.25257
 **********
 **   18 **HESSE 
 **********

 FCN=   7290.434     FROM HESSE     STATUS=OK            31 CALLS      452 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .93259E-08    26.509        .84235E-04   -14.137    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6530        7.4090        .50000       -58424.    
   3  Normalizat    .83354        .21140        .31307E-03   -26.121    
   4  Prefactor     1.2526        .17480        .21436E-03   -13.414    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.28103e-10
Minuit parameter uncertainties:
  1  0.000995057
  2  4.43929
  3  0.211611
  4  0.174885
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/946720': 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): 0
logL (Free Index) = 7290.43446469
delta logL = 6.54836185277e-11

Extracting fit parameters...

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  9.326e-09  9.951e-04  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  2.653e+00  4.439e+00  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:  1.253e+00  1.749e-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:  8.335e-01  2.116e-01  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 -9.398e-02 [aplpy.core]
INFO: Auto-setting vmax to  1.043e+00 [aplpy.core]
Saving /scratch/kocevski/946720/cmap_HighResolution_692668801_692928001_4FGL_J0824.4+2440_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.21e-03', job_status='DONE', photon_flux_upper_limit='9.26e-08', time_completed='2022-12-17 00:36:14.015671', job_id='946720', GAL2='1.25', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1671266174.02', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='6.55e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1749' AND source_name='4FGL J0824.4+2440' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 00:36:14 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 946720: <4FGL_J0824.4+2440_daily_bin1749> in cluster <slac> Done

Job <4FGL_J0824.4+2440_daily_bin1749> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Dec 17 00:25:25 2022
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:25:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:25:26 2022
Terminated at Sat Dec 17 00:36:15 2022
Results reported at Sat Dec 17 00:36:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.4+2440_daily_bin1749 126.108 24.6709 692668801 692928001 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 :                                   591.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   633 sec.
    Turnaround time :                            650 sec.

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

