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


Performing analysis on: 4FGL_J0108.6+0134_weekly_bin611
RA = 17.1695, Dec = 1.5819
tmin = 608515201, tmax = 609120001
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='74736', job_status='RUN', time_executed='2021-07-03 16:24:46.283502', time_epoch_executed='1625354686.28' WHERE source_name='4FGL J0108.6+0134' and cadence='weekly' and bin_id='611'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/74736

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/74736/ft1_4FGL_J0108.6+0134_weekly_bin611.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/74736/ft2_4FGL_J0108.6+0134_weekly_bin611.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/74736/ft1_4FGL_J0108.6+0134_weekly_bin611.fits outfile=/scratch/kocevski/74736/ft1_filteredMKT_4FGL_J0108.6+0134_weekly_bin611.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=608515201.0 tmax=609120001.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.31
user 7.43
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/74736/ft2_4FGL_J0108.6+0134_weekly_bin611.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/74736/ft1_filteredMKT_4FGL_J0108.6+0134_weekly_bin611.fits evtable="EVENTS" outfile="/scratch/kocevski/74736/ft1_filtered_4FGL_J0108.6+0134_weekly_bin611.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.30
user 0.39
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/74736/ft1_filtered_4FGL_J0108.6+0134_weekly_bin611.fits" evtable="EVENTS" scfile=/scratch/kocevski/74736/ft2_4FGL_J0108.6+0134_weekly_bin611.fits sctable="SC_DATA" outfile=/scratch/kocevski/74736/ltcube_608515201_609120001_4FGL_J0108.6+0134_weekly_bin611.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/74736/ft2_4FGL_J0108.6+0134_weekly_bin611.fits
.....................!
real 29.48
user 27.46
sys 0.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/74736/ft1_filtered_4FGL_J0108.6+0134_weekly_bin611.fits evtable="EVENTS" scfile=/scratch/kocevski/74736/ft2_4FGL_J0108.6+0134_weekly_bin611.fits sctable="SC_DATA" expcube=/scratch/kocevski/74736/ltcube_608515201_609120001_4FGL_J0108.6+0134_weekly_bin611.fits outfile=/scratch/kocevski/74736/expmap_608515201_609120001_4FGL_J0108.6+0134_weekly_bin611.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/74736/ltcube_608515201_609120001_4FGL_J0108.6+0134_weekly_bin611.fits
.....................!
real 199.20
user 189.51
sys 4.75

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/74736/ft1_filtered_4FGL_J0108.6+0134_weekly_bin611.fits scfile=/scratch/kocevski/74736/ft2_4FGL_J0108.6+0134_weekly_bin611.fits outfile=/scratch/kocevski/74736/cmap_608515201_609120001_4FGL_J0108.6+0134_weekly_bin611.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.23
user 0.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/74736/ft1_filtered_4FGL_J0108.6+0134_weekly_bin611.fits scfile=/scratch/kocevski/74736/ft2_4FGL_J0108.6+0134_weekly_bin611.fits outfile=/scratch/kocevski/74736/cmap_HighResolution_608515201_609120001_4FGL_J0108.6+0134_weekly_bin611.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.16
user 0.44
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10020E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.6220       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.3568       1.0000         .10000E-03   10000.    
     9 'norm      '    19.970       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.5460       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11486E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10370E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.1846       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .97597       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2002       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=   7039.439     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2022 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.4113       -.21502E-07** at limit **
   2  norm          .10000E-03    4.1787        .88926E-07** at limit **
   3  Prefactor     .10000E-03    1.1293        .53196E-07** at limit **
   4  Prefactor     .10000E-03    1.2346       -.33828E-06** at limit **
   5  norm          4.6221        2.8663       -.84165E-07   -.29964E-04
   6  norm          .10000E-03    1.2678       -.15309E-06** at limit **
   7  Prefactor     .10000E-03    7.9477       -.78259E-07** at limit **
   8  Prefactor     2.3395        49.713        .22907E-04   -.18132E-03
   9  norm          19.973        18.809        .92603E-07   -.61849E-05
  10  Prefactor     .10005E-03    121.43       -.16017E-04** at limit **
  11  Prefactor     .10001E-03    37.875       -.68527E-05** at limit **
  12  norm          6.5453        2.3980        .39294E-06   -.68344E-03
  13  Prefactor     .10001E-03    168.15       -.80020E-05** at limit **
  14  Prefactor     .10000E-03    17.432       -.32645E-06** at limit **
  15  Prefactor     .10000E-03    9.4625       -.16652E-06** at limit **
  16  Prefactor     .10000E-03    24.840        .21987E-05** at limit **
  17  Prefactor     .10000E-03    2.5723       -.10713E-07** at limit **
  18  Prefactor     .10003E-03    79.469        .11938E-04** at limit **
  19  Prefactor     .10001E-03    51.714        .49892E-05** at limit **
  20  Prefactor     2.1856        7.2086        .10929E-05   -.59936E-04
  21  Normalizat    .97577        .19496       -.16963E-05   -.11848E-04
  22  Prefactor     1.2001        .15479       -.58510E-06   -.41310E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.6221
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.3395
  norm       = 19.9733
  Prefactor  = 0.000100054
  Prefactor  = 0.00010001
  norm       = 6.54525
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.00010003
  Prefactor  = 0.000100005
  Prefactor  = 2.18556
  Normalizat = 0.975771
  Prefactor  = 1.20013
 **********
 **   18 **HESSE 
 **********

 FCN=   7039.439     FROM HESSE     STATUS=OK           334 CALLS     2356 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.4142        .12724E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.3656        .33492E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.1495        .87021E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.2665        .91119E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.6221        2.8679        .10899E-03   -1.5278    
   6  norm          .10000E-03    1.2743        .92274E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.9495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.3395        53.853        .13349E-02   -1.5402    
   9  norm          19.973        18.828        .89627E-04   -1.4814    
  10  Prefactor     .10005E-03    127.22        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    38.947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.5453        2.4061        .36954E-03   -1.5196    
  13  Prefactor     .10001E-03    172.51        .20669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    17.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.5676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    25.017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.5764        .13141E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10003E-03    82.751        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10001E-03    52.301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.1856        7.1953        .27850E-03   -1.5412    
  21  Normalizat    .97577        .23097        .31036E-03   -.93847    
  22  Prefactor     1.2001        .18412        .22760E-03   -.86327    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05568e-09
