aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  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 7 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1018.1+1905_weekly_bin595
RA = 154.548, Dec = 19.0963
tmin = 598838401, tmax = 599443201
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='252027', job_status='RUN', time_executed='2021-07-16 15:01:19.210094', time_epoch_executed='1626472879.21' WHERE source_name='4FGL J1018.1+1905' and cadence='weekly' and bin_id='595'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/252027

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/252027/ft1_4FGL_J1018.1+1905_weekly_bin595.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/252027/ft2_4FGL_J1018.1+1905_weekly_bin595.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/252027/ft1_4FGL_J1018.1+1905_weekly_bin595.fits outfile=/scratch/kocevski/252027/ft1_filteredMKT_4FGL_J1018.1+1905_weekly_bin595.fits ra=154.548 dec=19.0963 rad=12.0 tmin=598838401.0 tmax=599443201.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 5.98
user 5.68
sys 0.26

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/252027/ft1_filtered_4FGL_J1018.1+1905_weekly_bin595.fits evtable="EVENTS" scfile=/scratch/kocevski/252027/ft2_4FGL_J1018.1+1905_weekly_bin595.fits sctable="SC_DATA" expcube=/scratch/kocevski/252027/ltcube_598838401_599443201_4FGL_J1018.1+1905_weekly_bin595.fits outfile=/scratch/kocevski/252027/expmap_598838401_599443201_4FGL_J1018.1+1905_weekly_bin595.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/252027/ltcube_598838401_599443201_4FGL_J1018.1+1905_weekly_bin595.fits
.....................!
real 192.29
user 186.23
sys 5.58

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/252027/ft1_filtered_4FGL_J1018.1+1905_weekly_bin595.fits scfile=/scratch/kocevski/252027/ft2_4FGL_J1018.1+1905_weekly_bin595.fits outfile=/scratch/kocevski/252027/cmap_598838401_599443201_4FGL_J1018.1+1905_weekly_bin595.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.60
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/252027/ft1_filtered_4FGL_J1018.1+1905_weekly_bin595.fits scfile=/scratch/kocevski/252027/ft2_4FGL_J1018.1+1905_weekly_bin595.fits outfile=/scratch/kocevski/252027/cmap_HighResolution_598838401_599443201_4FGL_J1018.1+1905_weekly_bin595.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.59
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/252027/ft1_filtered_4FGL_J1018.1+1905_weekly_bin595.fits', '/scratch/kocevski/252027/ft2_4FGL_J1018.1+1905_weekly_bin595.fits', expMap='/scratch/kocevski/252027/expmap_598838401_599443201_4FGL_J1018.1+1905_weekly_bin595.fits', expCube='/scratch/kocevski/252027/ltcube_598838401_599443201_4FGL_J1018.1+1905_weekly_bin595.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/252027/Model_4FGL_J1018.1+1905_weekly_bin595.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  1.000e-04  1.000e+04 ( 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/252027/ft1_filtered_4FGL_J1018.1+1905_weekly_bin595.fits
Spacecraft file(s): /scratch/kocevski/252027/ft2_4FGL_J1018.1+1905_weekly_bin595.fits
Exposure map: /scratch/kocevski/252027/expmap_598838401_599443201_4FGL_J1018.1+1905_weekly_bin595.fits
Exposure cube: /scratch/kocevski/252027/ltcube_598838401_599443201_4FGL_J1018.1+1905_weekly_bin595.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/252027/Model_4FGL_J1018.1+1905_weekly_bin595.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) = 12351.0373306

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.531       1.0000         .10000E-03   10000.    
     2 'norm      '    2.3311       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.804       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .98185       1.0000         .10000E-03   10000.    
     7 'norm      '    10.038       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.1870       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.9523       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .89312E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.5377       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.5233       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .57292       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1483       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0008       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12351.03     FROM MIGRAD    STATUS=CONVERGED    328 CALLS     1615 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.531        29.416         .0000        .10812E-02
   2  norm          2.3311        1.2923         .0000        .58567E-03
   3  Prefactor     .10000E-03    19.657         .0000    ** at limit **
   4  Prefactor     23.804        27.339         .0000        .12741E-02
   5  Prefactor     .10000E-03    1.5705         .0000    ** at limit **
   6  Prefactor     .98169        .98913         .0000        .84579E-04
   7  norm          10.038        6.5776         .0000        .38525E-02
   8  Prefactor     .10000E-03    17.942         .0000    ** at limit **
   9  Prefactor     5.1868        33.786         .0000        .29296E-03
  10  Prefactor     3.9526        3.5825         .0000        .21910E-02
  11  Prefactor     .88740E-01    .43995         .0000        .14181E-02
  12  Prefactor     1.5377        4.0983         .0000        .46340E-01
  13  Prefactor     .10000E-03    2.5424         .0000    ** at limit **
  14  Prefactor     9.5229        5.5853         .0000       -.41424E-02
  15  Prefactor     .57352        6.1179         .0000        .25979E-02
  16  Normalizat    1.1483        .12477         .0000        .24449E-04
  17  Prefactor     1.0008        .12064         .0000        .31790E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.5307
  norm       = 2.3311
  Prefactor  = 0.000100002
  Prefactor  = 23.8035
  Prefactor  = 0.0001
  Prefactor  = 0.981694
  norm       = 10.0375
  Prefactor  = 0.000100002
  Prefactor  = 5.18676
  Prefactor  = 3.9526
  Prefactor  = 0.0887403
  Prefactor  = 1.53771
  Prefactor  = 0.0001
  Prefactor  = 9.52288
  Prefactor  = 0.573518
  Normalizat = 1.14826
  Prefactor  = 1.00083
 **********
 **   18 **HESSE 
 **********

 FCN=   12351.03     FROM HESSE     STATUS=OK           227 CALLS     1842 TOTAL
                     EDM=   .59E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.531        29.447        .68195E-04   -1.4532    
   2  norm          2.3311        1.2867        .91056E-04   -1.5403    
   3  Prefactor     .10000E-03    19.676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.804        27.368        .82101E-04   -1.4732    
   5  Prefactor     .10000E-03    1.5791        .13595E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .98169        .98411        .10770E-03   -1.5510    
   7  norm          10.038        6.5797        .63238E-03   -1.5074    
   8  Prefactor     .10000E-03    17.958        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.1868        33.757        .17651E-03   -1.5252    
  10  Prefactor     3.9526        3.5691        .19050E-03   -1.5310    
  11  Prefactor     .88740E-01    2.0751        .14013E-02   -1.5648    
  12  Prefactor     1.5377        4.0880        .17181E-02   -1.5460    
  13  Prefactor     .10000E-03    2.5893        .17271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.5229        5.5547        .12986E-03   -1.5091    
  15  Prefactor     .57352        6.1130        .46260E-03   -1.5557    
  16  Normalizat    1.1483        .14622        .23540E-03   -.88217    
  17  Prefactor     1.0008        .14182        .25105E-03   -.92702    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.94583e-08
