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


Performing analysis on: 4FGL_J1023.7+0038_daily_bin1715
RA = 155.945, Dec = 0.6499
tmin = 683856001, tmax = 684115201
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='93082', job_status='RUN', time_executed='2022-09-16 15:22:23.322145', time_epoch_executed='1663366943.32' WHERE source_name='4FGL J1023.7+0038' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/93082

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/93082/ft1_4FGL_J1023.7+0038_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/93082/ft2_4FGL_J1023.7+0038_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/93082/ft1_4FGL_J1023.7+0038_daily_bin1715.fits outfile=/scratch/kocevski/93082/ft1_filteredMKT_4FGL_J1023.7+0038_daily_bin1715.fits ra=155.945 dec=0.6499 rad=12.0 tmin=683856001.0 tmax=684115201.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.85
user 2.62
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/93082/ft2_4FGL_J1023.7+0038_daily_bin1715.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/93082/ft1_filteredMKT_4FGL_J1023.7+0038_daily_bin1715.fits evtable="EVENTS" outfile="/scratch/kocevski/93082/ft1_filtered_4FGL_J1023.7+0038_daily_bin1715.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.45
user 0.29
sys 0.15

Number of photons that the gtmktime cut: 669

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/93082/ft1_filtered_4FGL_J1023.7+0038_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/93082/ft2_4FGL_J1023.7+0038_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/93082/ltcube_683856001_684115201_4FGL_J1023.7+0038_daily_bin1715.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/93082/ft2_4FGL_J1023.7+0038_daily_bin1715.fits
.....................!
real 11.89
user 11.53
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/93082/ft1_filtered_4FGL_J1023.7+0038_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/93082/ft2_4FGL_J1023.7+0038_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/93082/ltcube_683856001_684115201_4FGL_J1023.7+0038_daily_bin1715.fits outfile=/scratch/kocevski/93082/expmap_683856001_684115201_4FGL_J1023.7+0038_daily_bin1715.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/93082/ltcube_683856001_684115201_4FGL_J1023.7+0038_daily_bin1715.fits
.....................!
real 156.19
user 151.56
sys 4.32

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/93082/ft1_filtered_4FGL_J1023.7+0038_daily_bin1715.fits scfile=/scratch/kocevski/93082/ft2_4FGL_J1023.7+0038_daily_bin1715.fits outfile=/scratch/kocevski/93082/cmap_683856001_684115201_4FGL_J1023.7+0038_daily_bin1715.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/93082/ft1_filtered_4FGL_J1023.7+0038_daily_bin1715.fits scfile=/scratch/kocevski/93082/ft2_4FGL_J1023.7+0038_daily_bin1715.fits outfile=/scratch/kocevski/93082/cmap_HighResolution_683856001_684115201_4FGL_J1023.7+0038_daily_bin1715.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/93082/ft1_filtered_4FGL_J1023.7+0038_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/93082/ft2_4FGL_J1023.7+0038_daily_bin1715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/93082/Model_4FGL_J1023.7+0038_daily_bin1715.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/93082/ft1_filtered_4FGL_J1023.7+0038_daily_bin1715.fits.....................!
real 58.70
user 57.51
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/93082/ft1_filtered_4FGL_J1023.7+0038_daily_bin1715.fits', '/scratch/kocevski/93082/ft2_4FGL_J1023.7+0038_daily_bin1715.fits', expMap='/scratch/kocevski/93082/expmap_683856001_684115201_4FGL_J1023.7+0038_daily_bin1715.fits', expCube='/scratch/kocevski/93082/ltcube_683856001_684115201_4FGL_J1023.7+0038_daily_bin1715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/93082/Model_4FGL_J1023.7+0038_daily_bin1715.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/93082/ft1_filtered_4FGL_J1023.7+0038_daily_bin1715.fits
Spacecraft file(s): /scratch/kocevski/93082/ft2_4FGL_J1023.7+0038_daily_bin1715.fits
Exposure map: /scratch/kocevski/93082/expmap_683856001_684115201_4FGL_J1023.7+0038_daily_bin1715.fits
Exposure cube: /scratch/kocevski/93082/ltcube_683856001_684115201_4FGL_J1023.7+0038_daily_bin1715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/93082/Model_4FGL_J1023.7+0038_daily_bin1715.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) = 7467.40182135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .49406E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.4925       1.0000          .0000       .10000E+07
     3 'Prefactor '    52.643       1.0000          .0000       .10000E+07
     4 'Prefactor '    .10733       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16149E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12797E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .56511E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    9.2911       1.0000          .0000       .10000E+07
     9 'norm      '    3.5247       1.0000          .0000       .10000E+07
    10 'Prefactor '    .64147E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .70666E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    23.582       1.0000          .0000       .10000E+07
    13 'norm      '    2.1175       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.2615       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.3511       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=   7467.393     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1072 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .49618E-01    .50592        .55698E-07** at limit **
   2  Prefactor     3.8067        10.364        .46730E-06    .28734E-02
   3  Prefactor     53.086        39.305        .34779E-07   -.10011    
   4  Prefactor     .25646E-07    71.547        .63099E-06** at limit **
   5  Prefactor     .10492E-07    4.3475        .15832E-07** at limit **
   6  Prefactor     .92021E-05    30.176       -.28120E-06** at limit **
   7  Prefactor     .88649E-05    32.667        .41003E-06** at limit **
   8  Prefactor     9.1886        16.366        .24165E-06    .80594E-01
   9  norm          3.5246        1.7775        .36555E-07    .30034E-02
  10  Prefactor     .32419E-07    11.816        .32936E-06** at limit **
  11  Prefactor     .26645E-08    11.704        .50402E-06** at limit **
  12  Prefactor     23.825        13.240        .51031E-07    .11707    
  13  norm          2.1161        .75566        .81507E-08    .97593E-03
  14  Normalizat    1.2596        .26851        .30769E-06   -.60867E-04
  15  Prefactor     1.3515        .20779       -.21849E-05   -.12501E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0496179
  Prefactor  = 3.80666
  Prefactor  = 53.0862
  Prefactor  = 2.56462e-08
  Prefactor  = 1.04916e-08
  Prefactor  = 9.20208e-06
  Prefactor  = 8.86491e-06
  Prefactor  = 9.18864
  norm       = 3.52459
  Prefactor  = 3.24185e-08
  Prefactor  = 2.66454e-09
  Prefactor  = 23.8249
  norm       = 2.11607
  Normalizat = 1.25965
  Prefactor  = 1.35149
 **********
 **   18 **HESSE 
 **********

 FCN=   7467.393     FROM HESSE     STATUS=OK           216 CALLS     1288 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .49618E-01    .26697        .15564E-02   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.8067        10.370        .54079E-03   -1.5669    
   3  Prefactor     53.086        47.653        .13784E-03   -1.5562    
   4  Prefactor     .25646E-07    70.689        .13736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10492E-07    4.3883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .92021E-05    37.789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .88649E-05    39.958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.1886        18.115        .32855E-03   -1.5647    
   9  norm          3.5246        1.7757        .53820E-03   -1.5670    
  10  Prefactor     .32419E-07    11.759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .26645E-08    11.465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     23.825        13.702        .20598E-03   -1.5610    
  13  norm          2.1161        .75654        .70852E-03   -1.5679    
  14  Normalizat    1.2596        .22331        .72375E-01   -.84779    
  15  Prefactor     1.3515        .17260        .56060E-01   -.81789    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2134e-06