Minuit parameter uncertainties:
  1  5.41161e-07
  2  7.43774e-06
  3  2.09009e-06
  4  1.69888e-05
  5  2.86798
  6  7.76931e-06
  7  7.7251e-06
  8  22.4713
  9  18.8337
  10  0.00525565
  11  0.00126492
  12  2.40617
  13  0.00273825
  14  3.17807e-05
  15  7.65307e-06
  16  0.000317825
  17  1.29939e-07
  18  0.00314012
  19  0.00106673
  20  7.19814
  21  0.231202
  22  0.184223
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  6.545e+00  2.406e+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.200e+00  1.842e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  9.758e-01  2.312e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.21
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 1.84e-07 +/- 6.75e-08
Energy Flux (Fixed Index): 6.18e-05 +/- 2.27e-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) = 7039.21022419
delta logL = 0.228328342225

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7039.19303139
delta logL = 0.245521142715

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.2544       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9837       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0188       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1781       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=   7039.193     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      215 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.2562        2.4426        .40128E-02    .20403E-03
   2  alpha         1.9841        .34221        .28150       -.30869E-04
   3  Normalizat    1.0189        .19418        .68851E-01    .90675E-04
   4  Prefactor     1.1780        .15485        .51889E-01    .57744E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.25624
  alpha      = 1.98409
  Normalizat = 1.01894
  Prefactor  = 1.17797
 **********
 **   18 **HESSE 
 **********

 FCN=   7039.193     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.2562        2.5836        .75532E-04   -1.5208    
   2  alpha         1.9841        .41151        .10953E-01   -.20786    
   3  Normalizat    1.0189        .23479        .30460E-03   -.92398    
   4  Prefactor     1.1780        .18486        .22941E-03   -.87012    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.53334e-10
Minuit parameter uncertainties:
  1  2.58369
  2  0.413479
  3  0.235029
  4  0.184965
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/74736': 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) = 7039.19303054
delta logL = 0.245521991405

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  6.256e+00  2.584e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  1.984e+00  4.135e-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.178e+00  1.850e-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.019e+00  2.350e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.65
Ra Dec: 17.169 1.582
Photon Index (Free Index): 1.98 +/- 0.41
Photon Flux (Free Index): 1.41e-07 +/- 8.02e-08
Energy Flux (Free Index): 6.91e-05 +/- 2.95e-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/74736/cmap_HighResolution_608515201_609120001_4FGL_J0108.6+0134_weekly_bin611.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.84e-07', energy_flux2='6.91e-05', photon_flux_error='6.75e-08', dlogl='2.46e-01', energy_flux='6.18e-05', photon_flux2='1.41e-07', job_status='DONE', time_completed='2021-07-03 16:35:35.975129', photon_index_error2='0.41', photon_index2='1.98', ts='15.21', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='2.95e-05', EG='0.98', time_epoch_completed='1625355335.98', return_code='0', job_id='74736', GAL2='1.18', EG2='1.02', return_code2='0', energy_flux_error='2.27e-05', photon_flux_error2='8.02e-08', ts2='15.65', photon_index='2.28' WHERE bin_id='611' AND source_name='4FGL J0108.6+0134' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 16:35:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 74736: <4FGL_J0108.6+0134_weekly_bin611> in cluster <slac> Done

Job <4FGL_J0108.6+0134_weekly_bin611> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Jul  3 16:22:09 2021
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 16:22:10 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:22:10 2021
Terminated at Sat Jul  3 16:35:38 2021
Results reported at Sat Jul  3 16:35:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_weekly_bin611 17.1695 1.5819 608515201 609120001 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 :                                   619.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             286.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   807 sec.
    Turnaround time :                            809 sec.

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

