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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin564
RA = 17.1695, Dec = 1.5819
tmin = 385516801, tmax = 385776001
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='356166', job_status='RUN', time_executed='2021-08-13 13:01:36.061511', time_epoch_executed='1628884896.06' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='564'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/356166

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/356166/ft1_4FGL_J0108.6+0134_daily_bin564.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/356166/ft2_4FGL_J0108.6+0134_daily_bin564.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/356166/ft1_4FGL_J0108.6+0134_daily_bin564.fits outfile=/scratch/kocevski/356166/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin564.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=385516801.0 tmax=385776001.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 6.45
user 4.37
sys 0.92

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/356166/ft1_filtered_4FGL_J0108.6+0134_daily_bin564.fits" evtable="EVENTS" scfile=/scratch/kocevski/356166/ft2_4FGL_J0108.6+0134_daily_bin564.fits sctable="SC_DATA" outfile=/scratch/kocevski/356166/ltcube_385516801_385776001_4FGL_J0108.6+0134_daily_bin564.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/356166/ft2_4FGL_J0108.6+0134_daily_bin564.fits
.....................!
real 15.71
user 14.01
sys 1.13

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/356166/ft1_filtered_4FGL_J0108.6+0134_daily_bin564.fits evtable="EVENTS" scfile=/scratch/kocevski/356166/ft2_4FGL_J0108.6+0134_daily_bin564.fits sctable="SC_DATA" expcube=/scratch/kocevski/356166/ltcube_385516801_385776001_4FGL_J0108.6+0134_daily_bin564.fits outfile=/scratch/kocevski/356166/expmap_385516801_385776001_4FGL_J0108.6+0134_daily_bin564.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/356166/ltcube_385516801_385776001_4FGL_J0108.6+0134_daily_bin564.fits
.....................!
real 193.29
user 186.68
sys 5.69

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/356166/ft1_filtered_4FGL_J0108.6+0134_daily_bin564.fits scfile=/scratch/kocevski/356166/ft2_4FGL_J0108.6+0134_daily_bin564.fits outfile=/scratch/kocevski/356166/cmap_385516801_385776001_4FGL_J0108.6+0134_daily_bin564.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.71
user 0.39
sys 0.83

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/356166/ft1_filtered_4FGL_J0108.6+0134_daily_bin564.fits scfile=/scratch/kocevski/356166/ft2_4FGL_J0108.6+0134_daily_bin564.fits outfile=/scratch/kocevski/356166/cmap_HighResolution_385516801_385776001_4FGL_J0108.6+0134_daily_bin564.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 1.28
user 0.39
sys 0.86

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    51.857       1.0000         .10000E-03   10000.    
     2 'norm      '    15.809       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.2629       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10054E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .58354       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .14658E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    59.745       1.0000         .10000E-03   10000.    
     9 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13083E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10727E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.8846       1.0000         .10000E-03   10000.    
    13 'Prefactor '    51.719       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.983       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12950E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    63.957       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .23450E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .19881E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11798E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .81125       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2444       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=   5647.868     FROM MIGRAD    STATUS=CONVERGED    490 CALLS     2378 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.859        22.271       -.26784E-06    .22443E-04
   2  norm          15.811        12.496       -.23255E-06    .15601E-04
   3  Prefactor     2.2637        2.4615       -.34996E-06   -.67027E-04
   4  Prefactor     .10000E-03    1.5901       -.23042E-06** at limit **
   5  norm          .10000E-03    2.2122       -.86439E-07** at limit **
   6  norm          .56808        7.9752       -.61132E-05   -.53022E-03
   7  Prefactor     .10000E-03    17.562       -.28278E-06** at limit **
   8  Prefactor     59.750        39.020        .10442E-05    .16954E-04
   9  norm          .10000E-03    4.0685        .38994E-08** at limit **
  10  Prefactor     .10000E-03    64.665       -.19640E-05** at limit **
  11  Prefactor     .10000E-03    41.868       -.16182E-05** at limit **
  12  norm          6.8846        2.0324       -.20639E-07    .26828E-03
  13  Prefactor     51.741        52.701       -.83439E-06    .53790E-04
  14  Prefactor     12.975        21.131       -.13650E-05    .50742E-05
  15  Prefactor     .10000E-03    7.8852       -.19479E-05** at limit **
  16  Prefactor     63.986        56.817       -.15344E-05   -.12086E-04
  17  Prefactor     .10000E-03    3.6343       -.57966E-06** at limit **
  18  Prefactor     .10000E-03    170.00        .24515E-04** at limit **
  19  Prefactor     .10000E-03    75.824        .39027E-06** at limit **
  20  Prefactor     .10003E-03    25.616       -.13714E-04** at limit **
  21  Normalizat    .81104        .22569        .84474E-06    .17272E-03
  22  Prefactor     1.2444        .17851        .14139E-05    .26111E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.8588
  norm       = 15.8108
  Prefactor  = 2.26366
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.568083
  Prefactor  = 0.0001
  Prefactor  = 59.7503
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.8846
  Prefactor  = 51.7405
  Prefactor  = 12.975
  Prefactor  = 0.0001
  Prefactor  = 63.9864
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000100032
  Normalizat = 0.811043
  Prefactor  = 1.24437
 **********
 **   18 **HESSE 
 **********

 FCN=   5647.868     FROM HESSE     STATUS=OK           342 CALLS     2720 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.859        22.336        .55694E-04   -1.4266    
   2  norm          15.811        12.499        .10073E-03   -1.4913    
   3  Prefactor     2.2637        2.4538        .11793E-03   -1.5407    
   4  Prefactor     .10000E-03    1.6099        .92527E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.2136        .10916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .56808        17.015        .28897E-02   -1.5557    
   7  Prefactor     .10000E-03    17.565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     59.750        38.654        .51907E-04   -1.4160    
   9  norm          .10000E-03    4.0688        .14805E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    65.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    42.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.8846        2.0323        .55636E-04   -1.5183    
  13  Prefactor     51.741        52.640        .55768E-04   -1.4268    
  14  Prefactor     12.975        21.155        .11117E-03   -1.4987    
  15  Prefactor     .10000E-03    8.2520        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     63.986        56.952        .50179E-04   -1.4106    
  17  Prefactor     .10000E-03    3.6426        .14000E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    168.17        .40161E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    75.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10003E-03    33.373        .32175E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .81104        .26202        .32839E-03   -.99660    
  22  Prefactor     1.2444        .21068        .22558E-03   -.84977    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.6005e-09
