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


Performing analysis on: 4FGL_J0824.4+2440_weekly_bin754
RA = 126.108, Dec = 24.6709
tmin = 695001601, tmax = 695606401
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='948460', job_status='RUN', time_executed='2023-01-17 00:47:23.725895', time_epoch_executed='1673945243.73' WHERE source_name='4FGL J0824.4+2440' and cadence='weekly' and bin_id='754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/948460

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/948460/ft1_4FGL_J0824.4+2440_weekly_bin754.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/948460/ft2_4FGL_J0824.4+2440_weekly_bin754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/948460/ft1_4FGL_J0824.4+2440_weekly_bin754.fits outfile=/scratch/kocevski/948460/ft1_filteredMKT_4FGL_J0824.4+2440_weekly_bin754.fits ra=126.108 dec=24.6709 rad=12.0 tmin=695001601.0 tmax=695606401.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 5.63
user 5.30
sys 0.24

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

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

Number of photons that the gtmktime cut: 16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/948460/ft1_filtered_4FGL_J0824.4+2440_weekly_bin754.fits evtable="EVENTS" scfile=/scratch/kocevski/948460/ft2_4FGL_J0824.4+2440_weekly_bin754.fits sctable="SC_DATA" expcube=/scratch/kocevski/948460/ltcube_695001601_695606401_4FGL_J0824.4+2440_weekly_bin754.fits outfile=/scratch/kocevski/948460/expmap_695001601_695606401_4FGL_J0824.4+2440_weekly_bin754.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/948460/ltcube_695001601_695606401_4FGL_J0824.4+2440_weekly_bin754.fits
.....................!
real 193.20
user 187.06
sys 5.69

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/948460/ft1_filtered_4FGL_J0824.4+2440_weekly_bin754.fits scfile=/scratch/kocevski/948460/ft2_4FGL_J0824.4+2440_weekly_bin754.fits outfile=/scratch/kocevski/948460/cmap_695001601_695606401_4FGL_J0824.4+2440_weekly_bin754.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.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/948460/ft1_filtered_4FGL_J0824.4+2440_weekly_bin754.fits scfile=/scratch/kocevski/948460/ft2_4FGL_J0824.4+2440_weekly_bin754.fits outfile=/scratch/kocevski/948460/cmap_HighResolution_695001601_695606401_4FGL_J0824.4+2440_weekly_bin754.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.59
user 0.42
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/948460/ft1_filtered_4FGL_J0824.4+2440_weekly_bin754.fits', '/scratch/kocevski/948460/ft2_4FGL_J0824.4+2440_weekly_bin754.fits', expMap='/scratch/kocevski/948460/expmap_695001601_695606401_4FGL_J0824.4+2440_weekly_bin754.fits', expCube='/scratch/kocevski/948460/ltcube_695001601_695606401_4FGL_J0824.4+2440_weekly_bin754.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/948460/Model_4FGL_J0824.4+2440_weekly_bin754.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/948460/ft1_filtered_4FGL_J0824.4+2440_weekly_bin754.fits
Spacecraft file(s): /scratch/kocevski/948460/ft2_4FGL_J0824.4+2440_weekly_bin754.fits
Exposure map: /scratch/kocevski/948460/expmap_695001601_695606401_4FGL_J0824.4+2440_weekly_bin754.fits
Exposure cube: /scratch/kocevski/948460/ltcube_695001601_695606401_4FGL_J0824.4+2440_weekly_bin754.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/948460/Model_4FGL_J0824.4+2440_weekly_bin754.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 219.06611442

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 218.701391985

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7830       1.0000          .0000       .10000E+07
     2 'Prefactor '    7.4886       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.9747       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.1990       1.0000          .0000       .10000E+07
     5 'norm      '    9.5249       1.0000          .0000       .10000E+07
     6 'norm      '    9.7363       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.2136       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.1780       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.4106       1.0000          .0000       .10000E+07
    10 'norm      '    .14146E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .54984E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .12597E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .12814       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.5638       1.0000          .0000       .10000E+07
    15 'norm      '    .23411       1.0000          .0000       .10000E+07
    16 'Normalizat'    .67956       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .61616       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=   218.6882     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      217 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7830        1.0460         .0000         .0000    
   2  Prefactor     7.4886        1.0022         .0000         .0000    
   3  Prefactor     6.9747        1.0026         .0000         .0000    
   4  Prefactor     7.1990        1.0024         .0000         .0000    
   5  norm          9.5249        1.0014         .0000         .0000    
   6  norm          9.7363        1.0013         .0000         .0000    
   7  Prefactor     .37226E-02    914.95       -.98232E-06** at limit **
   8  Prefactor     .10729E-05    145.22        .30046E-05** at limit **
   9  Prefactor     .29936E-04    115.38        .26867E-05** at limit **
  10  norm          .55511E-10    9.2551        .16835E-05** at limit **
  11  Prefactor     .27756E-09    61.995        .14114E-05** at limit **
  12  norm           .0000        4.7823        .71438E-07** at limit **
  13  Prefactor     .30864E-07    237.83       -.10108E-05** at limit **
  14  Prefactor     .19311E-02    374.95        .48039E-06** at limit **
  15  norm          .22204E-09    152.37        .70489E-06** at limit **
  16  Normalizat    .68463        .84381        .12448E-03   -.16142E-04
  17  Prefactor     .61657        .72865       -.87211E-04   -.19292E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.78302
  Prefactor  = 7.48855
  Prefactor  = 6.9747
  Prefactor  = 7.19905
  norm       = 9.52487
  norm       = 9.73628
  Prefactor  = 0.0037226
  Prefactor  = 1.07292e-06
  Prefactor  = 2.99365e-05
  norm       = 5.55112e-11
  Prefactor  = 2.77556e-10
  norm       = 0
  Prefactor  = 3.08642e-08
  Prefactor  = 0.00193107
  norm       = 2.22045e-10
  Normalizat = 0.684628
  Prefactor  = 0.616571
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   218.6882     FROM HESSE     STATUS=FAILED        11 CALLS      228 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          62977.        62976.         .0000       -1.5681    
   2  Prefactor     7.4886        1.0022         .0000       -1.5653    
   3  Prefactor     6.9747        1.0026         .0000       -1.5655    
   4  Prefactor     7.1990        1.0024         .0000       -1.5654    
   5  norm          9.5249        1.0014         .0000       -1.5646    
   6  norm          9.7363        1.0013         .0000       -1.5646    
   7  Prefactor     .37226E-02    .26300       -.98232E-06   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10729E-05    .80717E-01    .30046E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .29936E-04    .10860        .26867E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .55511E-10    .44347E-01    .16835E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .27756E-09    .44347E-01    .14114E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .44347E-01    .71438E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .30864E-07    .43743       -.10108E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .19311E-02    .18076        .48039E-06   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .22204E-09    .31347        .70489E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .68463        1.0226        .12448E-03   -1.0450    
  17  Prefactor     .61657        .96482       -.87211E-04   -1.0689    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.25587e-10
