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


Performing analysis on: 4FGL_J0116.0-1136_daily_bin1085
RA = 19.0006, Dec = -11.606
tmin = 520560001, tmax = 520819201
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='508917', job_status='RUN', time_executed='2021-08-13 21:13:26.420120', time_epoch_executed='1628914406.42' WHERE source_name='4FGL J0116.0-1136' and cadence='daily' and bin_id='1085'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/508917

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/508917/ft1_4FGL_J0116.0-1136_daily_bin1085.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/508917/ft2_4FGL_J0116.0-1136_daily_bin1085.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/508917/ft1_4FGL_J0116.0-1136_daily_bin1085.fits outfile=/scratch/kocevski/508917/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin1085.fits ra=19.0006 dec=-11.606 rad=12.0 tmin=520560001.0 tmax=520819201.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 10.44
user 4.96
sys 5.38

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/508917/ft1_filtered_4FGL_J0116.0-1136_daily_bin1085.fits" evtable="EVENTS" scfile=/scratch/kocevski/508917/ft2_4FGL_J0116.0-1136_daily_bin1085.fits sctable="SC_DATA" outfile=/scratch/kocevski/508917/ltcube_520560001_520819201_4FGL_J0116.0-1136_daily_bin1085.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/508917/ft2_4FGL_J0116.0-1136_daily_bin1085.fits
.....................!
real 18.51
user 12.34
sys 6.08

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/508917/ft1_filtered_4FGL_J0116.0-1136_daily_bin1085.fits evtable="EVENTS" scfile=/scratch/kocevski/508917/ft2_4FGL_J0116.0-1136_daily_bin1085.fits sctable="SC_DATA" expcube=/scratch/kocevski/508917/ltcube_520560001_520819201_4FGL_J0116.0-1136_daily_bin1085.fits outfile=/scratch/kocevski/508917/expmap_520560001_520819201_4FGL_J0116.0-1136_daily_bin1085.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/508917/ltcube_520560001_520819201_4FGL_J0116.0-1136_daily_bin1085.fits
.....................!
real 200.25
user 187.64
sys 11.85

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/508917/ft1_filtered_4FGL_J0116.0-1136_daily_bin1085.fits scfile=/scratch/kocevski/508917/ft2_4FGL_J0116.0-1136_daily_bin1085.fits outfile=/scratch/kocevski/508917/cmap_520560001_520819201_4FGL_J0116.0-1136_daily_bin1085.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 5.61
user 0.38
sys 5.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/508917/ft1_filtered_4FGL_J0116.0-1136_daily_bin1085.fits scfile=/scratch/kocevski/508917/ft2_4FGL_J0116.0-1136_daily_bin1085.fits outfile=/scratch/kocevski/508917/cmap_HighResolution_520560001_520819201_4FGL_J0116.0-1136_daily_bin1085.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 5.67
user 0.39
sys 5.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/508917/ft1_filtered_4FGL_J0116.0-1136_daily_bin1085.fits evtable="EVENTS" scfile=/scratch/kocevski/508917/ft2_4FGL_J0116.0-1136_daily_bin1085.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/508917/Model_4FGL_J0116.0-1136_daily_bin1085.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/508917/ft1_filtered_4FGL_J0116.0-1136_daily_bin1085.fits.....................!
real 55.93
user 48.49
sys 7.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/508917/ft1_filtered_4FGL_J0116.0-1136_daily_bin1085.fits', '/scratch/kocevski/508917/ft2_4FGL_J0116.0-1136_daily_bin1085.fits', expMap='/scratch/kocevski/508917/expmap_520560001_520819201_4FGL_J0116.0-1136_daily_bin1085.fits', expCube='/scratch/kocevski/508917/ltcube_520560001_520819201_4FGL_J0116.0-1136_daily_bin1085.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/508917/Model_4FGL_J0116.0-1136_daily_bin1085.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/508917/ft1_filtered_4FGL_J0116.0-1136_daily_bin1085.fits
Spacecraft file(s): /scratch/kocevski/508917/ft2_4FGL_J0116.0-1136_daily_bin1085.fits
Exposure map: /scratch/kocevski/508917/expmap_520560001_520819201_4FGL_J0116.0-1136_daily_bin1085.fits
Exposure cube: /scratch/kocevski/508917/ltcube_520560001_520819201_4FGL_J0116.0-1136_daily_bin1085.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/508917/Model_4FGL_J0116.0-1136_daily_bin1085.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) = 5009.68102252

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80436       1.0000         .10000E-03   10000.    
     2 'norm      '    3.4061       1.0000         .10000E-03   10000.    
     3 'norm      '    5.0905       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.0146       1.0000         .10000E-03   10000.    
     7 'norm      '    11.510       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.3773       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.992       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.0255       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10316E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    6.6253       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12564E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.1001       1.0000         .10000E-03   10000.    
    19 'norm      '    16.760       1.0000         .10000E-03   10000.    
    20 'Prefactor '    39.626       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .65113       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1589       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.

 FCN=   5009.678     FROM MIGRAD    STATUS=CONVERGED    503 CALLS     2360 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .79585        3.7483       -.17810E-05   -.43944E-03
   2  norm          3.4070        4.4052        .32748E-06   -.95189E-04
   3  norm          5.0881        7.6801       -.23495E-05    .78537E-04
   4  Prefactor     .10000E-03    38.059       -.23408E-04** at limit **
   5  Prefactor     .10000E-03    8.5620        .29931E-07** at limit **
   6  Prefactor     1.8214        248.86       -.13525E-04   -.15350E-04
   7  norm          11.510        10.658        .40273E-07    .40305E-04
   8  Prefactor     8.3729        23.002        .14106E-04    .10509E-03
   9  Prefactor     .10000E-03    23.706       -.68314E-06** at limit **
  10  Prefactor     13.991        9.0245       -.13411E-05   -.16174E-04
  11  Prefactor     3.0247        2.9668       -.13678E-06   -.15918E-03
  12  Prefactor     .10000E-03    10.169        .15336E-06** at limit **
  13  Prefactor     .10000E-03    42.284        .15222E-04** at limit **
  14  norm          6.6280        2.6016       -.40360E-07    .72670E-04
  15  Prefactor     .10000E-03    3.9759       -.31969E-07** at limit **
  16  Prefactor     .10000E-03    2.1273       -.13885E-06** at limit **
  17  norm          .10000E-03    31.724        .96736E-05** at limit **
  18  norm          3.1002        1.3981       -.72302E-07   -.10786E-03
  19  norm          16.756        7.2797       -.11647E-05   -.18022E-03
  20  Prefactor     39.610        70.869       -.17151E-04   -.41006E-05
  21  Normalizat    .65108        .17236        .97899E-06    .91865E-04
  22  Prefactor     1.1589        .18231        .11864E-05    .15139E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.795853
  norm       = 3.40696
  norm       = 5.08812
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.82138
  norm       = 11.5097
  Prefactor  = 8.37292
  Prefactor  = 0.0001
  Prefactor  = 13.9911
  Prefactor  = 3.02467
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.62798
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.1002
  norm       = 16.7562
  Prefactor  = 39.6103
  Normalizat = 0.651077
  Prefactor  = 1.15895
 **********
 **   18 **HESSE 
 **********

 FCN=   5009.678     FROM HESSE     STATUS=OK           350 CALLS     2710 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .79585        5.4790        .21701E-02   -1.5530    
   2  norm          3.4070        4.2836        .14481E-03   -1.5339    
   3  norm          5.0881        7.3341        .17821E-03   -1.5257    
   4  Prefactor     .10000E-03    37.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.5781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.8214        238.45        .29163E-03   -1.5438    
   7  norm          11.510        10.659        .11808E-03   -1.5029    
   8  Prefactor     8.3729        22.974        .13851E-03   -1.5129    
   9  Prefactor     .10000E-03    23.745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.991        9.0246        .10708E-03   -1.4960    
  11  Prefactor     3.0247        2.9645        .11625E-03   -1.5360    
  12  Prefactor     .10000E-03    10.230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    42.489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.6280        2.5792        .68431E-04   -1.5193    
  15  Prefactor     .10000E-03    3.9856        .13782E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.5765        .19979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    31.927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.1002        1.3968        .53679E-04   -1.5356    
  19  norm          16.756        7.2923        .97832E-04   -1.4889    
  20  Prefactor     39.610        70.878        .63675E-04   -1.4448    
  21  Normalizat    .65108        .19362        .27407E-03   -1.0586    
  22  Prefactor     1.1589        .20624        .22060E-03   -.87604    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.05815e-10
