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


Performing analysis on: 4FGL_J0116.0-1136_daily_bin1425
RA = 19.0006, Dec = -11.606
tmin = 608688001, tmax = 608947201
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='510428', job_status='RUN', time_executed='2021-08-13 21:20:32.800888', time_epoch_executed='1628914832.8' WHERE source_name='4FGL J0116.0-1136' and cadence='daily' and bin_id='1425'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/510428

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/510428/ft1_4FGL_J0116.0-1136_daily_bin1425.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/510428/ft2_4FGL_J0116.0-1136_daily_bin1425.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/510428/ft1_4FGL_J0116.0-1136_daily_bin1425.fits outfile=/scratch/kocevski/510428/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin1425.fits ra=19.0006 dec=-11.606 rad=12.0 tmin=608688001.0 tmax=608947201.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.67
user 2.84
sys 7.78

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/510428/ft1_filtered_4FGL_J0116.0-1136_daily_bin1425.fits" evtable="EVENTS" scfile=/scratch/kocevski/510428/ft2_4FGL_J0116.0-1136_daily_bin1425.fits sctable="SC_DATA" outfile=/scratch/kocevski/510428/ltcube_608688001_608947201_4FGL_J0116.0-1136_daily_bin1425.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/510428/ft2_4FGL_J0116.0-1136_daily_bin1425.fits
.....................!
real 23.91
user 14.43
sys 8.83

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/510428/ft1_filtered_4FGL_J0116.0-1136_daily_bin1425.fits evtable="EVENTS" scfile=/scratch/kocevski/510428/ft2_4FGL_J0116.0-1136_daily_bin1425.fits sctable="SC_DATA" expcube=/scratch/kocevski/510428/ltcube_608688001_608947201_4FGL_J0116.0-1136_daily_bin1425.fits outfile=/scratch/kocevski/510428/expmap_608688001_608947201_4FGL_J0116.0-1136_daily_bin1425.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/510428/ltcube_608688001_608947201_4FGL_J0116.0-1136_daily_bin1425.fits
.....................!
real 201.86
user 186.41
sys 14.94

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/510428/ft1_filtered_4FGL_J0116.0-1136_daily_bin1425.fits scfile=/scratch/kocevski/510428/ft2_4FGL_J0116.0-1136_daily_bin1425.fits outfile=/scratch/kocevski/510428/cmap_608688001_608947201_4FGL_J0116.0-1136_daily_bin1425.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.41
user 0.37
sys 7.88

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/510428/ft1_filtered_4FGL_J0116.0-1136_daily_bin1425.fits scfile=/scratch/kocevski/510428/ft2_4FGL_J0116.0-1136_daily_bin1425.fits outfile=/scratch/kocevski/510428/cmap_HighResolution_608688001_608947201_4FGL_J0116.0-1136_daily_bin1425.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 8.21
user 0.39
sys 7.77

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/510428/ft1_filtered_4FGL_J0116.0-1136_daily_bin1425.fits evtable="EVENTS" scfile=/scratch/kocevski/510428/ft2_4FGL_J0116.0-1136_daily_bin1425.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/510428/Model_4FGL_J0116.0-1136_daily_bin1425.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/510428/ft1_filtered_4FGL_J0116.0-1136_daily_bin1425.fits.....................!
real 56.34
user 44.75
sys 11.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    4.0681       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.870       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    51.084       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.5483       1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.140       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .29070E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    37.898       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.2092       1.0000         .10000E-03   10000.    
    20 'Prefactor '    76.813       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1713       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .78843       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=   4485.972     FROM MIGRAD    STATUS=CONVERGED    463 CALLS     2333 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.1039        .60727E-07** at limit **
   2  norm          4.0680        2.9606        .10713E-06    .17144E-03
   3  norm          .10000E-03    1.4468       -.37928E-07** at limit **
   4  Prefactor     .10000E-03    57.822        .24432E-05** at limit **
   5  Prefactor     14.871        17.038        .19929E-06    .39234E-04
   6  Prefactor     .10000E-03    16.068        .24515E-05** at limit **
   7  norm          .10000E-03    3.2912       -.53652E-07** at limit **
   8  Prefactor     .10000E-03    20.574       -.10466E-04** at limit **
   9  Prefactor     51.078        72.525       -.64787E-05    .25209E-04
  10  Prefactor     .10000E-03    22.432        .89284E-05** at limit **
  11  Prefactor     6.5470        4.4211        .92994E-06    .86264E-03
  12  Prefactor     20.139        11.336        .52750E-07   -.71287E-05
  13  Prefactor     .10007E-03    258.42       -.12833E-03** at limit **
  14  norm          .10000E-03    1.1994        .36958E-07** at limit **
  15  Prefactor     .10000E-03    9.3822        .89097E-07** at limit **
  16  Prefactor     .10000E-03    1.2979        .76915E-08** at limit **
  17  norm          37.880        44.742       -.20940E-04    .26413E-03
  18  norm          .10000E-03    .58058        .97674E-07** at limit **
  19  norm          1.2092        8.4353       -.24498E-05   -.71389E-03
  20  Prefactor     76.919        171.60        .11926E-03    .22814E-04
  21  Normalizat    1.1712        .20172        .11394E-05    .35263E-03
  22  Prefactor     .78845        .18942       -.27286E-05    .39323E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 4.06803
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.8709
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 51.0782
  Prefactor  = 0.0001
  Prefactor  = 6.54696
  Prefactor  = 20.1395
  Prefactor  = 0.000100074
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 37.8803
  norm       = 0.0001
  norm       = 1.20915
  Prefactor  = 76.9189
  Normalizat = 1.17124
  Prefactor  = 0.788447
 **********
 **   18 **HESSE 
 **********

 FCN=   4485.972     FROM HESSE     STATUS=OK           332 CALLS     2665 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.1078        .68716E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.0680        2.9628        .95521E-04   -1.5305    
   3  norm          .10000E-03    1.4476        .78676E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    57.930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.871        17.050        .10386E-03   -1.4937    
   6  Prefactor     .10000E-03    16.077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.2931        .11867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    20.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     51.078        72.428        .56112E-04   -1.4277    
  10  Prefactor     .10000E-03    22.672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.5470        4.4226        .11083E-03   -1.5196    
  12  Prefactor     20.139        11.316        .89249E-04   -1.4810    
  13  Prefactor     .10007E-03    259.16        .21403E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.2041        .71023E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.4084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.3001        .74492E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          37.880        43.982        .65105E-04   -1.4476    
  18  norm          .10000E-03    .59087        .49772E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.2092        8.2497        .36252E-03   -1.5488    
  20  Prefactor     76.919        172.37        .22909E-03   -1.3952    
  21  Normalizat    1.1712        .23477        .23303E-03   -.87496    
  22  Prefactor     .78845        .21860        .26624E-03   -1.0016    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.07967e-09
