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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin973
RA = 17.1695, Dec = 1.5819
tmin = 491529601, tmax = 491788801
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='359302', job_status='RUN', time_executed='2021-08-13 13:08:40.605521', time_epoch_executed='1628885320.61' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='973'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/359302

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/359302/ft1_4FGL_J0108.6+0134_daily_bin973.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/359302/ft2_4FGL_J0108.6+0134_daily_bin973.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/359302/ft1_4FGL_J0108.6+0134_daily_bin973.fits outfile=/scratch/kocevski/359302/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin973.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=491529601.0 tmax=491788801.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.15
user 3.27
sys 1.72

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/359302/ft2_4FGL_J0108.6+0134_daily_bin973.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/359302/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin973.fits evtable="EVENTS" outfile="/scratch/kocevski/359302/ft1_filtered_4FGL_J0108.6+0134_daily_bin973.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 2.10
user 0.32
sys 1.64

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/359302/ft1_filtered_4FGL_J0108.6+0134_daily_bin973.fits" evtable="EVENTS" scfile=/scratch/kocevski/359302/ft2_4FGL_J0108.6+0134_daily_bin973.fits sctable="SC_DATA" outfile=/scratch/kocevski/359302/ltcube_491529601_491788801_4FGL_J0108.6+0134_daily_bin973.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/359302/ft2_4FGL_J0108.6+0134_daily_bin973.fits
.....................!
real 21.33
user 16.70
sys 2.04

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/359302/ft1_filtered_4FGL_J0108.6+0134_daily_bin973.fits evtable="EVENTS" scfile=/scratch/kocevski/359302/ft2_4FGL_J0108.6+0134_daily_bin973.fits sctable="SC_DATA" expcube=/scratch/kocevski/359302/ltcube_491529601_491788801_4FGL_J0108.6+0134_daily_bin973.fits outfile=/scratch/kocevski/359302/expmap_491529601_491788801_4FGL_J0108.6+0134_daily_bin973.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/359302/ltcube_491529601_491788801_4FGL_J0108.6+0134_daily_bin973.fits
.....................!
real 195.28
user 187.52
sys 6.79

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/359302/ft1_filtered_4FGL_J0108.6+0134_daily_bin973.fits scfile=/scratch/kocevski/359302/ft2_4FGL_J0108.6+0134_daily_bin973.fits outfile=/scratch/kocevski/359302/cmap_491529601_491788801_4FGL_J0108.6+0134_daily_bin973.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.99
user 0.36
sys 1.61

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/359302/ft1_filtered_4FGL_J0108.6+0134_daily_bin973.fits scfile=/scratch/kocevski/359302/ft2_4FGL_J0108.6+0134_daily_bin973.fits outfile=/scratch/kocevski/359302/cmap_HighResolution_491529601_491788801_4FGL_J0108.6+0134_daily_bin973.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 2.01
user 0.40
sys 1.60

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/359302/ft1_filtered_4FGL_J0108.6+0134_daily_bin973.fits', '/scratch/kocevski/359302/ft2_4FGL_J0108.6+0134_daily_bin973.fits', expMap='/scratch/kocevski/359302/expmap_491529601_491788801_4FGL_J0108.6+0134_daily_bin973.fits', expCube='/scratch/kocevski/359302/ltcube_491529601_491788801_4FGL_J0108.6+0134_daily_bin973.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/359302/Model_4FGL_J0108.6+0134_daily_bin973.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/359302/ft1_filtered_4FGL_J0108.6+0134_daily_bin973.fits
Spacecraft file(s): /scratch/kocevski/359302/ft2_4FGL_J0108.6+0134_daily_bin973.fits
Exposure map: /scratch/kocevski/359302/expmap_491529601_491788801_4FGL_J0108.6+0134_daily_bin973.fits
Exposure cube: /scratch/kocevski/359302/ltcube_491529601_491788801_4FGL_J0108.6+0134_daily_bin973.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/359302/Model_4FGL_J0108.6+0134_daily_bin973.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) = 7934.15336105

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    7.0921       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.5526       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    8.5853       1.0000         .10000E-03   10000.    
     6 'norm      '    1.7121       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    42.267       1.0000         .10000E-03   10000.    
     9 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    53.362       1.0000         .10000E-03   10000.    
    12 'norm      '    40.025       1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.284       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.094       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11064E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    29.780       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.4546       1.0000         .10000E-03   10000.    
    19 'Prefactor '    82.545       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.4930       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .82564       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0541       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=   7934.145     FROM MIGRAD    STATUS=CONVERGED    471 CALLS     2331 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.0051        .21907E-06** at limit **
   2  norm          7.0922        6.4061       -.82236E-06    .45327E-04
   3  Prefactor     2.5524        2.1611        .51613E-06    .19531E-03
   4  Prefactor     .10000E-03    1.4264       -.97300E-06** at limit **
   5  norm          8.5855        5.2886       -.30231E-07    .12566E-02
   6  norm          1.7120        3.1165       -.10496E-05   -.48909E-03
   7  Prefactor     .10000E-03    12.079       -.26704E-05** at limit **
   8  Prefactor     42.273        27.238        .53243E-05    .18475E-03
   9  norm          .10000E-03    10.076        .23208E-05** at limit **
  10  Prefactor     .10000E-03    30.602        .21587E-05** at limit **
  11  Prefactor     53.134        109.45       -.30370E-03    .47813E-04
  12  norm          40.028        3.9231        .50723E-05   -.46976E-03
  13  Prefactor     23.270        36.013       -.21651E-04    .40923E-04
  14  Prefactor     12.093        12.050       -.52831E-06    .24885E-04
  15  Prefactor     .10000E-03    5.7056       -.66802E-06** at limit **
  16  Prefactor     29.777        37.798       -.44618E-05    .28533E-04
  17  Prefactor     .10000E-03    2.1959       -.30490E-07** at limit **
  18  Prefactor     7.4500        42.305       -.12662E-04    .56558E-05
  19  Prefactor     82.533        91.219       -.13438E-04    .24215E-04
  20  Prefactor     1.4930        4.1891       -.27587E-05   -.12271E-02
  21  Normalizat    .82568        .19396        .13224E-04    .10030E-03
  22  Prefactor     1.0541        .15039       -.64046E-06    .71366E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 7.09221
  Prefactor  = 2.55236
  Prefactor  = 0.000100002
  norm       = 8.58549
  norm       = 1.71199
  Prefactor  = 0.0001
  Prefactor  = 42.273
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 53.1339
  norm       = 40.0275
  Prefactor  = 23.2703
  Prefactor  = 12.0933
  Prefactor  = 0.0001
  Prefactor  = 29.7769
  Prefactor  = 0.0001
  Prefactor  = 7.45004
  Prefactor  = 82.5326
  Prefactor  = 1.49302
  Normalizat = 0.825677
  Prefactor  = 1.0541
 **********
 **   18 **HESSE 
 **********

 FCN=   7934.145     FROM HESSE     STATUS=OK           344 CALLS     2675 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.0269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.0922        6.4102        .15063E-03   -1.5175    
   3  Prefactor     2.5524        2.1560        .11607E-03   -1.5388    
   4  Prefactor     .10000E-03    3.6828        .20470E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          8.5855        5.2861        .68404E-03   -1.5122    
   6  norm          1.7120        3.0737        .20441E-03   -1.5446    
   7  Prefactor     .10000E-03    12.080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     42.273        27.039        .61661E-04   -1.4407    
   9  norm          .10000E-03    10.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    30.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     53.134        109.59        .27453E-03   -1.4249    
  12  norm          40.028        3.9285        .47887E-04   -1.4442    
  13  Prefactor     23.270        35.994        .83012E-04   -1.4743    
  14  Prefactor     12.093        12.052        .11519E-03   -1.5012    
  15  Prefactor     .10000E-03    5.7572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     29.777        37.819        .73419E-04   -1.4616    
  17  Prefactor     .10000E-03    2.1974        .12890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.4500        42.309        .14689E-03   -1.5162    
  19  Prefactor     82.533        91.422        .44210E-04   -1.3889    
  20  Prefactor     1.4930        4.1687        .29391E-03   -1.5464    
  21  Normalizat    .82568        .22149        .33677E-03   -.99123    
  22  Prefactor     1.0541        .17244        .24450E-03   -.90947    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.32285e-09
