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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin737
RA = 17.1695, Dec = 1.5819
tmin = 430358401, tmax = 430617601
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='357741', job_status='RUN', time_executed='2021-08-13 13:06:15.672179', time_epoch_executed='1628885175.67' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='737'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/357741

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/357741/ft1_4FGL_J0108.6+0134_daily_bin737.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/357741/ft2_4FGL_J0108.6+0134_daily_bin737.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/357741/ft1_4FGL_J0108.6+0134_daily_bin737.fits outfile=/scratch/kocevski/357741/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin737.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=430358401.0 tmax=430617601.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.81
user 5.69
sys 4.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/357741/ft2_4FGL_J0108.6+0134_daily_bin737.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/357741/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin737.fits evtable="EVENTS" outfile="/scratch/kocevski/357741/ft1_filtered_4FGL_J0108.6+0134_daily_bin737.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 4.75
user 0.34
sys 4.20

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/357741/ft1_filtered_4FGL_J0108.6+0134_daily_bin737.fits" evtable="EVENTS" scfile=/scratch/kocevski/357741/ft2_4FGL_J0108.6+0134_daily_bin737.fits sctable="SC_DATA" outfile=/scratch/kocevski/357741/ltcube_430358401_430617601_4FGL_J0108.6+0134_daily_bin737.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/357741/ft2_4FGL_J0108.6+0134_daily_bin737.fits
.....................!
real 18.60
user 13.21
sys 5.04

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/357741/ft1_filtered_4FGL_J0108.6+0134_daily_bin737.fits evtable="EVENTS" scfile=/scratch/kocevski/357741/ft2_4FGL_J0108.6+0134_daily_bin737.fits sctable="SC_DATA" expcube=/scratch/kocevski/357741/ltcube_430358401_430617601_4FGL_J0108.6+0134_daily_bin737.fits outfile=/scratch/kocevski/357741/expmap_430358401_430617601_4FGL_J0108.6+0134_daily_bin737.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/357741/ltcube_430358401_430617601_4FGL_J0108.6+0134_daily_bin737.fits
.....................!
real 197.66
user 186.37
sys 10.04

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/357741/ft1_filtered_4FGL_J0108.6+0134_daily_bin737.fits scfile=/scratch/kocevski/357741/ft2_4FGL_J0108.6+0134_daily_bin737.fits outfile=/scratch/kocevski/357741/cmap_430358401_430617601_4FGL_J0108.6+0134_daily_bin737.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 4.62
user 0.39
sys 4.08

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/357741/ft1_filtered_4FGL_J0108.6+0134_daily_bin737.fits scfile=/scratch/kocevski/357741/ft2_4FGL_J0108.6+0134_daily_bin737.fits outfile=/scratch/kocevski/357741/cmap_HighResolution_430358401_430617601_4FGL_J0108.6+0134_daily_bin737.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 4.72
user 0.39
sys 4.09

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    8.8972       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .24420       1.0000         .10000E-03   10000.    
     5 'norm      '    4.1298       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    102.98       1.0000         .10000E-03   10000.    
     8 'Prefactor '    40.738       1.0000         .10000E-03   10000.    
     9 'norm      '    29.270       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.872       1.0000         .10000E-03   10000.    
    12 'norm      '    11.553       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.050       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.6237       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2920       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .71383       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=   4016.246     FROM MIGRAD    STATUS=CONVERGED    472 CALLS     2395 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.499        .24509E-06** at limit **
   2  norm          8.8963        14.891       -.23728E-05   -.90807E-03
   3  Prefactor     .10000E-03    1.2777        .21560E-06** at limit **
   4  Prefactor     .23801        2.9331       -.14429E-05   -.20503E-04
   5  norm          4.1298        6.9959        .34800E-06   -.96446E-04
   6  norm          .10000E-03    5.5378       -.20572E-06** at limit **
   7  Prefactor     102.98        70.458        .65001E-06    .17471E-04
   8  Prefactor     40.749        37.552        .10146E-04    .97095E-04
   9  norm          29.270        29.186       -.20396E-06    .66211E-06
  10  Prefactor     .10000E-03    38.620       -.20102E-04** at limit **
  11  Prefactor     21.861        67.037       -.20599E-04   -.19348E-05
  12  norm          11.553        2.9968        .21334E-06   -.14828E-04
  13  Prefactor     .10000E-03    42.742        .72031E-05** at limit **
  14  Prefactor     17.050        17.015        .57085E-07    .14109E-04
  15  Prefactor     .10000E-03    4.6370       -.33764E-06** at limit **
  16  Prefactor     .10000E-03    18.917        .17780E-05** at limit **
  17  Prefactor     .10000E-03    3.2029       -.22955E-06** at limit **
  18  Prefactor     .10000E-03    56.361        .40266E-04** at limit **
  19  Prefactor     .10000E-03    78.048       -.36107E-04** at limit **
  20  Prefactor     7.6236        5.3843        .11559E-05    .87105E-05
  21  Normalizat    1.2921        .23788        .55627E-06    .67491E-04
  22  Prefactor     .71380        .18478       -.41740E-06    .59649E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 8.89625
  Prefactor  = 0.0001
  Prefactor  = 0.23801
  norm       = 4.12977
  norm       = 0.0001
  Prefactor  = 102.981
  Prefactor  = 40.7491
  norm       = 29.2702
  Prefactor  = 0.0001
  Prefactor  = 21.8609
  norm       = 11.5534
  Prefactor  = 0.0001
  Prefactor  = 17.0498
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.62362
  Normalizat = 1.2921
  Prefactor  = 0.713799
 **********
 **   18 **HESSE 
 **********

 FCN=   4016.246     FROM HESSE     STATUS=OK           340 CALLS     2735 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.8963        15.132        .67188E-03   -1.5111    
   3  Prefactor     .10000E-03    1.2853        .69943E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .23801        13.143        .20301E-02   -1.5610    
   5  norm          4.1298        6.9843        .19836E-03   -1.5302    
   6  norm          .10000E-03    5.5692        .14555E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     102.98        70.487        .39622E-04   -1.3675    
   8  Prefactor     40.749        37.937        .62803E-04   -1.4430    
   9  norm          29.270        29.228        .74053E-04   -1.4625    
  10  Prefactor     .10000E-03    38.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     21.861        67.047        .85645E-04   -1.4773    
  12  norm          11.553        3.0049        .52431E-04   -1.5028    
  13  Prefactor     .10000E-03    42.794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.050        17.019        .96996E-04   -1.4882    
  15  Prefactor     .10000E-03    4.6600        .13324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    18.921        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.2048        .11077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    55.875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    77.688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.6236        5.3848        .12002E-03   -1.5156    
  21  Normalizat    1.2921        .27418        .25589E-03   -.83802    
  22  Prefactor     .71380        .21248        .26143E-03   -1.0299    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56418e-08
