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


Performing analysis on: 4FGL_J0116.0-1136_daily_bin1106
RA = 19.0006, Dec = -11.606
tmin = 526003201, tmax = 526262401
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='508952', job_status='RUN', time_executed='2021-08-13 21:15:13.488520', time_epoch_executed='1628914513.49' WHERE source_name='4FGL J0116.0-1136' and cadence='daily' and bin_id='1106'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/508952

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/508952/ft1_4FGL_J0116.0-1136_daily_bin1106.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/508952/ft2_4FGL_J0116.0-1136_daily_bin1106.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/508952/ft1_4FGL_J0116.0-1136_daily_bin1106.fits outfile=/scratch/kocevski/508952/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin1106.fits ra=19.0006 dec=-11.606 rad=12.0 tmin=526003201.0 tmax=526262401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.52
user 3.52
sys 0.95

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/508952/ft1_filtered_4FGL_J0116.0-1136_daily_bin1106.fits" evtable="EVENTS" scfile=/scratch/kocevski/508952/ft2_4FGL_J0116.0-1136_daily_bin1106.fits sctable="SC_DATA" outfile=/scratch/kocevski/508952/ltcube_526003201_526262401_4FGL_J0116.0-1136_daily_bin1106.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/508952/ft2_4FGL_J0116.0-1136_daily_bin1106.fits
.....................!
real 13.82
user 12.60
sys 1.16

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/508952/ft1_filtered_4FGL_J0116.0-1136_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/508952/ft2_4FGL_J0116.0-1136_daily_bin1106.fits sctable="SC_DATA" expcube=/scratch/kocevski/508952/ltcube_526003201_526262401_4FGL_J0116.0-1136_daily_bin1106.fits outfile=/scratch/kocevski/508952/expmap_526003201_526262401_4FGL_J0116.0-1136_daily_bin1106.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/508952/ltcube_526003201_526262401_4FGL_J0116.0-1136_daily_bin1106.fits
.....................!
real 194.50
user 187.73
sys 6.14

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/508952/ft1_filtered_4FGL_J0116.0-1136_daily_bin1106.fits scfile=/scratch/kocevski/508952/ft2_4FGL_J0116.0-1136_daily_bin1106.fits outfile=/scratch/kocevski/508952/cmap_526003201_526262401_4FGL_J0116.0-1136_daily_bin1106.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 1.30
user 0.37
sys 0.88

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/508952/ft1_filtered_4FGL_J0116.0-1136_daily_bin1106.fits scfile=/scratch/kocevski/508952/ft2_4FGL_J0116.0-1136_daily_bin1106.fits outfile=/scratch/kocevski/508952/cmap_HighResolution_526003201_526262401_4FGL_J0116.0-1136_daily_bin1106.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 1.28
user 0.39
sys 0.85

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/508952/ft1_filtered_4FGL_J0116.0-1136_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/508952/ft2_4FGL_J0116.0-1136_daily_bin1106.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/508952/Model_4FGL_J0116.0-1136_daily_bin1106.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/508952/ft1_filtered_4FGL_J0116.0-1136_daily_bin1106.fits.....................!
real 54.94
user 52.65
sys 2.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6646       1.0000         .10000E-03   10000.    
     2 'norm      '    5.6789       1.0000         .10000E-03   10000.    
     3 'norm      '    6.0769       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.6402       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .40426       1.0000         .10000E-03   10000.    
     8 'Prefactor '    41.294       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13123E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.8090       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.9305       1.0000         .10000E-03   10000.    
    14 'norm      '    1.8300       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.529       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    6.4784       1.0000         .10000E-03   10000.    
    19 'norm      '    15.694       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .75248       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2310       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=   5588.277     FROM MIGRAD    STATUS=CONVERGED    478 CALLS     2358 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6642        3.4029        .29426E-06    .17698E-03
   2  norm          5.6780        4.2072        .11079E-07   -.22324E-04
   3  norm          6.0765        7.5650        .25540E-06    .44713E-04
   4  Prefactor     .10000E-03    36.999        .19151E-06** at limit **
   5  Prefactor     4.6401        11.135        .24774E-06    .21107E-04
   6  Prefactor     .10000E-03    21.862       -.81189E-08** at limit **
   7  norm          .43941        15.013       -.36151E-05    .62112E-03
   8  Prefactor     41.316        36.595       -.57299E-06   -.33059E-04
   9  Prefactor     .10000E-03    83.321        .13540E-05** at limit **
  10  Prefactor     8.8128        7.9843        .16933E-06    .22172E-04
  11  Prefactor     .10000E-03    2.8221       -.24713E-05** at limit **
  12  Prefactor     .10000E-03    7.8082        .14003E-06** at limit **
  13  Prefactor     3.8495        162.29        .33058E-05   -.64351E-05
  14  norm          1.8302        2.1239        .10251E-06    .93969E-04
  15  Prefactor     14.540        13.950       -.11736E-05   -.31264E-03
  16  Prefactor     .10000E-03    3.4351        .20507E-06** at limit **
  17  norm          .10000E-03    19.346       -.19170E-05** at limit **
  18  norm          6.4783        2.1837       -.80738E-08   -.14309E-03
  19  norm          15.694        7.4244       -.83564E-07   -.13559E-03
  20  Prefactor     .10000E-03    30.293       -.40865E-07** at limit **
  21  Normalizat    .75254        .18577        .80057E-07   -.95641E-04
  22  Prefactor     1.2310        .18450       -.82522E-06   -.14559E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.66415
  norm       = 5.67801
  norm       = 6.07652
  Prefactor  = 0.0001
  Prefactor  = 4.64006
  Prefactor  = 0.0001
  norm       = 0.43941
  Prefactor  = 41.3165
  Prefactor  = 0.000100001
  Prefactor  = 8.81279
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 3.84953
  norm       = 1.8302
  Prefactor  = 14.54
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 6.47834
  norm       = 15.6944
  Prefactor  = 0.0001
  Normalizat = 0.752544
  Prefactor  = 1.23099
 **********
 **   18 **HESSE 
 **********

 FCN=   5588.277     FROM HESSE     STATUS=OK           348 CALLS     2706 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6642        3.3734        .14148E-03   -1.5382    
   2  norm          5.6780        4.2045        .12609E-03   -1.5231    
   3  norm          6.0765        7.5366        .16287E-03   -1.5215    
   4  Prefactor     .10000E-03    37.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.6401        11.124        .18684E-03   -1.5277    
   6  Prefactor     .10000E-03    21.875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .43941        68.864        .42197E-02   -1.5575    
   8  Prefactor     41.316        36.475        .62380E-04   -1.4422    
   9  Prefactor     .10000E-03    84.027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.8128        7.9840        .13505E-03   -1.5114    
  11  Prefactor     .10000E-03    2.9030        .12287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.8579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.8495        165.04        .20348E-03   -1.5316    
  14  norm          1.8302        2.1067        .11287E-03   -1.5437    
  15  Prefactor     14.540        13.994        .10508E-03   -1.4945    
  16  Prefactor     .10000E-03    3.4805        .13515E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    19.409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.4783        2.1896        .60095E-04   -1.5199    
  19  norm          15.694        7.4250        .10110E-03   -1.4915    
  20  Prefactor     .10000E-03    30.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75254        .21228        .29891E-03   -1.0185    
  22  Prefactor     1.2310        .21439        .23886E-03   -.85383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27361e-08
