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


Performing analysis on: 4FGL_J0116.0-1136_daily_bin1070
RA = 19.0006, Dec = -11.606
tmin = 516672001, tmax = 516931201
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='508892', job_status='RUN', time_executed='2021-08-13 21:13:54.314435', time_epoch_executed='1628914434.31' WHERE source_name='4FGL J0116.0-1136' and cadence='daily' and bin_id='1070'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/508892

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/508892/ft1_4FGL_J0116.0-1136_daily_bin1070.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/508892/ft2_4FGL_J0116.0-1136_daily_bin1070.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/508892/ft1_4FGL_J0116.0-1136_daily_bin1070.fits outfile=/scratch/kocevski/508892/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin1070.fits ra=19.0006 dec=-11.606 rad=12.0 tmin=516672001.0 tmax=516931201.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 9.86
user 3.25
sys 6.55

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/508892/ft2_4FGL_J0116.0-1136_daily_bin1070.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/508892/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin1070.fits evtable="EVENTS" outfile="/scratch/kocevski/508892/ft1_filtered_4FGL_J0116.0-1136_daily_bin1070.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 6.78
user 0.32
sys 6.41

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/508892/ft1_filtered_4FGL_J0116.0-1136_daily_bin1070.fits" evtable="EVENTS" scfile=/scratch/kocevski/508892/ft2_4FGL_J0116.0-1136_daily_bin1070.fits sctable="SC_DATA" outfile=/scratch/kocevski/508892/ltcube_516672001_516931201_4FGL_J0116.0-1136_daily_bin1070.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/508892/ft2_4FGL_J0116.0-1136_daily_bin1070.fits
.....................!
real 20.26
user 12.62
sys 7.53

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/508892/ft1_filtered_4FGL_J0116.0-1136_daily_bin1070.fits evtable="EVENTS" scfile=/scratch/kocevski/508892/ft2_4FGL_J0116.0-1136_daily_bin1070.fits sctable="SC_DATA" expcube=/scratch/kocevski/508892/ltcube_516672001_516931201_4FGL_J0116.0-1136_daily_bin1070.fits outfile=/scratch/kocevski/508892/expmap_516672001_516931201_4FGL_J0116.0-1136_daily_bin1070.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/508892/ltcube_516672001_516931201_4FGL_J0116.0-1136_daily_bin1070.fits
.....................!
real 199.32
user 184.99
sys 13.75

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/508892/ft1_filtered_4FGL_J0116.0-1136_daily_bin1070.fits scfile=/scratch/kocevski/508892/ft2_4FGL_J0116.0-1136_daily_bin1070.fits outfile=/scratch/kocevski/508892/cmap_516672001_516931201_4FGL_J0116.0-1136_daily_bin1070.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 6.35
user 0.37
sys 5.95

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/508892/ft1_filtered_4FGL_J0116.0-1136_daily_bin1070.fits scfile=/scratch/kocevski/508892/ft2_4FGL_J0116.0-1136_daily_bin1070.fits outfile=/scratch/kocevski/508892/cmap_HighResolution_516672001_516931201_4FGL_J0116.0-1136_daily_bin1070.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 6.76
user 0.40
sys 6.26

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/508892/ft1_filtered_4FGL_J0116.0-1136_daily_bin1070.fits evtable="EVENTS" scfile=/scratch/kocevski/508892/ft2_4FGL_J0116.0-1136_daily_bin1070.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/508892/Model_4FGL_J0116.0-1136_daily_bin1070.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/508892/ft1_filtered_4FGL_J0116.0-1136_daily_bin1070.fits.....................!
real 58.22
user 48.29
sys 9.40

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13596       1.0000         .10000E-03   10000.    
     2 'norm      '    8.2016       1.0000         .10000E-03   10000.    
     3 'norm      '    4.4364       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11548E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.3031       1.0000         .10000E-03   10000.    
     8 'Prefactor '    64.541       1.0000         .10000E-03   10000.    
     9 'Prefactor '    34.434       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.975       1.0000         .10000E-03   10000.    
    14 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14408       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    5.4111       1.0000         .10000E-03   10000.    
    19 'norm      '    15.210       1.0000         .10000E-03   10000.    
    20 'Prefactor '    116.63       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .86804       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .74074       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=   4854.444     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     2489 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12037        23.755        .18395E-04    .24031E-03
   2  norm          8.1979        3.9108       -.15408E-05   -.34768E-03
   3  norm          4.4379        5.4175       -.31366E-05   -.33228E-03
   4  Prefactor     .10011E-03    52.480        .91975E-06** at limit **
   5  Prefactor     .10038E-03    64.703        .45947E-05** at limit **
   6  Prefactor     .10000E-03    10.651        .52413E-05** at limit **
   7  norm          5.2972        1.4717        .13901E-05   -.49526E-03
   8  Prefactor     64.585        5.5468       -.60828E-06    .94224E-02
   9  Prefactor     34.467        4.6418        .64669E-06   -.17049E-02
  10  Prefactor     .10000E-03    3.8907       -.15405E-05** at limit **
  11  Prefactor     .10000E-03    1.2407       -.17368E-05** at limit **
  12  Prefactor     .10000E-03    5.2644       -.26817E-05** at limit **
  13  Prefactor     22.051        12.045        .32271E-05   -.76758E-02
  14  norm          .10000E-03    1.4715        .13512E-05** at limit **
  15  Prefactor     .14819E-03    1649.4       -.20548E-04** at limit **
  16  Prefactor     .10000E-03    3.5281        .83859E-06** at limit **
  17  norm          .10000E-03    17.211       -.35698E-05** at limit **
  18  norm          5.4103        2.0168        .18453E-06   -.13400E-04
  19  norm          15.211        8.1546       -.80480E-05   -.29163E-02
  20  Prefactor     116.64        2.2759        .38283E-06   -.63326E-02
  21  Normalizat    .86788        .20196       -.47417E-05    .86971E-05
  22  Prefactor     .74114        .19125        .34753E-05    .14082E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.120372
  norm       = 8.19789
  norm       = 4.43792
  Prefactor  = 0.000100113
  Prefactor  = 0.000100375
  Prefactor  = 0.0001
  norm       = 5.29715
  Prefactor  = 64.585
  Prefactor  = 34.4669
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.0513
  norm       = 0.0001
  Prefactor  = 0.000148192
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.41034
  norm       = 15.2109
  Prefactor  = 116.641
  Normalizat = 0.867877
  Prefactor  = 0.741137
 **********
 **   18 **HESSE 
 **********

 FCN=   4854.444     FROM HESSE     STATUS=OK           398 CALLS     2887 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12037        2.0355        .63652E-01   -1.5639    
   2  norm          8.1979        3.9250        .34998E-02   -1.5135    
   3  norm          4.4379        5.5308        .47797E-02   -1.5287    
   4  Prefactor     .10011E-03    53.022        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10038E-03    63.643        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.649        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.2972        12.202        .43632E-02   -1.5248    
   8  Prefactor     64.585        37.992        .12488E-02   -1.4099    
   9  Prefactor     34.467        46.468        .17073E-02   -1.4533    
  10  Prefactor     .10000E-03    3.8810        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.2327        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.2298        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.051        44.248        .21361E-02   -1.4768    
  14  norm          .10000E-03    1.4284        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .14819E-03    7.6973        .97193E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    3.4393        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    17.209        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.4103        2.0183        .43187E-02   -1.5243    
  19  norm          15.211        8.2737        .25675E-02   -1.4928    
  20  Prefactor     116.64        120.38        .93142E-03   -1.3544    
  21  Normalizat    .86788        .18044        .44492E-01   -.97598    
  22  Prefactor     .74114        .16967        .42941E-01   -1.0194    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2914e-06
