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


Performing analysis on: 4FGL_J1018.1+1905_weekly_bin758
RA = 154.548, Dec = 19.0963
tmin = 697420801, tmax = 698025601
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='85618', job_status='RUN', time_executed='2023-02-14 01:02:23.101674', time_epoch_executed='1676365343.1' WHERE source_name='4FGL J1018.1+1905' and cadence='weekly' and bin_id='758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/85618

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/85618/ft1_4FGL_J1018.1+1905_weekly_bin758.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/85618/ft2_4FGL_J1018.1+1905_weekly_bin758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/85618/ft1_4FGL_J1018.1+1905_weekly_bin758.fits outfile=/scratch/kocevski/85618/ft1_filteredMKT_4FGL_J1018.1+1905_weekly_bin758.fits ra=154.548 dec=19.0963 rad=12.0 tmin=697420801.0 tmax=698025601.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 7.87
user 7.57
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/85618/ft2_4FGL_J1018.1+1905_weekly_bin758.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/85618/ft1_filteredMKT_4FGL_J1018.1+1905_weekly_bin758.fits evtable="EVENTS" outfile="/scratch/kocevski/85618/ft1_filtered_4FGL_J1018.1+1905_weekly_bin758.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.37
sys 0.15

Number of photons that the gtmktime cut: 1133

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/85618/ft1_filtered_4FGL_J1018.1+1905_weekly_bin758.fits" evtable="EVENTS" scfile=/scratch/kocevski/85618/ft2_4FGL_J1018.1+1905_weekly_bin758.fits sctable="SC_DATA" outfile=/scratch/kocevski/85618/ltcube_697420801_698025601_4FGL_J1018.1+1905_weekly_bin758.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/85618/ft2_4FGL_J1018.1+1905_weekly_bin758.fits
.....................!
real 26.22
user 25.76
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/85618/ft1_filtered_4FGL_J1018.1+1905_weekly_bin758.fits evtable="EVENTS" scfile=/scratch/kocevski/85618/ft2_4FGL_J1018.1+1905_weekly_bin758.fits sctable="SC_DATA" expcube=/scratch/kocevski/85618/ltcube_697420801_698025601_4FGL_J1018.1+1905_weekly_bin758.fits outfile=/scratch/kocevski/85618/expmap_697420801_698025601_4FGL_J1018.1+1905_weekly_bin758.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/85618/ltcube_697420801_698025601_4FGL_J1018.1+1905_weekly_bin758.fits
.....................!
real 190.02
user 185.22
sys 4.38

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/85618/ft1_filtered_4FGL_J1018.1+1905_weekly_bin758.fits scfile=/scratch/kocevski/85618/ft2_4FGL_J1018.1+1905_weekly_bin758.fits outfile=/scratch/kocevski/85618/cmap_697420801_698025601_4FGL_J1018.1+1905_weekly_bin758.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.58
user 0.42
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/85618/ft1_filtered_4FGL_J1018.1+1905_weekly_bin758.fits scfile=/scratch/kocevski/85618/ft2_4FGL_J1018.1+1905_weekly_bin758.fits outfile=/scratch/kocevski/85618/cmap_HighResolution_697420801_698025601_4FGL_J1018.1+1905_weekly_bin758.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/85618/ft1_filtered_4FGL_J1018.1+1905_weekly_bin758.fits evtable="EVENTS" scfile=/scratch/kocevski/85618/ft2_4FGL_J1018.1+1905_weekly_bin758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/85618/Model_4FGL_J1018.1+1905_weekly_bin758.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/85618/ft1_filtered_4FGL_J1018.1+1905_weekly_bin758.fits.....................!
real 106.38
user 104.94
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/85618/ft1_filtered_4FGL_J1018.1+1905_weekly_bin758.fits', '/scratch/kocevski/85618/ft2_4FGL_J1018.1+1905_weekly_bin758.fits', expMap='/scratch/kocevski/85618/expmap_697420801_698025601_4FGL_J1018.1+1905_weekly_bin758.fits', expCube='/scratch/kocevski/85618/ltcube_697420801_698025601_4FGL_J1018.1+1905_weekly_bin758.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/85618/Model_4FGL_J1018.1+1905_weekly_bin758.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/85618/ft1_filtered_4FGL_J1018.1+1905_weekly_bin758.fits
Spacecraft file(s): /scratch/kocevski/85618/ft2_4FGL_J1018.1+1905_weekly_bin758.fits
Exposure map: /scratch/kocevski/85618/expmap_697420801_698025601_4FGL_J1018.1+1905_weekly_bin758.fits
Exposure cube: /scratch/kocevski/85618/ltcube_697420801_698025601_4FGL_J1018.1+1905_weekly_bin758.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/85618/Model_4FGL_J1018.1+1905_weekly_bin758.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 12753.6436561

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7337       1.0000          .0000       .10000E+07
     2 'norm      '    1.3201       1.0000          .0000       .10000E+07
     3 'Prefactor '    .20652E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.8894       1.0000          .0000       .10000E+07
     5 'Prefactor '    .24178       1.0000          .0000       .10000E+07
     6 'norm      '    31.635       1.0000          .0000       .10000E+07
     7 'Prefactor '    21.664       1.0000          .0000       .10000E+07
     8 'Prefactor '    9.5773       1.0000          .0000       .10000E+07
     9 'Prefactor '    8.3910       1.0000          .0000       .10000E+07
    10 'Prefactor '    .75724       1.0000          .0000       .10000E+07
    11 'Prefactor '    16.261       1.0000          .0000       .10000E+07
    12 'Prefactor '    9.8993       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.9365       1.0000          .0000       .10000E+07
    14 'Prefactor '    .12779E-06   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1283       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .80333       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=   12753.10     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      879 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7296        1.1889        .17998E-06   -.33445E-01
   2  norm          1.3200        .96198       -.13280E-06    .36299E-02
   3  Prefactor     .38858E-09    10.509        .42471E-06** at limit **
   4  Prefactor     3.8888        4.3140        .10529E-06   -.65842E-02
   5  Prefactor     .24154        .71768       -.14589E-06** at limit **
   6  norm          31.631        2.2376       -.26059E-06    .16217    
   7  Prefactor     21.665        1.1677       -.11049E-06    .92569E-01
   8  Prefactor     9.5808        1.5005        .29396E-06   -.68904E-01
   9  Prefactor     8.3919        4.6612        .19861E-06    .58043E-03
  10  Prefactor     .75747        .71205        .78122E-08   -.64963E-02
  11  Prefactor     16.263        5.5481       -.11266E-05   -.71632E-01
  12  Prefactor     9.8954        6.6410       -.55128E-06    .13201E-02
  13  Prefactor     2.9366        5.4383       -.60400E-06    .11087E-02
  14  Prefactor     .38858E-09    9.1433        .20475E-05** at limit **
  15  Normalizat    1.1283        .14388       -.46212E-05   -.11639E-03
  16  Prefactor     .80331        .13234        .96721E-05    .13174E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.72964
  norm       = 1.31999
  Prefactor  = 3.88578e-10
  Prefactor  = 3.88884
  Prefactor  = 0.241545
  norm       = 31.6309
  Prefactor  = 21.6645
  Prefactor  = 9.58077
  Prefactor  = 8.39189
  Prefactor  = 0.757465
  Prefactor  = 16.263
  Prefactor  = 9.89537
  Prefactor  = 2.93659
  Prefactor  = 3.88578e-10
  Normalizat = 1.12831
  Prefactor  = 0.803312
 **********
 **   18 **HESSE 
 **********

 FCN=   12753.10     FROM HESSE     STATUS=OK           243 CALLS     1122 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7296        12.359        .38644E-03   -1.5656    
   2  norm          1.3200        .97891        .95740E-03   -1.5685    
   3  Prefactor     .38858E-09    10.517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.8888        4.3889        .51138E-03   -1.5669    
   5  Prefactor     .24154        .64609        .38723E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          31.631        7.4883        .17782E-03   -1.5595    
   7  Prefactor     21.665        50.668        .21491E-03   -1.5615    
   8  Prefactor     9.5808        9.9650        .32358E-03   -1.5646    
   9  Prefactor     8.3919        4.6702        .34584E-03   -1.5650    
  10  Prefactor     .75747        .70769        .56178E-03   -1.5691    
  11  Prefactor     16.263        5.7329        .24811E-03   -1.5627    
  12  Prefactor     9.8954        6.6975        .31824E-03   -1.5645    
  13  Prefactor     2.9366        5.5040        .59248E-03   -1.5674    
  14  Prefactor     .38858E-09    9.0617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1283        .12622        .36950E-01   -.88848    
  16  Prefactor     .80331        .11497        .43761E-01   -.99606    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33674e-06
