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


Performing analysis on: 4FGL_J1023.7+0038_daily_bin1757
RA = 155.945, Dec = 0.6499
tmin = 694742401, tmax = 695001601
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='191841', job_status='RUN', time_executed='2023-01-10 00:40:46.997572', time_epoch_executed='1673340047.0' WHERE source_name='4FGL J1023.7+0038' and cadence='daily' and bin_id='1757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/191841

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/191841/ft1_4FGL_J1023.7+0038_daily_bin1757.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/191841/ft2_4FGL_J1023.7+0038_daily_bin1757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/191841/ft1_4FGL_J1023.7+0038_daily_bin1757.fits outfile=/scratch/kocevski/191841/ft1_filteredMKT_4FGL_J1023.7+0038_daily_bin1757.fits ra=155.945 dec=0.6499 rad=12.0 tmin=694742401.0 tmax=695001601.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 2.39
user 2.19
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/191841/ft2_4FGL_J1023.7+0038_daily_bin1757.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/191841/ft2_4FGL_J1023.7+0038_daily_bin1757.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/191841/ft1_filteredMKT_4FGL_J1023.7+0038_daily_bin1757.fits evtable="EVENTS" outfile="/scratch/kocevski/191841/ft1_filtered_4FGL_J1023.7+0038_daily_bin1757.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.48
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 301

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/191841/ft1_filtered_4FGL_J1023.7+0038_daily_bin1757.fits" evtable="EVENTS" scfile=/scratch/kocevski/191841/ft2_4FGL_J1023.7+0038_daily_bin1757.fits sctable="SC_DATA" outfile=/scratch/kocevski/191841/ltcube_694742401_695001601_4FGL_J1023.7+0038_daily_bin1757.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/191841/ft2_4FGL_J1023.7+0038_daily_bin1757.fits
.....................!
real 14.40
user 14.00
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/191841/ft1_filtered_4FGL_J1023.7+0038_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/191841/ft2_4FGL_J1023.7+0038_daily_bin1757.fits sctable="SC_DATA" expcube=/scratch/kocevski/191841/ltcube_694742401_695001601_4FGL_J1023.7+0038_daily_bin1757.fits outfile=/scratch/kocevski/191841/expmap_694742401_695001601_4FGL_J1023.7+0038_daily_bin1757.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/191841/ltcube_694742401_695001601_4FGL_J1023.7+0038_daily_bin1757.fits
.....................!
real 161.54
user 156.35
sys 4.83

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 156 point sources and 0 extended sources

Setting source of interest to:
4FGL J1023.7+0038 @ 155.945 0.6499

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/191841/ft1_filtered_4FGL_J1023.7+0038_daily_bin1757.fits scfile=/scratch/kocevski/191841/ft2_4FGL_J1023.7+0038_daily_bin1757.fits outfile=/scratch/kocevski/191841/cmap_694742401_695001601_4FGL_J1023.7+0038_daily_bin1757.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=155.945 yref=0.6499 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.49
user 0.33
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/191841/ft1_filtered_4FGL_J1023.7+0038_daily_bin1757.fits scfile=/scratch/kocevski/191841/ft2_4FGL_J1023.7+0038_daily_bin1757.fits outfile=/scratch/kocevski/191841/cmap_HighResolution_694742401_695001601_4FGL_J1023.7+0038_daily_bin1757.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=155.945 yref=0.6499 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.49
user 0.33
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/191841/ft1_filtered_4FGL_J1023.7+0038_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/191841/ft2_4FGL_J1023.7+0038_daily_bin1757.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/191841/Model_4FGL_J1023.7+0038_daily_bin1757.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/191841/ft1_filtered_4FGL_J1023.7+0038_daily_bin1757.fits.....................!
real 34.93
user 33.67
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/191841/ft1_filtered_4FGL_J1023.7+0038_daily_bin1757.fits', '/scratch/kocevski/191841/ft2_4FGL_J1023.7+0038_daily_bin1757.fits', expMap='/scratch/kocevski/191841/expmap_694742401_695001601_4FGL_J1023.7+0038_daily_bin1757.fits', expCube='/scratch/kocevski/191841/ltcube_694742401_695001601_4FGL_J1023.7+0038_daily_bin1757.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/191841/Model_4FGL_J1023.7+0038_daily_bin1757.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1023.7+0038'

