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


Performing analysis on: 4FGL_J1018.1+1905_daily_bin1765
RA = 154.548, Dec = 19.0963
tmin = 696816001, tmax = 697075201
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='631300', job_status='RUN', time_executed='2023-02-03 00:47:46.172758', time_epoch_executed='1675414066.17' WHERE source_name='4FGL J1018.1+1905' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/631300

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/631300/ft1_4FGL_J1018.1+1905_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/631300/ft2_4FGL_J1018.1+1905_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/631300/ft1_4FGL_J1018.1+1905_daily_bin1765.fits outfile=/scratch/kocevski/631300/ft1_filteredMKT_4FGL_J1018.1+1905_daily_bin1765.fits ra=154.548 dec=19.0963 rad=12.0 tmin=696816001.0 tmax=697075201.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.70
user 3.42
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/631300/ft2_4FGL_J1018.1+1905_daily_bin1765.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/631300/ft2_4FGL_J1018.1+1905_daily_bin1765.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/631300/ft1_filteredMKT_4FGL_J1018.1+1905_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/631300/ft1_filtered_4FGL_J1018.1+1905_daily_bin1765.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.54
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 542

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/631300/ft1_filtered_4FGL_J1018.1+1905_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/631300/ft2_4FGL_J1018.1+1905_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/631300/ltcube_696816001_697075201_4FGL_J1018.1+1905_daily_bin1765.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/631300/ft2_4FGL_J1018.1+1905_daily_bin1765.fits
.....................!
real 16.74
user 16.24
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/631300/ft1_filtered_4FGL_J1018.1+1905_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/631300/ft2_4FGL_J1018.1+1905_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/631300/ltcube_696816001_697075201_4FGL_J1018.1+1905_daily_bin1765.fits outfile=/scratch/kocevski/631300/expmap_696816001_697075201_4FGL_J1018.1+1905_daily_bin1765.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/631300/ltcube_696816001_697075201_4FGL_J1018.1+1905_daily_bin1765.fits
.....................!
real 194.19
user 187.29
sys 5.62

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

Setting source of interest to:
4FGL J1018.1+1905 @ 154.548 19.0963

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/631300/ft1_filtered_4FGL_J1018.1+1905_daily_bin1765.fits scfile=/scratch/kocevski/631300/ft2_4FGL_J1018.1+1905_daily_bin1765.fits outfile=/scratch/kocevski/631300/cmap_696816001_697075201_4FGL_J1018.1+1905_daily_bin1765.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=154.548 yref=19.0963 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/631300/ft1_filtered_4FGL_J1018.1+1905_daily_bin1765.fits scfile=/scratch/kocevski/631300/ft2_4FGL_J1018.1+1905_daily_bin1765.fits outfile=/scratch/kocevski/631300/cmap_HighResolution_696816001_697075201_4FGL_J1018.1+1905_daily_bin1765.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=154.548 yref=19.0963 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.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/631300/ft1_filtered_4FGL_J1018.1+1905_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/631300/ft2_4FGL_J1018.1+1905_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/631300/Model_4FGL_J1018.1+1905_daily_bin1765.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/631300/ft1_filtered_4FGL_J1018.1+1905_daily_bin1765.fits.....................!
real 57.42
user 55.14
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/631300/ft1_filtered_4FGL_J1018.1+1905_daily_bin1765.fits', '/scratch/kocevski/631300/ft2_4FGL_J1018.1+1905_daily_bin1765.fits', expMap='/scratch/kocevski/631300/expmap_696816001_697075201_4FGL_J1018.1+1905_daily_bin1765.fits', expCube='/scratch/kocevski/631300/ltcube_696816001_697075201_4FGL_J1018.1+1905_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/631300/Model_4FGL_J1018.1+1905_daily_bin1765.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.1+1905'

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  4.691e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/631300/ft1_filtered_4FGL_J1018.1+1905_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/631300/ft2_4FGL_J1018.1+1905_daily_bin1765.fits
Exposure map: /scratch/kocevski/631300/expmap_696816001_697075201_4FGL_J1018.1+1905_daily_bin1765.fits
Exposure cube: /scratch/kocevski/631300/ltcube_696816001_697075201_4FGL_J1018.1+1905_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/631300/Model_4FGL_J1018.1+1905_daily_bin1765.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) = 6207.86164692

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24857E-04   1.0000          .0000       .10000E+07
     2 'norm      '    3.3357       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10507E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.2374       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.6537       1.0000          .0000       .10000E+07
     6 'norm      '    45.567       1.0000          .0000       .10000E+07
     7 'Prefactor '    .20745E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    65.475       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.3398       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25784E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    42.386       1.0000          .0000       .10000E+07
    12 'Prefactor '    7.4958       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12597       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.759       1.0000          .0000       .10000E+07
    15 'Normalizat'    .81832       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0735       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6207.832     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1068 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .65503E-08    25.756       -.12264E-06** at limit **
   2  norm          3.3318        1.8160       -.35876E-07   -.83542E-02
   3  Prefactor     .16653E-09    11.071        .30217E-06** at limit **
   4  Prefactor     5.1561        8.2715       -.57122E-06    .21811E-02
   5  Prefactor     3.6514        2.3793        .54349E-07    .98831E-02
   6  norm          45.697        13.253       -.35187E-06   -.28192E-01
   7  Prefactor     .33307E-09    52.423       -.18274E-06** at limit **
   8  Prefactor     64.388        44.286       -.23742E-06    .85918E-03
   9  Prefactor     4.3990        6.4968        .33816E-06   -.56950E-03
  10  Prefactor     .16653E-09    .99441       -.49007E-07** at limit **
  11  Prefactor     42.156        10.707       -.23423E-06   -.14655E-01
  12  Prefactor     7.4872        7.8264       -.16952E-05   -.25271E-01
  13  Prefactor     .94147E-07    44.473        .25027E-05** at limit **
  14  Prefactor     11.608        6.7269       -.13161E-05    .45137E-01
  15  Normalizat    .81981        .21837        .75217E-05   -.66454E-03
  16  Prefactor     1.0734        .19993        .27078E-06   -.61385E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.55032e-09
  norm       = 3.33181
  Prefactor  = 1.66533e-10
  Prefactor  = 5.15606
  Prefactor  = 3.65136
  norm       = 45.6972
  Prefactor  = 3.33067e-10
  Prefactor  = 64.388
  Prefactor  = 4.39904
  Prefactor  = 1.66533e-10
  Prefactor  = 42.1555
  Prefactor  = 7.48716
  Prefactor  = 9.41469e-08
  Prefactor  = 11.6082
  Normalizat = 0.819815
  Prefactor  = 1.07337
 **********
 **   18 **HESSE 
 **********

 FCN=   6207.832     FROM HESSE     STATUS=OK           243 CALLS     1311 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .65503E-08    25.777        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.3318        1.8154        .55394E-03   -1.5671    
   3  Prefactor     .16653E-09    11.088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.1561        8.2838        .43898E-03   -1.5663    
   5  Prefactor     3.6514        2.3800        .52822E-03   -1.5670    
   6  norm          45.697        13.578        .14815E-03   -1.5573    
   7  Prefactor     .33307E-09    52.119        .16988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     64.388        44.275        .12359E-03   -1.5547    
   9  Prefactor     4.3990        6.5305        .48329E-03   -1.5666    
  10  Prefactor     .16653E-09    .98919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     42.156        10.720        .15361E-03   -1.5578    
  12  Prefactor     7.4872        10.663        .36607E-03   -1.5653    
  13  Prefactor     .94147E-07    9.1847        .70716E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.608        16.269        .29188E-03   -1.5640    
  15  Normalizat    .81981        .18770        .63769E-01   -.99338    
  16  Prefactor     1.0734        .17222        .38693E-01   -.90322    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30403e-07