Minuit parameter uncertainties:
  1  12.3586
  2  0.978915
  3  0.000125411
  4  4.38894
  5  0.646092
  6  7.48828
  7  50.6695
  8  9.96502
  9  4.67016
  10  0.707692
  11  5.73288
  12  6.69752
  13  5.50405
  14  0.000120757
  15  0.126256
  16  0.115005
Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  9.581e+00  9.965e+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

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  8.033e-01  1.150e-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:  1.128e+00  1.263e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.79
Ra Dec: 154.548 19.096
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 6.80e-09 +/- 7.07e-09
Energy Flux (Fixed Index): 4.06e-06 +/- 4.23e-06

TS (Fixed Index): 3.79
Ra Dec: 154.548 19.096
Photon Flux Upper Limit: 3.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/85618/likelihoodResults_697420801_698025601_4FGL_J1018.1+1905_weekly_bin758.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) = 12752.27513
delta logL = 0.824388033352

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12752.2256753
delta logL = 0.873842676308

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.827       1.0000          .0000       .10000E+07
     2 'Index     '    1.2156       1.0000          .0000       10.000    
     3 'Normalizat'    1.1314       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80266       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=   12752.23     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      246 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.833        15.003        .10764E-04    .13730E-03
   2  Index         1.2156        .60526        .15798E-01   -.76914E-05
   3  Normalizat    1.1314        .13616        .23103E-03   -.99106E-04
   4  Prefactor     .80266        .13125        .25858E-03    .15124E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.8328
  Index      = 1.21557
  Normalizat = 1.13143
  Prefactor  = 0.80266
 **********
 **   18 **HESSE 
 **********

 FCN=   12752.23     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.833        15.262        .43057E-06   -1.5634    
   2  Index         1.2156        .61584        .63192E-03   -.85853    
   3  Normalizat    1.1314        .13630        .92412E-05   -.88749    
   4  Prefactor     .80266        .13139        .10343E-04   -.99630    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48136e-11
