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


Performing analysis on: 4FGL_J1018.1+1905_daily_bin7
RA = 154.548, Dec = 19.0963
tmin = 241142401, tmax = 241401601
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='785790', job_status='RUN', time_executed='2021-09-01 16:36:51.765747', time_epoch_executed='1630539411.77' WHERE source_name='4FGL J1018.1+1905' and cadence='daily' and bin_id='7'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/785790

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/785790/ft1_4FGL_J1018.1+1905_daily_bin7.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/785790/ft2_4FGL_J1018.1+1905_daily_bin7.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/785790/ft1_4FGL_J1018.1+1905_daily_bin7.fits outfile=/scratch/kocevski/785790/ft1_filteredMKT_4FGL_J1018.1+1905_daily_bin7.fits ra=154.548 dec=19.0963 rad=12.0 tmin=241142401.0 tmax=241401601.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.52
user 1.34
sys 0.15

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/785790/ft1_filtered_4FGL_J1018.1+1905_daily_bin7.fits evtable="EVENTS" scfile=/scratch/kocevski/785790/ft2_4FGL_J1018.1+1905_daily_bin7.fits sctable="SC_DATA" expcube=/scratch/kocevski/785790/ltcube_241142401_241401601_4FGL_J1018.1+1905_daily_bin7.fits outfile=/scratch/kocevski/785790/expmap_241142401_241401601_4FGL_J1018.1+1905_daily_bin7.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/785790/ltcube_241142401_241401601_4FGL_J1018.1+1905_daily_bin7.fits
.....................!
real 190.70
user 186.17
sys 3.95

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/785790/ft1_filtered_4FGL_J1018.1+1905_daily_bin7.fits scfile=/scratch/kocevski/785790/ft2_4FGL_J1018.1+1905_daily_bin7.fits outfile=/scratch/kocevski/785790/cmap_241142401_241401601_4FGL_J1018.1+1905_daily_bin7.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/785790/ft1_filtered_4FGL_J1018.1+1905_daily_bin7.fits scfile=/scratch/kocevski/785790/ft2_4FGL_J1018.1+1905_daily_bin7.fits outfile=/scratch/kocevski/785790/cmap_HighResolution_241142401_241401601_4FGL_J1018.1+1905_daily_bin7.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.58
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.7609       1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    65.940       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    28.272       1.0000         .10000E-03   10000.    
     8 'Prefactor '    273.85       1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.266       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .22199E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.3753       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.3557       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.0668       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .69514       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.9073       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=   7511.382     FROM MIGRAD    STATUS=CONVERGED    321 CALLS     1637 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.7600        22.717       -.20651E-05   -.12575E-04
   2  norm          .10000E-03    .53987       -.17711E-06** at limit **
   3  Prefactor     65.939        55.068       -.16189E-05    .17945E-05
   4  Prefactor     .10000E-03    24.951        .81828E-06** at limit **
   5  Prefactor     .10000E-03    3.2449        .33505E-08** at limit **
   6  Prefactor     .10000E-03    .56306       -.92069E-08** at limit **
   7  norm          28.271        9.7665        .14625E-06   -.46215E-04
   8  Prefactor     273.88        123.42        .18753E-04    .53041E-05
   9  Prefactor     21.234        40.008       -.59144E-04   -.22468E-04
  10  Prefactor     .10001E-03    4.9251        .14865E-05** at limit **
  11  Prefactor     .10000E-03    1.0739       -.72635E-08** at limit **
  12  Prefactor     5.3768        6.4366        .14494E-05   -.24157E-03
  13  Prefactor     2.3548        8.7497       -.22671E-05   -.50193E-03
  14  Prefactor     .10000E-03    4.5553        .52882E-07** at limit **
  15  Prefactor     4.0685        12.590       -.22058E-06   -.11059E-03
  16  Normalizat    .69494        .19543        .15699E-05   -.19346E-03
  17  Prefactor     1.9072        .19385        .84306E-06   -.18228E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.75999
  norm       = 0.0001
  Prefactor  = 65.9386
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 28.2709
  Prefactor  = 273.885
  Prefactor  = 21.2342
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 5.37677
  Prefactor  = 2.35481
  Prefactor  = 0.0001
  Prefactor  = 4.06846
  Normalizat = 0.694944
  Prefactor  = 1.9072
 **********
 **   18 **HESSE 
 **********

 FCN=   7511.382     FROM HESSE     STATUS=OK           223 CALLS     1860 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.7600        22.705        .12826E-03   -1.5083    
   2  norm          .10000E-03    .81131        .12367E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     65.939        55.048        .49424E-04   -1.4082    
   4  Prefactor     .10000E-03    25.043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.2973        .15241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    .56666        .63503E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          28.271        9.7650        .75347E-04   -1.4644    
   8  Prefactor     273.88        123.34        .12255E-03   -1.2383    
   9  Prefactor     21.234        40.015        .86855E-04   -1.4786    
  10  Prefactor     .10001E-03    16.965        .35922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.1023        .17506E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.3768        6.4270        .17333E-03   -1.5244    
  13  Prefactor     2.3548        8.5571        .26704E-03   -1.5401    
  14  Prefactor     .10000E-03    4.5725        .18053E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.0685        12.387        .19993E-03   -1.5305    
  16  Normalizat    .69494        .22059        .34553E-03   -1.0409    
  17  Prefactor     1.9072        .22447        .23701E-03   -.66691    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26588e-09
