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


Performing analysis on: 4FGL_J0824.4+2440_daily_bin1712
RA = 126.108, Dec = 24.6709
tmin = 683078401, tmax = 683337601
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='67934', job_status='RUN', time_executed='2022-09-16 13:59:44.730338', time_epoch_executed='1663361984.73' WHERE source_name='4FGL J0824.4+2440' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/67934

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/67934/ft1_4FGL_J0824.4+2440_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/67934/ft2_4FGL_J0824.4+2440_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/67934/ft1_4FGL_J0824.4+2440_daily_bin1712.fits outfile=/scratch/kocevski/67934/ft1_filteredMKT_4FGL_J0824.4+2440_daily_bin1712.fits ra=126.108 dec=24.6709 rad=12.0 tmin=683078401.0 tmax=683337601.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 4.81
user 4.54
sys 0.22

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

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

Number of photons that the gtmktime cut: 601

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/67934/ft1_filtered_4FGL_J0824.4+2440_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/67934/ft2_4FGL_J0824.4+2440_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/67934/ltcube_683078401_683337601_4FGL_J0824.4+2440_daily_bin1712.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/67934/ft2_4FGL_J0824.4+2440_daily_bin1712.fits
.....................!
real 15.01
user 14.44
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/67934/ft1_filtered_4FGL_J0824.4+2440_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/67934/ft2_4FGL_J0824.4+2440_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/67934/ltcube_683078401_683337601_4FGL_J0824.4+2440_daily_bin1712.fits outfile=/scratch/kocevski/67934/expmap_683078401_683337601_4FGL_J0824.4+2440_daily_bin1712.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/67934/ltcube_683078401_683337601_4FGL_J0824.4+2440_daily_bin1712.fits
.....................!
real 194.36
user 186.57
sys 5.29

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/67934/ft1_filtered_4FGL_J0824.4+2440_daily_bin1712.fits scfile=/scratch/kocevski/67934/ft2_4FGL_J0824.4+2440_daily_bin1712.fits outfile=/scratch/kocevski/67934/cmap_683078401_683337601_4FGL_J0824.4+2440_daily_bin1712.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.61
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/67934/ft1_filtered_4FGL_J0824.4+2440_daily_bin1712.fits scfile=/scratch/kocevski/67934/ft2_4FGL_J0824.4+2440_daily_bin1712.fits outfile=/scratch/kocevski/67934/cmap_HighResolution_683078401_683337601_4FGL_J0824.4+2440_daily_bin1712.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.57
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6990       1.0000          .0000       .10000E+07
     2 'Prefactor '    14.675       1.0000          .0000       .10000E+07
     3 'Prefactor '    9.0003       1.0000          .0000       .10000E+07
     4 'Prefactor '    26.492       1.0000          .0000       .10000E+07
     5 'norm      '    24.200       1.0000          .0000       .10000E+07
     6 'norm      '    118.80       1.0000          .0000       .10000E+07
     7 'Prefactor '    .28127E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .27046E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13330E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .17622E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    14.675       1.0000          .0000       .10000E+07
    12 'norm      '    .59628       1.0000          .0000       .10000E+07
    13 'Prefactor '    12.515       1.0000          .0000       .10000E+07
    14 'Prefactor '    .77382E-03   1.0000          .0000       .10000E+07
    15 'norm      '    27.907       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0545       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1478       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=   6947.802     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1228 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6763        6.4823        .11158E-06   -.57548E-03
   2  Prefactor     15.046        38.609        .26086E-06   -.41586E-01
   3  Prefactor     9.0151        4.8982       -.87886E-07    .32288E-01
   4  Prefactor     26.189        39.275       -.11324E-06   -.51530E-01
   5  norm          24.191        13.441       -.37941E-06   -.78364E-01
   6  norm          118.69        14.695       -.52095E-07    .14369    
   7  Prefactor     .29976E-08    16.521        .93618E-06** at limit **
   8  Prefactor     .16653E-09    9.4210        .90806E-06** at limit **
   9  Prefactor     .11102E-08    29.706        .12086E-05** at limit **
  10  norm          .11102E-09    12.522       -.11536E-05** at limit **
  11  Prefactor     14.677        12.137        .35095E-06   -.89981E-02
  12  norm          .59656        .69474       -.99824E-07   -.62025E-03
  13  Prefactor     12.493        3.5394       -.83159E-07    .30840E-01
  14  Prefactor     .24980E-08    11.698       -.30509E-06** at limit **
  15  norm          28.036        9.1439       -.64543E-07    .10271    
  16  Normalizat    1.0546        .23362       -.12507E-04   -.75592E-04
  17  Prefactor     1.1478        .18288        .64840E-05   -.55733E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.67631
  Prefactor  = 15.0459
  Prefactor  = 9.01512
  Prefactor  = 26.1889
  norm       = 24.1912
  norm       = 118.693
  Prefactor  = 2.9976e-09
  Prefactor  = 1.66533e-10
  Prefactor  = 1.11022e-09
  norm       = 1.11022e-10
  Prefactor  = 14.6767
  norm       = 0.596557
  Prefactor  = 12.4932
  Prefactor  = 2.498e-09
  norm       = 28.0362
  Normalizat = 1.05464
  Prefactor  = 1.14775
 **********
 **   18 **HESSE 
 **********

 FCN=   6947.802     FROM HESSE     STATUS=OK           267 CALLS     1495 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6763        8.3316        .52486E-03   -1.5670    
   2  Prefactor     15.046        77.776        .26120E-03   -1.5630    
   3  Prefactor     9.0151        20.940        .33385E-03   -1.5648    
   4  Prefactor     26.189        53.994        .19432E-03   -1.5606    
   5  norm          24.191        13.800        .20333E-03   -1.5610    
   6  norm          118.69        106.19        .91752E-04   -1.5490    
   7  Prefactor     .29976E-08    16.551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .16653E-09    9.4182        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11102E-08    29.699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .11102E-09    1.1212        .27946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.677        12.499        .26119E-03   -1.5631    
  12  norm          .59656        .73808        .69562E-03   -1.5693    
  13  Prefactor     12.493        20.094        .28290E-03   -1.5637    
  14  Prefactor     .24980E-08    11.717        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          28.036        36.755        .18933E-03   -1.5602    
  16  Normalizat    1.0546        .19980        .66426E-01   -.91222    
  17  Prefactor     1.1478        .15504        .51716E-01   -.87955    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.30165e-06
