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


Performing analysis on: 4FGL_J1018.3-3124_daily_bin235
RA = 154.591, Dec = -31.4032
tmin = 300240001, tmax = 300499201
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='795675', job_status='RUN', time_executed='2021-09-01 17:04:49.888655', time_epoch_executed='1630541089.89' WHERE source_name='4FGL J1018.3-3124' and cadence='daily' and bin_id='235'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/795675

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/795675/ft1_4FGL_J1018.3-3124_daily_bin235.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/795675/ft2_4FGL_J1018.3-3124_daily_bin235.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/795675/ft1_4FGL_J1018.3-3124_daily_bin235.fits outfile=/scratch/kocevski/795675/ft1_filteredMKT_4FGL_J1018.3-3124_daily_bin235.fits ra=154.591 dec=-31.4032 rad=12.0 tmin=300240001.0 tmax=300499201.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.83
user 3.24
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/795675/ft2_4FGL_J1018.3-3124_daily_bin235.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/795675/ft2_4FGL_J1018.3-3124_daily_bin235.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/795675/ft1_filteredMKT_4FGL_J1018.3-3124_daily_bin235.fits evtable="EVENTS" outfile="/scratch/kocevski/795675/ft1_filtered_4FGL_J1018.3-3124_daily_bin235.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.86
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/795675/ft1_filtered_4FGL_J1018.3-3124_daily_bin235.fits" evtable="EVENTS" scfile=/scratch/kocevski/795675/ft2_4FGL_J1018.3-3124_daily_bin235.fits sctable="SC_DATA" outfile=/scratch/kocevski/795675/ltcube_300240001_300499201_4FGL_J1018.3-3124_daily_bin235.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/795675/ft2_4FGL_J1018.3-3124_daily_bin235.fits
.....................!
real 18.16
user 17.59
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/795675/ft1_filtered_4FGL_J1018.3-3124_daily_bin235.fits evtable="EVENTS" scfile=/scratch/kocevski/795675/ft2_4FGL_J1018.3-3124_daily_bin235.fits sctable="SC_DATA" expcube=/scratch/kocevski/795675/ltcube_300240001_300499201_4FGL_J1018.3-3124_daily_bin235.fits outfile=/scratch/kocevski/795675/expmap_300240001_300499201_4FGL_J1018.3-3124_daily_bin235.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/795675/ltcube_300240001_300499201_4FGL_J1018.3-3124_daily_bin235.fits
.....................!
real 194.11
user 188.71
sys 4.52

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

Setting source of interest to:
4FGL J1018.3-3124 @ 154.591 -31.4032

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/795675/ft1_filtered_4FGL_J1018.3-3124_daily_bin235.fits scfile=/scratch/kocevski/795675/ft2_4FGL_J1018.3-3124_daily_bin235.fits outfile=/scratch/kocevski/795675/cmap_300240001_300499201_4FGL_J1018.3-3124_daily_bin235.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.591 yref=-31.4032 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.42
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/795675/ft1_filtered_4FGL_J1018.3-3124_daily_bin235.fits scfile=/scratch/kocevski/795675/ft2_4FGL_J1018.3-3124_daily_bin235.fits outfile=/scratch/kocevski/795675/cmap_HighResolution_300240001_300499201_4FGL_J1018.3-3124_daily_bin235.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.591 yref=-31.4032 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.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/795675/ft1_filtered_4FGL_J1018.3-3124_daily_bin235.fits evtable="EVENTS" scfile=/scratch/kocevski/795675/ft2_4FGL_J1018.3-3124_daily_bin235.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/795675/Model_4FGL_J1018.3-3124_daily_bin235.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/795675/ft1_filtered_4FGL_J1018.3-3124_daily_bin235.fits.....................!
real 84.75
user 82.82
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/795675/ft1_filtered_4FGL_J1018.3-3124_daily_bin235.fits', '/scratch/kocevski/795675/ft2_4FGL_J1018.3-3124_daily_bin235.fits', expMap='/scratch/kocevski/795675/expmap_300240001_300499201_4FGL_J1018.3-3124_daily_bin235.fits', expCube='/scratch/kocevski/795675/ltcube_300240001_300499201_4FGL_J1018.3-3124_daily_bin235.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/795675/Model_4FGL_J1018.3-3124_daily_bin235.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.3-3124'

4FGL J1018.3-3124
   Spectrum: LogParabola