Minuit parameter uncertainties:
  1  15.2623
  2  0.619547
  3  0.13634
  4  0.131442
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/85618': 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) = 12752.2256753
delta logL = 0.873842756033

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  1.383e+01  1.526e+01  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  1.216e+00  6.195e-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:  8.027e-01  1.314e-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:  1.131e+00  1.363e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.53
Ra Dec: 154.548 19.096
Photon Index (Free Index): 1.22 +/- 0.62
Photon Flux (Free Index): 2.47e-09 +/- 3.18e-09
Energy Flux (Free Index): 1.97e-05 +/- 2.94e-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/85618/cmap_HighResolution_697420801_698025601_4FGL_J1018.1+1905_weekly_bin758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.32e-03', comment='SUCCESS', photon_flux='6.80e-09', energy_flux2='1.97e-05', photon_flux_error='7.07e-09', dlogl='8.74e-01', energy_flux='4.06e-06', photon_flux2='2.47e-09', job_status='DONE', time_completed='2023-02-14 01:14:07.950791', photon_index_error2='0.62', photon_index2='1.22', ts='3.79', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='3.08e-08', energy_flux_error2='2.94e-05', EG='1.13', time_epoch_completed='1676366047.95', return_code='0', job_id='85618', GAL2='0.80', EG2='1.13', return_code2='0', energy_flux_error='4.23e-06', photon_flux_error2='3.18e-09', ts2='5.53', photon_index='2.06' WHERE bin_id='758' AND source_name='4FGL J1018.1+1905' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 14 01:14:07 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 85618: <4FGL_J1018.1+1905_weekly_bin758> in cluster <slac> Done

Job <4FGL_J1018.1+1905_weekly_bin758> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Feb 14 01:00:22 2023
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 14 01:00:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 14 01:00:23 2023
Terminated at Tue Feb 14 01:14:08 2023
Results reported at Tue Feb 14 01:14:08 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.1+1905_weekly_bin758 154.548 19.0963 697420801 698025601 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 :                                   705.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             349.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            826 sec.

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

