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


Performing analysis on: 4FGL_J1018.1+1905_daily_bin1458
RA = 154.548, Dec = 19.0963
tmin = 617241601, tmax = 617500801
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='794006', job_status='RUN', time_executed='2021-09-01 16:58:35.844569', time_epoch_executed='1630540715.84' WHERE source_name='4FGL J1018.1+1905' and cadence='daily' and bin_id='1458'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/794006

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/794006/ft1_4FGL_J1018.1+1905_daily_bin1458.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/794006/ft2_4FGL_J1018.1+1905_daily_bin1458.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/794006/ft1_4FGL_J1018.1+1905_daily_bin1458.fits outfile=/scratch/kocevski/794006/ft1_filteredMKT_4FGL_J1018.1+1905_daily_bin1458.fits ra=154.548 dec=19.0963 rad=12.0 tmin=617241601.0 tmax=617500801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.95
user 2.76
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/794006/ft2_4FGL_J1018.1+1905_daily_bin1458.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/794006/ft1_filteredMKT_4FGL_J1018.1+1905_daily_bin1458.fits evtable="EVENTS" outfile="/scratch/kocevski/794006/ft1_filtered_4FGL_J1018.1+1905_daily_bin1458.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.50
user 0.33
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/794006/ft1_filtered_4FGL_J1018.1+1905_daily_bin1458.fits evtable="EVENTS" scfile=/scratch/kocevski/794006/ft2_4FGL_J1018.1+1905_daily_bin1458.fits sctable="SC_DATA" expcube=/scratch/kocevski/794006/ltcube_617241601_617500801_4FGL_J1018.1+1905_daily_bin1458.fits outfile=/scratch/kocevski/794006/expmap_617241601_617500801_4FGL_J1018.1+1905_daily_bin1458.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/794006/ltcube_617241601_617500801_4FGL_J1018.1+1905_daily_bin1458.fits
.....................!
real 195.77
user 190.50
sys 4.67

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/794006/ft1_filtered_4FGL_J1018.1+1905_daily_bin1458.fits scfile=/scratch/kocevski/794006/ft2_4FGL_J1018.1+1905_daily_bin1458.fits outfile=/scratch/kocevski/794006/cmap_617241601_617500801_4FGL_J1018.1+1905_daily_bin1458.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 8.45
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/794006/ft1_filtered_4FGL_J1018.1+1905_daily_bin1458.fits scfile=/scratch/kocevski/794006/ft2_4FGL_J1018.1+1905_daily_bin1458.fits outfile=/scratch/kocevski/794006/cmap_HighResolution_617241601_617500801_4FGL_J1018.1+1905_daily_bin1458.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.56
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    37.711       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.809       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .67169       1.0000         .10000E-03   10000.    
     7 'norm      '    16.506       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17334E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    50.277       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.4870       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.8393       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.404       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.057       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.1216       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0091       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1793       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=   3515.671     FROM MIGRAD    STATUS=CONVERGED    331 CALLS     1588 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    30.722       -.11639E-05** at limit **
   2  norm          .10000E-03    3.4135       -.37947E-07** at limit **
   3  Prefactor     37.692        118.93       -.26822E-04   -.62085E-07
   4  Prefactor     .10000E-03    72.477        .44035E-05** at limit **
   5  Prefactor     17.810        14.042        .20898E-05    .40798E-04
   6  Prefactor     .67193        6.0347       -.30836E-05   -.87127E-03
   7  norm          16.510        15.230        .29647E-05    .44489E-05
   8  Prefactor     .10000E-03    211.46       -.13784E-04** at limit **
   9  Prefactor     50.294        63.255        .14079E-04   -.34359E-05
  10  Prefactor     6.4898        9.2371        .92090E-05   -.48936E-04
  11  Prefactor     1.8406        3.0793       -.90341E-06   -.49459E-03
  12  Prefactor     11.408        9.0902       -.22701E-05   -.55977E-04
  13  Prefactor     14.062        12.981       -.53513E-05   -.44419E-04
  14  Prefactor     9.1248        16.139       -.46776E-05   -.37929E-04
  15  Prefactor     .10000E-03    6.8816        .24220E-06** at limit **
  16  Normalizat    1.0086        .27326        .69674E-06    .37712E-04
  17  Prefactor     1.1795        .25092       -.48007E-06    .72524E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 37.6924
  Prefactor  = 0.0001
  Prefactor  = 17.8102
  Prefactor  = 0.671928
  norm       = 16.5096
  Prefactor  = 0.0001
  Prefactor  = 50.2935
  Prefactor  = 6.48979
  Prefactor  = 1.84064
  Prefactor  = 11.4084
  Prefactor  = 14.0618
  Prefactor  = 9.12482
  Prefactor  = 0.0001
  Normalizat = 1.00857
  Prefactor  = 1.17948
 **********
 **   18 **HESSE 
 **********

 FCN=   3515.671     FROM HESSE     STATUS=OK           225 CALLS     1813 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.4605        .10691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     37.692        118.96        .65266E-04   -1.4479    
   4  Prefactor     .10000E-03    72.538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.810        14.048        .94908E-04   -1.4864    
   6  Prefactor     .67193        6.4362        .28073E-03   -1.5544    
   7  norm          16.510        15.223        .98582E-04   -1.4895    
   8  Prefactor     .10000E-03    211.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     50.294        63.011        .56557E-04   -1.4288    
  10  Prefactor     6.4898        9.1444        .15757E-03   -1.5198    
  11  Prefactor     1.8406        3.0524        .12450E-03   -1.5437    
  12  Prefactor     11.408        9.1375        .11863E-03   -1.5032    
  13  Prefactor     14.062        12.946        .10683E-03   -1.4958    
  14  Prefactor     9.1248        16.072        .13270E-03   -1.5104    
  15  Prefactor     .10000E-03    6.8939        .15190E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0086        .32168        .28136E-03   -.92744    
  17  Prefactor     1.1795        .29602        .25620E-03   -.86965    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.23543e-09
