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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin714
RA = 17.1695, Dec = 1.5819
tmin = 424396801, tmax = 424656001
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='357710', job_status='RUN', time_executed='2021-08-13 13:04:20.907230', time_epoch_executed='1628885060.91' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/357710

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/357710/ft1_4FGL_J0108.6+0134_daily_bin714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/357710/ft2_4FGL_J0108.6+0134_daily_bin714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/357710/ft1_4FGL_J0108.6+0134_daily_bin714.fits outfile=/scratch/kocevski/357710/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin714.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=424396801.0 tmax=424656001.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 5.38
user 4.95
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/357710/ft2_4FGL_J0108.6+0134_daily_bin714.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/357710/ft2_4FGL_J0108.6+0134_daily_bin714.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/357710/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin714.fits evtable="EVENTS" outfile="/scratch/kocevski/357710/ft1_filtered_4FGL_J0108.6+0134_daily_bin714.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 0.54
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/357710/ft1_filtered_4FGL_J0108.6+0134_daily_bin714.fits" evtable="EVENTS" scfile=/scratch/kocevski/357710/ft2_4FGL_J0108.6+0134_daily_bin714.fits sctable="SC_DATA" outfile=/scratch/kocevski/357710/ltcube_424396801_424656001_4FGL_J0108.6+0134_daily_bin714.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/357710/ft2_4FGL_J0108.6+0134_daily_bin714.fits
.....................!
real 12.71
user 12.17
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/357710/ft1_filtered_4FGL_J0108.6+0134_daily_bin714.fits evtable="EVENTS" scfile=/scratch/kocevski/357710/ft2_4FGL_J0108.6+0134_daily_bin714.fits sctable="SC_DATA" expcube=/scratch/kocevski/357710/ltcube_424396801_424656001_4FGL_J0108.6+0134_daily_bin714.fits outfile=/scratch/kocevski/357710/expmap_424396801_424656001_4FGL_J0108.6+0134_daily_bin714.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/357710/ltcube_424396801_424656001_4FGL_J0108.6+0134_daily_bin714.fits
.....................!
real 192.00
user 187.69
sys 3.95

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 164 point sources and 0 extended sources