Minuit parameter uncertainties:
  1  3.15208e-05
  2  6.41084
  3  2.15611
  4  0.000178695
  5  5.28634
  6  3.07399
  7  1.82018e-05
  8  27.0465
  9  5.64096e-05
  10  6.36812e-05
  11  110.006
  12  3.92851
  13  36.0271
  14  12.0541
  15  3.08596e-05
  16  37.8492
  17  2.37158e-06
  18  35.546
  19  91.5786
  20  4.16948
  21  0.22173
  22  0.172529
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  4.003e+01  3.929e+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:  1.054e+00  1.725e-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.257e-01  2.217e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 426.65
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 1.12e-06 +/- 1.10e-07
Energy Flux (Fixed Index): 3.78e-04 +/- 3.71e-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) = 7934.12974134
delta logL = 0.0157050399257

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7934.12599117
delta logL = 0.0194552129724

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    39.740       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3047       1.0000          .0000       5.0000    
     3 'Normalizat'    .81569       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0598       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=   7934.126     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      206 TOTAL
                     EDM=   .43E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          39.733        4.2469        .15896E-02   -.36735E-04
   2  alpha         2.3048        .11249        .71382E-01    .29973E-04
   3  Normalizat    .81581        .19062        .76460E-01    .27810E-04
   4  Prefactor     1.0598        .15162        .39367E-01    .61574E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 39.7334
  alpha      = 2.30479
  Normalizat = 0.815811
  Prefactor  = 1.05976
 **********
 **   18 **HESSE 
 **********

 FCN=   7934.126     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .16E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          39.733        3.8803        .47610E-04   -1.4446    
   2  alpha         2.3048        .10360        .31471E-03   -.78164E-01
   3  Normalizat    .81581        .21925        .33845E-03   -.99485    
   4  Prefactor     1.0598        .17432        .24394E-03   -.90763    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55481e-14
