/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 195 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 = 7388
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1018.4+0528_daily_bin293
RA = 154.617, Dec = 5.4702
tmin = 315273601, tmax = 315532801
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='803700', job_status='RUN', time_executed='2021-09-01 17:30:04.916200', time_epoch_executed='1630542604.92' WHERE source_name='4FGL J1018.4+0528' and cadence='daily' and bin_id='293'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/803700

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/803700/ft1_4FGL_J1018.4+0528_daily_bin293.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/803700/ft2_4FGL_J1018.4+0528_daily_bin293.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/803700/ft1_4FGL_J1018.4+0528_daily_bin293.fits outfile=/scratch/kocevski/803700/ft1_filteredMKT_4FGL_J1018.4+0528_daily_bin293.fits ra=154.617 dec=5.4702 rad=12.0 tmin=315273601.0 tmax=315532801.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.79
user 3.52
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/803700/ft2_4FGL_J1018.4+0528_daily_bin293.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/803700/ft2_4FGL_J1018.4+0528_daily_bin293.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/803700/ft1_filteredMKT_4FGL_J1018.4+0528_daily_bin293.fits evtable="EVENTS" outfile="/scratch/kocevski/803700/ft1_filtered_4FGL_J1018.4+0528_daily_bin293.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.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/803700/ft1_filtered_4FGL_J1018.4+0528_daily_bin293.fits" evtable="EVENTS" scfile=/scratch/kocevski/803700/ft2_4FGL_J1018.4+0528_daily_bin293.fits sctable="SC_DATA" outfile=/scratch/kocevski/803700/ltcube_315273601_315532801_4FGL_J1018.4+0528_daily_bin293.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/803700/ft2_4FGL_J1018.4+0528_daily_bin293.fits
.....................!
real 16.49
user 16.06
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/803700/ft1_filtered_4FGL_J1018.4+0528_daily_bin293.fits evtable="EVENTS" scfile=/scratch/kocevski/803700/ft2_4FGL_J1018.4+0528_daily_bin293.fits sctable="SC_DATA" expcube=/scratch/kocevski/803700/ltcube_315273601_315532801_4FGL_J1018.4+0528_daily_bin293.fits outfile=/scratch/kocevski/803700/expmap_315273601_315532801_4FGL_J1018.4+0528_daily_bin293.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/803700/ltcube_315273601_315532801_4FGL_J1018.4+0528_daily_bin293.fits
.....................!
real 192.13
user 186.95
sys 4.59

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 154 point sources and 0 extended sources

Setting source of interest to:
4FGL J1018.4+0528 @ 154.617 5.4702

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/803700/ft1_filtered_4FGL_J1018.4+0528_daily_bin293.fits scfile=/scratch/kocevski/803700/ft2_4FGL_J1018.4+0528_daily_bin293.fits outfile=/scratch/kocevski/803700/cmap_315273601_315532801_4FGL_J1018.4+0528_daily_bin293.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.617 yref=5.4702 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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/803700/ft1_filtered_4FGL_J1018.4+0528_daily_bin293.fits scfile=/scratch/kocevski/803700/ft2_4FGL_J1018.4+0528_daily_bin293.fits outfile=/scratch/kocevski/803700/cmap_HighResolution_315273601_315532801_4FGL_J1018.4+0528_daily_bin293.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.617 yref=5.4702 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.42
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/803700/ft1_filtered_4FGL_J1018.4+0528_daily_bin293.fits evtable="EVENTS" scfile=/scratch/kocevski/803700/ft2_4FGL_J1018.4+0528_daily_bin293.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/803700/Model_4FGL_J1018.4+0528_daily_bin293.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/803700/ft1_filtered_4FGL_J1018.4+0528_daily_bin293.fits.....................!
real 51.88
user 50.43
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/803700/ft1_filtered_4FGL_J1018.4+0528_daily_bin293.fits', '/scratch/kocevski/803700/ft2_4FGL_J1018.4+0528_daily_bin293.fits', expMap='/scratch/kocevski/803700/expmap_315273601_315532801_4FGL_J1018.4+0528_daily_bin293.fits', expCube='/scratch/kocevski/803700/ltcube_315273601_315532801_4FGL_J1018.4+0528_daily_bin293.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/803700/Model_4FGL_J1018.4+0528_daily_bin293.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.4+0528'