Minuit parameter uncertainties:
  1  0.230186
  2  10.3701
  3  47.6533
  4  0.00269264
  5  0.000429003
  6  0.0372958
  7  0.0376419
  8  18.1147
  9  1.7757
  10  0.00123507
  11  0.000350944
  12  13.7016
  13  0.756538
  14  0.223478
  15  0.172671
Done.

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

Extracting fit parameters...

4FGL J1023.7+0038
   Spectrum: LogParabola
214         norm:  3.525e+00  1.776e+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:  1.351e+00  1.727e-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.260e+00  2.235e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.71
Ra Dec: 155.945 0.650
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 8.98e-08 +/- 4.52e-08
Energy Flux (Fixed Index): 3.08e-05 +/- 1.55e-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) = 7467.17274399
delta logL = 0.219784681241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7467.16792404
delta logL = 0.224604628441

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4018       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9288       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2779       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3444       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=   7467.168     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      210 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4018        1.8616        .54827E-03    .66277E-02
   2  alpha         1.9288        .42818        .33873       -.14255E-05
   3  Normalizat    1.2779        .21586        .71949E-01    .13150E-03
   4  Prefactor     1.3445        .17266        .56190E-01    .20916E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.4018
  alpha      = 1.92879
  Normalizat = 1.27789
  Prefactor  = 1.34445
 **********
 **   18 **HESSE 
 **********

 FCN=   7467.168     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4018        1.8276        .79293E-05   -1.5671    
   2  alpha         1.9288        .44927        .13967E-01   -.23052    
   3  Normalizat    1.2779        .25805        .31837E-03   -.84229    
   4  Prefactor     1.3445        .20652        .24845E-03   -.81995    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.69486e-11
Minuit parameter uncertainties:
  1  1.82762
  2  0.451866
  3  0.258309
  4  0.206648
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/93082': 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) = 7467.16792404
delta logL = 0.224604629029

Extracting fit parameters...

4FGL J1023.7+0038
   Spectrum: LogParabola
214         norm:  3.402e+00  1.828e+00  0.000e+00  1.000e+06 ( 1.000e-11)
215        alpha:  1.929e+00  4.519e-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:  1.344e+00  2.066e-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.278e+00  2.583e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.17
Ra Dec: 155.945 0.650
Photon Index (Free Index): 1.93 +/- 0.45
Photon Flux (Free Index): 7.00e-08 +/- 4.66e-08
Energy Flux (Free Index): 3.31e-05 +/- 1.76e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/93082/cmap_HighResolution_683856001_684115201_4FGL_J1023.7+0038_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.98e-08', energy_flux2='3.31e-05', photon_flux_error='4.52e-08', dlogl='2.25e-01', energy_flux='3.08e-05', photon_flux2='7.00e-08', job_status='DONE', time_completed='2022-09-16 15:29:05.847688', photon_index_error2='0.45', photon_index2='1.93', ts='9.71', fit_tolerance='1e-08', GAL='1.35', photon_index_error='0.00', energy_flux_error2='1.76e-05', EG='1.26', time_epoch_completed='1663367345.85', return_code='0', job_id='93082', GAL2='1.34', EG2='1.28', return_code2='0', energy_flux_error='1.55e-05', photon_flux_error2='4.66e-08', ts2='10.17', photon_index='2.23' WHERE bin_id='1715' AND source_name='4FGL J1023.7+0038' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:29:05 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 93082: <4FGL_J1023.7+0038_daily_bin1715> in cluster <slac> Done

Job <4FGL_J1023.7+0038_daily_bin1715> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 15:20:18 2022
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:20:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:20:38 2022
Terminated at Fri Sep 16 15:29:06 2022
Results reported at Fri Sep 16 15:29:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1023.7+0038_daily_bin1715 155.945 0.6499 683856001 684115201 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 :                                   404.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             241.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   508 sec.
    Turnaround time :                            528 sec.

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

