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


Performing analysis on: 4FGL_J0108.6+0134_weekly_bin582
RA = 17.1695, Dec = 1.5819
tmin = 590976001, tmax = 591580801
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='74689', job_status='RUN', time_executed='2021-07-03 16:28:40.667004', time_epoch_executed='1625354920.67' WHERE source_name='4FGL J0108.6+0134' and cadence='weekly' and bin_id='582'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/74689

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/74689/ft1_4FGL_J0108.6+0134_weekly_bin582.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/74689/ft2_4FGL_J0108.6+0134_weekly_bin582.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/74689/ft1_4FGL_J0108.6+0134_weekly_bin582.fits outfile=/scratch/kocevski/74689/ft1_filteredMKT_4FGL_J0108.6+0134_weekly_bin582.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=590976001.0 tmax=591580801.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.38
user 6.73
sys 0.29

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/74689/ft1_filtered_4FGL_J0108.6+0134_weekly_bin582.fits" evtable="EVENTS" scfile=/scratch/kocevski/74689/ft2_4FGL_J0108.6+0134_weekly_bin582.fits sctable="SC_DATA" outfile=/scratch/kocevski/74689/ltcube_590976001_591580801_4FGL_J0108.6+0134_weekly_bin582.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/74689/ft2_4FGL_J0108.6+0134_weekly_bin582.fits
.....................!
real 30.14
user 28.57
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/74689/ft1_filtered_4FGL_J0108.6+0134_weekly_bin582.fits evtable="EVENTS" scfile=/scratch/kocevski/74689/ft2_4FGL_J0108.6+0134_weekly_bin582.fits sctable="SC_DATA" expcube=/scratch/kocevski/74689/ltcube_590976001_591580801_4FGL_J0108.6+0134_weekly_bin582.fits outfile=/scratch/kocevski/74689/expmap_590976001_591580801_4FGL_J0108.6+0134_weekly_bin582.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/74689/ltcube_590976001_591580801_4FGL_J0108.6+0134_weekly_bin582.fits
.....................!
real 196.74
user 185.56
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/74689/ft1_filtered_4FGL_J0108.6+0134_weekly_bin582.fits scfile=/scratch/kocevski/74689/ft2_4FGL_J0108.6+0134_weekly_bin582.fits outfile=/scratch/kocevski/74689/cmap_590976001_591580801_4FGL_J0108.6+0134_weekly_bin582.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.68
user 0.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/74689/ft1_filtered_4FGL_J0108.6+0134_weekly_bin582.fits scfile=/scratch/kocevski/74689/ft2_4FGL_J0108.6+0134_weekly_bin582.fits outfile=/scratch/kocevski/74689/cmap_HighResolution_590976001_591580801_4FGL_J0108.6+0134_weekly_bin582.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.79
user 0.43
sys 0.19

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    19.461       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.7236       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    20.418       1.0000         .10000E-03   10000.    
     6 'norm      '    9.3522       1.0000         .10000E-03   10000.    
     7 'Prefactor '    37.062       1.0000         .10000E-03   10000.    
     8 'Prefactor '    30.556       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    155.59       1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10340E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.527       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    27.217       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.0883       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .59741       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .71040       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=   1977.163     FROM MIGRAD    STATUS=CONVERGED    460 CALLS     2784 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.024       -.10017E-04** at limit **
   2  norm          19.460        17.940       -.28585E-05    .25585E-04
   3  Prefactor     6.7233        5.3870        .14962E-06    .97809E-04
   4  Prefactor     .10000E-03    1.9282       -.39591E-07** at limit **
   5  norm          20.418        10.811       -.58142E-06    .20968E-06
   6  norm          9.3518        8.5063        .79115E-07   -.23708E-05
   7  Prefactor     37.061        41.486       -.82302E-06    .45753E-06
   8  Prefactor     30.542        44.881       -.19305E-04   -.21575E-04
   9  norm          .10000E-03    31.119       -.17422E-04** at limit **
  10  Prefactor     .10000E-03    80.323       -.51830E-04** at limit **
  11  Prefactor     155.62        189.46        .18187E-04    .74832E-04
  12  norm          .10000E-03    1.2468       -.11421E-06** at limit **
  13  Prefactor     .10000E-03    64.731        .50095E-04** at limit **
  14  Prefactor     19.526        19.765       -.39562E-06    .40974E-04
  15  Prefactor     .10000E-03    13.196        .10095E-04** at limit **
  16  Prefactor     27.222        61.077        .48014E-05    .80075E-05
  17  Prefactor     .10000E-03    6.4531       -.39382E-06** at limit **
  18  Prefactor     5.9156        326.38       -.63845E-03    .93030E-04
  19  Prefactor     .10000E-03    34.176        .12008E-04** at limit **
  20  Prefactor     .10000E-03    2.4265       -.53655E-07** at limit **
  21  Normalizat    .59737        .26093        .10476E-04    .24634E-03
  22  Prefactor     .71044        .20214        .13263E-04    .16894E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 19.4603
  Prefactor  = 6.72334
  Prefactor  = 0.0001
  norm       = 20.4175
  norm       = 9.35183
  Prefactor  = 37.0614
  Prefactor  = 30.5417
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 155.615
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 19.5264
  Prefactor  = 0.000100001
  Prefactor  = 27.2219
  Prefactor  = 0.0001
  Prefactor  = 5.9156
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.59737
  Prefactor  = 0.710441
 **********
 **   18 **HESSE 
 **********

 FCN=   1977.163     FROM HESSE     STATUS=OK           338 CALLS     3122 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.045        .15678E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          19.460        17.941        .90792E-04   -1.4825    
   3  Prefactor     6.7233        5.3883        .87800E-04   -1.5189    
   4  Prefactor     .10000E-03    1.9420        .60269E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          20.418        10.813        .88641E-04   -1.4804    
   6  norm          9.3518        8.4985        .11595E-03   -1.5096    
   7  Prefactor     37.061        41.489        .65833E-04   -1.4490    
   8  Prefactor     30.542        44.895        .72483E-04   -1.4602    
   9  norm          .10000E-03    31.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    80.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     155.62        190.58        .32320E-04   -1.3207    
  12  norm          .10000E-03    1.2567        .48304E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    64.927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.526        19.767        .90638E-04   -1.4824    
  15  Prefactor     .10000E-03    13.387        .15759E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     27.222        61.236        .76790E-04   -1.4664    
  17  Prefactor     .10000E-03    6.4687        .11029E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.9156        332.71        .16272E-03   -1.5221    
  19  Prefactor     .10000E-03    34.179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.4294        .67647E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .59737        .30690        .26119E-03   -1.0810    
  22  Prefactor     .71044        .23773        .19460E-03   -1.0312    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10725e-09
