/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 84 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 = 7438
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0116.0-1136_daily_bin1303
RA = 19.0006, Dec = -11.606
tmin = 577065601, tmax = 577324801
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='510249', job_status='RUN', time_executed='2021-08-13 21:19:34.792669', time_epoch_executed='1628914774.79' WHERE source_name='4FGL J0116.0-1136' and cadence='daily' and bin_id='1303'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/510249

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/510249/ft1_4FGL_J0116.0-1136_daily_bin1303.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/510249/ft2_4FGL_J0116.0-1136_daily_bin1303.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/510249/ft1_4FGL_J0116.0-1136_daily_bin1303.fits outfile=/scratch/kocevski/510249/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin1303.fits ra=19.0006 dec=-11.606 rad=12.0 tmin=577065601.0 tmax=577324801.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 12.30
user 2.88
sys 9.32

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/510249/ft2_4FGL_J0116.0-1136_daily_bin1303.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/510249/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin1303.fits evtable="EVENTS" outfile="/scratch/kocevski/510249/ft1_filtered_4FGL_J0116.0-1136_daily_bin1303.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 9.59
user 0.34
sys 9.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/510249/ft1_filtered_4FGL_J0116.0-1136_daily_bin1303.fits" evtable="EVENTS" scfile=/scratch/kocevski/510249/ft2_4FGL_J0116.0-1136_daily_bin1303.fits sctable="SC_DATA" outfile=/scratch/kocevski/510249/ltcube_577065601_577324801_4FGL_J0116.0-1136_daily_bin1303.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/510249/ft2_4FGL_J0116.0-1136_daily_bin1303.fits
.....................!
real 23.01
user 12.31
sys 10.54

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/510249/ft1_filtered_4FGL_J0116.0-1136_daily_bin1303.fits evtable="EVENTS" scfile=/scratch/kocevski/510249/ft2_4FGL_J0116.0-1136_daily_bin1303.fits sctable="SC_DATA" expcube=/scratch/kocevski/510249/ltcube_577065601_577324801_4FGL_J0116.0-1136_daily_bin1303.fits outfile=/scratch/kocevski/510249/expmap_577065601_577324801_4FGL_J0116.0-1136_daily_bin1303.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/510249/ltcube_577065601_577324801_4FGL_J0116.0-1136_daily_bin1303.fits
.....................!
real 203.31
user 186.13
sys 16.69

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/510249/ft1_filtered_4FGL_J0116.0-1136_daily_bin1303.fits scfile=/scratch/kocevski/510249/ft2_4FGL_J0116.0-1136_daily_bin1303.fits outfile=/scratch/kocevski/510249/cmap_577065601_577324801_4FGL_J0116.0-1136_daily_bin1303.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 8.63
user 0.38
sys 8.20

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/510249/ft1_filtered_4FGL_J0116.0-1136_daily_bin1303.fits scfile=/scratch/kocevski/510249/ft2_4FGL_J0116.0-1136_daily_bin1303.fits outfile=/scratch/kocevski/510249/cmap_HighResolution_577065601_577324801_4FGL_J0116.0-1136_daily_bin1303.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 9.40
user 0.38
sys 8.97

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/510249/ft1_filtered_4FGL_J0116.0-1136_daily_bin1303.fits evtable="EVENTS" scfile=/scratch/kocevski/510249/ft2_4FGL_J0116.0-1136_daily_bin1303.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/510249/Model_4FGL_J0116.0-1136_daily_bin1303.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/510249/ft1_filtered_4FGL_J0116.0-1136_daily_bin1303.fits......................!
real 50.53
user 37.37
sys 13.03

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.4898       1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    107.12       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.8786       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10256E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    177.88       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10396E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.206       1.0000         .10000E-03   10000.    
    13 'Prefactor '    203.15       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.4927       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.2354       1.0000         .10000E-03   10000.    
    17 'norm      '    .10471E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10106E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.0808       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12352E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1367       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0065       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=   3332.917     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2411 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.5477        .24700E-07** at limit **
   2  norm          3.4898        5.9938       -.82542E-06   -.26174E-03
   3  norm          .10000E-03    5.6602        .19536E-07** at limit **
   4  Prefactor     107.11        137.63       -.12364E-04    .52857E-04
   5  Prefactor     4.9082        87.146        .10640E-04   -.47375E-04
   6  Prefactor     .10000E-03    24.490        .58577E-08** at limit **
   7  norm          .10000E-03    16.122        .27115E-06** at limit **
   8  Prefactor     .10000E-03    62.341        .31032E-06** at limit **
   9  Prefactor     177.86        133.81       -.14279E-04    .12327E-03
  10  Prefactor     .10000E-03    11.439        .11224E-06** at limit **
  11  Prefactor     .10000E-03    3.6421        .69720E-06** at limit **
  12  Prefactor     16.210        14.046       -.63700E-06    .40246E-04
  13  Prefactor     203.13        106.14       -.13173E-04    .17089E-03
  14  norm          .10000E-03    2.1254        .82540E-07** at limit **
  15  Prefactor     4.4897        13.437        .24700E-05   -.59941E-04
  16  Prefactor     2.2362        6.6316       -.64471E-06   -.37255E-03
  17  norm          .10000E-03    94.886        .27639E-06** at limit **
  18  norm          .10000E-03    .82151       -.11025E-06** at limit **
  19  norm          1.0733        14.677       -.41389E-05   -.58706E-03
  20  Prefactor     .10000E-03    245.11        .42054E-05** at limit **
  21  Normalizat    1.1365        .26368        .16334E-05   -.19554E-04
  22  Prefactor     1.0066        .25412        .24006E-05   -.15724E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.48984
  norm       = 0.0001
  Prefactor  = 107.108
  Prefactor  = 4.90823
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 177.862
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 16.2097
  Prefactor  = 203.13
  norm       = 0.0001
  Prefactor  = 4.4897
  Prefactor  = 2.23624
  norm       = 0.000100002
  norm       = 0.0001
  norm       = 1.07327
  Prefactor  = 0.0001
  Normalizat = 1.13646
  Prefactor  = 1.00656
 **********
 **   18 **HESSE 
 **********

 FCN=   3332.917     FROM HESSE     STATUS=OK           340 CALLS     2751 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.5669        .10617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.4898        5.9942        .17544E-03   -1.5334    
   3  norm          .10000E-03    5.6774        .13412E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     107.11        137.80        .38856E-04   -1.3634    
   5  Prefactor     4.9082        84.981        .18211E-03   -1.5265    
   6  Prefactor     .10000E-03    24.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    16.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    62.487        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     177.86        132.66        .15131E-03   -1.3033    
  10  Prefactor     .10000E-03    11.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    27.314        .21018E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     16.210        13.787        .99490E-04   -1.4903    
  13  Prefactor     203.13        103.81        .14177E-03   -1.2848    
  14  norm          .10000E-03    2.1392        .16240E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.4897        13.401        .18996E-03   -1.5284    
  16  Prefactor     2.2362        6.5685        .22121E-03   -1.5409    
  17  norm          .10000E-03    95.367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.1414        .10093E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.0733        16.430        .44369E-03   -1.5501    
  20  Prefactor     .10000E-03    245.34        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1365        .30764        .26063E-03   -.88590    
  22  Prefactor     1.0066        .29637        .27076E-03   -.92511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.1903e-09
