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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin668
RA = 17.1695, Dec = 1.5819
tmin = 412473601, tmax = 412732801
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='357651', job_status='RUN', time_executed='2021-08-13 13:03:29.246131', time_epoch_executed='1628885009.25' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='668'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/357651

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/357651/ft1_4FGL_J0108.6+0134_daily_bin668.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/357651/ft2_4FGL_J0108.6+0134_daily_bin668.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/357651/ft1_4FGL_J0108.6+0134_daily_bin668.fits outfile=/scratch/kocevski/357651/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin668.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=412473601.0 tmax=412732801.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.09
user 3.22
sys 1.49

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/357651/ft1_filtered_4FGL_J0108.6+0134_daily_bin668.fits" evtable="EVENTS" scfile=/scratch/kocevski/357651/ft2_4FGL_J0108.6+0134_daily_bin668.fits sctable="SC_DATA" outfile=/scratch/kocevski/357651/ltcube_412473601_412732801_4FGL_J0108.6+0134_daily_bin668.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/357651/ft2_4FGL_J0108.6+0134_daily_bin668.fits
.....................!
real 13.36
user 11.22
sys 1.79

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/357651/ft1_filtered_4FGL_J0108.6+0134_daily_bin668.fits evtable="EVENTS" scfile=/scratch/kocevski/357651/ft2_4FGL_J0108.6+0134_daily_bin668.fits sctable="SC_DATA" expcube=/scratch/kocevski/357651/ltcube_412473601_412732801_4FGL_J0108.6+0134_daily_bin668.fits outfile=/scratch/kocevski/357651/expmap_412473601_412732801_4FGL_J0108.6+0134_daily_bin668.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/357651/ltcube_412473601_412732801_4FGL_J0108.6+0134_daily_bin668.fits
.....................!
real 194.96
user 185.56
sys 7.23

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/357651/ft1_filtered_4FGL_J0108.6+0134_daily_bin668.fits scfile=/scratch/kocevski/357651/ft2_4FGL_J0108.6+0134_daily_bin668.fits outfile=/scratch/kocevski/357651/cmap_412473601_412732801_4FGL_J0108.6+0134_daily_bin668.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.97
user 0.37
sys 1.42

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/357651/ft1_filtered_4FGL_J0108.6+0134_daily_bin668.fits scfile=/scratch/kocevski/357651/ft2_4FGL_J0108.6+0134_daily_bin668.fits outfile=/scratch/kocevski/357651/cmap_HighResolution_412473601_412732801_4FGL_J0108.6+0134_daily_bin668.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.10
user 0.39
sys 1.40

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.2321       1.0000         .10000E-03   10000.    
     2 'norm      '    28.090       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.9514       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.1904       1.0000         .10000E-03   10000.    
     6 'norm      '    3.1243       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    36.673       1.0000         .10000E-03   10000.    
     9 'norm      '    6.6528       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.348       1.0000         .10000E-03   10000.    
    12 'norm      '    2.6726       1.0000         .10000E-03   10000.    
    13 'Prefactor '    33.122       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.0508       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11218E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    29.864       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .98102       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97206       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=   9728.956     FROM MIGRAD    STATUS=CONVERGED    453 CALLS     2331 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.2330        10.116       -.10405E-05   -.80397E-04
   2  norm          28.091        9.7507       -.51809E-06    .18999E-04
   3  Prefactor     2.9515        1.6081       -.97094E-07   -.54619E-04
   4  Prefactor     .10000E-03    1.0504       -.28848E-07** at limit **
   5  norm          1.1901        2.8309       -.65403E-06   -.12089E-02
   6  norm          3.1247        3.3462       -.36119E-05   -.23992E-03
   7  Prefactor     .10000E-03    9.6982       -.38008E-06** at limit **
   8  Prefactor     36.679        30.225        .79537E-05    .77699E-04
   9  norm          6.6514        9.6458       -.27337E-06   -.84031E-04
  10  Prefactor     .10000E-03    28.075       -.39717E-05** at limit **
  11  Prefactor     24.345        32.013       -.40107E-05    .38161E-05
  12  norm          2.6728        1.1162        .10092E-06   -.68288E-04
  13  Prefactor     33.095        35.929       -.36573E-04   -.23383E-04
  14  Prefactor     6.0468        13.548       -.28780E-05   -.63678E-04
  15  Prefactor     .10000E-03    3.6187        .13903E-05** at limit **
  16  Prefactor     .10000E-03    11.811        .86031E-07** at limit **
  17  Prefactor     .10000E-03    2.4636        .68484E-07** at limit **
  18  Prefactor     29.865        31.791        .13767E-05    .63968E-05
  19  Prefactor     .10000E-03    27.665        .37192E-05** at limit **
  20  Prefactor     .10000E-03    1.7823       -.10572E-06** at limit **
  21  Normalizat    .98077        .14974        .44942E-05   -.14134E-03
  22  Prefactor     .97228        .11983        .13151E-07    .21643E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.23303
  norm       = 28.0915
  Prefactor  = 2.95154
  Prefactor  = 0.0001
  norm       = 1.19006
  norm       = 3.12475
  Prefactor  = 0.0001
  Prefactor  = 36.6788
  norm       = 6.65145
  Prefactor  = 0.0001
  Prefactor  = 24.3452
  norm       = 2.67283
  Prefactor  = 33.0949
  Prefactor  = 6.04681
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.865
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.980774
  Prefactor  = 0.972284
 **********
 **   18 **HESSE 
 **********

 FCN=   9728.956     FROM HESSE     STATUS=OK           346 CALLS     2677 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.2330        10.123        .13190E-03   -1.5100    
   2  norm          28.091        9.7579        .75590E-04   -1.4647    
   3  Prefactor     2.9515        1.6083        .89081E-04   -1.5364    
   4  Prefactor     .10000E-03    1.0684        .98533E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.1901        2.7800        .24964E-03   -1.5490    
   6  norm          3.1247        3.3360        .17703E-03   -1.5354    
   7  Prefactor     .10000E-03    9.6993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     36.679        30.168        .66180E-04   -1.4496    
   9  norm          6.6514        9.6524        .15558E-03   -1.5192    
  10  Prefactor     .10000E-03    28.125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     24.345        32.013        .81181E-04   -1.4721    
  12  norm          2.6728        1.1139        .63408E-04   -1.5381    
  13  Prefactor     33.095        35.870        .69626E-04   -1.4557    
  14  Prefactor     6.0468        13.552        .16322E-03   -1.5216    
  15  Prefactor     .10000E-03    3.6986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.4708        .15119E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     29.865        31.802        .73316E-04   -1.4614    
  19  Prefactor     .10000E-03    27.673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.8562        .25715E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .98077        .17167        .26937E-03   -.93677    
  22  Prefactor     .97228        .13788        .22511E-03   -.93659    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.38136e-09
