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


Performing analysis on: 4FGL_J0108.6+0134_weekly_bin430
RA = 17.1695, Dec = 1.5819
tmin = 499046401, tmax = 499651201
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='73281', job_status='RUN', time_executed='2021-07-03 16:19:02.617975', time_epoch_executed='1625354342.62' WHERE source_name='4FGL J0108.6+0134' and cadence='weekly' and bin_id='430'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/73281

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/73281/ft1_4FGL_J0108.6+0134_weekly_bin430.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/73281/ft2_4FGL_J0108.6+0134_weekly_bin430.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/73281/ft1_4FGL_J0108.6+0134_weekly_bin430.fits outfile=/scratch/kocevski/73281/ft1_filteredMKT_4FGL_J0108.6+0134_weekly_bin430.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=499046401.0 tmax=499651201.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 11.11
user 10.29
sys 0.33

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/73281/ft1_filtered_4FGL_J0108.6+0134_weekly_bin430.fits" evtable="EVENTS" scfile=/scratch/kocevski/73281/ft2_4FGL_J0108.6+0134_weekly_bin430.fits sctable="SC_DATA" outfile=/scratch/kocevski/73281/ltcube_499046401_499651201_4FGL_J0108.6+0134_weekly_bin430.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/73281/ft2_4FGL_J0108.6+0134_weekly_bin430.fits
.....................!
real 27.28
user 26.57
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/73281/ft1_filtered_4FGL_J0108.6+0134_weekly_bin430.fits evtable="EVENTS" scfile=/scratch/kocevski/73281/ft2_4FGL_J0108.6+0134_weekly_bin430.fits sctable="SC_DATA" expcube=/scratch/kocevski/73281/ltcube_499046401_499651201_4FGL_J0108.6+0134_weekly_bin430.fits outfile=/scratch/kocevski/73281/expmap_499046401_499651201_4FGL_J0108.6+0134_weekly_bin430.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/73281/ltcube_499046401_499651201_4FGL_J0108.6+0134_weekly_bin430.fits
.....................!
real 196.33
user 186.23
sys 4.85

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/73281/ft1_filtered_4FGL_J0108.6+0134_weekly_bin430.fits scfile=/scratch/kocevski/73281/ft2_4FGL_J0108.6+0134_weekly_bin430.fits outfile=/scratch/kocevski/73281/cmap_499046401_499651201_4FGL_J0108.6+0134_weekly_bin430.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.63
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/73281/ft1_filtered_4FGL_J0108.6+0134_weekly_bin430.fits scfile=/scratch/kocevski/73281/ft2_4FGL_J0108.6+0134_weekly_bin430.fits outfile=/scratch/kocevski/73281/cmap_HighResolution_499046401_499651201_4FGL_J0108.6+0134_weekly_bin430.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.76
user 0.43
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .32690       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .85306       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.2178       1.0000         .10000E-03   10000.    
     5 'norm      '    20.013       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.8193       1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.779       1.0000         .10000E-03   10000.    
     9 'norm      '    10.891       1.0000         .10000E-03   10000.    
    10 'Prefactor '    63.798       1.0000         .10000E-03   10000.    
    11 'Prefactor '    52.491       1.0000         .10000E-03   10000.    
    12 'norm      '    15.103       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.001       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10736E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.1351       1.0000         .10000E-03   10000.    
    19 'Prefactor '    27.040       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.3675       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0969       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .88616       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=   6729.011     FROM MIGRAD    STATUS=CONVERGED    484 CALLS     2367 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.0918        .77225E-07** at limit **
   2  norm          .13789        6.0644       -.44088E-06    .21732E-03
   3  Prefactor     .85231        2.8023        .15170E-05   -.20323E-04
   4  Prefactor     4.2175        3.1908       -.94106E-08    .14727E-04
   5  norm          20.010        8.5270       -.25657E-06   -.18975E-04
   6  norm          .10000E-03    2.8123       -.29896E-07** at limit **
   7  Prefactor     1.8025        155.44        .32100E-05   -.17110E-05
   8  Prefactor     27.769        27.812        .14906E-07   -.12554E-04
   9  norm          10.890        12.884        .82618E-07   -.10557E-04
  10  Prefactor     63.778        56.426        .54769E-07   -.18481E-04
  11  Prefactor     52.465        65.792       -.39791E-06   -.22178E-04
  12  norm          15.102        2.6171       -.13887E-07   -.51622E-04
  13  Prefactor     13.996        28.314        .58349E-06    .60899E-05
  14  Prefactor     .10000E-03    5.6464       -.24402E-07** at limit **
  15  Prefactor     .10000E-03    4.8137       -.27839E-06** at limit **
  16  Prefactor     .10000E-03    10.300        .33416E-07** at limit **
  17  Prefactor     .10000E-03    3.3654        .65136E-07** at limit **
  18  Prefactor     9.0943        51.466       -.24401E-07   -.19176E-04
  19  Prefactor     27.015        54.430       -.28935E-07   -.13904E-04
  20  Prefactor     1.3664        3.3357        .84629E-06    .11232E-04
  21  Normalizat    1.0975        .19004        .30335E-06   -.65439E-04
  22  Prefactor     .88595        .15009       -.12573E-05    .13717E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.137885
  Prefactor  = 0.852309
  Prefactor  = 4.21754
  norm       = 20.0099
  norm       = 0.0001
  Prefactor  = 1.80249
  Prefactor  = 27.7689
  norm       = 10.8898
  Prefactor  = 63.7783
  Prefactor  = 52.4652
  norm       = 15.1015
  Prefactor  = 13.9955
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.09426
  Prefactor  = 27.0152
  Prefactor  = 1.36643
  Normalizat = 1.09748
  Prefactor  = 0.885955
 **********
 **   18 **HESSE 
 **********

 FCN=   6729.011     FROM HESSE     STATUS=OK           360 CALLS     2727 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.0998        .16206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .13789        12.801        .62930E-01   -1.5634    
   3  Prefactor     .85231        2.8329        .23343E-03   -1.5523    
   4  Prefactor     4.2175        3.1881        .12156E-03   -1.5297    
   5  norm          20.010        8.4222        .89532E-04   -1.4813    
   6  norm          .10000E-03    2.8335        .13424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.8025        154.86        .30960E-03   -1.5439    
   8  Prefactor     27.769        27.790        .76011E-04   -1.4654    
   9  norm          10.890        12.892        .12140E-03   -1.5048    
  10  Prefactor     63.778        56.436        .25121E-03   -1.4109    
  11  Prefactor     52.465        65.839        .55358E-04   -1.4258    
  12  norm          15.102        2.6032        .50847E-04   -1.4931    
  13  Prefactor     13.996        27.802        .10704E-03   -1.4960    
  14  Prefactor     .10000E-03    5.6534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    18.545        .33409E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.3828        .14698E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.0943        51.655        .13260E-03   -1.5105    
  19  Prefactor     27.015        54.453        .77040E-04   -1.4668    
  20  Prefactor     1.3664        3.3229        .22813E-03   -1.5474    
  21  Normalizat    1.0975        .21898        .27334E-03   -.89833    
  22  Prefactor     .88595        .17053        .24320E-03   -.96634    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52072e-09
