aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/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 88 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 = 17103
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0108.6+0134_weekly_bin187
RA = 17.1695, Dec = 1.5819
tmin = 352080001, tmax = 352684801
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='72841', job_status='RUN', time_executed='2021-07-03 16:19:16.525587', time_epoch_executed='1625354356.53' WHERE source_name='4FGL J0108.6+0134' and cadence='weekly' and bin_id='187'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/72841

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/72841/ft1_4FGL_J0108.6+0134_weekly_bin187.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/72841/ft2_4FGL_J0108.6+0134_weekly_bin187.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/72841/ft1_4FGL_J0108.6+0134_weekly_bin187.fits outfile=/scratch/kocevski/72841/ft1_filteredMKT_4FGL_J0108.6+0134_weekly_bin187.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=352080001.0 tmax=352684801.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 8.25
user 7.49
sys 0.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/72841/ft2_4FGL_J0108.6+0134_weekly_bin187.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/72841/ft1_filteredMKT_4FGL_J0108.6+0134_weekly_bin187.fits evtable="EVENTS" outfile="/scratch/kocevski/72841/ft1_filtered_4FGL_J0108.6+0134_weekly_bin187.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.11
user 0.37
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/72841/ft1_filtered_4FGL_J0108.6+0134_weekly_bin187.fits" evtable="EVENTS" scfile=/scratch/kocevski/72841/ft2_4FGL_J0108.6+0134_weekly_bin187.fits sctable="SC_DATA" outfile=/scratch/kocevski/72841/ltcube_352080001_352684801_4FGL_J0108.6+0134_weekly_bin187.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/72841/ft2_4FGL_J0108.6+0134_weekly_bin187.fits
.....................!
real 34.74
user 33.42
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/72841/ft1_filtered_4FGL_J0108.6+0134_weekly_bin187.fits evtable="EVENTS" scfile=/scratch/kocevski/72841/ft2_4FGL_J0108.6+0134_weekly_bin187.fits sctable="SC_DATA" expcube=/scratch/kocevski/72841/ltcube_352080001_352684801_4FGL_J0108.6+0134_weekly_bin187.fits outfile=/scratch/kocevski/72841/expmap_352080001_352684801_4FGL_J0108.6+0134_weekly_bin187.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/72841/ltcube_352080001_352684801_4FGL_J0108.6+0134_weekly_bin187.fits
.....................!
real 194.28
user 186.18
sys 4.44

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/72841/ft1_filtered_4FGL_J0108.6+0134_weekly_bin187.fits scfile=/scratch/kocevski/72841/ft2_4FGL_J0108.6+0134_weekly_bin187.fits outfile=/scratch/kocevski/72841/cmap_352080001_352684801_4FGL_J0108.6+0134_weekly_bin187.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 0.74
user 0.42
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/72841/ft1_filtered_4FGL_J0108.6+0134_weekly_bin187.fits scfile=/scratch/kocevski/72841/ft2_4FGL_J0108.6+0134_weekly_bin187.fits outfile=/scratch/kocevski/72841/cmap_HighResolution_352080001_352684801_4FGL_J0108.6+0134_weekly_bin187.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 0.73
user 0.42
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20306E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    26.114       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.2684       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.7630       1.0000         .10000E-03   10000.    
     6 'norm      '    6.1925       1.0000         .10000E-03   10000.    
     7 'Prefactor '    49.245       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.7284       1.0000         .10000E-03   10000.    
     9 'norm      '    7.3999       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10427E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .98067       1.0000         .10000E-03   10000.    
    12 'norm      '    1.7089       1.0000         .10000E-03   10000.    
    13 'Prefactor '    25.409       1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.798       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.7729       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .25235E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10160E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10904E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11177E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.4424       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0667       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97150       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=   11680.55     FROM MIGRAD    STATUS=CONVERGED    491 CALLS     2067 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10020E-03    12.145       -.44190E-05** at limit **
   2  norm          26.114        8.7525        .10746E-07    .14965E-03
   3  Prefactor     2.2679        1.5577        .99710E-07    .73235E-03
   4  Prefactor     .10000E-03    .70209        .40955E-06** at limit **
   5  norm          1.7671        3.4918        .21791E-05    .14349E-02
   6  norm          6.1947        4.6567        .25060E-06    .64921E-03
   7  Prefactor     49.170        31.833       -.12699E-05   -.15378E-03
   8  Prefactor     3.7064        31.990        .87705E-06    .14264E-03
   9  norm          7.4023        7.7891        .17812E-06    .17659E-03
  10  Prefactor     .10000E-03    16.394       -.32038E-06** at limit **
  11  Prefactor     .82823        35.654       -.37493E-05    .14828E-03
  12  norm          1.7084        .86903       -.16988E-07    .23589E-03
  13  Prefactor     25.438        29.086        .20580E-07   -.11243E-04
  14  Prefactor     13.798        8.7604       -.13595E-07   -.14385E-04
  15  Prefactor     2.7720        3.2454        .13415E-06    .22020E-03
  16  Prefactor     .10000E-03    43.514        .14432E-05** at limit **
  17  Prefactor     .10000E-03    9.4404       -.39876E-07** at limit **
  18  Prefactor     .10000E-03    17.426        .47358E-06** at limit **
  19  Prefactor     .10000E-03    26.546        .39624E-07** at limit **
  20  Prefactor     1.4424        1.8353        .11224E-06    .24026E-03
  21  Normalizat    1.0667        .13665        .64557E-07    .46551E-03
  22  Prefactor     .97144        .10923       -.22423E-06    .42371E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100199
  norm       = 26.1137
  Prefactor  = 2.26787
  Prefactor  = 0.0001
  norm       = 1.7671
  norm       = 6.19468
  Prefactor  = 49.1696
  Prefactor  = 3.70642
  norm       = 7.40228
  Prefactor  = 0.0001
  Prefactor  = 0.828232
  norm       = 1.7084
  Prefactor  = 25.4379
  Prefactor  = 13.798
  Prefactor  = 2.77197
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 1.44238
  Normalizat = 1.06671
  Prefactor  = 0.97144
 **********
 **   18 **HESSE 
 **********

 FCN=   11680.55     FROM HESSE     STATUS=OK           354 CALLS     2421 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10020E-03    27.155        .44160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          26.114        8.7550        .78392E-04   -1.4685    
   3  Prefactor     2.2679        1.5538        .10764E-03   -1.5407    
   4  Prefactor     .10000E-03    .70757        .88373E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.7671        3.6856        .28059E-03   -1.5442    
   6  norm          6.1947        4.6127        .16132E-03   -1.5210    
   7  Prefactor     49.170        32.080        .28572E-03   -1.4304    
   8  Prefactor     3.7064        31.896        .20912E-03   -1.5323    
   9  norm          7.4023        7.7947        .14744E-03   -1.5164    
  10  Prefactor     .10000E-03    16.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .82823        32.200        .16662       -1.5526    
  12  norm          1.7084        .86577        .67228E-04   -1.5447    
  13  Prefactor     25.438        29.052        .79470E-04   -1.4699    
  14  Prefactor     13.798        8.7618        .10783E-03   -1.4965    
  15  Prefactor     2.7720        3.2321        .19947E-03   -1.5375    
  16  Prefactor     .10000E-03    44.233        .21461E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.6995        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    17.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    26.562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.4424        1.8192        .16102E-03   -1.5468    
  21  Normalizat    1.0667        .15814        .26877E-03   -.90828    
  22  Prefactor     .97144        .12698        .23002E-03   -.93688    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09472e-08