Minuit parameter uncertainties:
  1  4.64199e-06
  2  2.12443e-06
  3  119.722
  4  2.26265e-06
  5  14.051
  6  4.15944
  7  15.2263
  8  1.22668e-05
  9  63.0946
  10  9.1464
  11  3.05269
  12  9.13859
  13  12.9487
  14  16.0801
  15  9.34416e-05
  16  0.322297
  17  0.296439
Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  5.029e+01  6.309e+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.179e+00  2.964e-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.009e+00  3.223e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.90
Ra Dec: 154.548 19.096
Photon Flux Upper Limit: 1.46e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.10e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/794006/likelihoodResults_617241601_617500801_4FGL_J1018.1+1905_daily_bin1458.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) = 3515.58557949
delta logL = 0.0852729283274

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3515.58059278
delta logL = 0.0902596365777

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.533       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5193       1.0000          .0000       10.000    
     3 'Normalizat'    .98170       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1946       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=   3515.581     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      317 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.631        122.40        .76349E-04    .24495E-04
   2  Index         2.5179        1.9784        .54849E-02    .17373E-04
   3  Normalizat    .98028        .32597        .28489E-03    .97369E-05
   4  Prefactor     1.1960        .30917        .25466E-03    .21429E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.6312
  Index      = 2.51792
  Normalizat = 0.980282
  Prefactor  = 1.19603
 **********
 **   18 **HESSE 
 **********

 FCN=   3515.581     FROM HESSE     STATUS=OK            25 CALLS      342 TOTAL
                     EDM=   .87E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.631        68.652        .30540E-05   -1.4656    
   2  Index         2.5179        1.1943        .21940E-03   -.51947    
   3  Normalizat    .98028        .31050        .11396E-04   -.93694    
   4  Prefactor     1.1960        .29856        .10186E-04   -.86454    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.73111e-12
Minuit parameter uncertainties:
  1  68.8487
  2  1.20995
  3  0.311069
  4  0.29898
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/794006': 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) = 3515.58057858
delta logL = 0.0902738393256

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  2.763e+01  6.885e+01  1.000e-04  1.000e+04 ( 1.000e-14)
211        Index:  2.518e+00  1.210e+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.196e+00  2.990e-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.803e-01  3.111e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.08
Ra Dec: 154.548 19.096
Photon Index (Free Index): 2.52 +/- 1.21
Photon Flux (Free Index): 5.95e-08 +/- 8.30e-08
Energy Flux (Free Index): 1.69e-05 +/- 2.01e-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/794006/cmap_HighResolution_617241601_617500801_4FGL_J1018.1+1905_daily_bin1458.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', comment='SUCCESS', energy_flux2='1.69e-05', dlogl='9.03e-02', photon_flux2='5.95e-08', job_status='DONE', time_completed='2021-09-01 17:06:05.815856', photon_index_error2='1.21', photon_index2='2.52', ts='0.90', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', photon_flux_upper_limit='1.46e-07', energy_flux_error2='2.01e-05', EG='1.01', time_epoch_completed='1630541165.82', return_code='0', job_id='794006', GAL2='1.20', EG2='0.98', return_code2='0', photon_flux_error2='8.30e-08', ts2='1.08', photon_index='2.06' WHERE bin_id='1458' AND source_name='4FGL J1018.1+1905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 17:06:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0304>
Subject: Job 794006: <4FGL_J1018.1+1905_daily_bin1458> in cluster <slac> Done

Job <4FGL_J1018.1+1905_daily_bin1458> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 16:55:31 2021
Job was executed on host(s) <bullet0304>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 16:55:42 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:55:42 2021
Terminated at Wed Sep  1 17:06:06 2021
Results reported at Wed Sep  1 17:06:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.1+1905_daily_bin1458 154.548 19.0963 617241601 617500801 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 :                                   439.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             256.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   626 sec.
    Turnaround time :                            635 sec.

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