Minuit parameter uncertainties:
  1  3.88037
  2  0.103634
  3  0.21949
  4  0.174418
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/359302': 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) = 7934.12598955
delta logL = 0.019456832656

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  3.973e+01  3.880e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.305e+00  1.036e-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:  1.060e+00  1.744e-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.158e-01  2.195e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 428.86
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.30 +/- 0.10
Photon Flux (Free Index): 1.13e-06 +/- 1.15e-07
Energy Flux (Free Index): 3.74e-04 +/- 3.97e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/359302/cmap_HighResolution_491529601_491788801_4FGL_J0108.6+0134_daily_bin973.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.12e-06', energy_flux2='3.74e-04', photon_flux_error='1.10e-07', dlogl='1.95e-02', energy_flux='3.78e-04', photon_flux2='1.13e-06', job_status='DONE', time_completed='2021-08-13 13:20:10.363730', photon_index_error2='0.10', photon_index2='2.30', ts='426.65', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='3.97e-05', EG='0.83', time_epoch_completed='1628886010.36', return_code='0', job_id='359302', GAL2='1.06', EG2='0.82', return_code2='0', energy_flux_error='3.71e-05', photon_flux_error2='1.15e-07', ts2='428.86', photon_index='2.28' WHERE bin_id='973' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:20:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 359302: <4FGL_J0108.6+0134_daily_bin973> in cluster <slac> Done

Job <4FGL_J0108.6+0134_daily_bin973> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Aug 13 13:06:13 2021
Job was executed on host(s) <bullet0150>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 13:06:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 13:06:26 2021
Terminated at Fri Aug 13 13:20:11 2021
Results reported at Fri Aug 13 13:20:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin973 17.1695 1.5819 491529601 491788801 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 :                                   705.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             334.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            838 sec.

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