Minuit parameter uncertainties:
  1  2.77129e-06
  2  2.96288
  3  2.05105e-06
  4  1.34003e-05
  5  17.0553
  6  1.18447e-05
  7  8.29583e-07
  8  5.54513e-05
  9  72.5529
  10  8.47957e-05
  11  4.42277
  12  11.3167
  13  0.0088215
  14  1.03028e-06
  15  2.93475e-07
  16  5.31661e-07
  17  44.0194
  18  5.09047e-06
  19  6.31767
  20  173.513
  21  0.234981
  22  0.218841
Done.

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

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  6.547e+00  4.423e+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:  7.884e-01  2.188e-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.171e+00  2.350e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.62
Ra Dec: 19.001 -11.606
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 6.08e-08 +/- 4.10e-08
Energy Flux (Fixed Index): 2.10e-05 +/- 1.42e-05

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) = 4485.96294739
delta logL = 0.00906297618985

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4485.96089239
delta logL = 0.0111179760852

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2734       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4493       1.0000          .0000       10.000    
     3 'Normalizat'    1.1664       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79109       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=   4485.961     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      232 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2731        4.7569        .10738E-03    .14118E-02
   2  Index         2.4493        .59996        .66311E-02    .21103E-03
   3  Normalizat    1.1668        .22735        .23340E-03   -.12963E-03
   4  Prefactor     .79089        .21623        .26587E-03   -.14829E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.27313
  Index      = 2.44934
  Normalizat = 1.16679
  Prefactor  = 0.79089
 **********
 **   18 **HESSE 
 **********

 FCN=   4485.961     FROM HESSE     STATUS=OK            23 CALLS      255 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2731        4.6753        .42950E-05   -1.5207    
   2  Index         2.4493        .58936        .26524E-03   -.53534    
   3  Normalizat    1.1668        .22745        .46680E-04   -.87635    
   4  Prefactor     .79089        .21635        .10635E-04   -1.0007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.15529e-10
Minuit parameter uncertainties:
  1  4.6756
  2  0.591219
  3  0.227645
  4  0.216583
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/510428': 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) = 4485.96089068
delta logL = 0.0111196824064

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  6.273e+00  4.676e+00  1.000e-04  1.000e+04 ( 1.000e-12)
283        Index:  2.449e+00  5.912e-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:  7.909e-01  2.166e-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.167e+00  2.276e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.63
Ra Dec: 19.001 -11.606
Photon Index (Free Index): 2.45 +/- 0.59
Photon Flux (Free Index): 6.54e-08 +/- 5.34e-08
Energy Flux (Free Index): 2.01e-05 +/- 1.43e-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/510428/cmap_HighResolution_608688001_608947201_4FGL_J0116.0-1136_daily_bin1425.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.08e-08', energy_flux2='2.01e-05', photon_flux_error='4.10e-08', dlogl='1.11e-02', energy_flux='2.10e-05', photon_flux2='6.54e-08', job_status='DONE', time_completed='2021-08-13 21:30:58.484232', photon_index_error2='0.59', photon_index2='2.45', ts='4.62', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='1.43e-05', EG='1.17', time_epoch_completed='1628915458.48', return_code='0', job_id='510428', GAL2='0.79', EG2='1.17', return_code2='0', energy_flux_error='1.42e-05', photon_flux_error2='5.34e-08', ts2='4.63', photon_index='2.36' WHERE bin_id='1425' AND source_name='4FGL J0116.0-1136' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 21:30:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0140>
Subject: Job 510428: <4FGL_J0116.0-1136_daily_bin1425> in cluster <slac> Done

Job <4FGL_J0116.0-1136_daily_bin1425> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 21:15:33 2021
Job was executed on host(s) <bullet0140>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 21:16:46 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:16:46 2021
Terminated at Fri Aug 13 21:31:00 2021
Results reported at Fri Aug 13 21:31:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0116.0-1136_daily_bin1425 19.0006 -11.606 608688001 608947201 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 :                                   741.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             246.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   853 sec.
    Turnaround time :                            927 sec.

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

