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


Performing analysis on: 4FGL_J0824.4+2440_daily_bin1750
RA = 126.108, Dec = 24.6709
tmin = 692928001, tmax = 693187201
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='3644', job_status='RUN', time_executed='2022-12-20 00:28:23.549299', time_epoch_executed='1671524903.55' WHERE source_name='4FGL J0824.4+2440' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/3644

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/3644/ft1_4FGL_J0824.4+2440_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/3644/ft2_4FGL_J0824.4+2440_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/3644/ft1_4FGL_J0824.4+2440_daily_bin1750.fits outfile=/scratch/kocevski/3644/ft1_filteredMKT_4FGL_J0824.4+2440_daily_bin1750.fits ra=126.108 dec=24.6709 rad=12.0 tmin=692928001.0 tmax=693187201.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.44
user 3.22
sys 0.20

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

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

Number of photons that the gtmktime cut: 572

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/3644/ft1_filtered_4FGL_J0824.4+2440_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/3644/ft2_4FGL_J0824.4+2440_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/3644/ltcube_692928001_693187201_4FGL_J0824.4+2440_daily_bin1750.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/3644/ft2_4FGL_J0824.4+2440_daily_bin1750.fits
.....................!
real 11.62
user 11.28
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/3644/ft1_filtered_4FGL_J0824.4+2440_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/3644/ft2_4FGL_J0824.4+2440_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/3644/ltcube_692928001_693187201_4FGL_J0824.4+2440_daily_bin1750.fits outfile=/scratch/kocevski/3644/expmap_692928001_693187201_4FGL_J0824.4+2440_daily_bin1750.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/3644/ltcube_692928001_693187201_4FGL_J0824.4+2440_daily_bin1750.fits
.....................!
real 190.50
user 185.45
sys 4.73

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/3644/ft1_filtered_4FGL_J0824.4+2440_daily_bin1750.fits scfile=/scratch/kocevski/3644/ft2_4FGL_J0824.4+2440_daily_bin1750.fits outfile=/scratch/kocevski/3644/cmap_692928001_693187201_4FGL_J0824.4+2440_daily_bin1750.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/3644/ft1_filtered_4FGL_J0824.4+2440_daily_bin1750.fits scfile=/scratch/kocevski/3644/ft2_4FGL_J0824.4+2440_daily_bin1750.fits outfile=/scratch/kocevski/3644/cmap_HighResolution_692928001_693187201_4FGL_J0824.4+2440_daily_bin1750.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .42297       1.0000          .0000       .10000E+07
     2 'Prefactor '    11.976       1.0000          .0000       .10000E+07
     3 'Prefactor '    38.612       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.0438       1.0000          .0000       .10000E+07
     5 'norm      '    .49225E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .28897E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .71349E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .15382E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.7998       1.0000          .0000       .10000E+07
    10 'norm      '    .95479E-08   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.4012       1.0000          .0000       .10000E+07
    12 'norm      '    .34193       1.0000          .0000       .10000E+07
    13 'Prefactor '    10.605       1.0000          .0000       .10000E+07
    14 'Prefactor '    43.962       1.0000          .0000       .10000E+07
    15 'norm      '    .16807E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0250       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0752       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=   6529.007     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1003 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .30581        14.115       -.40210E-06    .44555E-02
   2  Prefactor     14.081        44.373       -.97720E-07    .43635E-01
   3  Prefactor     38.845        5.3046        .32188E-07   -.24116    
   4  Prefactor     3.3425        21.816       -.25139E-07    .68487E-01
   5  norm          .78271E-08    10.360       -.63026E-06** at limit **
   6  norm          .55456E-07    43.768       -.30059E-06** at limit **
   7  Prefactor     .50571E-07    14.525        .68956E-07** at limit **
   8  Prefactor     .55511E-10    6.8303       -.12627E-06** at limit **
   9  Prefactor     1.6691        1.1544        .37027E-07   -.26334E-02
  10  norm           .0000        .69160        .15680E-06** at limit **
  11  Prefactor     1.4480        14.814        .10062E-05    .54489E-03
  12  norm          .34154        .61768        .62790E-07    .35304E-04
  13  Prefactor     10.672        12.599        .24802E-06    .55302E-01
  14  Prefactor     44.074        1.1683        .44685E-08   -.19633E-01
  15  norm          .50404E-07    11.703       -.54844E-06** at limit **
  16  Normalizat    1.0239        .22991        .16953E-04   -.66323E-04
  17  Prefactor     1.0755        .18423       -.93445E-05   -.28942E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.305813
  Prefactor  = 14.0812
  Prefactor  = 38.8449
  Prefactor  = 3.34254
  norm       = 7.82707e-09
  norm       = 5.54556e-08
  Prefactor  = 5.05707e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 1.6691
  norm       = 0
  Prefactor  = 1.44799
  norm       = 0.341541
  Prefactor  = 10.6719
  Prefactor  = 44.074
  norm       = 5.04041e-08
  Normalizat = 1.02391
  Prefactor  = 1.07553
 **********
 **   18 **HESSE 
 **********

 FCN=   6529.007     FROM HESSE     STATUS=OK           265 CALLS     1268 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .30581        6.5568        .47998E-02   -1.5697    
   2  Prefactor     14.081        51.137        .28922E-03   -1.5633    
   3  Prefactor     38.845        28.285        .16095E-03   -1.5583    
   4  Prefactor     3.3425        227.74        .50119E-03   -1.5671    
   5  norm          .78271E-08    10.314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .55456E-07    43.989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .50571E-07    14.505        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-10    6.7729        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.6691        56.174        .77894E-03   -1.5682    
  10  norm           .0000        .68655        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.4480        15.285        .91619E-03   -1.5684    
  12  norm          .34154        .67416        .18708E-02   -1.5696    
  13  Prefactor     10.672        12.961        .30743E-03   -1.5643    
  14  Prefactor     44.074        20.527        .15083E-03   -1.5575    
  15  norm          .50404E-07    11.673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0239        .20232        .62626E-01   -.92234    
  17  Prefactor     1.0755        .15477        .38615E-01   -.90253    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.17159e-06