Minuit parameter uncertainties:
  1  22.7251
  2  1.6178e-05
  3  55.0906
  4  2.25241e-06
  5  3.67029e-07
  6  5.36368e-07
  7  9.7656
  8  123.455
  9  40.066
  10  0.000723667
  11  1.04491e-06
  12  6.4278
  13  8.5615
  14  8.03106e-06
  15  12.3953
  16  0.220869
  17  0.224597
Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  2.123e+01  4.007e+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.907e+00  2.246e-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:  6.949e-01  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/785790/likelihoodResults_241142401_241401601_4FGL_J1018.1+1905_daily_bin7.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) = 7509.48061744
delta logL = 1.90111719509

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7509.31502848
delta logL = 2.06670616098

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22947E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    5.2277       1.0000          .0000       10.000    
     3 'Normalizat'    .56099       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.9991       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=   7509.315     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      300 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22641E-01    .16962        .15765E-02    .64416E-02
   2  Index         5.2325        1.5465        .68357E-01    .31483E-03
   3  Normalizat    .56067        .52429E-01    .86159E-01    .50252E-04
   4  Prefactor     1.9995        .55567E-01    .52619E-01   -.56114E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0226414
  Index      = 5.2325
  Normalizat = 0.560672
  Prefactor  = 1.99953
 **********
 **   18 **HESSE 
 **********

 FCN=   7509.315     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      333 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22641E-01    .34491        .70813E-05   -1.5678    
   2  Index         5.2325        2.4777        .27050E-02    .46518E-01
   3  Normalizat    .56067        .18769        .38165E-03   -1.0968    
   4  Prefactor     1.9995        .19682        .23258E-03   -.64362    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.16978e-10
Minuit parameter uncertainties:
  1  0.176352
  2  2.59259
  3  0.187901
  4  0.196903
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/785790': 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): 102
logL (Free Index) = 7509.3150228
delta logL = 2.06671184034

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  2.264e-02  1.764e-01  1.000e-04  1.000e+04 ( 1.000e-14)
211        Index:  5.233e+00  2.593e+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:  2.000e+00  1.969e-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:  5.607e-01  1.879e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.89
Ra Dec: 154.548 19.096
Photon Index (Free Index): 5.23 +/- 2.59
Photon Flux (Free Index): 1.08e-07 +/- 5.97e-08
Energy Flux (Free Index): 1.41e-05 +/- 8.49e-06

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/785790/cmap_HighResolution_241142401_241401601_4FGL_J1018.1+1905_daily_bin7.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.44e-03', comment='SUCCESS', energy_flux2='1.41e-05', dlogl='2.07e+00', photon_flux2='1.08e-07', job_status='DONE', time_completed='2021-09-01 16:46:48.114882', photon_index_error2='2.59', photon_index2='5.23', ts='0.36', fit_tolerance='1e-08', GAL='1.91', photon_index_error='0.00', photon_flux_upper_limit='8.54e-08', energy_flux_error2='8.49e-06', EG='0.69', time_epoch_completed='1630540008.11', return_code='0', job_id='785790', GAL2='2.00', EG2='0.56', return_code2='102', photon_flux_error2='5.97e-08', ts2='4.89', photon_index='2.06' WHERE bin_id='7' AND source_name='4FGL J1018.1+1905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 16:46:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0191>
Subject: Job 785790: <4FGL_J1018.1+1905_daily_bin7> in cluster <slac> Done

Job <4FGL_J1018.1+1905_daily_bin7> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 16:31:47 2021
Job was executed on host(s) <bullet0191>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 16:32:30 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:30 2021
Terminated at Wed Sep  1 16:46:48 2021
Results reported at Wed Sep  1 16:46:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.1+1905_daily_bin7 154.548 19.0963 241142401 241401601 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 :                                   590.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            901 sec.

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

