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


Performing analysis on: 4FGL_J0824.4+2440_weekly_bin759
RA = 126.108, Dec = 24.6709
tmin = 698025601, tmax = 698630401
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='582439', job_status='RUN', time_executed='2023-02-21 03:06:50.227513', time_epoch_executed='1676977610.23' WHERE source_name='4FGL J0824.4+2440' and cadence='weekly' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/582439

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/582439/ft1_4FGL_J0824.4+2440_weekly_bin759.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/582439/ft2_4FGL_J0824.4+2440_weekly_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/582439/ft1_4FGL_J0824.4+2440_weekly_bin759.fits outfile=/scratch/kocevski/582439/ft1_filteredMKT_4FGL_J0824.4+2440_weekly_bin759.fits ra=126.108 dec=24.6709 rad=12.0 tmin=698025601.0 tmax=698630401.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 8.50
user 8.17
sys 0.28

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

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

Number of photons that the gtmktime cut: 566

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/582439/ft1_filtered_4FGL_J0824.4+2440_weekly_bin759.fits" evtable="EVENTS" scfile=/scratch/kocevski/582439/ft2_4FGL_J0824.4+2440_weekly_bin759.fits sctable="SC_DATA" outfile=/scratch/kocevski/582439/ltcube_698025601_698630401_4FGL_J0824.4+2440_weekly_bin759.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/582439/ft2_4FGL_J0824.4+2440_weekly_bin759.fits
.....................!
real 28.25
user 27.88
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/582439/ft1_filtered_4FGL_J0824.4+2440_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/582439/ft2_4FGL_J0824.4+2440_weekly_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/582439/ltcube_698025601_698630401_4FGL_J0824.4+2440_weekly_bin759.fits outfile=/scratch/kocevski/582439/expmap_698025601_698630401_4FGL_J0824.4+2440_weekly_bin759.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/582439/ltcube_698025601_698630401_4FGL_J0824.4+2440_weekly_bin759.fits
.....................!
real 190.64
user 186.09
sys 4.03

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/582439/ft1_filtered_4FGL_J0824.4+2440_weekly_bin759.fits scfile=/scratch/kocevski/582439/ft2_4FGL_J0824.4+2440_weekly_bin759.fits outfile=/scratch/kocevski/582439/cmap_698025601_698630401_4FGL_J0824.4+2440_weekly_bin759.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.58
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/582439/ft1_filtered_4FGL_J0824.4+2440_weekly_bin759.fits scfile=/scratch/kocevski/582439/ft2_4FGL_J0824.4+2440_weekly_bin759.fits outfile=/scratch/kocevski/582439/cmap_HighResolution_698025601_698630401_4FGL_J0824.4+2440_weekly_bin759.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.58
user 0.44
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33012E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    56.402       1.0000          .0000       .10000E+07
     3 'Prefactor '    28.175       1.0000          .0000       .10000E+07
     4 'Prefactor '    36.943       1.0000          .0000       .10000E+07
     5 'norm      '    .60063E-06   1.0000          .0000       .10000E+07
     6 'norm      '    180.15       1.0000          .0000       .10000E+07
     7 'Prefactor '    .50472E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    22.347       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.6973       1.0000          .0000       .10000E+07
    10 'norm      '    .95177       1.0000          .0000       .10000E+07
    11 'Prefactor '    10.985       1.0000          .0000       .10000E+07
    12 'norm      '    .42846E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .47218E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    23.118       1.0000          .0000       .10000E+07
    15 'norm      '    51.626       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0419       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .75750       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=   6372.601     FROM MIGRAD    STATUS=CONVERGED    217 CALLS     2003 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    2.2955        .38784E-06** at limit **
   2  Prefactor     56.235        39.129       -.23457E-05    .48103E-02
   3  Prefactor     28.263        17.279       -.15497E-06    .39629E-03
   4  Prefactor     36.860        10.971        .51146E-06    .25696E-01
   5  norm           .0000        2.9412        .23410E-06** at limit **
   6  norm          181.26        103.81       -.31379E-05    .15114E-02
   7  Prefactor     .12157E-07    145.84        .26336E-05** at limit **
   8  Prefactor     22.356        22.533        .61156E-06    .18392E-02
   9  Prefactor     5.5251        32.861        .83484E-05    .80903E-03
  10  norm          .95453        1.1622       -.49673E-06    .12298E-01
  11  Prefactor     11.016        10.224        .88096E-06    .14199E-02
  12  norm          .42705E-01    2.9316        .30816E-06** at limit **
  13  Prefactor     .16653E-08    8.1639       -.19162E-05** at limit **
  14  Prefactor     22.949        19.294       -.18634E-05    .22815E-02
  15  norm          51.814        42.074       -.10338E-06    .57957E-02
  16  Normalizat    1.0426        .21930        .44408E-05    .28576E-03
  17  Prefactor     .75701        .16208       -.23983E-05    .15339E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  Prefactor  = 56.2352
  Prefactor  = 28.263
  Prefactor  = 36.8597
  norm       = 0
  norm       = 181.26
  Prefactor  = 1.21569e-08
  Prefactor  = 22.3561
  Prefactor  = 5.52511
  norm       = 0.954532
  Prefactor  = 11.0161
  norm       = 0.0427047
  Prefactor  = 1.66533e-09
  Prefactor  = 22.9488
  norm       = 51.8138
  Normalizat = 1.04261
  Prefactor  = 0.757011
 **********
 **   18 **HESSE 
 **********

 FCN=   6372.601     FROM HESSE     STATUS=OK           265 CALLS     2268 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    2.2876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     56.235        39.860        .13316E-03   -1.5558    
   3  Prefactor     28.263        17.296        .18843E-03   -1.5602    
   4  Prefactor     36.860        42.453        .16454E-03   -1.5587    
   5  norm           .0000        2.9778        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          181.26        103.83        .74511E-04   -1.5439    
   7  Prefactor     .12157E-07    149.59        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.356        22.549        .21159E-03   -1.5613    
   9  Prefactor     5.5251        34.389        .42059E-03   -1.5661    
  10  norm          .95453        1.1871        .42244E-03   -1.5688    
  11  Prefactor     11.016        10.216        .30204E-03   -1.5642    
  12  norm          .42705E-01    .60695        .20603E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .16653E-08    8.1581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     22.949        19.163        .20803E-03   -1.5612    
  15  norm          51.814        42.826        .13919E-03   -1.5564    
  16  Normalizat    1.0426        .18765        .41136E-01   -.91616    
  17  Prefactor     .75701        .13873        .43162E-01   -1.0133    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.63319e-08
