/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 165 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 = 7378
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1018.1+1905_daily_bin29
RA = 154.548, Dec = 19.0963
tmin = 246844801, tmax = 247104001
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='785823', job_status='RUN', time_executed='2021-09-01 16:36:44.924925', time_epoch_executed='1630539404.92' WHERE source_name='4FGL J1018.1+1905' and cadence='daily' and bin_id='29'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/785823

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/785823/ft1_4FGL_J1018.1+1905_daily_bin29.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/785823/ft2_4FGL_J1018.1+1905_daily_bin29.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/785823/ft1_4FGL_J1018.1+1905_daily_bin29.fits outfile=/scratch/kocevski/785823/ft1_filteredMKT_4FGL_J1018.1+1905_daily_bin29.fits ra=154.548 dec=19.0963 rad=12.0 tmin=246844801.0 tmax=247104001.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 1.47
user 1.26
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/785823/ft2_4FGL_J1018.1+1905_daily_bin29.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/785823/ft1_filteredMKT_4FGL_J1018.1+1905_daily_bin29.fits evtable="EVENTS" outfile="/scratch/kocevski/785823/ft1_filtered_4FGL_J1018.1+1905_daily_bin29.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.53
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/785823/ft1_filtered_4FGL_J1018.1+1905_daily_bin29.fits" evtable="EVENTS" scfile=/scratch/kocevski/785823/ft2_4FGL_J1018.1+1905_daily_bin29.fits sctable="SC_DATA" outfile=/scratch/kocevski/785823/ltcube_246844801_247104001_4FGL_J1018.1+1905_daily_bin29.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/785823/ft2_4FGL_J1018.1+1905_daily_bin29.fits
.....................!
real 19.57
user 19.18
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/785823/ft1_filtered_4FGL_J1018.1+1905_daily_bin29.fits evtable="EVENTS" scfile=/scratch/kocevski/785823/ft2_4FGL_J1018.1+1905_daily_bin29.fits sctable="SC_DATA" expcube=/scratch/kocevski/785823/ltcube_246844801_247104001_4FGL_J1018.1+1905_daily_bin29.fits outfile=/scratch/kocevski/785823/expmap_246844801_247104001_4FGL_J1018.1+1905_daily_bin29.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/785823/ltcube_246844801_247104001_4FGL_J1018.1+1905_daily_bin29.fits
.....................!
real 191.83
user 186.97
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 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/785823/ft1_filtered_4FGL_J1018.1+1905_daily_bin29.fits scfile=/scratch/kocevski/785823/ft2_4FGL_J1018.1+1905_daily_bin29.fits outfile=/scratch/kocevski/785823/cmap_246844801_247104001_4FGL_J1018.1+1905_daily_bin29.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/785823/ft1_filtered_4FGL_J1018.1+1905_daily_bin29.fits scfile=/scratch/kocevski/785823/ft2_4FGL_J1018.1+1905_daily_bin29.fits outfile=/scratch/kocevski/785823/cmap_HighResolution_246844801_247104001_4FGL_J1018.1+1905_daily_bin29.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.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/785823/ft1_filtered_4FGL_J1018.1+1905_daily_bin29.fits', '/scratch/kocevski/785823/ft2_4FGL_J1018.1+1905_daily_bin29.fits', expMap='/scratch/kocevski/785823/expmap_246844801_247104001_4FGL_J1018.1+1905_daily_bin29.fits', expCube='/scratch/kocevski/785823/ltcube_246844801_247104001_4FGL_J1018.1+1905_daily_bin29.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/785823/Model_4FGL_J1018.1+1905_daily_bin29.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/785823/ft1_filtered_4FGL_J1018.1+1905_daily_bin29.fits
Spacecraft file(s): /scratch/kocevski/785823/ft2_4FGL_J1018.1+1905_daily_bin29.fits
Exposure map: /scratch/kocevski/785823/expmap_246844801_247104001_4FGL_J1018.1+1905_daily_bin29.fits
Exposure cube: /scratch/kocevski/785823/ltcube_246844801_247104001_4FGL_J1018.1+1905_daily_bin29.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/785823/Model_4FGL_J1018.1+1905_daily_bin29.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) = 8501.94469781

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.2111       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    33.493       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .21439E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.7971       1.0000         .10000E-03   10000.    
     7 'norm      '    6.1277       1.0000         .10000E-03   10000.    
     8 'Prefactor '    37.609       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.0137       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .56132       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .97855       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.9959       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.7522       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.8038       1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.230       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .92597       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0529       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.

 FCN=   8501.942     FROM MIGRAD    STATUS=CONVERGED    334 CALLS     1620 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.434        .26825E-08** at limit **
   2  norm          1.2112        .96921       -.12197E-07   -.17240E-03
   3  Prefactor     .10000E-03    22.247        .20834E-06** at limit **
   4  Prefactor     33.498        26.798        .18980E-07   -.21431E-03
   5  Prefactor     .10000E-03    33.025       -.11276E-04** at limit **
   6  Prefactor     6.7970        2.7798       -.18464E-06   -.12140E-02
   7  norm          6.1266        6.3845       -.60482E-06   -.35188E-03
   8  Prefactor     37.610        55.445        .28087E-06   -.21148E-04
   9  Prefactor     1.0096        13.700        .13017E-05    .59178E-05
  10  Prefactor     .56243        5.5128       -.13044E-05    .13278E-03
  11  Prefactor     .97941        1.7139        .55866E-07    .53486E-04
  12  Prefactor     1.9963        3.7608       -.94964E-07   -.51567E-04
  13  Prefactor     9.7503        9.6041       -.13468E-05   -.15873E-03
  14  Prefactor     7.8039        9.5846        .59591E-06   -.44072E-04
  15  Prefactor     19.235        16.058        .88374E-06   -.99478E-04
  16  Normalizat    .92575        .15379       -.50669E-06   -.82353E-03
  17  Prefactor     1.0531        .14225       -.12715E-06   -.73214E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.21122
  Prefactor  = 0.0001
  Prefactor  = 33.4979
  Prefactor  = 0.000100002
  Prefactor  = 6.79702
  norm       = 6.12664
  Prefactor  = 37.6102
  Prefactor  = 1.0096
  Prefactor  = 0.562428
  Prefactor  = 0.979406
  Prefactor  = 1.99626
  Prefactor  = 9.75033
  Prefactor  = 7.8039
  Prefactor  = 19.2348
  Normalizat = 0.925751
  Prefactor  = 1.0531
 **********
 **   18 **HESSE 
 **********

 FCN=   8501.942     FROM HESSE     STATUS=OK           231 CALLS     1851 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.477        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2112        .94980        .78651E-04   -1.5488    
   3  Prefactor     .10000E-03    22.244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     33.498        26.835        .69240E-04   -1.4550    
   5  Prefactor     .10000E-03    32.362        .29016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.7970        2.7701        .93590E-04   -1.5186    
   7  norm          6.1266        6.3799        .16218E-03   -1.5213    
   8  Prefactor     37.610        55.499        .65354E-04   -1.4481    
   9  Prefactor     1.0096        59.796        .65636E-02   -1.5507    
  10  Prefactor     .56243        5.3579        .40092E-03   -1.5558    
  11  Prefactor     .97941        1.6455        .14721E-03   -1.5510    
  12  Prefactor     1.9963        3.7453        .23621E-03   -1.5425    
  13  Prefactor     9.7503        9.5615        .64160E-03   -1.5083    
  14  Prefactor     7.8039        9.5500        .14354E-03   -1.5149    
  15  Prefactor     19.235        16.065        .91334E-04   -1.4831    
  16  Normalizat    .92575        .17443        .24803E-03   -.95561    
  17  Prefactor     1.0531        .16425        .23292E-03   -.90980    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06476e-09
