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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin593
RA = 17.1695, Dec = 1.5819
tmin = 393033601, tmax = 393292801
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='356220', job_status='RUN', time_executed='2021-08-13 13:01:33.975866', time_epoch_executed='1628884893.98' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='593'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/356220

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/356220/ft1_4FGL_J0108.6+0134_daily_bin593.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/356220/ft2_4FGL_J0108.6+0134_daily_bin593.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/356220/ft1_4FGL_J0108.6+0134_daily_bin593.fits outfile=/scratch/kocevski/356220/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin593.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=393033601.0 tmax=393292801.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.35
user 3.31
sys 1.74

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/356220/ft1_filtered_4FGL_J0108.6+0134_daily_bin593.fits" evtable="EVENTS" scfile=/scratch/kocevski/356220/ft2_4FGL_J0108.6+0134_daily_bin593.fits sctable="SC_DATA" outfile=/scratch/kocevski/356220/ltcube_393033601_393292801_4FGL_J0108.6+0134_daily_bin593.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/356220/ft2_4FGL_J0108.6+0134_daily_bin593.fits
.....................!
real 16.94
user 13.87
sys 2.10

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/356220/ft1_filtered_4FGL_J0108.6+0134_daily_bin593.fits evtable="EVENTS" scfile=/scratch/kocevski/356220/ft2_4FGL_J0108.6+0134_daily_bin593.fits sctable="SC_DATA" expcube=/scratch/kocevski/356220/ltcube_393033601_393292801_4FGL_J0108.6+0134_daily_bin593.fits outfile=/scratch/kocevski/356220/expmap_393033601_393292801_4FGL_J0108.6+0134_daily_bin593.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/356220/ltcube_393033601_393292801_4FGL_J0108.6+0134_daily_bin593.fits
.....................!
real 193.38
user 185.72
sys 6.84

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/356220/ft1_filtered_4FGL_J0108.6+0134_daily_bin593.fits scfile=/scratch/kocevski/356220/ft2_4FGL_J0108.6+0134_daily_bin593.fits outfile=/scratch/kocevski/356220/cmap_393033601_393292801_4FGL_J0108.6+0134_daily_bin593.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 2.48
user 0.38
sys 1.67

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/356220/ft1_filtered_4FGL_J0108.6+0134_daily_bin593.fits scfile=/scratch/kocevski/356220/ft2_4FGL_J0108.6+0134_daily_bin593.fits outfile=/scratch/kocevski/356220/cmap_HighResolution_393033601_393292801_4FGL_J0108.6+0134_daily_bin593.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.14
user 0.40
sys 1.66

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    9.4489       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.5788       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.0390       1.0000         .10000E-03   10000.    
     6 'norm      '    .72136       1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.116       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.0559       1.0000         .10000E-03   10000.    
     9 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.076       1.0000         .10000E-03   10000.    
    12 'norm      '    6.5318       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.983       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11359E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.954       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    105.85       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.0139       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0131       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1455       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=   6416.887     FROM MIGRAD    STATUS=CONVERGED    490 CALLS     2392 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.8817        .45921E-07** at limit **
   2  norm          9.4487        9.6361        .79139E-07    .63498E-04
   3  Prefactor     3.5789        2.7634        .48092E-07    .22584E-03
   4  Prefactor     .10000E-03    3.2964       -.99550E-06** at limit **
   5  norm          2.0388        6.0972        .25243E-05    .38523E-03
   6  norm          .72198        7.7725        .28037E-05   -.67920E-03
   7  Prefactor     26.111        46.625       -.25273E-05   -.70956E-04
   8  Prefactor     8.0346        39.519        .23405E-05    .84922E-05
   9  norm          .10000E-03    13.666        .20693E-06** at limit **
  10  Prefactor     .10000E-03    22.295       -.15905E-06** at limit **
  11  Prefactor     18.076        77.987       -.52762E-06    .10618E-04
  12  norm          6.5320        2.1325        .17210E-08    .51211E-03
  13  Prefactor     .10000E-03    25.422       -.17924E-06** at limit **
  14  Prefactor     10.983        13.010       -.58731E-07   -.61854E-05
  15  Prefactor     .10000E-03    5.5675       -.94677E-06** at limit **
  16  Prefactor     12.937        45.742       -.14151E-05   -.64905E-04
  17  Prefactor     .10000E-03    2.4606       -.15606E-06** at limit **
  18  Prefactor     .10000E-03    62.643        .31173E-06** at limit **
  19  Prefactor     105.85        84.157       -.94521E-07    .57771E-05
  20  Prefactor     4.0140        4.9914        .22201E-06    .26826E-03
  21  Normalizat    1.0131        .20379        .15671E-05    .28398E-03
  22  Prefactor     1.1456        .16069       -.72246E-06    .33935E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 9.44867
  Prefactor  = 3.57885
  Prefactor  = 0.000100001
  norm       = 2.03877
  norm       = 0.721978
  Prefactor  = 26.1114
  Prefactor  = 8.03462
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.0756
  norm       = 6.53198
  Prefactor  = 0.0001
  Prefactor  = 10.9829
  Prefactor  = 0.0001
  Prefactor  = 12.9369
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 105.847
  Prefactor  = 4.01398
  Normalizat = 1.01309
  Prefactor  = 1.14555
 **********
 **   18 **HESSE 
 **********

 FCN=   6416.887     FROM HESSE     STATUS=OK           346 CALLS     2738 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.8868        .15413E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          9.4487        9.6328        .13037E-03   -1.5093    
   3  Prefactor     3.5789        2.7595        .11163E-03   -1.5330    
   4  Prefactor     .10000E-03    3.5094        .28775E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.0388        6.3416        .28962E-03   -1.5422    
   6  norm          .72198        12.492        .28653E-02   -1.5538    
   7  Prefactor     26.111        46.675        .78389E-04   -1.4686    
   8  Prefactor     8.0346        39.353        .14126E-03   -1.5141    
   9  norm          .10000E-03    13.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    22.296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.076        78.065        .94205E-04   -1.4857    
  12  norm          6.5320        2.1173        .60636E-04   -1.5197    
  13  Prefactor     .10000E-03    25.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.983        13.012        .12089E-03   -1.5045    
  15  Prefactor     .10000E-03    19.414        .35271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.937        45.788        .11129E-03   -1.4988    
  17  Prefactor     .10000E-03    2.4632        .12274E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    62.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     105.85        84.174        .39087E-04   -1.3647    
  20  Prefactor     4.0140        4.9825        .19321E-03   -1.5307    
  21  Normalizat    1.0131        .23557        .30129E-03   -.92593    
  22  Prefactor     1.1456        .18545        .23236E-03   -.88024    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.08684e-09