Minuit parameter uncertainties:
  1  2.05537e-05
  2  39.8606
  3  17.2958
  4  42.4538
  5  1.71842e-05
  6  103.831
  7  0.00269563
  8  22.5492
  9  27.5685
  10  1.18708
  11  10.2156
  12  0.321991
  13  0.000233043
  14  19.1634
  15  42.8265
  16  0.187766
  17  0.138789
Done.

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

Extracting fit parameters...

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  5.525e+00  2.757e+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:  7.570e-01  1.388e-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.043e+00  1.878e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/582439/likelihoodResults_698025601_698630401_4FGL_J0824.4+2440_weekly_bin759.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) = 6372.3536853
delta logL = 0.247133469406

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6372.26868227
delta logL = 0.332136502182

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7415       1.0000          .0000       .10000E+07
     2 'Index     '    4.0246       1.0000          .0000       10.000    
     3 'Normalizat'    .99696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78019       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=   6372.269     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      236 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7396        53.368        .79465E-03    .80029E-02
   2  Index         4.0251        3.7979        .12247        .15100E-03
   3  Normalizat    .99701        .44910E-01    .46129E-01    .10346E-04
   4  Prefactor     .78018        .35618E-01    .43459E-01    .15969E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.73964
  Index      = 4.02509
  Normalizat = 0.997007
  Prefactor  = 0.780175
 **********
 **   18 **HESSE 
 **********

 FCN=   6372.269     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      269 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7396        126.60        .12293E-04   -1.5682    
   2  Index         4.0251        6.8422        .74520E-02   -.19624    
   3  Normalizat    .99701        .16717        .25128E-03   -.93131    
   4  Prefactor     .78018        .13224        .22224E-03   -1.0046    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.18413e-06
Minuit parameter uncertainties:
  1  29.681
  2  8.56144
  3  0.167261
  4  0.132296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/582439': 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) = 6372.26868218
delta logL = 0.332136586022

Extracting fit parameters...

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  1.740e+00  2.968e+01  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  4.025e+00  8.561e+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:  7.802e-01  1.323e-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.970e-01  1.673e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
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/582439/cmap_HighResolution_698025601_698630401_4FGL_J0824.4+2440_weekly_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.78e-03', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2023-02-21 03:17:16.300013', job_id='582439', GAL2='0.78', fit_tolerance='1e-08', EG2='1.00', EG='1.04', time_epoch_completed='1676978236.3', return_code2='102', ts='0.06', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='3.32e-01', ts2='0.77', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='759' AND source_name='4FGL J0824.4+2440' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 21 03:17:16 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 582439: <4FGL_J0824.4+2440_weekly_bin759> in cluster <slac> Done

Job <4FGL_J0824.4+2440_weekly_bin759> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 21 03:05:28 2023
Job was executed on host(s) <bullet0115>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 03:05:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 03:05:29 2023
Terminated at Tue Feb 21 03:17:16 2023
Results reported at Tue Feb 21 03:17:16 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.4+2440_weekly_bin759 126.108 24.6709 698025601 698630401 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 :                                   624.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             304.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            708 sec.

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