Minuit parameter uncertainties:
  1  3.72682e-06
  2  15.1387
  3  1.40097e-06
  4  3.53744
  5  6.9857
  6  3.19529e-05
  7  70.5441
  8  37.9592
  9  29.2425
  10  7.07361e-06
  11  67.2794
  12  3.00496
  13  6.71575e-05
  14  17.0234
  15  7.81853e-06
  16  8.82281e-06
  17  1.42586e-06
  18  4.25188e-05
  19  5.93251e-07
  20  5.38513
  21  0.274492
  22  0.212721
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  1.155e+01  3.005e+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:  7.138e-01  2.127e-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:  1.292e+00  2.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 50.71
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 3.24e-07 +/- 8.43e-08
Energy Flux (Fixed Index): 1.09e-04 +/- 2.84e-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) = 4016.03145526
delta logL = 0.214416671655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4016.02298667
delta logL = 0.222885259988

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.665       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0863       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3375       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69067       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=   4016.023     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      203 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.665        3.1784        .29323E-02   -.18002E-02
   2  alpha         2.0862        .29357        .16058       -.34974E-05
   3  Normalizat    1.3376        .23890        .57117E-01    .29996E-05
   4  Prefactor     .69067        .18374        .42277E-01    .12109E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.6653
  alpha      = 2.08623
  Normalizat = 1.33757
  Prefactor  = 0.690668
 **********
 **   18 **HESSE 
 **********

 FCN=   4016.023     FROM HESSE     STATUS=OK            31 CALLS      234 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.665        3.0812        .54443E-04   -1.5025    
   2  alpha         2.0862        .29316        .69030E-02   -.16627    
   3  Normalizat    1.3376        .27745        .25257E-03   -.82452    
   4  Prefactor     .69067        .21185        .26533E-03   -1.0389    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65669e-10
Minuit parameter uncertainties:
  1  3.08124
  2  0.293858
  3  0.277763
  4  0.212101
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/357741': 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) = 4016.02298664
delta logL = 0.222885293482

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  1.167e+01  3.081e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.086e+00  2.939e-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:  6.907e-01  2.121e-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:  1.338e+00  2.778e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 50.95
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.09 +/- 0.29
Photon Flux (Free Index): 2.81e-07 +/- 9.79e-08
Energy Flux (Free Index): 1.19e-04 +/- 3.70e-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/357741/cmap_HighResolution_430358401_430617601_4FGL_J0108.6+0134_daily_bin737.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.24e-07', energy_flux2='1.19e-04', photon_flux_error='8.43e-08', dlogl='2.23e-01', energy_flux='1.09e-04', photon_flux2='2.81e-07', job_status='DONE', time_completed='2021-08-13 13:15:39.322790', photon_index_error2='0.29', photon_index2='2.09', ts='50.71', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', energy_flux_error2='3.70e-05', EG='1.29', time_epoch_completed='1628885739.32', return_code='0', job_id='357741', GAL2='0.69', EG2='1.34', return_code2='0', energy_flux_error='2.84e-05', photon_flux_error2='9.79e-08', ts2='50.95', photon_index='2.28' WHERE bin_id='737' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:15:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0011>
Subject: Job 357741: <4FGL_J0108.6+0134_daily_bin737> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin737 17.1695 1.5819 430358401 430617601 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 :                                   621.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   781 sec.
    Turnaround time :                            874 sec.

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