Minuit parameter uncertainties:
  1  4.17664
  2  4.28396
  3  7.33537
  4  1.28466e-05
  5  3.52885e-06
  6  41.8504
  7  10.6605
  8  22.9985
  9  2.9666e-05
  10  9.02545
  11  2.96466
  12  1.32339e-05
  13  0.000139963
  14  2.57926
  15  1.75848e-06
  16  2.95119e-06
  17  7.20751e-05
  18  1.39683
  19  7.29267
  20  71.0288
  21  0.193827
  22  0.206378
Done.

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

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  3.025e+00  2.965e+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.159e+00  2.064e-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:  6.511e-01  1.938e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.52
Ra Dec: 19.001 -11.606
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 2.81e-08 +/- 2.75e-08
Energy Flux (Fixed Index): 9.69e-06 +/- 9.49e-06

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

Saving results to:
/scratch/kocevski/508917/likelihoodResults_520560001_520819201_4FGL_J0116.0-1136_daily_bin1085.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) = 5009.40431528
delta logL = 0.273730876748

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5009.38365599
delta logL = 0.294390162398

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6822       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8344       1.0000          .0000       10.000    
     3 'Normalizat'    .66393       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1502       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.

 FCN=   5009.384     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6872        7.6682        .52620E-02    .21533E-04
   2  Index         1.8353        1.0677        .24542       -.27240E-04
   3  Normalizat    .66402        .17083        .61378E-01    .30498E-04
   4  Prefactor     1.1501        .17885        .35931E-01   -.41529E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.68717
  Index      = 1.83533
  Normalizat = 0.664017
  Prefactor  = 1.15012
 **********
 **   18 **HESSE 
 **********

 FCN=   5009.384     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6872        3.5417        .12578E-03   -1.5324    
   2  Index         1.8353        .61307        .87568E-02   -.68534    
   3  Normalizat    .66402        .18900        .27153E-03   -1.0533    
   4  Prefactor     1.1501        .19899        .22128E-03   -.87880    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49238e-11
