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


Performing analysis on: 4FGL_J0824.4+2440_daily_bin1710
RA = 126.108, Dec = 24.6709
tmin = 682560001, tmax = 682819201
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='67931', job_status='RUN', time_executed='2022-09-16 13:58:18.265312', time_epoch_executed='1663361898.27' WHERE source_name='4FGL J0824.4+2440' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/67931

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/67931/ft1_4FGL_J0824.4+2440_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/67931/ft2_4FGL_J0824.4+2440_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/67931/ft1_4FGL_J0824.4+2440_daily_bin1710.fits outfile=/scratch/kocevski/67931/ft1_filteredMKT_4FGL_J0824.4+2440_daily_bin1710.fits ra=126.108 dec=24.6709 rad=12.0 tmin=682560001.0 tmax=682819201.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.68
user 3.42
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/67931/ft2_4FGL_J0824.4+2440_daily_bin1710.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/67931/ft1_filteredMKT_4FGL_J0824.4+2440_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/67931/ft1_filtered_4FGL_J0824.4+2440_daily_bin1710.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.52
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 603

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/67931/ft1_filtered_4FGL_J0824.4+2440_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/67931/ft2_4FGL_J0824.4+2440_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/67931/ltcube_682560001_682819201_4FGL_J0824.4+2440_daily_bin1710.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/67931/ft2_4FGL_J0824.4+2440_daily_bin1710.fits
.....................!
real 15.91
user 15.43
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/67931/ft1_filtered_4FGL_J0824.4+2440_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/67931/ft2_4FGL_J0824.4+2440_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/67931/ltcube_682560001_682819201_4FGL_J0824.4+2440_daily_bin1710.fits outfile=/scratch/kocevski/67931/expmap_682560001_682819201_4FGL_J0824.4+2440_daily_bin1710.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/67931/ltcube_682560001_682819201_4FGL_J0824.4+2440_daily_bin1710.fits
.....................!
real 193.33
user 187.45
sys 5.27

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/67931/ft1_filtered_4FGL_J0824.4+2440_daily_bin1710.fits scfile=/scratch/kocevski/67931/ft2_4FGL_J0824.4+2440_daily_bin1710.fits outfile=/scratch/kocevski/67931/cmap_682560001_682819201_4FGL_J0824.4+2440_daily_bin1710.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/67931/ft1_filtered_4FGL_J0824.4+2440_daily_bin1710.fits scfile=/scratch/kocevski/67931/ft2_4FGL_J0824.4+2440_daily_bin1710.fits outfile=/scratch/kocevski/67931/cmap_HighResolution_682560001_682819201_4FGL_J0824.4+2440_daily_bin1710.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=126.108 yref=24.6709 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .42560E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10224E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    6.6555       1.0000          .0000       .10000E+07
     4 'Prefactor '    .81154E-01   1.0000          .0000       .10000E+07
     5 'norm      '    .10801E-03   1.0000          .0000       .10000E+07
     6 'norm      '    65.321       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.7105       1.0000          .0000       .10000E+07
     8 'Prefactor '    6.3946       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6384       1.0000          .0000       .10000E+07
    10 'norm      '    2.9396       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.5256       1.0000          .0000       .10000E+07
    12 'norm      '    1.3958       1.0000          .0000       .10000E+07
    13 'Prefactor '    .16376E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    10.595       1.0000          .0000       .10000E+07
    15 'norm      '    .41629E-04   1.0000          .0000       .10000E+07
    16 'Normalizat'    .73280       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.3859       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=   6951.760     FROM MIGRAD    STATUS=CONVERGED    106 CALLS     1201 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        6.3975       -.34718E-07** at limit **
   2  Prefactor      .0000        13.860        .58119E-07** at limit **
   3  Prefactor     6.5692        13.297        .72614E-07   -.34446E-01
   4  Prefactor     .33307E-09    30.971       -.20987E-06** at limit **
   5  norm          .55511E-09    4.7835        .19444E-06** at limit **
   6  norm          65.417        1.8599        .17392E-07   -.58305E-01
   7  Prefactor     5.5876        1.2996       -.32320E-07   -.34655E-01
   8  Prefactor     6.3999        1.1498       -.80331E-08    .37713E-01
   9  Prefactor     2.7615        1.5694       -.20576E-07   -.31176E-01
  10  norm          2.9351        1.5697       -.37599E-07   -.58501E-02
  11  Prefactor     4.5267        11.100        .14688E-06   -.75145E-02
  12  norm          1.3958        .74392       -.14906E-08    .14411E-02
  13  Prefactor     .19096E-07    156.04       -.23215E-05** at limit **
  14  Prefactor     10.545        5.2505       -.25158E-07   -.10444    
  15  norm          .11213E-07    29.095       -.42841E-06** at limit **
  16  Normalizat    .73287        .21937        .98747E-06   -.13438E-04
  17  Prefactor     1.3860        .18131       -.81582E-06   -.74147E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  Prefactor  = 6.56917
  Prefactor  = 3.33067e-10
  norm       = 5.55112e-10
  norm       = 65.4169
  Prefactor  = 5.5876
  Prefactor  = 6.39992
  Prefactor  = 2.76152
  norm       = 2.93514
  Prefactor  = 4.52674
  norm       = 1.39583
  Prefactor  = 1.90958e-08
  Prefactor  = 10.5447
  norm       = 1.12133e-08
  Normalizat = 0.73287
  Prefactor  = 1.38602
 **********
 **   18 **HESSE 
 **********

 FCN=   6951.760     FROM HESSE     STATUS=OK           263 CALLS     1464 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        6.2635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        13.972        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.5692        14.305        .38873E-03   -1.5657    
   4  Prefactor     .33307E-09    30.930        .14466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .55511E-09    4.7875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          65.417        78.532        .12374E-03   -1.5546    
   7  Prefactor     5.5876        26.534        .42010E-03   -1.5661    
   8  Prefactor     6.3999        15.880        .39668E-03   -1.5657    
   9  Prefactor     2.7615        66.011        .62746E-03   -1.5675    
  10  norm          2.9351        1.8841        .59215E-03   -1.5674    
  11  Prefactor     4.5267        11.289        .47300E-03   -1.5665    
  12  norm          1.3958        .74564        .91869E-03   -1.5684    
  13  Prefactor     .19096E-07    150.19        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.545        15.499        .30756E-03   -1.5643    
  15  norm          .11213E-07    29.203        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .73287        .19161        .74368E-01   -1.0261    
  17  Prefactor     1.3860        .15538        .47038E-01   -.80784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06738e-06