Minuit parameter uncertainties:
  1  3.78116e-07
  2  2.65672
  3  2.83332
  4  3.18826
  5  8.42266
  6  3.53517e-06
  7  33.5032
  8  27.8033
  9  12.8958
  10  56.4832
  11  65.9302
  12  2.60318
  13  27.8276
  14  2.77478e-06
  15  0.000479996
  16  1.93781e-06
  17  2.17048e-06
  18  43.4049
  19  54.5532
  20  3.32333
  21  0.219161
  22  0.170634
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  1.510e+01  2.603e+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:  8.860e-01  1.706e-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.097e+00  2.192e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 103.45
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 4.24e-07 +/- 7.31e-08
Energy Flux (Fixed Index): 1.43e-04 +/- 2.46e-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) = 6728.75678232
delta logL = 0.254113527135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6728.72321399
delta logL = 0.287681864013

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.415       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4304       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0602       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90676       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=   6728.723     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      202 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.415        3.4815        .26374E-02    .62335E-02
   2  alpha         2.4305        .25434        .12213       -.23465E-04
   3  Normalizat    1.0602        .18591        .62658E-01   -.22873E-04
   4  Prefactor     .90677        .14790        .45091E-01   -.24939E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 14.4148
  alpha      = 2.43046
  Normalizat = 1.06018
  Prefactor  = 0.906765
 **********
 **   18 **HESSE 
 **********

 FCN=   6728.723     FROM HESSE     STATUS=OK            29 CALLS      231 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.415        2.6402        .48764E-04   -1.4948    
   2  alpha         2.4305        .19556        .53388E-03   -.27821E-01
   3  Normalizat    1.0602        .21699        .27714E-03   -.91041    
   4  Prefactor     .90677        .17202        .24073E-03   -.95905    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06196e-09
Minuit parameter uncertainties:
  1  2.64024
  2  0.195758
  3  0.217176
  4  0.172125
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/73281': 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) = 6728.72321397
delta logL = 0.287681884759

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  1.441e+01  2.640e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.430e+00  1.958e-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.068e-01  1.721e-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.060e+00  2.172e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 104.23
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.43 +/- 0.20
Photon Flux (Free Index): 4.59e-07 +/- 8.84e-08
Energy Flux (Free Index): 1.34e-04 +/- 2.43e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/73281/cmap_HighResolution_499046401_499651201_4FGL_J0108.6+0134_weekly_bin430.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.24e-07', energy_flux2='1.34e-04', photon_flux_error='7.31e-08', dlogl='2.88e-01', energy_flux='1.43e-04', photon_flux2='4.59e-07', job_status='DONE', time_completed='2021-07-03 16:30:17.089584', photon_index_error2='0.20', photon_index2='2.43', ts='103.45', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='2.43e-05', EG='1.10', time_epoch_completed='1625355017.09', return_code='0', job_id='73281', GAL2='0.91', EG2='1.06', return_code2='0', energy_flux_error='2.46e-05', photon_flux_error2='8.84e-08', ts2='104.23', photon_index='2.28' WHERE bin_id='430' AND source_name='4FGL J0108.6+0134' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 16:30:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 73281: <4FGL_J0108.6+0134_weekly_bin430> in cluster <slac> Done

Job <4FGL_J0108.6+0134_weekly_bin430> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Jul  3 16:17:29 2021
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 16:17:31 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:17:31 2021
Terminated at Sat Jul  3 16:30:20 2021
Results reported at Sat Jul  3 16:30:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_weekly_bin430 17.1695 1.5819 499046401 499651201 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 :                                   647.18 sec.
    Max Memory :                                 1208 MB
    Average Memory :                             320.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   769 sec.
    Turnaround time :                            771 sec.

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