Minuit parameter uncertainties:
  1  0.000821237
  2  1.81536
  3  7.9085e-05
  4  8.28387
  5  2.37997
  6  13.5778
  7  0.000260287
  8  44.2753
  9  6.53048
  10  2.56894e-05
  11  10.72
  12  10.6631
  13  0.00185966
  14  16.2687
  15  0.187846
  16  0.172312
Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  6.439e+01  4.428e+01  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.073e+00  1.723e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.198e-01  1.878e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.87
Ra Dec: 154.548 19.096
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 4.57e-08 +/- 3.14e-08
Energy Flux (Fixed Index): 2.73e-05 +/- 1.88e-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) = 6206.98555612
delta logL = 0.846250106467

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6206.97157615
delta logL = 0.860230068776

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.301       1.0000          .0000       .10000E+07
     2 'Index     '    2.8741       1.0000          .0000       10.000    
     3 'Normalizat'    .73577       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1170       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6206.972     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      330 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.283        45.547        .84726E-05    .43301E-02
   2  Index         2.8743        .93551        .30568E-02    .30556E-03
   3  Normalizat    .73485        .22751        .29608E-03    .80059E-04
   4  Prefactor     1.1180        .20917        .23733E-03   -.66498E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.2834
  Index      = 2.8743
  Normalizat = 0.734853
  Prefactor  = 1.11802
 **********
 **   18 **HESSE 
 **********

 FCN=   6206.972     FROM HESSE     STATUS=OK            25 CALLS      355 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.283        29.557        .33890E-06   -1.5614    
   2  Index         2.8743        .60854        .12227E-03   -.43912    
   3  Normalizat    .73485        .21813        .11843E-04   -1.0253    
   4  Prefactor     1.1180        .20429        .47466E-04   -.88893    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30876e-09
Minuit parameter uncertainties:
  1  29.5575
  2  0.610384
  3  0.218384
  4  0.204436
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/631300': 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) = 6206.97156351
delta logL = 0.860242710115

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  2.228e+01  2.956e+01  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.874e+00  6.104e-01  0.000e+00  1.000e+01 (-1.000e+00)
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.118e+00  2.044e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  7.349e-01  2.184e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.69
Ra Dec: 154.548 19.096
Photon Index (Free Index): 2.87 +/- 0.61
Photon Flux (Free Index): 1.22e-07 +/- 7.81e-08
Energy Flux (Free Index): 2.61e-05 +/- 1.30e-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/631300/cmap_HighResolution_696816001_697075201_4FGL_J1018.1+1905_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.57e-08', energy_flux2='2.61e-05', photon_flux_error='3.14e-08', dlogl='8.60e-01', energy_flux='2.73e-05', photon_flux2='1.22e-07', job_status='DONE', time_completed='2023-02-03 00:55:41.539583', photon_index_error2='0.61', photon_index2='2.87', ts='6.87', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='1.30e-05', EG='0.82', time_epoch_completed='1675414541.54', return_code='0', job_id='631300', GAL2='1.12', EG2='0.73', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='7.81e-08', ts2='8.69', photon_index='2.06' WHERE bin_id='1765' AND source_name='4FGL J1018.1+1905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 00:55:41 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 631300: <4FGL_J1018.1+1905_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1018.1+1905_daily_bin1765> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb  3 00:45:17 2023
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 00:46:00 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 00:46:00 2023
Terminated at Fri Feb  3 00:55:42 2023
Results reported at Fri Feb  3 00:55:42 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.1+1905_daily_bin1765 154.548 19.0963 696816001 697075201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1018.1+1905 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   475.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   581 sec.
    Turnaround time :                            625 sec.

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