Minuit parameter uncertainties:
  1  3.54187
  2  0.615658
  3  0.189183
  4  0.199117
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/508917': 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) = 5009.38365387
delta logL = 0.294392281171

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  3.687e+00  3.542e+00  1.000e-04  1.000e+04 ( 1.000e-12)
283        Index:  1.835e+00  6.157e-01  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.150e+00  1.991e-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:  6.640e-01  1.892e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.11
Ra Dec: 19.001 -11.606
Photon Index (Free Index): 1.84 +/- 0.62
Photon Flux (Free Index): 1.89e-08 +/- 2.19e-08
Energy Flux (Free Index): 2.04e-05 +/- 3.03e-05

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/508917/cmap_HighResolution_520560001_520819201_4FGL_J0116.0-1136_daily_bin1085.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.71e-03', comment='SUCCESS', photon_flux='2.81e-08', energy_flux2='2.04e-05', photon_flux_error='2.75e-08', dlogl='2.94e-01', energy_flux='9.69e-06', photon_flux2='1.89e-08', job_status='DONE', time_completed='2021-08-13 21:24:45.060452', photon_index_error2='0.62', photon_index2='1.84', ts='2.52', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='1.00e-07', energy_flux_error2='3.03e-05', EG='0.65', time_epoch_completed='1628915085.06', return_code='0', job_id='508917', GAL2='1.15', EG2='0.66', return_code2='0', energy_flux_error='9.49e-06', photon_flux_error2='2.19e-08', ts2='3.11', photon_index='2.36' WHERE bin_id='1085' AND source_name='4FGL J0116.0-1136' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 21:24:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 508917: <4FGL_J0116.0-1136_daily_bin1085> in cluster <slac> Done

Job <4FGL_J0116.0-1136_daily_bin1085> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 13 21:10:34 2021
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 21:11:51 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:11:51 2021
Terminated at Fri Aug 13 21:24:46 2021
Results reported at Fri Aug 13 21:24:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0116.0-1136_daily_bin1085 19.0006 -11.606 520560001 520819201 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 :                                   755.25 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             291.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   774 sec.
    Turnaround time :                            852 sec.

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

