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


Performing analysis on: 4FGL_J0824.4+2440_daily_bin1778
RA = 126.108, Dec = 24.6709
tmin = 700185601, tmax = 700444801
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='955976', job_status='RUN', time_executed='2023-03-14 00:30:30.756521', time_epoch_executed='1678779030.76' WHERE source_name='4FGL J0824.4+2440' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/955976

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/955976/ft1_4FGL_J0824.4+2440_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/955976/ft2_4FGL_J0824.4+2440_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/955976/ft1_4FGL_J0824.4+2440_daily_bin1778.fits outfile=/scratch/kocevski/955976/ft1_filteredMKT_4FGL_J0824.4+2440_daily_bin1778.fits ra=126.108 dec=24.6709 rad=12.0 tmin=700185601.0 tmax=700444801.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.95
user 3.69
sys 0.23

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

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

Number of photons that the gtmktime cut: 562

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/955976/ft1_filtered_4FGL_J0824.4+2440_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/955976/ft2_4FGL_J0824.4+2440_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/955976/ltcube_700185601_700444801_4FGL_J0824.4+2440_daily_bin1778.fits outfile=/scratch/kocevski/955976/expmap_700185601_700444801_4FGL_J0824.4+2440_daily_bin1778.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/955976/ltcube_700185601_700444801_4FGL_J0824.4+2440_daily_bin1778.fits
.....................!
real 194.54
user 187.87
sys 5.75

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 165 point sources and 0 extended sources

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

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/955976/ft1_filtered_4FGL_J0824.4+2440_daily_bin1778.fits scfile=/scratch/kocevski/955976/ft2_4FGL_J0824.4+2440_daily_bin1778.fits outfile=/scratch/kocevski/955976/cmap_700185601_700444801_4FGL_J0824.4+2440_daily_bin1778.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/955976/ft1_filtered_4FGL_J0824.4+2440_daily_bin1778.fits scfile=/scratch/kocevski/955976/ft2_4FGL_J0824.4+2440_daily_bin1778.fits outfile=/scratch/kocevski/955976/cmap_HighResolution_700185601_700444801_4FGL_J0824.4+2440_daily_bin1778.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.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .88818E-09   1.0000          .0000       .10000E+07
     2 'Prefactor '    .23015E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    30.368       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.9497       1.0000          .0000       .10000E+07
     5 'norm      '    .89262E-07   1.0000          .0000       .10000E+07
     6 'norm      '    .97247E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .24626E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10995E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.210       1.0000          .0000       .10000E+07
    10 'norm      '    2.1603       1.0000          .0000       .10000E+07
    11 'Prefactor '    .43772E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .35527E-08   1.0000          .0000       .10000E+07
    13 'Prefactor '    20.330       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.3734       1.0000          .0000       .10000E+07
    15 'norm      '    26.111       1.0000          .0000       .10000E+07
    16 'Normalizat'    .91062       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0953       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=   6149.151     FROM MIGRAD    STATUS=CONVERGED    123 CALLS      955 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16653E-09    1.2302        .29377E-06** at limit **
   2  Prefactor     .66613E-09    12.662        .67287E-05** at limit **
   3  Prefactor     30.430        2.0119        .34992E-08   -.11461E-01
   4  Prefactor     8.1762        2.0481        .17185E-05    .97610E-02
   5  norm          .55511E-10    3.1473        .83230E-06** at limit **
   6  norm          .68834E-08    77.438       -.50381E-04** at limit **
   7  Prefactor     .94369E-09    21.061       -.66460E-06** at limit **
   8  Prefactor     .72164E-09    15.328       -.14501E-05** at limit **
   9  Prefactor     11.354        2.8723       -.11762E-05   -.15220E-01
  10  norm          2.1564        1.4116       -.66293E-06   -.48862E-02
  11  Prefactor      .0000        4.2498       -.71290E-06** at limit **
  12  norm           .0000        .33115        .35054E-06** at limit **
  13  Prefactor     19.596        14.782       -.22099E-05    .19617E-03
  14  Prefactor     5.3183        12.576        .71053E-05    .18940E-03
  15  norm          28.318        37.410       -.72272E-05    .14376E-02
  16  Normalizat    .91064        .21199        .18204E-04    .17930E-03
  17  Prefactor     1.0952        .17678        .27326E-05    .65628E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.66533e-10
  Prefactor  = 6.66134e-10
  Prefactor  = 30.4297
  Prefactor  = 8.17618
  norm       = 5.55112e-11
  norm       = 6.88338e-09
  Prefactor  = 9.4369e-10
  Prefactor  = 7.21645e-10
  Prefactor  = 11.3542
  norm       = 2.15645
  Prefactor  = 0
  norm       = 0
  Prefactor  = 19.5959
  Prefactor  = 5.31835
  norm       = 28.3176
  Normalizat = 0.910641
  Prefactor  = 1.09518
 **********
 **   18 **HESSE 
 **********

 FCN=   6149.151     FROM HESSE     STATUS=OK           253 CALLS     1208 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16653E-09    1.2293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .66613E-09    12.666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     30.430        18.419        .18149E-03   -1.5598    
   4  Prefactor     8.1762        42.184        .35538E-03   -1.5651    
   5  norm          .55511E-10    3.1470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .68834E-08    77.624        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .94369E-09    20.902        .16749E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .72164E-09    15.334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.354        28.516        .29897E-03   -1.5641    
  10  norm          2.1564        1.6594        .70054E-03   -1.5679    
  11  Prefactor      .0000        4.2460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .32681        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     19.596        14.901        .22185E-03   -1.5619    
  14  Prefactor     5.3183        12.601        .43329E-03   -1.5662    
  15  norm          28.318        37.557        .19574E-03   -1.5602    
  16  Normalizat    .91064        .18548        .45037E-01   -.96087    
  17  Prefactor     1.0952        .15327        .37768E-01   -.89621    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.4442e-08