Minuit parameter uncertainties:
  1  1.04601
  2  1.00225
  3  1.00259
  4  1.00243
  5  1.00138
  6  1.00132
  7  0.0625791
  8  0.00058856
  9  0.0036062
  10  2.56507e-06
  11  6.85692e-06
  12  1.15297e-06
  13  0.000232316
  14  0.0373659
  15  1.6652e-05
  16  1.05331
  17  0.992769
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 218.688217489

Extracting fit parameters...

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  2.994e-05  3.606e-03  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:  6.166e-01  9.928e-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:  6.846e-01  1.053e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 126.108 24.671
Photon Flux Upper Limit: 3.60e-06 ph cm-2 s-1
Energy Flux Upper Limit: 2.80e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/948460/likelihoodResults_695001601_695606401_4FGL_J0824.4+2440_weekly_bin754.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) = 218.689727268
delta logL = -0.00150977845311

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 218.688217485
delta logL = 4.20541823587e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13774E-04   1.0000          .0000       .10000E+07
     2 'Index     '    3.0473       1.0000          .0000       10.000    
     3 'Normalizat'    .68455       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61664       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=   218.6882     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      206 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .56360E-06    495.84        .32733E-04** at limit **
   2  Index         1.4465        5.3158        .99727E-03   -.78738E-09
   3  Normalizat    .68463        .84629        .60062E-03    .16273E-04
   4  Prefactor     .61658        .73016       -.51478E-03    .32704E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.63605e-07
  Index      = 1.44649
  Normalizat = 0.684625
  Prefactor  = 0.616575
 **********
 **   18 **HESSE 
 **********

 FCN=   218.6882     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      241 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .56360E-06    972.02        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4465        8.1210        .50000       -.79050    
   3  Normalizat    .68463        .23995E-01    .42084E-01   -1.0450    
   4  Prefactor     .61658        .20647E-01    .41280E-01   -1.0689    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.00977e-09
Minuit parameter uncertainties:
  1  0.0468185
  2  26825.7
  3  0.0239953
  4  0.0206469
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/948460': 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) = 218.688217442
delta logL = 4.74724970445e-08

Extracting fit parameters...

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  5.636e-07  4.682e-02  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  1.446e+00  2.683e+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:  6.166e-01  2.065e-02  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:  6.846e-01  2.400e-02  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/948460/cmap_HighResolution_695001601_695606401_4FGL_J0824.4+2440_weekly_bin754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.80e-01', job_status='DONE', photon_flux_upper_limit='3.60e-06', time_completed='2023-01-17 00:53:32.862810', job_id='948460', GAL2='0.62', fit_tolerance='1e-08', EG2='0.68', EG='0.68', time_epoch_completed='1673945612.86', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.62', dlogl='4.75e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='754' AND source_name='4FGL J0824.4+2440' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan 17 00:53:32 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 948460: <4FGL_J0824.4+2440_weekly_bin754> in cluster <slac> Done

Job <4FGL_J0824.4+2440_weekly_bin754> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Jan 17 00:45:23 2023
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 17 00:46:42 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 17 00:46:42 2023
Terminated at Tue Jan 17 00:53:33 2023
Results reported at Tue Jan 17 00:53:33 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.4+2440_weekly_bin754 126.108 24.6709 695001601 695606401 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 :                                   370.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             464.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   412 sec.
    Turnaround time :                            490 sec.

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