338         norm:  6.868e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
339        alpha:  2.461e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
340         beta:  1.460e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
341           Eb:  5.841e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/795675/ft1_filtered_4FGL_J1018.3-3124_daily_bin235.fits
Spacecraft file(s): /scratch/kocevski/795675/ft2_4FGL_J1018.3-3124_daily_bin235.fits
Exposure map: /scratch/kocevski/795675/expmap_300240001_300499201_4FGL_J1018.3-3124_daily_bin235.fits
Exposure cube: /scratch/kocevski/795675/ltcube_300240001_300499201_4FGL_J1018.3-3124_daily_bin235.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/795675/Model_4FGL_J1018.3-3124_daily_bin235.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) = 7336.20774792

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .13717       1.0000         .10000E-03   10000.    
     6 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.291       1.0000         .10000E-03   10000.    
     9 'norm      '    46.863       1.0000         .10000E-03   10000.    
    10 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.013       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .21366       1.0000         .10000E-03   10000.    
    13 'norm      '    1.0455       1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.792       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.8037       1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.059       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.9008       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.795       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.8099       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .77970       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7336.198     FROM MIGRAD    STATUS=CONVERGED    463 CALLS     2144 TOTAL
                     EDM=   .42E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.612       -.18313E-06** at limit **
   2  norm          .10000E-03    4.6894        .88809E-08** at limit **
   3  norm          .10000E-03    7.0854        .47678E-07** at limit **
   4  norm          .10000E-03    3.1430        .82273E-09** at limit **
   5  norm          .13739        .88967       -.10879E-06    .21090E-03
   6  norm          .10000E-03    5.9559       -.16929E-07** at limit **
   7  Prefactor     .10000E-03    14.496        .17454E-06** at limit **
   8  Prefactor     12.291        12.026        .11566E-06    .34380E-05
   9  norm          46.858        17.867        .14756E-06    .43899E-04
  10  norm          .10000E-03    8.1475       -.82350E-07** at limit **
  11  Prefactor     14.042        23.494        .92155E-06    .34789E-04
  12  Prefactor     .10044E-03    28.762       -.33233E-05** at limit **
  13  norm          1.0410        7.0831        .18760E-05    .84162E-04
  14  Prefactor     22.800        28.032       -.34542E-06    .11781E-04
  15  Prefactor     4.8055        4.5807       -.87296E-07    .15114E-03
  16  Prefactor     20.054        14.863        .11124E-05    .57433E-04
  17  Prefactor     2.9019        5.8206        .82777E-06    .63447E-05
  18  Prefactor     12.793        13.777        .46363E-06    .21768E-06
  19  Normalizat    1.8099        .28073       -.18667E-06    .10091E-03
  20  Prefactor     .77972        .10241       -.25803E-06    .90126E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.137392
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.2914
  norm       = 46.8583
  norm       = 0.0001
  Prefactor  = 14.0419
  Prefactor  = 0.000100436
  norm       = 1.04096
  Prefactor  = 22.8
  Prefactor  = 4.80546
  Prefactor  = 20.0544
  Prefactor  = 2.90192
  Prefactor  = 12.7933
  Normalizat = 1.80989
  Prefactor  = 0.779725
 **********
 **   18 **HESSE 
 **********

 FCN=   7336.198     FROM HESSE     STATUS=OK           305 CALLS     2449 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.7671        .18110E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    7.0963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.1448        .14830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .13739        4.2023        .15112E-02   -1.5634    
   6  norm          .10000E-03    5.9741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    14.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.291        12.024        .11426E-03   -1.5007    
   9  norm          46.858        17.933        .58572E-04   -1.4338    
  10  norm          .10000E-03    8.2081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.042        23.417        .10700E-03   -1.4958    
  12  Prefactor     .10044E-03    40.836        .99746E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.0410        10.586        .40228E-03   -1.5504    
  14  Prefactor     22.800        28.039        .83901E-04   -1.4753    
  15  Prefactor     4.8055        4.5561        .16099E-03   -1.5270    
  16  Prefactor     20.054        14.912        .89429E-04   -1.4812    
  17  Prefactor     2.9019        5.8863        .11929E-02   -1.5367    
  18  Prefactor     12.793        13.767        .11198E-03   -1.4992    
  19  Normalizat    1.8099        .32805        .34066E-03   -.69406    
  20  Prefactor     .77972        .11953        .19489E-03   -1.0048    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.59948e-10