Minuit parameter uncertainties:
  1  29.4592
  2  1.28674
  3  0.000411137
  4  27.3819
  5  1.42476e-06
  6  0.984124
  7  6.58018
  8  0.000370536
  9  26.4858
  10  3.56927
  11  0.857788
  12  4.0887
  13  3.41299e-06
  14  5.55502
  15  3.74499
  16  0.146276
  17  0.141869
Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  5.187e+00  2.649e+01  1.000e-04  1.000e+04 ( 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.001e+00  1.419e-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.148e+00  1.463e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/252027/likelihoodResults_598838401_599443201_4FGL_J1018.1+1905_weekly_bin595.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) = 12350.5695921
delta logL = 0.464264082779

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12350.5345938
delta logL = 0.499262380961

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.8975       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9492       1.0000          .0000       10.000    
     3 'Normalizat'    1.1214       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0098       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.

 FCN=   12350.53     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      273 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8913        116.45        .45438E-02    .55438E-03
   2  Index         2.9511        2.5177        .10832        .32677E-03
   3  Normalizat    1.1212        .36362E-01    .53786E-01    .16705E-04
   4  Prefactor     1.0098        .34525E-01    .43361E-01    .21638E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.89127
  Index      = 2.95114
  Normalizat = 1.12116
  Prefactor  = 1.00977
 **********
 **   18 **HESSE 
 **********

 FCN=   12350.53     FROM HESSE     STATUS=OK            33 CALLS      306 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.8913        349.50        .18175E-03   -1.5266    
   2  Index         2.9511        6.3934        .65374E-02   -.42220    
   3  Normalizat    1.1212        .16999        .23782E-03   -.89075    
   4  Prefactor     1.0098        .17222        .24996E-03   -.92405    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.32714e-09
Minuit parameter uncertainties:
  1  83.201
  2  6.41092
  3  0.170074
  4  0.172314
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/252027': 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) = 12350.5345846
delta logL = 0.499271620296

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  4.891e+00  8.320e+01  1.000e-04  1.000e+04 ( 1.000e-14)
211        Index:  2.951e+00  6.411e+00  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.010e+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:  1.121e+00  1.701e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.06
Ra Dec: 154.548 19.096
Photon Index (Free Index): 2.95 +/- 6.41
Photon Flux (Free Index): 3.30e-08 +/- 3.66e-08
Energy Flux (Free Index): 6.75e-06 +/- 2.18e-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/252027/cmap_HighResolution_598838401_599443201_4FGL_J1018.1+1905_weekly_bin595.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.71e-03', comment='SUCCESS', energy_flux2='6.75e-06', dlogl='4.99e-01', photon_flux2='3.30e-08', job_status='DONE', time_completed='2021-07-16 15:14:48.551312', photon_index_error2='6.41', photon_index2='2.95', ts='0.04', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='4.93e-08', energy_flux_error2='2.18e-05', EG='1.15', time_epoch_completed='1626473688.55', return_code='0', job_id='252027', GAL2='1.01', EG2='1.12', return_code2='0', photon_flux_error2='3.66e-08', ts2='1.06', photon_index='2.06' WHERE bin_id='595' AND source_name='4FGL J1018.1+1905' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 16 15:14:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 252027: <4FGL_J1018.1+1905_weekly_bin595> in cluster <slac> Done

Job <4FGL_J1018.1+1905_weekly_bin595> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Fri Jul 16 15:00:46 2021
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 16 15:01:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 16 15:01:03 2021
Terminated at Fri Jul 16 15:14:49 2021
Results reported at Fri Jul 16 15:14:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.1+1905_weekly_bin595 154.548 19.0963 598838401 599443201 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 :                                   795.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             295.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            843 sec.

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