Minuit parameter uncertainties:
  1  6.83636e-05
  2  17.9457
  3  5.38868
  4  3.50723e-08
  5  10.8136
  6  8.49955
  7  41.5214
  8  44.9451
  9  0.000230583
  10  0.000262147
  11  191.338
  12  8.69544e-06
  13  0.000688147
  14  19.7739
  15  0.000269597
  16  61.3774
  17  0.000103983
  18  89.2545
  19  7.32261e-05
  20  1.88763e-09
  21  0.307782
  22  0.238075
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  1.000e-04  8.695e-06  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:  7.104e-01  2.381e-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:  5.974e-01  3.078e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 17.169 1.582
Photon Flux Upper Limit: 1.47e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.95e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/74689/likelihoodResults_590976001_591580801_4FGL_J0108.6+0134_weekly_bin582.txt

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) = 1977.16621371
delta logL = -0.0036710335919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1977.16254174
delta logL = 9.32876446313e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10175E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5126       1.0000          .0000       5.0000    
     3 'Normalizat'    .59736       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71050       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1977.163     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      264 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.3444        .98289E-04** at limit **
   2  alpha         2.8838        3.4609        .16461        .16196E-07
   3  Normalizat    .59736        .28591        .26118E-03   -.36590E-03
   4  Prefactor     .71045        .23338        .19460E-03   -.51467E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.88381
  Normalizat = 0.597359
  Prefactor  = 0.710446
 **********
 **   18 **HESSE 
 **********

 FCN=   1977.163     FROM HESSE     STATUS=OK            23 CALLS      287 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.3432        .19658E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.8838        3.9099        .65844E-02    .15413    
   3  Normalizat    .59736        .28612        .52237E-04   -1.0810    
   4  Prefactor     .71045        .23356        .38920E-04   -1.0312    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52048e-10
Minuit parameter uncertainties:
  1  5.0211e-07
  2  314.136
  3  0.286827
  4  0.23388
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/74689': 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) = 1977.16254012
delta logL = 2.5618055588e-06

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  1.000e-04  5.021e-07  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.884e+00  3.141e+02  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:  7.104e-01  2.339e-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:  5.974e-01  2.868e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 17.169 1.582

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/74689/cmap_HighResolution_590976001_591580801_4FGL_J0108.6+0134_weekly_bin582.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.95e-05', job_status='DONE', photon_flux_upper_limit='1.47e-07', time_completed='2021-07-03 16:36:55.192288', job_id='74689', GAL2='0.71', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1625355415.19', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.56e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='582' AND source_name='4FGL J0108.6+0134' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 16:36:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0012>
Subject: Job 74689: <4FGL_J0108.6+0134_weekly_bin582> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_weekly_bin582 17.1695 1.5819 590976001 591580801 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 :                                   462.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             193.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   891 sec.
    Turnaround time :                            894 sec.

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