Minuit parameter uncertainties:
  1  1.0879e-05
  2  3.47383e-05
  3  14.3052
  4  0.000207878
  5  0.000100681
  6  78.5334
  7  24.3526
  8  15.8799
  9  27.0034
  10  1.88405
  11  11.2889
  12  0.745643
  13  0.00338932
  14  15.4994
  15  0.00114465
  16  0.191786
  17  0.155433
Done.

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

Extracting fit parameters...

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  2.762e+00  2.700e+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.386e+00  1.554e-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:  7.329e-01  1.918e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/67931/likelihoodResults_682560001_682819201_4FGL_J0824.4+2440_daily_bin1710.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) = 6951.75715857
delta logL = 0.00332041295678

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6951.75587653
delta logL = 0.0046024570529

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0994       1.0000          .0000       .10000E+07
     2 'Index     '    2.3149       1.0000          .0000       10.000    
     3 'Normalizat'    .73400       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3856       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=   6951.756     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      262 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1405        619.83        .49767E-03    .68200E-03
   2  Index         2.3179        2.0761        .50000        .15055E-04
   3  Normalizat    .73339        .18420E-01    .74342E-01   -.52683E-04
   4  Prefactor     1.3852        .15483E-01    .47047E-01   -.17874E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.14047
  Index      = 2.31794
  Normalizat = 0.733394
  Prefactor  = 1.38522
 **********
 **   18 **HESSE 
 **********

 FCN=   6951.756     FROM HESSE     STATUS=OK            31 CALLS      293 TOTAL
                     EDM=   .72E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1405        47.413        .19907E-04   -1.5667    
   2  Index         2.3179        1.9413        .10833E-01   -.56618    
   3  Normalizat    .73339        .21311        .32907E-03   -1.0259    
   4  Prefactor     1.3852        .17979        .20796E-03   -.80807    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.24612e-11
Minuit parameter uncertainties:
  1  28.0227
  2  2.01721
  3  0.213354
  4  0.179874
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/67931': 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): 0
logL (Free Index) = 6951.75583275
delta logL = 0.00464623258813

Extracting fit parameters...

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  4.140e+00  2.802e+01  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  2.318e+00  2.017e+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.385e+00  1.799e-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:  7.334e-01  2.134e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 126.108 24.671

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/67931/cmap_HighResolution_682560001_682819201_4FGL_J0824.4+2440_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.59e-03', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2022-09-16 14:07:19.470646', job_id='67931', GAL2='1.39', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1663362439.47', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.39', dlogl='4.65e-03', ts2='0.03', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1710' AND source_name='4FGL J0824.4+2440' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 14:07:19 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 67931: <4FGL_J0824.4+2440_daily_bin1710> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.4+2440_daily_bin1710 126.108 24.6709 682560001 682819201 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 :                                   542.43 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             327.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   601 sec.
    Turnaround time :                            722 sec.

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