Minuit parameter uncertainties:
  1  8.33166
  2  68.418
  3  20.9398
  4  53.9953
  5  13.8003
  6  106.187
  7  0.000443453
  8  8.37155e-05
  9  0.000361975
  10  2.08501e-05
  11  12.499
  12  0.738082
  13  20.0943
  14  0.000342288
  15  36.7551
  16  0.199943
  17  0.155098
Done.

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

Extracting fit parameters...

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  1.110e-09  3.620e-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.148e+00  1.551e-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.055e+00  1.999e-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: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/67934/likelihoodResults_683078401_683337601_4FGL_J0824.4+2440_daily_bin1712.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6947.81846523
delta logL = -0.0165832459888

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6947.50751557
delta logL = 0.294366416681

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68419E-05   1.0000          .0000       .10000E+07
     2 'Index     '    9.9998       1.0000          .0000       10.000    
     3 'Normalizat'    1.0015       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1771       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=   6947.802     FROM MIGRAD    STATUS=CONVERGED    131 CALLS      410 TOTAL
                     EDM=   .19E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .22901E-01    .42118E-03** at limit **
   2  Index         1.0756        7.9237        .50000        .54570E-10
   3  Normalizat    1.0546        .35436E-03    .66438E-01   -.21486E-04
   4  Prefactor     1.1478        .28750E-03    .51715E-01   -.14569E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.07562
  Normalizat = 1.05464
  Prefactor  = 1.14775
 **********
 **   18 **HESSE 
 **********

 FCN=   6947.802     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      439 TOTAL
                     EDM=   .93E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .11454        .84235E-04   -26.704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0756        5.4840        .50000        2844.0    
   3  Normalizat    1.0546        .79125E-03    .29386E-03    55.636    
   4  Prefactor     1.1478        .64248E-03    .22864E-03    74.519    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.32084e-13
Minuit parameter uncertainties:
  1  5.23513e-06
  2  21313.6
  3  0.000791246
  4  0.000642478
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/67934': 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) = 6947.80188198
delta logL = 1.54614099301e-11

Extracting fit parameters...

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  5.551e-11  5.235e-06  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  1.076e+00  2.131e+04  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.148e+00  6.425e-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.055e+00  7.912e-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/67934/cmap_HighResolution_683078401_683337601_4FGL_J0824.4+2440_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.09e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2022-09-16 14:08:52.683364', job_id='67934', GAL2='1.15', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1663362532.68', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='1.55e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1712' AND source_name='4FGL J0824.4+2440' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 14:08:52 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 67934: <4FGL_J0824.4+2440_daily_bin1712> in cluster <slac> Done

Job <4FGL_J0824.4+2440_daily_bin1712> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 13:55:17 2022
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:57:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 13:57:21 2022
Terminated at Fri Sep 16 14:08:53 2022
Results reported at Fri Sep 16 14:08:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.4+2440_daily_bin1712 126.108 24.6709 683078401 683337601 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 :                                   546.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             295.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   693 sec.
    Turnaround time :                            816 sec.

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

