/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 68 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 = 7534
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1018.1+1905_daily_bin134
RA = 154.548, Dec = 19.0963
tmin = 274060801, tmax = 274320001
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='785944', job_status='RUN', time_executed='2021-09-01 16:35:06.278965', time_epoch_executed='1630539306.28' WHERE source_name='4FGL J1018.1+1905' and cadence='daily' and bin_id='134'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/785944

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/785944/ft1_4FGL_J1018.1+1905_daily_bin134.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/785944/ft2_4FGL_J1018.1+1905_daily_bin134.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/785944/ft1_4FGL_J1018.1+1905_daily_bin134.fits outfile=/scratch/kocevski/785944/ft1_filteredMKT_4FGL_J1018.1+1905_daily_bin134.fits ra=154.548 dec=19.0963 rad=12.0 tmin=274060801.0 tmax=274320001.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 3.90
user 3.49
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/785944/ft1_filtered_4FGL_J1018.1+1905_daily_bin134.fits" evtable="EVENTS" scfile=/scratch/kocevski/785944/ft2_4FGL_J1018.1+1905_daily_bin134.fits sctable="SC_DATA" outfile=/scratch/kocevski/785944/ltcube_274060801_274320001_4FGL_J1018.1+1905_daily_bin134.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/785944/ft2_4FGL_J1018.1+1905_daily_bin134.fits
.....................!
real 15.93
user 15.44
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/785944/ft1_filtered_4FGL_J1018.1+1905_daily_bin134.fits evtable="EVENTS" scfile=/scratch/kocevski/785944/ft2_4FGL_J1018.1+1905_daily_bin134.fits sctable="SC_DATA" expcube=/scratch/kocevski/785944/ltcube_274060801_274320001_4FGL_J1018.1+1905_daily_bin134.fits outfile=/scratch/kocevski/785944/expmap_274060801_274320001_4FGL_J1018.1+1905_daily_bin134.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/785944/ltcube_274060801_274320001_4FGL_J1018.1+1905_daily_bin134.fits
.....................!
real 192.00
user 186.99
sys 4.23

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/785944/ft1_filtered_4FGL_J1018.1+1905_daily_bin134.fits scfile=/scratch/kocevski/785944/ft2_4FGL_J1018.1+1905_daily_bin134.fits outfile=/scratch/kocevski/785944/cmap_274060801_274320001_4FGL_J1018.1+1905_daily_bin134.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/785944/ft1_filtered_4FGL_J1018.1+1905_daily_bin134.fits scfile=/scratch/kocevski/785944/ft2_4FGL_J1018.1+1905_daily_bin134.fits outfile=/scratch/kocevski/785944/cmap_HighResolution_274060801_274320001_4FGL_J1018.1+1905_daily_bin134.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.55
user 0.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.4563       1.0000         .10000E-03   10000.    
     2 'norm      '    .10947E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.775       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.2417       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.8966       1.0000         .10000E-03   10000.    
     7 'norm      '    20.132       1.0000         .10000E-03   10000.    
     8 'Prefactor '    201.17       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10319E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .31398E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.8610       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.4976       1.0000         .10000E-03   10000.    
    15 'Prefactor '    23.511       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .97817       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1832       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=   5866.666     FROM MIGRAD    STATUS=CONVERGED    332 CALLS     1634 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.4460        21.777       -.18080E-05   -.90466E-06
   2  norm          .10000E-03    .96982       -.10079E-06** at limit **
   3  Prefactor     .10000E-03    24.825       -.58316E-06** at limit **
   4  Prefactor     18.795        32.633        .31091E-05   -.29687E-05
   5  Prefactor     6.2400        7.2973       -.27759E-06   -.30229E-04
   6  Prefactor     1.8962        3.0019        .14121E-06   -.70313E-04
   7  norm          20.132        11.433       -.11433E-06   -.13458E-04
   8  Prefactor     201.19        107.83        .75478E-06   -.17041E-05
   9  Prefactor     .10000E-03    34.094        .13199E-05** at limit **
  10  Prefactor     .10000E-03    5.0711        .78360E-06** at limit **
  11  Prefactor     .10000E-03    1.0578        .26810E-06** at limit **
  12  Prefactor     .10000E-03    4.3977        .19503E-06** at limit **
  13  Prefactor     1.8839        33.407       -.88804E-05   -.36061E-04
  14  Prefactor     8.4975        15.418        .47733E-05   -.34944E-04
  15  Prefactor     23.477        25.623        .44671E-06   -.56004E-04
  16  Normalizat    .97822        .19783        .57725E-06   -.25686E-04
  17  Prefactor     1.1832        .18131        .52076E-06   -.70706E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.44601
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.7948
  Prefactor  = 6.24002
  Prefactor  = 1.89624
  norm       = 20.1323
  Prefactor  = 201.188
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 1.88385
  Prefactor  = 8.49751
  Prefactor  = 23.4771
  Normalizat = 0.978216
  Prefactor  = 1.18317
 **********
 **   18 **HESSE 
 **********

 FCN=   5866.666     FROM HESSE     STATUS=OK           231 CALLS     1865 TOTAL
                     EDM=   .81E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.4460        21.757        .14687E-03   -1.5162    
   2  norm          .10000E-03    2.9697        .14641E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    24.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     18.795        32.569        .92435E-04   -1.4841    
   5  Prefactor     6.2400        7.2825        .16068E-03   -1.5208    
   6  Prefactor     1.8962        2.9811        .15618E-03   -1.5433    
   7  norm          20.132        11.427        .89267E-04   -1.4810    
   8  Prefactor     201.19        107.89        .14245E-03   -1.2862    
   9  Prefactor     .10000E-03    34.118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.1277        .16836E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.0662        .76802E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.040        .30967E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.8839        33.961        .30546E-03   -1.5433    
  14  Prefactor     8.4975        15.422        .13752E-03   -1.5125    
  15  Prefactor     23.477        25.591        .82610E-04   -1.4739    
  16  Normalizat    .97822        .23036        .26776E-03   -.93764    
  17  Prefactor     1.1832        .21225        .24247E-03   -.86851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.06611e-11
