/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 45 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 = 7393
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1018.3-3124_daily_bin1601
RA = 154.591, Dec = -31.4032
tmin = 654307201, tmax = 654566401
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='541249', job_status='RUN', time_executed='2021-09-29 00:11:55.278101', time_epoch_executed='1632899515.28' WHERE source_name='4FGL J1018.3-3124' and cadence='daily' and bin_id='1601'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/541249

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/541249/ft1_4FGL_J1018.3-3124_daily_bin1601.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/541249/ft2_4FGL_J1018.3-3124_daily_bin1601.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/541249/ft1_4FGL_J1018.3-3124_daily_bin1601.fits outfile=/scratch/kocevski/541249/ft1_filteredMKT_4FGL_J1018.3-3124_daily_bin1601.fits ra=154.591 dec=-31.4032 rad=12.0 tmin=654307201.0 tmax=654566401.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 4.34
user 4.09
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/541249/ft1_filtered_4FGL_J1018.3-3124_daily_bin1601.fits" evtable="EVENTS" scfile=/scratch/kocevski/541249/ft2_4FGL_J1018.3-3124_daily_bin1601.fits sctable="SC_DATA" outfile=/scratch/kocevski/541249/ltcube_654307201_654566401_4FGL_J1018.3-3124_daily_bin1601.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/541249/ft2_4FGL_J1018.3-3124_daily_bin1601.fits
.....................!
real 11.64
user 11.26
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/541249/ft1_filtered_4FGL_J1018.3-3124_daily_bin1601.fits evtable="EVENTS" scfile=/scratch/kocevski/541249/ft2_4FGL_J1018.3-3124_daily_bin1601.fits sctable="SC_DATA" expcube=/scratch/kocevski/541249/ltcube_654307201_654566401_4FGL_J1018.3-3124_daily_bin1601.fits outfile=/scratch/kocevski/541249/expmap_654307201_654566401_4FGL_J1018.3-3124_daily_bin1601.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/541249/ltcube_654307201_654566401_4FGL_J1018.3-3124_daily_bin1601.fits
.....................!
real 190.46
user 185.54
sys 4.58

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/541249/ft1_filtered_4FGL_J1018.3-3124_daily_bin1601.fits scfile=/scratch/kocevski/541249/ft2_4FGL_J1018.3-3124_daily_bin1601.fits outfile=/scratch/kocevski/541249/cmap_654307201_654566401_4FGL_J1018.3-3124_daily_bin1601.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 2.61
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/541249/ft1_filtered_4FGL_J1018.3-3124_daily_bin1601.fits scfile=/scratch/kocevski/541249/ft2_4FGL_J1018.3-3124_daily_bin1601.fits outfile=/scratch/kocevski/541249/cmap_HighResolution_654307201_654566401_4FGL_J1018.3-3124_daily_bin1601.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/541249/ft1_filtered_4FGL_J1018.3-3124_daily_bin1601.fits evtable="EVENTS" scfile=/scratch/kocevski/541249/ft2_4FGL_J1018.3-3124_daily_bin1601.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/541249/Model_4FGL_J1018.3-3124_daily_bin1601.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/541249/ft1_filtered_4FGL_J1018.3-3124_daily_bin1601.fits.....................!
real 94.38
user 92.90
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.960       1.0000         .10000E-03   10000.    
     2 'norm      '    9.3865       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      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .30177       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.882       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    10.125       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.330       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.1997       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.764       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.7516       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .84938       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1186       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=   8732.002     FROM MIGRAD    STATUS=CONVERGED    398 CALLS     1988 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.959        32.709        .17719E-02    .14981E-02
   2  norm          9.3856        6.9316        .32702E-02    .14565E-03
   3  norm          .10000E-03    13.109        .90712E-02** at limit **
   4  norm          .10001E-03    4.8449        .90712E-02** at limit **
   5  norm          .10000E-03    .37493        .90712E-02** at limit **
   6  norm          .25136        4.6121        .10433        .31381E-03
   7  Prefactor     10.883        18.001        .30363E-02   -.94051E-03
   8  Prefactor     .10000E-03    5.3411        .90712E-02** at limit **
   9  norm          .10000E-03    8.8884        .90712E-02** at limit **
  10  norm          10.129        8.0630        .31481E-02    .23302E-03
  11  Prefactor     12.330        11.345        .28520E-02    .44167E-03
  12  Prefactor     .10000E-03    7.9829        .90712E-02** at limit **
  13  norm          3.2001        3.0390        .56628E-02    .51711E-03
  14  Prefactor     .10000E-03    9.2345        .90712E-02** at limit **
  15  Prefactor     .10000E-03    1.7788        .90712E-02** at limit **
  16  Prefactor     12.764        8.2417        .28029E-02    .14547E-02
  17  Prefactor     .10002E-03    4.8512        .90712E-02** at limit **
  18  Prefactor     9.7512        6.6472        .32081E-02   -.36501E-03
  19  Normalizat    .84932        .22799        .93734E-01    .31370E-04
  20  Prefactor     1.1187        .97599E-01    .36918E-01   -.19528E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.9592
  norm       = 9.38565
  norm       = 0.000100001
  norm       = 0.000100009
  norm       = 0.0001
  norm       = 0.251362
  Prefactor  = 10.8827
  Prefactor  = 0.000100003
  norm       = 0.0001
  norm       = 10.1287
  Prefactor  = 12.3298
  Prefactor  = 0.000100004
  norm       = 3.20008
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 12.7641
  Prefactor  = 0.000100018
  Prefactor  = 9.7512
  Normalizat = 0.849321
  Prefactor  = 1.11871
 **********
 **   18 **HESSE 
 **********

 FCN=   8732.002     FROM HESSE     STATUS=OK           289 CALLS     2277 TOTAL
                     EDM=   .56E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.959        32.709        .70877E-04   -1.4577    
   2  norm          9.3856        6.9282        .13081E-03   -1.5095    
   3  norm          .10000E-03    13.207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10001E-03    4.8572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .37968        .55846E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .25136        51.756        .38350E-02   -1.5608    
   7  Prefactor     10.883        17.994        .12145E-03   -1.5048    
   8  Prefactor     .10000E-03    5.3471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    9.0505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.129        8.0434        .12592E-03   -1.5071    
  11  Prefactor     12.330        11.352        .11408E-03   -1.5006    
  12  Prefactor     .10000E-03    8.0080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.2001        3.0249        .15199E-03   -1.5350    
  14  Prefactor     .10000E-03    9.2726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.7982        .12155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.764        8.2449        .56059E-03   -1.4993    
  17  Prefactor     .10002E-03    4.9496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.7512        6.6479        .64162E-03   -1.5083    
  19  Normalizat    .84932        .25514        .41523E-03   -.98264    
  20  Prefactor     1.1187        .11068        .16180E-03   -.88871    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.6113e-08