Minuit parameter uncertainties:
  1  2.71918e-06
  2  9.63442
  3  2.75955
  4  0.000107931
  5  6.3437
  6  6.00745
  7  46.7408
  8  35.6006
  9  3.75565e-05
  10  9.08277e-05
  11  75.2949
  12  2.11736
  13  3.08041e-05
  14  13.0154
  15  0.000193317
  16  45.9127
  17  9.7483e-06
  18  7.35304e-05
  19  84.2696
  20  4.98296
  21  0.235809
  22  0.185554
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  6.532e+00  2.117e+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.146e+00  1.856e-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.013e+00  2.358e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 31.82
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 1.83e-07 +/- 5.94e-08
Energy Flux (Fixed Index): 6.17e-05 +/- 2.00e-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) = 6416.44551678
delta logL = 0.44105654666

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6416.42799266
delta logL = 0.45858066497

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0823       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9489       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0665       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1217       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=   6416.428     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      214 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0820        2.0235        .40699E-02    .16627E-03
   2  alpha         1.9488        .30062        .22632       -.27774E-04
   3  Normalizat    1.0665        .19648        .66664E-01    .12931E-04
   4  Prefactor     1.1217        .15780        .53063E-01    .49565E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.08205
  alpha      = 1.94881
  Normalizat = 1.06654
  Prefactor  = 1.12166
 **********
 **   18 **HESSE 
 **********

 FCN=   6416.428     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0820        2.2387        .63064E-04   -1.5215    
   2  alpha         1.9488        .34997        .94809E-02   -.22230    
   3  Normalizat    1.0665        .23239        .29492E-03   -.90833    
   4  Prefactor     1.1217        .18523        .23460E-03   -.88777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18839e-12
Minuit parameter uncertainties:
  1  2.23872
  2  0.351185
  3  0.232613
  4  0.185337
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/356220': 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) = 6416.42799264
delta logL = 0.458580679716

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  6.082e+00  2.239e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  1.949e+00  3.512e-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.122e+00  1.853e-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.067e+00  2.326e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 32.64
Ra Dec: 17.169 1.582
Photon Index (Free Index): 1.95 +/- 0.35
Photon Flux (Free Index): 1.34e-07 +/- 6.67e-08
Energy Flux (Free Index): 6.94e-05 +/- 2.61e-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/356220/cmap_HighResolution_393033601_393292801_4FGL_J0108.6+0134_daily_bin593.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.83e-07', energy_flux2='6.94e-05', photon_flux_error='5.94e-08', dlogl='4.59e-01', energy_flux='6.17e-05', photon_flux2='1.34e-07', job_status='DONE', time_completed='2021-08-13 13:11:42.637171', photon_index_error2='0.35', photon_index2='1.95', ts='31.82', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='2.61e-05', EG='1.01', time_epoch_completed='1628885502.64', return_code='0', job_id='356220', GAL2='1.12', EG2='1.07', return_code2='0', energy_flux_error='2.00e-05', photon_flux_error2='6.67e-08', ts2='32.64', photon_index='2.28' WHERE bin_id='593' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:11:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 356220: <4FGL_J0108.6+0134_daily_bin593> in cluster <slac> Done

Job <4FGL_J0108.6+0134_daily_bin593> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 12:55:32 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 12:59:17 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:59:17 2021
Terminated at Fri Aug 13 13:11:43 2021
Results reported at Fri Aug 13 13:11:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin593 17.1695 1.5819 393033601 393292801 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 :                                   623.00 sec.
    Max Memory :                                 1165 MB
    Average Memory :                             314.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   746 sec.
    Turnaround time :                            971 sec.

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