4FGL J1023.7+0038
   Spectrum: LogParabola
214         norm:  2.061e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
215        alpha:  2.233e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
216         beta:  1.811e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
217           Eb:  5.178e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/191841/ft1_filtered_4FGL_J1023.7+0038_daily_bin1757.fits
Spacecraft file(s): /scratch/kocevski/191841/ft2_4FGL_J1023.7+0038_daily_bin1757.fits
Exposure map: /scratch/kocevski/191841/expmap_694742401_695001601_4FGL_J1023.7+0038_daily_bin1757.fits
Exposure cube: /scratch/kocevski/191841/ltcube_694742401_695001601_4FGL_J1023.7+0038_daily_bin1757.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/191841/Model_4FGL_J1023.7+0038_daily_bin1757.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) = 3486.20222838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0979       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.2705       1.0000          .0000       .10000E+07
     3 'Prefactor '    8.8084       1.0000          .0000       .10000E+07
     4 'Prefactor '    .10971E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .18128E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .22163E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .16715E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    12.684       1.0000          .0000       .10000E+07
     9 'norm      '    3.0265       1.0000          .0000       .10000E+07
    10 'Prefactor '    .98910E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.7449       1.0000          .0000       .10000E+07
    12 'Prefactor '    17.387       1.0000          .0000       .10000E+07
    13 'norm      '    .63838E-08   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0959       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .81404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3486.168     FROM MIGRAD    STATUS=CONVERGED    117 CALLS      816 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0973        .95432       -.19479E-07   -.55691E-03
   2  Prefactor     6.3293        14.532       -.25205E-06   -.57670E-02
   3  Prefactor     8.2984        86.153       -.77700E-05    .14351E-03
   4  Prefactor     .44409E-09    24.204       -.99250E-06** at limit **
   5  Prefactor     .11102E-09    11.136        .70433E-06** at limit **
   6  Prefactor      .0000        32.556       -.32001E-07** at limit **
   7  Prefactor      .0000        41.732       -.81086E-06** at limit **
   8  Prefactor     12.452        13.298       -.24251E-08    .99825E-02
   9  norm          3.0279        1.8031       -.91990E-07   -.73473E-03
  10  Prefactor     .55511E-10    8.1836       -.20880E-06** at limit **
  11  Prefactor     3.7638        4.4764        .17666E-06   -.51583E-05
  12  Prefactor     17.173        10.221        .19224E-06    .89412E-04
  13  norm           .0000        .23609        .33009E-07** at limit **
  14  Normalizat    1.0969        .29990       -.15523E-04   -.15639E-04
  15  Prefactor     .81396        .22389        .79794E-05   -.15059E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.09734
  Prefactor  = 6.32929
  Prefactor  = 8.29837
  Prefactor  = 4.44089e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 12.4515
  norm       = 3.02792
  Prefactor  = 5.55112e-11
  Prefactor  = 3.76381
  Prefactor  = 17.1727
  norm       = 0
  Normalizat = 1.09692
  Prefactor  = 0.813956
 **********
 **   18 **HESSE 
 **********

 FCN=   3486.168     FROM HESSE     STATUS=OK           212 CALLS     1028 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0973        .97813        .11356E-02   -1.5687    
   2  Prefactor     6.3293        20.443        .40063E-03   -1.5658    
   3  Prefactor     8.2984        86.207        .33749E-03   -1.5650    
   4  Prefactor     .44409E-09    24.295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11102E-09    11.122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        32.507        .16898E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        41.669        .17263E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.452        19.759        .28100E-03   -1.5637    
   9  norm          3.0279        1.8073        .58306E-03   -1.5673    
  10  Prefactor     .55511E-10    8.1783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.7638        4.4844        .52150E-03   -1.5669    
  12  Prefactor     17.173        10.213        .23992E-03   -1.5625    
  13  norm           .0000        .23157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.0969        .25059        .57995E-01   -.89851    
  15  Prefactor     .81396        .18741        .43900E-01   -.99216    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.51289e-09