4FGL J1018.4+0528
   Spectrum: PowerLaw
216    Prefactor:  9.961e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
217        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
218        Scale:  1.954e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/803700/ft1_filtered_4FGL_J1018.4+0528_daily_bin293.fits
Spacecraft file(s): /scratch/kocevski/803700/ft2_4FGL_J1018.4+0528_daily_bin293.fits
Exposure map: /scratch/kocevski/803700/expmap_315273601_315532801_4FGL_J1018.4+0528_daily_bin293.fits
Exposure cube: /scratch/kocevski/803700/ltcube_315273601_315532801_4FGL_J1018.4+0528_daily_bin293.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/803700/Model_4FGL_J1018.4+0528_daily_bin293.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) = 4987.38032812

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .71304       1.0000         .10000E-03   10000.    
     2 'norm      '    4.6100       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.631       1.0000         .10000E-03   10000.    
     4 'Prefactor '    27.955       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10194E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .11278E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.8025       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    55.098       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.8092       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.7054       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.4699       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .67282       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.2240       1.0000         .10000E-03   10000.    
    18 'Prefactor '    46.231       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .80044       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0947       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4987.356     FROM MIGRAD    STATUS=CONVERGED    417 CALLS     2087 TOTAL
                     EDM=   .23E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .71257        1.5899        .54700E-06    .13204E-04
   2  norm          4.6101        1.1539        .49576E-08   -.45517E-04
   3  Prefactor     10.632        16.579        .22708E-05   -.26137E-04
   4  Prefactor     27.893        44.944       -.31120E-06   -.66921E-04
   5  Prefactor     .10000E-03    13.673       -.60923E-06** at limit **
   6  norm          .10000E-03    24.027        .46879E-06** at limit **
   7  Prefactor     7.8115        23.844       -.22925E-05   -.92872E-05
   8  Prefactor     .10000E-03    50.806       -.37499E-06** at limit **
   9  Prefactor     55.031        103.28        .28533E-05   -.22133E-04
  10  Prefactor     .10000E-03    15.918       -.89573E-06** at limit **
  11  norm          1.8094        1.3553       -.30066E-07    .14131E-05
  12  Prefactor     2.7070        6.1957        .63392E-06   -.11907E-04
  13  Prefactor     5.4698        3.6399        .43329E-07   -.68966E-05
  14  Prefactor     .10000E-03    4.2179        .11280E-06** at limit **
  15  Prefactor     .10000E-03    2.1993        .31695E-07** at limit **
  16  norm          .67278        .66556       -.11721E-06   -.10969E-03
  17  Prefactor     5.2238        6.9462        .20599E-05   -.73190E-04
  18  Prefactor     46.231        28.134        .87526E-08   -.23220E-06
  19  Normalizat    .80043        .22522       -.36338E-06   -.30358E-04
  20  Prefactor     1.0947        .18457       -.52916E-06   -.21134E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.712568
  norm       = 4.61009
  Prefactor  = 10.6322
  Prefactor  = 27.893
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.8115
  Prefactor  = 0.0001
  Prefactor  = 55.0307
  Prefactor  = 0.0001
  norm       = 1.80945
  Prefactor  = 2.70698
  Prefactor  = 5.46979
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.672782
  Prefactor  = 5.22383
  Prefactor  = 46.2308
  Normalizat = 0.800428
  Prefactor  = 1.09473
 **********
 **   18 **HESSE 
 **********

 FCN=   4987.356     FROM HESSE     STATUS=OK           297 CALLS     2384 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .71257        1.5638        .12464E-03   -1.5539    
   2  norm          4.6101        1.1544        .35946E-04   -1.5279    
   3  Prefactor     10.632        16.524        .61441E-03   -1.5056    
   4  Prefactor     27.893        44.749        .75772E-04   -1.4651    
   5  Prefactor     .10000E-03    13.676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    24.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.8115        23.439        .14355E-03   -1.5149    
   8  Prefactor     .10000E-03    50.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     55.031        101.88        .54039E-04   -1.4223    
  10  Prefactor     .10000E-03    15.919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.8094        1.3500        .68174E-04   -1.5439    
  12  Prefactor     2.7070        6.1770        .24765E-03   -1.5379    
  13  Prefactor     5.4698        3.6388        .10502E-03   -1.5240    
  14  Prefactor     .10000E-03    4.2266        .14165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.2017        .10227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .67278        .63847        .51045E-03   -1.5544    
  17  Prefactor     5.2238        6.9214        .87935E-03   -1.5251    
  18  Prefactor     46.231        28.133        .58969E-04   -1.4347    
  19  Normalizat    .80043        .25752        .30993E-03   -1.0005    
  20  Prefactor     1.0947        .21280        .22594E-03   -.89635    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.81788e-10