Minuit parameter uncertainties:
  1  0.98962
  2  3.92515
  3  5.53147
  4  0.00489219
  5  0.00978297
  6  2.56415e-05
  7  12.208
  8  38.0064
  9  46.5173
  10  4.33954e-07
  11  2.4805e-07
  12  7.48965e-06
  13  44.3142
  14  4.46147e-07
  15  0.0385248
  16  2.45997e-06
  17  1.791e-05
  18  2.01829
  19  8.27437
  20  120.635
  21  0.180563
  22  0.169792
Done.

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

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  2.481e-07  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:  7.411e-01  1.698e-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:  8.679e-01  1.806e-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: 5.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/508892/likelihoodResults_516672001_516931201_4FGL_J0116.0-1136_daily_bin1070.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) = 4854.44745439
delta logL = -0.00378531200022

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4854.44366912
delta logL = -4.52519088867e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3582       1.0000          .0000       10.000    
     3 'Normalizat'    .86790       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74115       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=   4854.444     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      233 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10017E-03    69.634        .75551E-03** at limit **
   2  Index         2.3271        8.1282        .50000        .21039E-04
   3  Normalizat    .86788        .35017E-01    .23886E-03   -.36601E-04
   4  Prefactor     .74114        .33596E-01    .24487E-03    .10539E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100169
  Index      = 2.32713
  Normalizat = 0.867876
  Prefactor  = 0.741138
 **********
 **   18 **HESSE 
 **********

 FCN=   4854.444     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      262 TOTAL
                     EDM=   .79E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10017E-03    228.24        .15110E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3271        8.6216        .50000       -.56400    
   3  Normalizat    .86788        .86813E-01    .95544E-05   -.97598    
   4  Prefactor     .74114        .83181E-01    .97948E-05   -1.0194    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.90411e-08
Minuit parameter uncertainties:
  1  0.0124848
  2  1001.65
  3  0.0868269
  4  0.0831949
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/508892': 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) = 4854.44366894
delta logL = 1.32532477437e-07

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  1.002e-04  1.248e-02  1.000e-04  1.000e+04 ( 1.000e-12)
283        Index:  2.327e+00  1.002e+03  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:  7.411e-01  8.319e-02  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:  8.679e-01  8.683e-02  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/508892/cmap_HighResolution_516672001_516931201_4FGL_J0116.0-1136_daily_bin1070.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.16e-03', job_status='DONE', photon_flux_upper_limit='5.40e-08', time_completed='2021-08-13 21:25:12.917146', job_id='508892', GAL2='0.74', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1628915112.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='1.33e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1070' AND source_name='4FGL J0116.0-1136' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 21:25:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 508892: <4FGL_J0116.0-1136_daily_bin1070> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0116.0-1136_daily_bin1070 19.0006 -11.606 516672001 516931201 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 :                                   775.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             234.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            882 sec.

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