Minuit parameter uncertainties:
  1  1.69367e-06
  2  5.99525
  3  1.78364e-06
  4  138.21
  5  40.9142
  6  8.71937e-06
  7  0.000112524
  8  0.000123614
  9  132.882
  10  4.27914e-05
  11  0.000428441
  12  13.7896
  13  103.904
  14  1.24081e-05
  15  13.4095
  16  6.57063
  17  0.000824443
  18  1.11509e-05
  19  8.40081
  20  0.000493526
  21  0.308127
  22  0.296846
Done.

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

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  4.284e-04  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.007e+00  2.968e-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:  1.136e+00  3.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/510249/likelihoodResults_577065601_577324801_4FGL_J0116.0-1136_daily_bin1303.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): 102
logL (Free Index) = 3332.91732816
delta logL = -0.000174076840722

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3332.91715319
delta logL = 8.89388502401e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12046E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4931       1.0000          .0000       10.000    
     3 'Normalizat'    1.1364       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0066       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=   3332.917     FROM MIGRAD    STATUS=CONVERGED    145 CALLS      328 TOTAL
                     EDM=   .84E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41534E-01    4.9473        .55875E-01    .14984E-03
   2  Index         2.7877        6.3934        .50000        .68745E-05
   3  Normalizat    1.1361        .97226E-02    .58940E-01   -.32578E-04
   4  Prefactor     1.0065        .96177E-02    .43871E-01    .77074E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0415342
  Index      = 2.78772
  Normalizat = 1.1361
  Prefactor  = 1.00652
 **********
 **   18 **HESSE 
 **********

 FCN=   3332.917     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      363 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .41534E-01    8571.5        .16878E-02   -1.5667    
   2  Index         2.7877        7.1051        .41500E-01   -.45834    
   3  Normalizat    1.1361        .26448        .26066E-03   -.88601    
   4  Prefactor     1.0065        .21147        .27076E-03   -.92512    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.81535e-07
Minuit parameter uncertainties:
  1  41.0735
  2  126.569
  3  0.264793
  4  0.211642
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/510249': 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): 102
logL (Free Index) = 3332.91705306
delta logL = 0.000101021869341

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  4.153e-02  4.107e+01  1.000e-04  1.000e+04 ( 1.000e-12)
283        Index:  2.788e+00  1.266e+02  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.007e+00  2.116e-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:  1.136e+00  2.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/510249/cmap_HighResolution_577065601_577324801_4FGL_J0116.0-1136_daily_bin1303.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.61e-03', job_status='DONE', photon_flux_upper_limit='1.25e-07', time_completed='2021-08-13 21:29:59.650492', job_id='510249', GAL2='1.01', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1628915399.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.01e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1303' AND source_name='4FGL J0116.0-1136' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 21:29:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 510249: <4FGL_J0116.0-1136_daily_bin1303> in cluster <slac> Done

Job <4FGL_J0116.0-1136_daily_bin1303> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 21:15:21 2021
Job was executed on host(s) <bullet0054>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 21:15:26 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:15:26 2021
Terminated at Fri Aug 13 21:30:02 2021
Results reported at Fri Aug 13 21:30:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0116.0-1136_daily_bin1303 19.0006 -11.606 577065601 577324801 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 :                                   764.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             244.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   874 sec.
    Turnaround time :                            881 sec.

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