Minuit parameter uncertainties:
  1  0.00464643
  2  8.75541
  3  1.55387
  4  1.64288e-05
  5  3.68607
  6  4.61292
  7  32.0912
  8  21.7613
  9  7.79577
  10  0.000125324
  11  10.3338
  12  0.865778
  13  29.0679
  14  8.76257
  15  3.23232
  16  0.000821666
  17  5.50837e-06
  18  0.00020386
  19  2.44741e-05
  20  1.8193
  21  0.158215
  22  0.127022
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  1.708e+00  8.658e-01  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.714e-01  1.270e-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  1.582e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.88
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 4.80e-08 +/- 2.43e-08
Energy Flux (Fixed Index): 1.61e-05 +/- 8.18e-06

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) = 11678.0480628
delta logL = 2.50432173282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11678.011838
delta logL = 2.54054650392

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .87281       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2415       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1035       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95535       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=   11678.01     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      222 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .87281        .51398        .11592E-01   -.26996E-03
   2  alpha         1.2415        .28647        .29737       -.80926E-04
   3  Normalizat    1.1035        .13155        .59891E-01    .16890E-04
   4  Prefactor     .95534        .10842        .45707E-01    .15167E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.872809
  alpha      = 1.2415
  Normalizat = 1.10353
  Prefactor  = 0.955344
 **********
 **   18 **HESSE 
 **********

 FCN=   11678.01     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .87281        .67841        .50659E-04   -1.5521    
   2  alpha         1.2415        .40035        .12264E-01   -.52753    
   3  Normalizat    1.1035        .15291        .26487E-03   -.89638    
   4  Prefactor     .95534        .12610        .23170E-03   -.94233    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65258e-09
Minuit parameter uncertainties:
  1  0.678418
  2  0.402683
  3  0.152975
  4  0.126138
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/72841': 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) = 11678.011838
delta logL = 2.54054651181

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  8.728e-01  6.784e-01  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  1.241e+00  4.027e-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.553e-01  1.261e-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.104e+00  1.530e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.95
Ra Dec: 17.169 1.582
Photon Index (Free Index): 1.24 +/- 0.40
Photon Flux (Free Index): 1.64e-08 +/- 1.14e-08
Energy Flux (Free Index): 3.86e-05 +/- 3.00e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.80e-08', energy_flux2='3.86e-05', photon_flux_error='2.43e-08', dlogl='2.54e+00', energy_flux='1.61e-05', photon_flux2='1.64e-08', job_status='DONE', time_completed='2021-07-03 16:33:04.167758', photon_index_error2='0.40', photon_index2='1.24', ts='11.88', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='3.00e-05', EG='1.07', time_epoch_completed='1625355184.17', return_code='0', job_id='72841', GAL2='0.96', EG2='1.10', return_code2='0', energy_flux_error='8.18e-06', photon_flux_error2='1.14e-08', ts2='16.95', photon_index='2.28' WHERE bin_id='187' AND source_name='4FGL J0108.6+0134' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 16:33:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0302>
Subject: Job 72841: <4FGL_J0108.6+0134_weekly_bin187> in cluster <slac> Done

Job <4FGL_J0108.6+0134_weekly_bin187> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Jul  3 16:16:42 2021
Job was executed on host(s) <bullet0302>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 16:16:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul  3 16:16:44 2021
Terminated at Sat Jul  3 16:33:05 2021
Results reported at Sat Jul  3 16:33:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_weekly_bin187 17.1695 1.5819 352080001 352684801 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 :                                   806.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             278.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   980 sec.
    Turnaround time :                            983 sec.

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