Minuit parameter uncertainties:
  1  2.93074e-05
  2  0.000184051
  3  18.4195
  4  37.1437
  5  2.67639e-05
  6  0.0014606
  7  0.000276823
  8  0.000207132
  9  28.516
  10  1.65937
  11  9.28569e-06
  12  8.44059e-08
  13  14.9007
  14  12.6006
  15  37.5568
  16  0.185607
  17  0.153332
Done.

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

Extracting fit parameters...

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  1.135e+01  2.852e+01  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.095e+00  1.533e-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.106e-01  1.856e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.24
Ra Dec: 126.108 24.671
Photon Flux Upper Limit: 1.23e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/955976/likelihoodResults_700185601_700444801_4FGL_J0824.4+2440_daily_bin1778.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) = 6148.62198736
delta logL = 0.52908492575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6148.04511575
delta logL = 1.10595653866

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11016E-04   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .82605       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1508       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6149.270     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      545 TOTAL
                     EDM=   .77E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.5866        .42118E-03** at limit **
   2  Index         1.3323        1.0733        .62933E-07     .0000    
   3  Normalizat    .93043        1.2293        .41652E-05   -.13028E-03
   4  Prefactor     1.0899        1.0952       -.13428E-04   -.38046E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.33235
  Normalizat = 0.930431
  Prefactor  = 1.08986
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6149.270     FROM HESSE     STATUS=FAILED         9 CALLS      554 TOTAL
                     EDM=   .77E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.5866        .42118E-03   -20.420    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.4580        1.9380        .62933E-07   -159.40    
   3  Normalizat    .93043        1.2293        .41652E-05   -32.370    
   4  Prefactor     1.0899        1.0952       -.13428E-04   -8.5269    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.73471e-11
Minuit parameter uncertainties:
  1  5.53989e-06
  2  1.09195
  3  1.26982
  4  1.1191
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/955976': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6149.27000863
delta logL = -0.118936347156

Extracting fit parameters...

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  0.000e+00  5.540e-06  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  1.332e+00  1.092e+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.090e+00  1.119e+00  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.304e-01  1.270e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.24
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/955976/cmap_HighResolution_700185601_700444801_4FGL_J0824.4+2440_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.61e-03', job_status='DONE', photon_flux_upper_limit='1.23e-07', time_completed='2023-03-14 00:39:00.106477', job_id='955976', GAL2='1.09', fit_tolerance='1e-08', EG2='0.93', EG='0.91', time_epoch_completed='1678779540.11', return_code2='101', ts='0.24', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='-1.19e-01', ts2='0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1778' AND source_name='4FGL J0824.4+2440' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 00:39:00 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 955976: <4FGL_J0824.4+2440_daily_bin1778> in cluster <slac> Done

Job <4FGL_J0824.4+2440_daily_bin1778> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Mar 14 00:30:13 2023
Job was executed on host(s) <bullet0193>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 00:30:13 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 00:30:13 2023
Terminated at Tue Mar 14 00:39:00 2023
Results reported at Tue Mar 14 00:39:00 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.4+2440_daily_bin1778 126.108 24.6709 700185601 700444801 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 :                                   510.44 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             342.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   527 sec.
    Turnaround time :                            527 sec.

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