Setting source of interest to:
4FGL J0108.6+0134 @ 17.1695 1.5819

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/357710/ft1_filtered_4FGL_J0108.6+0134_daily_bin714.fits scfile=/scratch/kocevski/357710/ft2_4FGL_J0108.6+0134_daily_bin714.fits outfile=/scratch/kocevski/357710/cmap_424396801_424656001_4FGL_J0108.6+0134_daily_bin714.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=17.1695 yref=1.5819 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.49
user 0.38
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/357710/ft1_filtered_4FGL_J0108.6+0134_daily_bin714.fits scfile=/scratch/kocevski/357710/ft2_4FGL_J0108.6+0134_daily_bin714.fits outfile=/scratch/kocevski/357710/cmap_HighResolution_424396801_424656001_4FGL_J0108.6+0134_daily_bin714.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=17.1695 yref=1.5819 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 0.99
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/357710/ft1_filtered_4FGL_J0108.6+0134_daily_bin714.fits evtable="EVENTS" scfile=/scratch/kocevski/357710/ft2_4FGL_J0108.6+0134_daily_bin714.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/357710/Model_4FGL_J0108.6+0134_daily_bin714.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/357710/ft1_filtered_4FGL_J0108.6+0134_daily_bin714.fits.....................!
real 72.24
user 70.38
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/357710/ft1_filtered_4FGL_J0108.6+0134_daily_bin714.fits', '/scratch/kocevski/357710/ft2_4FGL_J0108.6+0134_daily_bin714.fits', expMap='/scratch/kocevski/357710/expmap_424396801_424656001_4FGL_J0108.6+0134_daily_bin714.fits', expCube='/scratch/kocevski/357710/ltcube_424396801_424656001_4FGL_J0108.6+0134_daily_bin714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/357710/Model_4FGL_J0108.6+0134_daily_bin714.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0108.6+0134'

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  8.383e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.284e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  1.018e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  5.081e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/357710/ft1_filtered_4FGL_J0108.6+0134_daily_bin714.fits
Spacecraft file(s): /scratch/kocevski/357710/ft2_4FGL_J0108.6+0134_daily_bin714.fits
Exposure map: /scratch/kocevski/357710/expmap_424396801_424656001_4FGL_J0108.6+0134_daily_bin714.fits
Exposure cube: /scratch/kocevski/357710/ltcube_424396801_424656001_4FGL_J0108.6+0134_daily_bin714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/357710/Model_4FGL_J0108.6+0134_daily_bin714.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) = 6865.19523722

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    1.2576       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.4082       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.7172       1.0000         .10000E-03   10000.    
     5 'norm      '    4.7811       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.715       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.2259       1.0000         .10000E-03   10000.    
     9 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.4164       1.0000         .10000E-03   10000.    
    12 'norm      '    7.0423       1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.080       1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.965       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .88615       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.3598       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10668E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.0709       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .89565       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99330       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6865.122     FROM MIGRAD    STATUS=CONVERGED    466 CALLS     2045 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.5145       -.47501E-06** at limit **
   2  norm          1.2572        1.2048       -.12619E-07   -.12240E-02
   3  Prefactor     6.4084        3.1902       -.10068E-06   -.23357E-03
   4  Prefactor     3.7174        3.0428        .39774E-06   -.59042E-04
   5  norm          4.7806        3.9523        .10132E-05   -.13874E-04
   6  norm          .10000E-03    1.9391        .17964E-06** at limit **
   7  Prefactor     18.716        18.630       -.13532E-06   -.62098E-05
   8  Prefactor     9.2242        24.363       -.53277E-06   -.22593E-04
   9  norm          .10000E-03    4.4938       -.23643E-06** at limit **
  10  Prefactor     .10000E-03    94.502       -.55928E-06** at limit **
  11  Prefactor     4.4434        339.84        .10928E-03    .87910E-05
  12  norm          7.0423        1.9924       -.87487E-06   -.83476E-03
  13  Prefactor     18.084        37.356        .60293E-05   -.26029E-04
  14  Prefactor     21.967        17.822       -.20530E-06   -.10205E-04
  15  Prefactor     .10000E-03    7.1274        .50449E-06** at limit **
  16  Prefactor     .88510        21.326        .78600E-06   -.34589E-04
  17  Prefactor     .10000E-03    2.2452       -.17954E-08** at limit **
  18  Prefactor     7.3609        25.500        .77803E-06   -.92803E-05
  19  Prefactor     .10000E-03    31.017       -.57078E-06** at limit **
  20  Prefactor     1.0708        3.7831        .29870E-05    .24126E-04
  21  Normalizat    .89558        .18049       -.38756E-05   -.13581E-03
  22  Prefactor     .99335        .14301        .76149E-06   -.35579E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.25723
  Prefactor  = 6.40843
  Prefactor  = 3.71737
  norm       = 4.7806
  norm       = 0.0001
  Prefactor  = 18.7162
  Prefactor  = 9.22422
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.44339
  norm       = 7.04234
  Prefactor  = 18.0842
  Prefactor  = 21.9667
  Prefactor  = 0.0001
  Prefactor  = 0.885096
  Prefactor  = 0.0001
  Prefactor  = 7.36095
  Prefactor  = 0.0001
  Prefactor  = 1.07079
  Normalizat = 0.895579
  Prefactor  = 0.993348
 **********
 **   18 **HESSE 
 **********

 FCN=   6865.122     FROM HESSE     STATUS=OK           350 CALLS     2395 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.5199        .15168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2572        7.4752        .19902E-02   -1.5484    
   3  Prefactor     6.4084        3.1896        .98457E-04   -1.5202    
   4  Prefactor     3.7174        3.0271        .12051E-03   -1.5322    
   5  norm          4.7806        3.9527        .14526E-03   -1.5271    
   6  norm          .10000E-03    1.9581        .11260E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.716        18.629        .92581E-04   -1.4842    
   8  Prefactor     9.2242        24.269        .13195E-03   -1.5100    
   9  norm          .10000E-03    4.4954        .17154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    94.709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.4434        338.85        .19163E-03   -1.5286    
  12  norm          7.0423        1.9941        .54408E-04   -1.5177    
  13  Prefactor     18.084        37.270        .94193E-04   -1.4857    
  14  Prefactor     21.967        17.828        .85465E-04   -1.4770    
  15  Prefactor     .10000E-03    7.3615        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .88510        143.10        .73372E-02   -1.5520    
  17  Prefactor     .10000E-03    2.2481        .12123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.3609        25.496        .14784E-03   -1.5165    
  19  Prefactor     .10000E-03    31.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.0708        3.7530        .29287E-03   -1.5501    
  21  Normalizat    .89558        .20621        .27706E-03   -.96616    
  22  Prefactor     .99335        .16498        .22013E-03   -.92952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.36573e-08
