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


Performing analysis on: 4FGL_J0116.0-1136_daily_bin931
RA = 19.0006, Dec = -11.606
tmin = 480643201, tmax = 480902401
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='507669', job_status='RUN', time_executed='2021-08-13 21:12:12.673518', time_epoch_executed='1628914332.67' WHERE source_name='4FGL J0116.0-1136' and cadence='daily' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/507669

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/507669/ft1_4FGL_J0116.0-1136_daily_bin931.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/507669/ft2_4FGL_J0116.0-1136_daily_bin931.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/507669/ft1_4FGL_J0116.0-1136_daily_bin931.fits outfile=/scratch/kocevski/507669/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin931.fits ra=19.0006 dec=-11.606 rad=12.0 tmin=480643201.0 tmax=480902401.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.61
user 3.36
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/507669/ft2_4FGL_J0116.0-1136_daily_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/507669/ft2_4FGL_J0116.0-1136_daily_bin931.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/507669/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin931.fits evtable="EVENTS" outfile="/scratch/kocevski/507669/ft1_filtered_4FGL_J0116.0-1136_daily_bin931.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.50
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/507669/ft1_filtered_4FGL_J0116.0-1136_daily_bin931.fits" evtable="EVENTS" scfile=/scratch/kocevski/507669/ft2_4FGL_J0116.0-1136_daily_bin931.fits sctable="SC_DATA" outfile=/scratch/kocevski/507669/ltcube_480643201_480902401_4FGL_J0116.0-1136_daily_bin931.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/507669/ft2_4FGL_J0116.0-1136_daily_bin931.fits
.....................!
real 13.78
user 13.39
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/507669/ft1_filtered_4FGL_J0116.0-1136_daily_bin931.fits evtable="EVENTS" scfile=/scratch/kocevski/507669/ft2_4FGL_J0116.0-1136_daily_bin931.fits sctable="SC_DATA" expcube=/scratch/kocevski/507669/ltcube_480643201_480902401_4FGL_J0116.0-1136_daily_bin931.fits outfile=/scratch/kocevski/507669/expmap_480643201_480902401_4FGL_J0116.0-1136_daily_bin931.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/507669/ltcube_480643201_480902401_4FGL_J0116.0-1136_daily_bin931.fits
.....................!
real 193.36
user 187.54
sys 5.42

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