Minuit parameter uncertainties:
  1  22.34
  2  12.5012
  3  2.45391
  4  1.15769e-05
  5  5.09868e-06
  6  6.21946
  7  2.19962e-05
  8  38.6707
  9  2.37262e-06
  10  0.000214693
  11  0.000184308
  12  2.03236
  13  52.687
  14  21.1674
  15  2.04185e-05
  16  57.0007
  17  8.93817e-06
  18  0.00109372
  19  2.31605e-05
  20  0.00208302
  21  0.262428
  22  0.210821
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  6.885e+00  2.032e+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.244e+00  2.108e-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.110e-01  2.624e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 32.66
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 1.93e-07 +/- 5.70e-08
Energy Flux (Fixed Index): 6.50e-05 +/- 1.92e-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) = 5647.27720561
delta logL = 0.590826424101

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5647.27187182
delta logL = 0.596160208037

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.1716       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9825       1.0000          .0000       5.0000    
     3 'Normalizat'    .84574       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2259       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=   5647.272     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      208 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.1716        2.2422        .37447E-02    .44643E-02
   2  alpha         1.9824        .27169        .18071       -.53675E-05
   3  Normalizat    .84573        .21281        .72843E-01    .23861E-04
   4  Prefactor     1.2258        .17651        .51357E-01   -.30784E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 7.17163
  alpha      = 1.98241
  Normalizat = 0.845731
  Prefactor  = 1.2258
 **********
 **   18 **HESSE 
 **********

 FCN=   5647.272     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.1716        2.1637        .58354E-04   -1.5172    
   2  alpha         1.9824        .26907        .77817E-02   -.20854    
   3  Normalizat    .84573        .25031        .32235E-03   -.98394    
   4  Prefactor     1.2258        .20767        .22705E-03   -.85541    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28771e-09
Minuit parameter uncertainties:
  1  2.16376
  2  0.269612
  3  0.250654
  4  0.207814
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/356166': 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) = 5647.27187159
delta logL = 0.59616044288

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  7.172e+00  2.164e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  1.982e+00  2.696e-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.226e+00  2.078e-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.457e-01  2.507e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 33.72
Ra Dec: 17.169 1.582
Photon Index (Free Index): 1.98 +/- 0.27
Photon Flux (Free Index): 1.61e-07 +/- 5.73e-08
Energy Flux (Free Index): 7.93e-05 +/- 2.94e-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/356166/cmap_HighResolution_385516801_385776001_4FGL_J0108.6+0134_daily_bin564.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.93e-07', energy_flux2='7.93e-05', photon_flux_error='5.70e-08', dlogl='5.96e-01', energy_flux='6.50e-05', photon_flux2='1.61e-07', job_status='DONE', time_completed='2021-08-13 13:11:17.602456', photon_index_error2='0.27', photon_index2='1.98', ts='32.66', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', energy_flux_error2='2.94e-05', EG='0.81', time_epoch_completed='1628885477.6', return_code='0', job_id='356166', GAL2='1.23', EG2='0.85', return_code2='0', energy_flux_error='1.92e-05', photon_flux_error2='5.73e-08', ts2='33.72', photon_index='2.28' WHERE bin_id='564' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:11:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 356166: <4FGL_J0108.6+0134_daily_bin564> in cluster <slac> Done

Job <4FGL_J0108.6+0134_daily_bin564> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 12:55:30 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 12:58:55 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 12:58:55 2021
Terminated at Fri Aug 13 13:11:18 2021
Results reported at Fri Aug 13 13:11:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin564 17.1695 1.5819 385516801 385776001 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 :                                   580.39 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             228.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   743 sec.
    Turnaround time :                            948 sec.

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

