/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 185 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 = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1018.3-3124_daily_bin1007
RA = 154.591, Dec = -31.4032
tmin = 500342401, tmax = 500601601
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='799191', job_status='RUN', time_executed='2021-09-01 17:16:05.883284', time_epoch_executed='1630541765.88' WHERE source_name='4FGL J1018.3-3124' and cadence='daily' and bin_id='1007'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/799191

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/799191/ft1_4FGL_J1018.3-3124_daily_bin1007.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/799191/ft2_4FGL_J1018.3-3124_daily_bin1007.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/799191/ft1_4FGL_J1018.3-3124_daily_bin1007.fits outfile=/scratch/kocevski/799191/ft1_filteredMKT_4FGL_J1018.3-3124_daily_bin1007.fits ra=154.591 dec=-31.4032 rad=12.0 tmin=500342401.0 tmax=500601601.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.86
user 3.65
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/799191/ft2_4FGL_J1018.3-3124_daily_bin1007.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/799191/ft1_filteredMKT_4FGL_J1018.3-3124_daily_bin1007.fits evtable="EVENTS" outfile="/scratch/kocevski/799191/ft1_filtered_4FGL_J1018.3-3124_daily_bin1007.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.49
user 0.31
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/799191/ft1_filtered_4FGL_J1018.3-3124_daily_bin1007.fits" evtable="EVENTS" scfile=/scratch/kocevski/799191/ft2_4FGL_J1018.3-3124_daily_bin1007.fits sctable="SC_DATA" outfile=/scratch/kocevski/799191/ltcube_500342401_500601601_4FGL_J1018.3-3124_daily_bin1007.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/799191/ft2_4FGL_J1018.3-3124_daily_bin1007.fits
.....................!
real 13.45
user 13.12
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/799191/ft1_filtered_4FGL_J1018.3-3124_daily_bin1007.fits evtable="EVENTS" scfile=/scratch/kocevski/799191/ft2_4FGL_J1018.3-3124_daily_bin1007.fits sctable="SC_DATA" expcube=/scratch/kocevski/799191/ltcube_500342401_500601601_4FGL_J1018.3-3124_daily_bin1007.fits outfile=/scratch/kocevski/799191/expmap_500342401_500601601_4FGL_J1018.3-3124_daily_bin1007.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/799191/ltcube_500342401_500601601_4FGL_J1018.3-3124_daily_bin1007.fits
.....................!
real 155.86
user 151.86
sys 3.38

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/799191/ft1_filtered_4FGL_J1018.3-3124_daily_bin1007.fits scfile=/scratch/kocevski/799191/ft2_4FGL_J1018.3-3124_daily_bin1007.fits outfile=/scratch/kocevski/799191/cmap_500342401_500601601_4FGL_J1018.3-3124_daily_bin1007.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.48
user 0.34
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/799191/ft1_filtered_4FGL_J1018.3-3124_daily_bin1007.fits scfile=/scratch/kocevski/799191/ft2_4FGL_J1018.3-3124_daily_bin1007.fits outfile=/scratch/kocevski/799191/cmap_HighResolution_500342401_500601601_4FGL_J1018.3-3124_daily_bin1007.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.50
user 0.35
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/799191/ft1_filtered_4FGL_J1018.3-3124_daily_bin1007.fits evtable="EVENTS" scfile=/scratch/kocevski/799191/ft2_4FGL_J1018.3-3124_daily_bin1007.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/799191/Model_4FGL_J1018.3-3124_daily_bin1007.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/799191/ft1_filtered_4FGL_J1018.3-3124_daily_bin1007.fits.....................!
real 99.04
user 86.80
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/799191/ft1_filtered_4FGL_J1018.3-3124_daily_bin1007.fits', '/scratch/kocevski/799191/ft2_4FGL_J1018.3-3124_daily_bin1007.fits', expMap='/scratch/kocevski/799191/expmap_500342401_500601601_4FGL_J1018.3-3124_daily_bin1007.fits', expCube='/scratch/kocevski/799191/ltcube_500342401_500601601_4FGL_J1018.3-3124_daily_bin1007.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/799191/Model_4FGL_J1018.3-3124_daily_bin1007.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/799191/ft1_filtered_4FGL_J1018.3-3124_daily_bin1007.fits
Spacecraft file(s): /scratch/kocevski/799191/ft2_4FGL_J1018.3-3124_daily_bin1007.fits
Exposure map: /scratch/kocevski/799191/expmap_500342401_500601601_4FGL_J1018.3-3124_daily_bin1007.fits
Exposure cube: /scratch/kocevski/799191/ltcube_500342401_500601601_4FGL_J1018.3-3124_daily_bin1007.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/799191/Model_4FGL_J1018.3-3124_daily_bin1007.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) = 10556.6660918

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.211       1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .32613E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    3.5941       1.0000         .10000E-03   10000.    
     5 'norm      '    2.5079       1.0000         .10000E-03   10000.    
     6 'norm      '    9.1931       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    11.216       1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.157       1.0000         .10000E-03   10000.    
    13 'norm      '    1.7930       1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.428       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12809E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .88889E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .56964       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.4714       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0339       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96575       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10556.60     FROM MIGRAD    STATUS=CONVERGED    405 CALLS     1806 TOTAL
                     EDM=   .47E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.211        20.415         .0000        .10971E-02
   2  norm          .10000E-03    2.1963         .0000    ** at limit **
   3  norm          .34121E-02    6.9826         .0000       -.11496E-02
   4  norm          3.5940        3.6967         .0000       -.53839E-03
   5  norm          2.5080        1.1352         .0000        .25398E-03
   6  norm          9.1927        7.0459         .0000        .11851E-02
   7  Prefactor     .10000E-03    19.109         .0000    ** at limit **
   8  Prefactor     .10000E-03    8.3008         .0000    ** at limit **
   9  norm          11.216        7.3549         .0000        .26395E-03
  10  norm          .10000E-03    1.9091         .0000    ** at limit **
  11  Prefactor     .10000E-03    11.351         .0000    ** at limit **
  12  Prefactor     10.160        12.763         .0000       -.90091E-04
  13  norm          1.7937        3.7782         .0000        .51492E-02
  14  Prefactor     13.428        11.952         .0000       -.76466E-04
  15  Prefactor     .10000E-03    2.9152         .0000    ** at limit **
  16  Prefactor     .10015E-03    4.2672         .0000    ** at limit **
  17  Prefactor     .56997        4.8433         .0000        .66866E-01
  18  Prefactor     1.4725        16.439         .0000        .95037E-02
  19  Normalizat    1.0338        .18855         .0000        .57321E-04
  20  Prefactor     .96581        .79720E-01     .0000        .59829E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.2108
  norm       = 0.0001
  norm       = 0.00341207
  norm       = 3.59401
  norm       = 2.50799
  norm       = 9.19267
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 11.216
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 10.1603
  norm       = 1.79367
  Prefactor  = 13.4278
  Prefactor  = 0.0001
  Prefactor  = 0.000100151
  Prefactor  = 0.569966
  Prefactor  = 1.47247
  Normalizat = 1.03378
  Prefactor  = 0.965813
 **********
 **   18 **HESSE 
 **********

 FCN=   10556.60     FROM HESSE     STATUS=OK           305 CALLS     2111 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.211        20.420        .70601E-04   -1.4572    
   2  norm          .10000E-03    2.2352        .14866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .34121E-02    9.2616        .81009E-01   -1.5696    
   4  norm          3.5940        3.7026        .19559E-03   -1.5329    
   5  norm          2.5080        1.1350        .70603E-04   -1.5391    
   6  norm          9.1927        7.0422        .66092E-03   -1.5101    
   7  Prefactor     .10000E-03    19.240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.4567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          11.216        7.3589        .11963E-03   -1.5038    
  10  norm          .10000E-03    1.9131        .13859E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.160        12.488        .12573E-03   -1.5070    
  13  norm          1.7937        3.6762        .24087E-03   -1.5440    
  14  Prefactor     13.428        11.943        .10931E-03   -1.4975    
  15  Prefactor     .10000E-03    3.0208        .34097E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10015E-03    18.380        .40314E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .56997        4.9249        .21806E-02   -1.5557    
  18  Prefactor     1.4725        16.637        .17712E-02   -1.5465    
  19  Normalizat    1.0338        .21692        .35321E-03   -.91907    
  20  Prefactor     .96581        .93593E-01    .16205E-03   -.93878    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.6659e-08
