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


Performing analysis on: 4FGL_J0824.4+2440_daily_bin1780
RA = 126.108, Dec = 24.6709
tmin = 700704001, tmax = 700963201
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='55256', job_status='RUN', time_executed='2023-03-20 00:26:15.577850', time_epoch_executed='1679297175.58' WHERE source_name='4FGL J0824.4+2440' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/55256

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/55256/ft1_4FGL_J0824.4+2440_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/55256/ft2_4FGL_J0824.4+2440_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/55256/ft1_4FGL_J0824.4+2440_daily_bin1780.fits outfile=/scratch/kocevski/55256/ft1_filteredMKT_4FGL_J0824.4+2440_daily_bin1780.fits ra=126.108 dec=24.6709 rad=12.0 tmin=700704001.0 tmax=700963201.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.06
user 3.82
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/55256/ft2_4FGL_J0824.4+2440_daily_bin1780.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/55256/ft1_filteredMKT_4FGL_J0824.4+2440_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/55256/ft1_filtered_4FGL_J0824.4+2440_daily_bin1780.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.45
user 0.31
sys 0.13

Number of photons that the gtmktime cut: 701

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/55256/ft1_filtered_4FGL_J0824.4+2440_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/55256/ft2_4FGL_J0824.4+2440_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/55256/ltcube_700704001_700963201_4FGL_J0824.4+2440_daily_bin1780.fits outfile=/scratch/kocevski/55256/expmap_700704001_700963201_4FGL_J0824.4+2440_daily_bin1780.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/55256/ltcube_700704001_700963201_4FGL_J0824.4+2440_daily_bin1780.fits
.....................!
real 190.06
user 184.82
sys 4.92

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/55256/ft1_filtered_4FGL_J0824.4+2440_daily_bin1780.fits scfile=/scratch/kocevski/55256/ft2_4FGL_J0824.4+2440_daily_bin1780.fits outfile=/scratch/kocevski/55256/cmap_700704001_700963201_4FGL_J0824.4+2440_daily_bin1780.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/55256/ft1_filtered_4FGL_J0824.4+2440_daily_bin1780.fits scfile=/scratch/kocevski/55256/ft2_4FGL_J0824.4+2440_daily_bin1780.fits outfile=/scratch/kocevski/55256/cmap_HighResolution_700704001_700963201_4FGL_J0824.4+2440_daily_bin1780.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.53
user 0.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4850       1.0000          .0000       .10000E+07
     2 'Prefactor '    19.399       1.0000          .0000       .10000E+07
     3 'Prefactor '    .16537E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.1359       1.0000          .0000       .10000E+07
     5 'norm      '    .15399E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .26913       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10826       1.0000          .0000       .10000E+07
     8 'Prefactor '    .16128E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .46487E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .95038       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.4172       1.0000          .0000       .10000E+07
    12 'norm      '    .76780       1.0000          .0000       .10000E+07
    13 'Prefactor '    .34800E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    41.695       1.0000          .0000       .10000E+07
    15 'norm      '    6.7904       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.3074       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .80944       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=   7820.836     FROM MIGRAD    STATUS=CONVERGED    148 CALLS      972 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5871        3.6743       -.12036E-07    .73909E-03
   2  Prefactor     16.880        35.641        .15231E-06   -.11853E-01
   3  Prefactor     .29421E-08    13.352       -.51869E-06** at limit **
   4  Prefactor     .15161E-05    2557.1       -.16392E-05** at limit **
   5  norm           .0000        3.4493       -.19645E-07** at limit **
   6  norm          .11102E-09    45.230        .10251E-06** at limit **
   7  Prefactor      .0000        44.263       -.11380E-06** at limit **
   8  Prefactor      .0000        9.4523        .13409E-06** at limit **
   9  Prefactor     .81527E-04    516.70       -.63873E-06** at limit **
  10  norm          .94758        .94640       -.48078E-07   -.21635E-02
  11  Prefactor     8.4308        8.6666        .42798E-07    .15307E-02
  12  norm          .76489        .55289       -.10586E-07   -.84584E-03
  13  Prefactor      .0000        6.8448       -.68151E-07** at limit **
  14  Prefactor     41.357        13.347        .20091E-07    .17874    
  15  norm          7.3840        17.528        .60701E-07    .49269E-01
  16  Normalizat    1.3118        .21481       -.13805E-05    .22387E-03
  17  Prefactor     .80811        .16411        .39217E-05    .26888E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.58709
  Prefactor  = 16.88
  Prefactor  = 2.94209e-09
  Prefactor  = 1.51607e-06
  norm       = 0
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 8.15274e-05
  norm       = 0.947582
  Prefactor  = 8.43082
  norm       = 0.764886
  Prefactor  = 0
  Prefactor  = 41.357
  norm       = 7.38397
  Normalizat = 1.31177
  Prefactor  = 0.808111
 **********
 **   18 **HESSE 
 **********

 FCN=   7820.836     FROM HESSE     STATUS=OK           269 CALLS     1241 TOTAL
                     EDM=   .41E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5871        3.7553        .64821E-03   -1.5676    
   2  Prefactor     16.880        36.173        .22712E-03   -1.5626    
   3  Prefactor     .29421E-08    13.319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15161E-05    47.168        .11712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        3.4509        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .11102E-09    45.509        .10656E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        43.327        .13713E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        9.4654        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .81527E-04    14.025        .10885E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .94758        .98201        .42338E-03   -1.5688    
  11  Prefactor     8.4308        8.6849        .34529E-03   -1.5650    
  12  norm          .76489        .55209        .55366E-03   -1.5690    
  13  Prefactor      .0000        6.8512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     41.357        18.838        .15488E-03   -1.5579    
  15  norm          7.3840        20.085        .38481E-03   -1.5654    
  16  Normalizat    1.3118        .17799        .55084E-01   -.83216    
  17  Prefactor     .80811        .13533        .43840E-01   -.99430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.13608e-07