Minuit parameter uncertainties:
  1  5.36931e-06
  2  6.13216
  3  3.18965
  4  3.02723
  5  3.95295
  6  1.2877e-06
  7  18.6352
  8  24.2948
  9  2.55397e-06
  10  0.000145137
  11  78.0675
  12  1.99408
  13  37.318
  14  17.8326
  15  1.95561e-05
  16  22.5621
  17  1.53072e-06
  18  25.5333
  19  1.79858e-05
  20  3.7538
  21  0.206394
  22  0.165059
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  7.042e+00  1.994e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.284e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  1.018e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  5.081e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.933e-01  1.651e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  8.956e-01  2.064e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 43.51
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 1.98e-07 +/- 5.60e-08
Energy Flux (Fixed Index): 6.65e-05 +/- 1.88e-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) = 6864.92724293
delta logL = 0.194477654895

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6864.91692557
delta logL = 0.204795013674

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.1159       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1061       1.0000          .0000       5.0000    
     3 'Normalizat'    .92480       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97770       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6864.917     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      200 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.1159        2.1216        .37594E-02   -.34758E-02
   2  alpha         2.1061        .29256        .19878       -.74575E-06
   3  Normalizat    .92481        .17455        .45218E-01    .16512E-04
   4  Prefactor     .97769        .14329        .45988E-01    .15878E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.11591
  alpha      = 2.10605
  Normalizat = 0.924812
  Prefactor  = 0.977685
 **********
 **   18 **HESSE 
 **********

 FCN=   6864.917     FROM HESSE     STATUS=OK            31 CALLS      231 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.1159        1.9259        .56862E-04   -1.5174    
   2  alpha         2.1061        .27688        .84211E-02   -.15824    
   3  Normalizat    .92481        .20328        .27340E-03   -.95594    
   4  Prefactor     .97769        .16577        .22173E-03   -.93477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.55279e-10
Minuit parameter uncertainties:
  1  1.92594
  2  0.277463
  3  0.203449
  4  0.165859
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/357710': 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) = 6864.91692557
delta logL = 0.204795021829

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  7.116e+00  1.926e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.106e+00  2.775e-01  0.000e+00  5.000e+00 ( 1.000e+00)
271         beta:  1.018e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  5.081e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.777e-01  1.659e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  9.248e-01  2.034e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 43.75
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.11 +/- 0.28
Photon Flux (Free Index): 1.74e-07 +/- 6.02e-08
Energy Flux (Free Index): 7.20e-05 +/- 2.20e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/357710/cmap_HighResolution_424396801_424656001_4FGL_J0108.6+0134_daily_bin714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.98e-07', energy_flux2='7.20e-05', photon_flux_error='5.60e-08', dlogl='2.05e-01', energy_flux='6.65e-05', photon_flux2='1.74e-07', job_status='DONE', time_completed='2021-08-13 13:14:04.293034', photon_index_error2='0.28', photon_index2='2.11', ts='43.51', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='2.20e-05', EG='0.90', time_epoch_completed='1628885644.29', return_code='0', job_id='357710', GAL2='0.98', EG2='0.92', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.02e-08', ts2='43.75', photon_index='2.28' WHERE bin_id='714' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:14:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 357710: <4FGL_J0108.6+0134_daily_bin714> in cluster <slac> Done

Job <4FGL_J0108.6+0134_daily_bin714> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Aug 13 13:01:04 2021
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 13:02:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 13:02:20 2021
Terminated at Fri Aug 13 13:14:05 2021
Results reported at Fri Aug 13 13:14:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin714 17.1695 1.5819 424396801 424656001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0108.6+0134 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   577.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   704 sec.
    Turnaround time :                            781 sec.

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