Minuit parameter uncertainties:
  1  3.37364
  2  4.20468
  3  7.53778
  4  7.57001e-05
  5  11.1287
  6  2.44372e-05
  7  11.0134
  8  36.4947
  9  0.000477295
  10  7.98496
  11  0.000120357
  12  1.18957e-05
  13  50.5601
  14  2.10678
  15  13.9967
  16  1.23382e-05
  17  0.000248905
  18  2.18965
  19  7.42546
  20  4.32469e-05
  21  0.212514
  22  0.21454
Done.

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

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  1.204e-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.231e+00  2.145e-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:  7.525e-01  2.125e-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: 7.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/508952/likelihoodResults_526003201_526262401_4FGL_J0116.0-1136_daily_bin1106.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) = 5588.27873893
delta logL = -0.00163985020299

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5588.27709899
delta logL = 8.27722033137e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3814       1.0000          .0000       10.000    
     3 'Normalizat'    .75254       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2310       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=   5588.277     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      215 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.9921        .90712E-02** at limit **
   2  Index         2.4011        6.2004        .50000       -.59692E-04
   3  Normalizat    .75254        .17848        .67554E-01   -.30678E-04
   4  Prefactor     1.2310        .17887        .54025E-01   -.49320E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.4011
  Normalizat = 0.752543
  Prefactor  = 1.23099
 **********
 **   18 **HESSE 
 **********

 FCN=   5588.277     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.3104        .24935E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4011        6.1996        .50000       -.54659    
   3  Normalizat    .75254        .20429        .29891E-03   -1.0185    
   4  Prefactor     1.2310        .20509        .23886E-03   -.85383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.5066e-09
Minuit parameter uncertainties:
  1  6.73475e-05
  2  4.49183
  3  0.204498
  4  0.205224
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/508952': 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) = 5588.27709854
delta logL = 5.35687831871e-07

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  6.735e-05  1.000e-04  1.000e+04 ( 1.000e-12)
283        Index:  2.401e+00  4.492e+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.231e+00  2.052e-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:  7.525e-01  2.045e-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/508952/cmap_HighResolution_526003201_526262401_4FGL_J0116.0-1136_daily_bin1106.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.05e-03', job_status='DONE', photon_flux_upper_limit='7.85e-08', time_completed='2021-08-13 21:25:38.151517', job_id='508952', GAL2='1.23', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1628915138.15', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='5.36e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1106' AND source_name='4FGL J0116.0-1136' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 21:25:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 508952: <4FGL_J0116.0-1136_daily_bin1106> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0116.0-1136_daily_bin1106 19.0006 -11.606 526003201 526262401 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 :                                   633.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   806 sec.
    Turnaround time :                            902 sec.

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