Minuit parameter uncertainties:
  1  1.56393
  2  1.15436
  3  16.5314
  4  44.8028
  5  5.22287e-06
  6  6.52845e-05
  7  23.4664
  8  2.45435e-05
  9  102.203
  10  2.1123e-05
  11  1.35
  12  6.17848
  13  3.63892
  14  8.42379e-07
  15  6.21543e-07
  16  0.638474
  17  6.92242
  18  28.1413
  19  0.257914
  20  0.212968
Done.

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

Extracting fit parameters...

4FGL J1018.4+0528
   Spectrum: PowerLaw
216    Prefactor:  5.503e+01  1.022e+02  1.000e-04  1.000e+04 ( 1.000e-14)
217        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
218        Scale:  1.954e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.095e+00  2.130e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  8.004e-01  2.579e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.97
Ra Dec: 154.617 5.470
Photon Flux Upper Limit: 1.44e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.11e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/803700/likelihoodResults_315273601_315532801_4FGL_J1018.4+0528_daily_bin293.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) = 4987.35364417
delta logL = 0.00238968036228

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4987.35138137
delta logL = 0.00465248130331

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    61.158       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2131       1.0000          .0000       10.000    
     3 'Normalizat'    .80261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0934       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+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=   4987.351     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      267 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     61.160        102.29        .51307E-04   -.33237E-04
   2  Index         2.2131        .77062        .73957E-02    .32931E-03
   3  Normalizat    .80279        .25025        .30952E-03    .35408E-04
   4  Prefactor     1.0932        .21060        .22607E-03    .58586E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 61.1595
  Index      = 2.21308
  Normalizat = 0.802785
  Prefactor  = 1.09322
 **********
 **   18 **HESSE 
 **********

 FCN=   4987.351     FROM HESSE     STATUS=OK            25 CALLS      292 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     61.160        96.127        .10261E-04   -1.4142    
   2  Index         2.2131        .72413        .14791E-02   -.59123    
   3  Normalizat    .80279        .25031        .12381E-04   -.99965    
   4  Prefactor     1.0932        .21065        .90428E-05   -.89683    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9341e-11
Minuit parameter uncertainties:
  1  96.3726
  2  0.727856
  3  0.250668
  4  0.210814
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/803700': 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) = 4987.35138111
delta logL = 0.00465274329781

Extracting fit parameters...

4FGL J1018.4+0528
   Spectrum: PowerLaw
216    Prefactor:  6.116e+01  9.637e+01  1.000e-04  1.000e+04 ( 1.000e-14)
217        Index:  2.213e+00  7.279e-01  0.000e+00  1.000e+01 (-1.000e+00)
218        Scale:  1.954e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.093e+00  2.108e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  8.028e-01  2.507e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.97
Ra Dec: 154.617 5.470

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/803700/cmap_HighResolution_315273601_315532801_4FGL_J1018.4+0528_daily_bin293.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', job_status='DONE', photon_flux_upper_limit='1.44e-07', time_completed='2021-09-01 17:38:50.355559', job_id='803700', GAL2='1.09', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1630543130.36', return_code2='0', ts='0.97', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='4.65e-03', ts2='0.98', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='293' AND source_name='4FGL J1018.4+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 17:38:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 803700: <4FGL_J1018.4+0528_daily_bin293> in cluster <slac> Done

Job <4FGL_J1018.4+0528_daily_bin293> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Wed Sep  1 17:25:38 2021
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 17:26:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 17:26:41 2021
Terminated at Wed Sep  1 17:38:51 2021
Results reported at Wed Sep  1 17:38:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.4+0528_daily_bin293 154.617 5.4702 315273601 315532801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1018.4+0528 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   525.00 sec.
    Max Memory :                                 1157 MB
    Average Memory :                             240.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   729 sec.
    Turnaround time :                            793 sec.

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