Minuit parameter uncertainties:
  1  2.83208
  2  51.1388
  3  28.2855
  4  55.1829
  5  0.000567334
  6  0.00312351
  7  0.00171323
  8  3.03603e-05
  9  19.3661
  10  1.31674e-06
  11  9.40921
  12  0.674157
  13  12.961
  14  20.5267
  15  0.00153444
  16  0.202477
  17  0.154836
Done.

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

Extracting fit parameters...

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  1.669e+00  1.937e+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.076e+00  1.548e-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.024e+00  2.025e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 126.108 24.671
Photon Flux Upper Limit: 9.68e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/3644/likelihoodResults_692928001_693187201_4FGL_J0824.4+2440_daily_bin1750.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) = 6528.9502892
delta logL = 0.0571508948497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6528.9432581
delta logL = 0.0641819917801

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5598       1.0000          .0000       .10000E+07
     2 'Index     '    3.3000       1.0000          .0000       10.000    
     3 'Normalizat'    1.0065       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0827       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6528.943     FROM MIGRAD    STATUS=FAILED        90 CALLS      259 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5599        95.188        .12756E-03   -.86878E-02
   2  Index         3.3001        6.6471        .12884E-01    .19630E-04
   3  Normalizat    1.0065        .23249        .27893E-03   -.28531E-06
   4  Prefactor     1.0827        .18625        .21875E-03    .41576E-06
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6528.943     FROM SIMPLEX   STATUS=UNCHANGED     96 CALLS      355 TOTAL
                     EDM=   .70E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5599        95.188        .22346E-04   -1.5676    
   2  Index         3.3001        6.6471        .13764E-02   -.34690    
   3  Normalizat    1.0065        .23249        .11808E-03   -.92813    
   4  Prefactor     1.0827        .18625        .10107E-03   -.90021    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6528.943     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      384 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5605        11.510        .51026E-05   -.36731E-02
   2  Index         3.3000        2.0128        .51538E-03   -.57816E-04
   3  Normalizat    1.0065        .23309        .11157E-04    .19972E-04
   4  Prefactor     1.0827        .18557        .87502E-05    .14292E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.56045
  Index      = 3.29999
  Normalizat = 1.0065
  Prefactor  = 1.08272
 **********
 **   18 **HESSE 
 **********

 FCN=   6528.943     FROM HESSE     STATUS=OK            23 CALLS      407 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5605        11.212        .10205E-05   -1.5676    
   2  Index         3.3000        1.9883        .20615E-04   -.34692    
   3  Normalizat    1.0065        .23360        .22314E-05   -.92813    
   4  Prefactor     1.0827        .18594        .17500E-05   -.90021    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.38382e-10
Minuit parameter uncertainties:
  1  10.7158
  2  2.05289
  3  0.233843
  4  0.18605
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/3644': 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) = 6528.9432581
delta logL = 0.0641819954044

Extracting fit parameters...

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  2.560e+00  1.072e+01  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  3.300e+00  2.053e+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.083e+00  1.860e-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.006e+00  2.338e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/3644/cmap_HighResolution_692928001_693187201_4FGL_J0824.4+2440_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.54e-03', job_status='DONE', photon_flux_upper_limit='9.68e-08', time_completed='2022-12-20 00:36:58.752313', job_id='3644', GAL2='1.08', fit_tolerance='1e-08', EG2='1.01', EG='1.02', time_epoch_completed='1671525418.75', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='6.42e-02', ts2='0.14', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1750' AND source_name='4FGL J0824.4+2440' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:36:58 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 3644: <4FGL_J0824.4+2440_daily_bin1750> in cluster <slac> Done

Job <4FGL_J0824.4+2440_daily_bin1750> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Dec 20 00:25:20 2022
Job was executed on host(s) <bullet0125>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:25:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:25:20 2022
Terminated at Tue Dec 20 00:36:59 2022
Results reported at Tue Dec 20 00:36:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.4+2440_daily_bin1750 126.108 24.6709 692928001 693187201 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 :                                   517.04 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             289.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   699 sec.
    Turnaround time :                            699 sec.

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