Minuit parameter uncertainties:
  1  20.4249
  2  1.39739e-05
  3  0.350339
  4  3.70279
  5  1.13502
  6  7.04287
  7  0.000469746
  8  4.98105e-05
  9  7.35951
  10  2.78317e-05
  11  0.000422296
  12  12.4913
  13  3.67663
  14  11.9447
  15  8.86277e-06
  16  0.00333243
  17  3.35092
  18  9.90216
  19  0.21711
  20  0.0936088
Done.

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

Extracting fit parameters...

4FGL J1018.3-3124
   Spectrum: LogParabola
338         norm:  1.122e+01  7.360e+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

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  9.658e-01  9.361e-02  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.034e+00  2.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.42
Ra Dec: 154.591 -31.403
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 4.71e-08 +/- 3.09e-08
Energy Flux (Fixed Index): 1.38e-05 +/- 9.05e-06

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) = 10556.5836545
delta logL = 0.019904198638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10556.5785875
delta logL = 0.0249711233137

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.669       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7238       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0159       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97049       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.

 FCN=   10556.58     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      212 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.665        131.97        .30665E-02    .24793E-03
   2  alpha         2.7244        2.9723        .41362        .65517E-04
   3  Normalizat    1.0157        .13282        .80413E-01   -.21512E-04
   4  Prefactor     .97055        .32668E-01    .45897E-01   -.56215E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.6654
  alpha      = 2.72438
  Normalizat = 1.01575
  Prefactor  = 0.970547
 **********
 **   18 **HESSE 
 **********

 FCN=   10556.58     FROM HESSE     STATUS=OK            31 CALLS      243 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.665        8.5369        .12266E-03   -1.5055    
   2  alpha         2.7244        1.2430        .24990E-01    .89874E-01
   3  Normalizat    1.0157        .22597        .35594E-03   -.92505    
   4  Prefactor     .97055        .94973E-01    .16169E-03   -.93718    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.70726e-11