Minuit parameter uncertainties:
  1  0.000100284
  2  0.949812
  3  0.000201039
  4  26.845
  5  0.000554802
  6  2.77019
  7  6.38057
  8  55.5756
  9  15.5551
  10  3.47194
  11  1.64556
  12  3.74571
  13  9.56296
  14  9.55189
  15  16.069
  16  0.174539
  17  0.164325
Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  1.010e+00  1.556e+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.053e+00  1.643e-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:  9.258e-01  1.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/785823/likelihoodResults_246844801_247104001_4FGL_J1018.1+1905_daily_bin29.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): 102
logL (Free Index) = 8501.92896618
delta logL = 0.0135131709103

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8501.91921245
delta logL = 0.0232669050092

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8501.919     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      271 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0515        1122.4        .42307E-03   -.12608E-03
   2  Index         2.8029        5.2891        .13814E-01   -.12336E-04
   3  Normalizat    .92195        .17457        .24851E-03    .97901E-04
   4  Prefactor     1.0542        .15682        .23281E-03    .24199E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05146
  Index      = 2.8029
  Normalizat = 0.921945
  Prefactor  = 1.05422
 **********
 **   18 **HESSE 
 **********

 FCN=   8501.919     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0515        18.399        .16923E-04   -1.5503    
   2  Index         2.8029        3.2489        .55258E-03   -.45495    
   3  Normalizat    .92195        .16500        .99403E-05   -.95693    
   4  Prefactor     1.0542        .16334        .46563E-04   -.90943    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47422e-10
Minuit parameter uncertainties:
  1  8.79944
  2  3.63194
  3  0.165086
  4  0.163415
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/785823': 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) = 8501.91921188
delta logL = 0.023267470131

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  1.051e+00  8.799e+00  1.000e-04  1.000e+04 ( 1.000e-14)
211        Index:  2.803e+00  3.632e+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.054e+00  1.634e-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:  9.219e-01  1.651e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 154.548 19.096

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/785823/cmap_HighResolution_246844801_247104001_4FGL_J1018.1+1905_daily_bin29.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.05e-03', job_status='DONE', photon_flux_upper_limit='4.05e-08', time_completed='2021-09-01 16:47:00.377695', job_id='785823', GAL2='1.05', fit_tolerance='1e-08', EG2='0.92', EG='0.93', time_epoch_completed='1630540020.38', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='2.33e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='29' AND source_name='4FGL J1018.1+1905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 16:47:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 785823: <4FGL_J1018.1+1905_daily_bin29> in cluster <slac> Done

Job <4FGL_J1018.1+1905_daily_bin29> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 16:31:49 2021
Job was executed on host(s) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 16:32:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 16:32:37 2021
Terminated at Wed Sep  1 16:47:01 2021
Results reported at Wed Sep  1 16:47:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.1+1905_daily_bin29 154.548 19.0963 246844801 247104001 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 :                                   611.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   863 sec.
    Turnaround time :                            912 sec.

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