Minuit parameter uncertainties:
  1  21.78
  2  1.24313e-06
  3  5.85863e-06
  4  32.5994
  5  7.28357
  6  2.98136
  7  11.4281
  8  108.001
  9  2.67967e-05
  10  1.1969e-05
  11  3.77083e-06
  12  0.000159231
  13  16.0072
  14  15.4297
  15  25.6032
  16  0.230597
  17  0.212406
Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  1.000e-04  2.680e-05  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.183e+00  2.124e-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.782e-01  2.306e-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: 7.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/785944/likelihoodResults_274060801_274320001_4FGL_J1018.1+1905_daily_bin134.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) = 5866.6665315
delta logL = -0.00013958890122

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5866.66639223
delta logL = -3.19806531479e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3057       1.0000          .0000       10.000    
     3 'Normalizat'    .97821       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1832       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=   5866.666     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      239 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.9520        .90712E-02** at limit **
   2  Index         2.2830        6.0554        .50000        .66283E-05
   3  Normalizat    .97821        .26399E-02    .45893E-01   -.10903E-05
   4  Prefactor     1.1832        .26125E-02    .54839E-01   -.36140E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.28304
  Normalizat = 0.978215
  Prefactor  = 1.18317
 **********
 **   18 **HESSE 
 **********

 FCN=   5866.666     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      272 TOTAL
                     EDM=   .99E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    125.75        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2830        5.9257        .50000       -.57447    
   3  Normalizat    .97821        .99311E-02    .26776E-03   -.93764    
   4  Prefactor     1.1832        .98277E-02    .24247E-03   -.86851    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.92631e-08
Minuit parameter uncertainties:
  1  0.000892361
  2  209.303
  3  0.00993112
  4  0.00982773
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/785944': 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) = 5866.66639218
delta logL = -2.70491000265e-07

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  1.000e-04  8.924e-04  1.000e-04  1.000e+04 ( 1.000e-14)
211        Index:  2.283e+00  2.093e+02  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.183e+00  9.828e-03  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.782e-01  9.931e-03  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/785944/cmap_HighResolution_274060801_274320001_4FGL_J1018.1+1905_daily_bin134.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.53e-03', job_status='DONE', photon_flux_upper_limit='7.34e-08', time_completed='2021-09-01 16:43:53.790867', job_id='785944', GAL2='1.18', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1630539833.79', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='-2.70e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='134' AND source_name='4FGL J1018.1+1905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 16:43:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0296>
Subject: Job 785944: <4FGL_J1018.1+1905_daily_bin134> in cluster <slac> Done

Job <4FGL_J1018.1+1905_daily_bin134> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 16:32:02 2021
Job was executed on host(s) <bullet0296>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 16:33:08 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:33:08 2021
Terminated at Wed Sep  1 16:43:54 2021
Results reported at Wed Sep  1 16:43:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.1+1905_daily_bin134 154.548 19.0963 274060801 274320001 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 :                                   523.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   646 sec.
    Turnaround time :                            712 sec.

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