Minuit parameter uncertainties:
  1  8.53792
  2  1.30142
  3  0.226186
  4  0.0949897
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/799191': 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) = 10556.578587
delta logL = 0.0249716370836

Extracting fit parameters...

4FGL J1018.3-3124
   Spectrum: LogParabola
338         norm:  1.067e+01  8.538e+00  1.000e-04  1.000e+04 ( 1.000e-12)
339        alpha:  2.724e+00  1.301e+00  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:  9.705e-01  9.499e-02  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.016e+00  2.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.49
Ra Dec: 154.591 -31.403
Photon Index (Free Index): 2.72 +/- 1.30
Photon Flux (Free Index): 5.94e-08 +/- 6.76e-08
Energy Flux (Free Index): 1.45e-05 +/- 9.33e-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/799191/cmap_HighResolution_500342401_500601601_4FGL_J1018.3-3124_daily_bin1007.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.71e-08', energy_flux2='1.45e-05', photon_flux_error='3.09e-08', dlogl='2.50e-02', energy_flux='1.38e-05', photon_flux2='5.94e-08', job_status='DONE', time_completed='2021-09-01 17:26:37.946352', photon_index_error2='1.30', photon_index2='2.72', ts='4.42', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='9.33e-06', EG='1.03', time_epoch_completed='1630542397.95', return_code='0', job_id='799191', GAL2='0.97', EG2='1.02', return_code2='0', energy_flux_error='9.05e-06', photon_flux_error2='6.76e-08', ts2='4.49', photon_index='2.46' WHERE bin_id='1007' AND source_name='4FGL J1018.3-3124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 17:26:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 799191: <4FGL_J1018.3-3124_daily_bin1007> in cluster <slac> Done

Job <4FGL_J1018.3-3124_daily_bin1007> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 17:10:45 2021
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 17:12:50 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:12:50 2021
Terminated at Wed Sep  1 17:26:38 2021
Results reported at Wed Sep  1 17:26:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.3-3124_daily_bin1007 154.591 -31.4032 500342401 500601601 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 :                                   610.50 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             265.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   828 sec.
    Turnaround time :                            953 sec.

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