Minuit parameter uncertainties:
  1  5.87289e-06
  2  5.76163e-06
  3  3.90291e-06
  4  7.11683e-07
  5  1.51925
  6  1.32527e-06
  7  2.52926e-06
  8  12.0267
  9  17.9347
  10  6.2163e-06
  11  23.432
  12  0.00844722
  13  6.64042
  14  28.055
  15  4.5564
  16  14.9149
  17  5.88743
  18  13.7703
  19  0.328453
  20  0.119566
Done.

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

Extracting fit parameters...

4FGL J1018.3-3124
   Spectrum: LogParabola
338         norm:  4.686e+01  1.793e+01  1.000e-04  1.000e+04 ( 1.000e-12)
339        alpha:  2.461e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
340         beta:  1.460e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
341           Eb:  5.841e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  7.797e-01  1.196e-01  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.810e+00  3.285e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.07
Ra Dec: 154.591 -31.403
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 1.97e-07 +/- 7.53e-08
Energy Flux (Fixed Index): 5.76e-05 +/- 2.21e-05

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) = 7336.14112197
delta logL = 0.0573208763099

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7336.13687786
delta logL = 0.0615649897481

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    44.681       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6255       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7796       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78715       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6060E+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=   7336.137     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      290 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          44.673        18.669        .59979E-04    .29569E-04
   2  alpha         2.6256        .47766        .11590E-01   -.88320E-05
   3  Normalizat    1.7797        .31058        .34274E-03   -.17111E-03
   4  Prefactor     .78712        .11951        .19406E-03    .51201E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 44.673
  alpha      = 2.62565
  Normalizat = 1.77973
  Prefactor  = 0.787124
 **********
 **   18 **HESSE 
 **********

 FCN=   7336.137     FROM HESSE     STATUS=OK            25 CALLS      315 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          44.673        18.313        .23992E-05   -1.4370    
   2  alpha         2.6256        .46791        .46360E-03    .50281E-01
   3  Normalizat    1.7797        .31055        .68547E-04   -.70194    
   4  Prefactor     .78712        .11952        .77625E-05   -1.0020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.41429e-10
Minuit parameter uncertainties:
  1  18.3151
  2  0.470688
  3  0.310898
  4  0.119563
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/795675': 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) = 7336.13687767
delta logL = 0.0615651755516

Extracting fit parameters...

4FGL J1018.3-3124
   Spectrum: LogParabola
338         norm:  4.467e+01  1.832e+01  1.000e-04  1.000e+04 ( 1.000e-12)
339        alpha:  2.626e+00  4.707e-01  0.000e+00  5.000e+00 ( 1.000e+00)
340         beta:  1.460e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
341           Eb:  5.841e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  7.871e-01  1.196e-01  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.780e+00  3.109e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.26
Ra Dec: 154.591 -31.403
Photon Index (Free Index): 2.63 +/- 0.47
Photon Flux (Free Index): 2.23e-07 +/- 1.09e-07
Energy Flux (Free Index): 5.79e-05 +/- 2.12e-05

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/795675/cmap_HighResolution_300240001_300499201_4FGL_J1018.3-3124_daily_bin235.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.97e-07', energy_flux2='5.79e-05', photon_flux_error='7.53e-08', dlogl='6.16e-02', energy_flux='5.76e-05', photon_flux2='2.23e-07', job_status='DONE', time_completed='2021-09-01 17:15:51.828247', photon_index_error2='0.47', photon_index2='2.63', ts='15.07', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='2.12e-05', EG='1.81', time_epoch_completed='1630541751.83', return_code='0', job_id='795675', GAL2='0.79', EG2='1.78', return_code2='0', energy_flux_error='2.21e-05', photon_flux_error2='1.09e-07', ts2='15.26', photon_index='2.46' WHERE bin_id='235' AND source_name='4FGL J1018.3-3124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 17:15:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 795675: <4FGL_J1018.3-3124_daily_bin235> in cluster <slac> Done

Job <4FGL_J1018.3-3124_daily_bin235> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 17:00:51 2021
Job was executed on host(s) <bullet0295>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 17:01:44 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:01:44 2021
Terminated at Wed Sep  1 17:15:52 2021
Results reported at Wed Sep  1 17:15:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.3-3124_daily_bin235 154.591 -31.4032 300240001 300499201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1018.3-3124 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   655.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             280.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            901 sec.

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