Setting source of interest to:
4FGL J0116.0-1136 @ 19.0006 -11.606

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/507669/ft1_filtered_4FGL_J0116.0-1136_daily_bin931.fits scfile=/scratch/kocevski/507669/ft2_4FGL_J0116.0-1136_daily_bin931.fits outfile=/scratch/kocevski/507669/cmap_480643201_480902401_4FGL_J0116.0-1136_daily_bin931.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=19.0006 yref=-11.606 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/507669/ft1_filtered_4FGL_J0116.0-1136_daily_bin931.fits scfile=/scratch/kocevski/507669/ft2_4FGL_J0116.0-1136_daily_bin931.fits outfile=/scratch/kocevski/507669/cmap_HighResolution_480643201_480902401_4FGL_J0116.0-1136_daily_bin931.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=19.0006 yref=-11.606 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/507669/ft1_filtered_4FGL_J0116.0-1136_daily_bin931.fits evtable="EVENTS" scfile=/scratch/kocevski/507669/ft2_4FGL_J0116.0-1136_daily_bin931.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/507669/Model_4FGL_J0116.0-1136_daily_bin931.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/507669/ft1_filtered_4FGL_J0116.0-1136_daily_bin931.fits.....................!
real 47.40
user 46.04
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/507669/ft1_filtered_4FGL_J0116.0-1136_daily_bin931.fits', '/scratch/kocevski/507669/ft2_4FGL_J0116.0-1136_daily_bin931.fits', expMap='/scratch/kocevski/507669/expmap_480643201_480902401_4FGL_J0116.0-1136_daily_bin931.fits', expCube='/scratch/kocevski/507669/ltcube_480643201_480902401_4FGL_J0116.0-1136_daily_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/507669/Model_4FGL_J0116.0-1136_daily_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0116.0-1136'

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  2.100e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
283        Index:  2.362e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  7.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/507669/ft1_filtered_4FGL_J0116.0-1136_daily_bin931.fits
Spacecraft file(s): /scratch/kocevski/507669/ft2_4FGL_J0116.0-1136_daily_bin931.fits
Exposure map: /scratch/kocevski/507669/expmap_480643201_480902401_4FGL_J0116.0-1136_daily_bin931.fits
Exposure cube: /scratch/kocevski/507669/ltcube_480643201_480902401_4FGL_J0116.0-1136_daily_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/507669/Model_4FGL_J0116.0-1136_daily_bin931.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) = 4607.36547716

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5944       1.0000         .10000E-03   10000.    
     2 'norm      '    10.049       1.0000         .10000E-03   10000.    
     3 'norm      '    .15137E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .14928       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.7082       1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.550       1.0000         .10000E-03   10000.    
     7 'norm      '    .19645E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .25104E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.8774       1.0000         .10000E-03   10000.    
    10 'Prefactor '    45.762       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2810       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .60687E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    4.3591       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    14.461       1.0000         .10000E-03   10000.    
    18 'norm      '    3.6767       1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    59.227       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .44741       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.4062       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4607.056     FROM MIGRAD    STATUS=CONVERGED    175 CALLS     1922 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5759        4.5291        .29476E-07    .21855E-04
   2  norm          9.9834        5.4839       -.23678E-06   -.12435E-03
   3  norm          .10000E-03    36.389       -.22504E-05** at limit **
   4  Prefactor     .10001E-03    107.10        .33211E-05** at limit **
   5  Prefactor     4.1199        27.779        .11562E-04    .17854E-03
   6  Prefactor     22.506        31.133       -.19659E-05    .61916E-02
   7  norm          .10000E-03    17.228       -.10893E-05** at limit **
   8  Prefactor     .10000E-03    19.996        .24927E-05** at limit **
   9  Prefactor     7.2447        124.83       -.58586E-05   -.35990E-03
  10  Prefactor     46.298        15.066        .62826E-06    .29073E-03
  11  Prefactor     1.2915        4.8362        .28259E-05   -.26325E-04
  12  Prefactor     .10000E-03    6.4962        .10478E-05** at limit **
  13  Prefactor     .10000E-03    46.931        .50563E-06** at limit **
  14  norm          4.3501        3.3372        .66742E-07    .14884E-04
  15  Prefactor     .10000E-03    3.9543       -.39137E-06** at limit **
  16  Prefactor     .10000E-03    22.956       -.21662E-05** at limit **
  17  norm          13.147        20.266        .56793E-06    .74214E-02
  18  norm          3.6746        1.7610       -.72154E-07    .75509E-05
  19  norm          .10000E-03    5.1016       -.99113E-06** at limit **
  20  Prefactor     56.813        102.04        .47444E-05    .66903E-03
  21  Normalizat    .44902        .22950       -.13668E-05   -.24988E-05
  22  Prefactor     1.4066        .23201       -.30993E-06   -.45479E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.57586
  norm       = 9.98337
  norm       = 0.0001
  Prefactor  = 0.000100015
  Prefactor  = 4.11987
  Prefactor  = 22.5064
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.24474
  Prefactor  = 46.2985
  Prefactor  = 1.29146
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.35007
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.1468
  norm       = 3.67464
  norm       = 0.0001
  Prefactor  = 56.8127
  Normalizat = 0.44902
  Prefactor  = 1.40662
 **********
 **   18 **HESSE 
 **********

 FCN=   4607.056     FROM HESSE     STATUS=OK           402 CALLS     2324 TOTAL
                     EDM=   .80E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5759        5.0010        .83984E-02   -1.5457    
   2  norm          9.9834        5.5618        .31600E-02   -1.5076    
   3  norm          .10000E-03    8.7854        .59571E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    106.94        .97436E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.1199        27.963        .46363E-02   -1.5302    
   6  Prefactor     22.506        37.683        .22089E-02   -1.4759    
   7  norm          .10000E-03    17.101        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    19.984        .10007E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.2447        123.34        .33631E-02   -1.5170    
  10  Prefactor     46.298        15.235        .14817E-02   -1.4346    
  11  Prefactor     1.2915        4.8876        .98029E-02   -1.5481    
  12  Prefactor     .10000E-03    6.4789        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    46.997        .94614E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.3501        3.6805        .48230E-02   -1.5291    
  15  Prefactor     .10000E-03    3.9515        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.2154        .52568E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          13.147        35.559        .26331E-02   -1.4983    
  18  norm          3.6746        1.7640        .52661E-02   -1.5325    
  19  norm          .10000E-03    5.1033        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     56.813        102.76        .13033E-02   -1.4199    
  21  Normalizat    .44902        .21360        .82034E-01   -1.1484    
  22  Prefactor     1.4066        .20797        .49219E-01   -.80190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.00644e-07