Minuit parameter uncertainties:
  1  32.7278
  2  6.92879
  3  0.000177864
  4  0.000411282
  5  4.22412e-07
  6  7.21862
  7  18.0028
  8  0.000248832
  9  4.58333e-05
  10  8.04426
  11  11.3537
  12  0.000360562
  13  3.02508
  14  0.000388415
  15  2.70849e-07
  16  8.24563
  17  0.000602217
  18  6.64841
  19  0.255502
  20  0.110705
Done.

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

Extracting fit parameters...

4FGL J1018.3-3124
   Spectrum: LogParabola
338         norm:  1.000e-04  4.583e-05  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:  1.119e+00  1.107e-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:  8.493e-01  2.555e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 154.591 -31.403
Photon Flux Upper Limit: 7.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.29e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/541249/likelihoodResults_654307201_654566401_4FGL_J1018.3-3124_daily_bin1601.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) = 8732.00261644
delta logL = -0.000526760117282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8732.00208966
delta logL = 1.50921550812e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10913E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5098       1.0000          .0000       5.0000    
     3 'Normalizat'    .84942       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1187       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=   8732.002     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      204 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    16.525        .90712E-02** at limit **
   2  alpha         2.5663        3.6945        .41152       -.28962E-04
   3  Normalizat    .84932        .21831        .93734E-01    .14307E-04
   4  Prefactor     1.1187        .96868E-01    .36917E-01   -.19342E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100005
  alpha      = 2.5663
  Normalizat = 0.849321
  Prefactor  = 1.11871
 **********
 **   18 **HESSE 
 **********

 FCN=   8732.002     FROM HESSE     STATUS=OK            29 CALLS      233 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    11.523        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.5663        3.5668        .16461        .26524E-01
   3  Normalizat    .84932        .24512        .41523E-03   -.98265    
   4  Prefactor     1.1187        .10916        .16180E-03   -.88871    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32513e-09
Minuit parameter uncertainties:
  1  0.000495068
  2  2.4996
  3  0.245438
  4  0.10918
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/541249': 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) = 8732.00208848
delta logL = 1.19949982036e-06

Extracting fit parameters...

4FGL J1018.3-3124
   Spectrum: LogParabola
338         norm:  1.000e-04  4.951e-04  1.000e-04  1.000e+04 ( 1.000e-12)
339        alpha:  2.566e+00  2.500e+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:  1.119e+00  1.092e-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:  8.493e-01  2.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 154.591 -31.403

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/541249/cmap_HighResolution_654307201_654566401_4FGL_J1018.3-3124_daily_bin1601.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.29e-05', job_status='DONE', photon_flux_upper_limit='7.83e-08', time_completed='2021-09-29 00:24:14.036876', job_id='541249', GAL2='1.12', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1632900254.04', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.20e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1601' AND source_name='4FGL J1018.3-3124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 00:24:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 541249: <4FGL_J1018.3-3124_daily_bin1601> in cluster <slac> Done

Job <4FGL_J1018.3-3124_daily_bin1601> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 00:11:01 2021
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 00:11:02 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 00:11:02 2021
Terminated at Wed Sep 29 00:24:14 2021
Results reported at Wed Sep 29 00:24:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.3-3124_daily_bin1601 154.591 -31.4032 654307201 654566401 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 :                                   737.40 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             309.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   792 sec.
    Turnaround time :                            793 sec.

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