Minuit parameter uncertainties:
  1  3.75528
  2  36.1732
  3  0.000395709
  4  0.0169128
  5  1.15484e-06
  6  0.000153294
  7  6.40868e-05
  8  1.61618e-05
  9  0.0676286
  10  0.982008
  11  8.6849
  12  0.552094
  13  6.64002e-06
  14  18.8377
  15  20.0851
  16  0.178071
  17  0.135385
Done.

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

Extracting fit parameters...

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  8.153e-05  6.763e-02  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  2.529e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  9.487e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  8.081e-01  1.354e-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.312e+00  1.781e-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: 8.27e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.44e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/55256/likelihoodResults_700704001_700963201_4FGL_J0824.4+2440_daily_bin1780.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) = 7820.83855433
delta logL = -0.00243881280767

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7820.8361558
delta logL = -4.02845525969e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44251E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.5034       1.0000          .0000       10.000    
     3 'Normalizat'    1.3111       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80795       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=   7820.836     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      298 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .90148E-01    29.381        .84304E-02** at limit **
   2  Index         2.3815        6.1903        .50000        .15835E-04
   3  Normalizat    1.3117        .48085E-02    .55085E-01   -.19088E-03
   4  Prefactor     .80809        .38222E-02    .43821E-01   -.23688E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0901477
  Index      = 2.38149
  Normalizat = 1.3117
  Prefactor  = 0.808088
 **********
 **   18 **HESSE 
 **********

 FCN=   7820.836     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      339 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .90148E-01    17.122        .10984E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3815        3.4890        .50000       -.55119    
   3  Normalizat    1.3117        .44441E-02    .24358E-03   -.83218    
   4  Prefactor     .80809        .35326E-02    .23890E-03   -.99431    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.43631e-11
Minuit parameter uncertainties:
  1  2.48474
  2  4.08848
  3  0.00444411
  4  0.00353263
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/55256': 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) = 7820.83610271
delta logL = 1.28120582303e-05

Extracting fit parameters...

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  9.015e-02  2.485e+00  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  2.381e+00  4.088e+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:  8.081e-01  3.533e-03  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.312e+00  4.444e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 126.108 24.671

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/55256/cmap_HighResolution_700704001_700963201_4FGL_J0824.4+2440_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.44e-03', job_status='DONE', photon_flux_upper_limit='8.27e-08', time_completed='2023-03-20 00:35:10.734685', job_id='55256', GAL2='0.81', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1679297710.73', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='1.28e-05', ts2='0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1780' AND source_name='4FGL J0824.4+2440' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 00:35:10 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 55256: <4FGL_J0824.4+2440_daily_bin1780> in cluster <slac> Done

Job <4FGL_J0824.4+2440_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 00:25:19 2023
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:25:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:25:20 2023
Terminated at Mon Mar 20 00:35:11 2023
Results reported at Mon Mar 20 00:35:11 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.4+2440_daily_bin1780 126.108 24.6709 700704001 700963201 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 :                                   537.12 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             276.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   590 sec.
    Turnaround time :                            592 sec.

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