Minuit parameter uncertainties:
  1  5.00228
  2  5.56213
  3  0.000124802
  4  0.00251084
  5  21.4806
  6  37.7231
  7  4.44619e-07
  8  1.32596e-06
  9  59.9308
  10  15.2366
  11  4.88911
  12  5.27752e-06
  13  7.88777e-05
  14  3.68067
  15  1.57343e-06
  16  4.14308e-06
  17  35.6159
  18  1.76399
  19  6.24172e-06
  20  103.082
  21  0.213987
  22  0.208095
Done.

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

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  1.291e+00  4.889e+00  1.000e-04  1.000e+04 ( 1.000e-12)
283        Index:  2.362e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  7.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  1.407e+00  2.081e-01  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  4.490e-01  2.140e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 19.001 -11.606
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/507669/likelihoodResults_480643201_480902401_4FGL_J0116.0-1136_daily_bin931.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) = 4607.04929413
delta logL = 0.00668250082344

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4607.04836623
delta logL = 0.00761040461384

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4716       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0534       1.0000          .0000       10.000    
     3 'Normalizat'    .45324       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4035       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+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=   4607.048     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      276 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4695        5.0758        .27070E-03   -.45484E-04
   2  Index         2.0536        1.9826        .10120E-01    .20166E-05
   3  Normalizat    .45327        .22264        .36177E-03   -.94591E-05
   4  Prefactor     1.4035        .22668        .21777E-03    .29130E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.46951
  Index      = 2.05363
  Normalizat = 0.453275
  Prefactor  = 1.40348
 **********
 **   18 **HESSE 
 **********

 FCN=   4607.048     FROM HESSE     STATUS=OK            25 CALLS      301 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4695        5.0944        .10828E-04   -1.5466    
   2  Index         2.0536        1.9898        .40478E-03   -.63016    
   3  Normalizat    .45327        .22273        .14471E-04   -1.1463    
   4  Prefactor     1.4035        .22674        .87108E-05   -.80280    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53466e-11
Minuit parameter uncertainties:
  1  5.09589
  2  2.08062
  3  0.223169
  4  0.226898
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/507669': 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) = 4607.04836609
delta logL = 0.00761053849328

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  1.470e+00  5.096e+00  1.000e-04  1.000e+04 ( 1.000e-12)
283        Index:  2.054e+00  2.081e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  7.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  1.403e+00  2.269e-01  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  4.533e-01  2.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
Ra Dec: 19.001 -11.606

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/507669/cmap_HighResolution_480643201_480902401_4FGL_J0116.0-1136_daily_bin931.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.31e-03', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2021-08-13 21:21:14.758701', job_id='507669', GAL2='1.40', fit_tolerance='1e-08', EG2='0.45', EG='0.45', time_epoch_completed='1628914874.76', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='1.41', dlogl='7.61e-03', ts2='0.10', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='931' AND source_name='4FGL J0116.0-1136' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 21:21:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 507669: <4FGL_J0116.0-1136_daily_bin931> in cluster <slac> Done

Job <4FGL_J0116.0-1136_daily_bin931> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Aug 13 21:05:58 2021
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 21:09:32 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 21:09:32 2021
Terminated at Fri Aug 13 21:21:15 2021
Results reported at Fri Aug 13 21:21:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0116.0-1136_daily_bin931 19.0006 -11.606 480643201 480902401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0116.0-1136 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   541.37 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             283.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   703 sec.
    Turnaround time :                            917 sec.

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