Minuit parameter uncertainties:
  1  0.978134
  2  20.4428
  3  53.4941
  4  0.000210757
  5  6.38452e-05
  6  2.97763e-05
  7  3.94128e-07
  8  19.7589
  9  1.8073
  10  3.98249e-05
  11  4.48441
  12  10.2128
  13  5.46097e-08
  14  0.250861
  15  0.187558
Done.

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

Extracting fit parameters...

4FGL J1023.7+0038
   Spectrum: LogParabola
214         norm:  3.028e+00  1.807e+00  0.000e+00  1.000e+06 ( 1.000e-11)
215        alpha:  2.233e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
216         beta:  1.811e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
217           Eb:  5.178e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  8.140e-01  1.876e-01  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.097e+00  2.509e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.46
Ra Dec: 155.945 0.650
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 7.71e-08 +/- 4.60e-08
Energy Flux (Fixed Index): 2.65e-05 +/- 1.58e-05

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) = 3485.78507459
delta logL = 0.383025810333

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3485.76934226
delta logL = 0.398758145461

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7361       1.0000          .0000       .10000E+07
     2 'alpha     '    1.6552       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1297       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79792       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3485.769     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7359        1.6683        .61529E-03    .51498E-03
   2  alpha         1.6546        .51728        .30376       -.20944E-04
   3  Normalizat    1.1297        .24269        .57276E-01    .12545E-04
   4  Prefactor     .79791        .18736        .43690E-01    .17827E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.73588
  alpha      = 1.65465
  Normalizat = 1.12973
  Prefactor  = 0.797907
 **********
 **   18 **HESSE 
 **********

 FCN=   3485.769     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .31E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7359        1.8730        .57737E-05   -1.5675    
   2  alpha         1.6546        .61204        .12703E-01   -.34494    
   3  Normalizat    1.1297        .28856        .25329E-03   -.88803    
   4  Prefactor     .79791        .22275        .22785E-03   -.99806    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.07704e-12
Minuit parameter uncertainties:
  1  1.87302
  2  0.619166
  3  0.288968
  4  0.223001
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/191841': 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) = 3485.76934179
delta logL = 0.398758615273

Extracting fit parameters...

4FGL J1023.7+0038
   Spectrum: LogParabola
214         norm:  2.736e+00  1.873e+00  0.000e+00  1.000e+06 ( 1.000e-11)
215        alpha:  1.655e+00  6.192e-01  0.000e+00  5.000e+00 ( 1.000e+00)
216         beta:  1.811e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
217           Eb:  5.178e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  7.979e-01  2.230e-01  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.130e+00  2.890e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.29
Ra Dec: 155.945 0.650
Photon Index (Free Index): 1.65 +/- 0.62
Photon Flux (Free Index): 4.91e-08 +/- 4.02e-08
Energy Flux (Free Index): 3.37e-05 +/- 2.44e-05

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/191841/cmap_HighResolution_694742401_695001601_4FGL_J1023.7+0038_daily_bin1757.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.71e-08', energy_flux2='3.37e-05', photon_flux_error='4.60e-08', dlogl='3.99e-01', energy_flux='2.65e-05', photon_flux2='4.91e-08', job_status='DONE', time_completed='2023-01-10 00:46:15.132686', photon_index_error2='0.62', photon_index2='1.65', ts='6.46', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='2.44e-05', EG='1.10', time_epoch_completed='1673340375.13', return_code='0', job_id='191841', GAL2='0.80', EG2='1.13', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='4.02e-08', ts2='7.29', photon_index='2.23' WHERE bin_id='1757' AND source_name='4FGL J1023.7+0038' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 10 00:46:15 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0175>
Subject: Job 191841: <4FGL_J1023.7+0038_daily_bin1757> in cluster <slac> Done

Job <4FGL_J1023.7+0038_daily_bin1757> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Jan 10 00:35:24 2023
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 00:39:37 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 00:39:37 2023
Terminated at Tue Jan 10 00:46:15 2023
Results reported at Tue Jan 10 00:46:15 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1023.7+0038_daily_bin1757 155.945 0.6499 694742401 695001601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1023.7+0038 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   330.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             358.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   398 sec.
    Turnaround time :                            651 sec.

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