Minuit parameter uncertainties:
  1  10.125
  2  9.75845
  3  1.60831
  4  4.02275e-06
  5  2.78034
  6  3.33615
  7  3.1911e-06
  8  30.1806
  9  9.65469
  10  3.72297e-05
  11  32.0352
  12  1.11394
  13  35.8937
  14  13.5589
  15  0.000234221
  16  2.03985e-05
  17  1.76592e-05
  18  31.82
  19  1.30034e-05
  20  9.61938e-06
  21  0.171771
  22  0.137931
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  2.673e+00  1.114e+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.723e-01  1.379e-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.808e-01  1.718e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.11
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 7.51e-08 +/- 3.13e-08
Energy Flux (Fixed Index): 2.52e-05 +/- 1.05e-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) = 9728.77264411
delta logL = 0.18377703586

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9728.77161228
delta logL = 0.184808862607

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5718       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5660       1.0000          .0000       5.0000    
     3 'Normalizat'    .95753       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98452       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9728.772     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      259 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5723        1.0894        .58603E-04   -.12214E-02
   2  alpha         2.5661        .47265        .13919E-01   -.69405E-04
   3  Normalizat    .95774        .16969        .27205E-03   -.73924E-03
   4  Prefactor     .98439        .13862        .22387E-03   -.85069E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.57231
  alpha      = 2.56613
  Normalizat = 0.957735
  Prefactor  = 0.984395
 **********
 **   18 **HESSE 
 **********

 FCN=   9728.772     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5723        1.0728        .23441E-05   -1.5387    
   2  alpha         2.5661        .46504        .55675E-03    .26456E-01
   3  Normalizat    .95774        .16976        .54410E-04   -.94460    
   4  Prefactor     .98439        .13867        .44774E-04   -.93252    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.19543e-10
Minuit parameter uncertainties:
  1  1.07283
  2  0.467761
  3  0.169858
  4  0.13872
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/357651': 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) = 9728.77161068
delta logL = 0.184810463132

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  2.572e+00  1.073e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.566e+00  4.678e-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.844e-01  1.387e-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.577e-01  1.699e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.53
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.57 +/- 0.47
Photon Flux (Free Index): 9.29e-08 +/- 4.54e-08
Energy Flux (Free Index): 2.44e-05 +/- 9.56e-06

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/357651/cmap_HighResolution_412473601_412732801_4FGL_J0108.6+0134_daily_bin668.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.51e-08', energy_flux2='2.44e-05', photon_flux_error='3.13e-08', dlogl='1.85e-01', energy_flux='2.52e-05', photon_flux2='9.29e-08', job_status='DONE', time_completed='2021-08-13 13:15:47.057497', photon_index_error2='0.47', photon_index2='2.57', ts='12.11', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='9.56e-06', EG='0.98', time_epoch_completed='1628885747.06', return_code='0', job_id='357651', GAL2='0.98', EG2='0.96', return_code2='0', energy_flux_error='1.05e-05', photon_flux_error2='4.54e-08', ts2='12.53', photon_index='2.28' WHERE bin_id='668' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:15:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 357651: <4FGL_J0108.6+0134_daily_bin668> in cluster <slac> Done

Job <4FGL_J0108.6+0134_daily_bin668> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Aug 13 13:01:00 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 13:01:31 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:01:31 2021
Terminated at Fri Aug 13 13:15:48 2021
Results reported at Fri Aug 13 13:15:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin668 17.1695 1.5819 412473601 412732801 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 :                                   746.47 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   856 sec.
    Turnaround time :                            888 sec.

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

