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


Performing analysis on: 4FGL_J0108.6+0134_weekly_bin279
RA = 17.1695, Dec = 1.5819
tmin = 407721601, tmax = 408326401
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='72984', job_status='RUN', time_executed='2021-07-03 16:17:28.152638', time_epoch_executed='1625354248.15' WHERE source_name='4FGL J0108.6+0134' and cadence='weekly' and bin_id='279'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/72984

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/72984/ft1_4FGL_J0108.6+0134_weekly_bin279.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/72984/ft2_4FGL_J0108.6+0134_weekly_bin279.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/72984/ft1_4FGL_J0108.6+0134_weekly_bin279.fits outfile=/scratch/kocevski/72984/ft1_filteredMKT_4FGL_J0108.6+0134_weekly_bin279.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=407721601.0 tmax=408326401.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.61
user 8.15
sys 0.31

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/72984/ft1_filtered_4FGL_J0108.6+0134_weekly_bin279.fits" evtable="EVENTS" scfile=/scratch/kocevski/72984/ft2_4FGL_J0108.6+0134_weekly_bin279.fits sctable="SC_DATA" outfile=/scratch/kocevski/72984/ltcube_407721601_408326401_4FGL_J0108.6+0134_weekly_bin279.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/72984/ft2_4FGL_J0108.6+0134_weekly_bin279.fits
.....................!
real 26.87
user 25.97
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/72984/ft1_filtered_4FGL_J0108.6+0134_weekly_bin279.fits evtable="EVENTS" scfile=/scratch/kocevski/72984/ft2_4FGL_J0108.6+0134_weekly_bin279.fits sctable="SC_DATA" expcube=/scratch/kocevski/72984/ltcube_407721601_408326401_4FGL_J0108.6+0134_weekly_bin279.fits outfile=/scratch/kocevski/72984/expmap_407721601_408326401_4FGL_J0108.6+0134_weekly_bin279.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/72984/ltcube_407721601_408326401_4FGL_J0108.6+0134_weekly_bin279.fits
.....................!
real 194.17
user 185.08
sys 5.73

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/72984/ft1_filtered_4FGL_J0108.6+0134_weekly_bin279.fits scfile=/scratch/kocevski/72984/ft2_4FGL_J0108.6+0134_weekly_bin279.fits outfile=/scratch/kocevski/72984/cmap_407721601_408326401_4FGL_J0108.6+0134_weekly_bin279.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.82
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/72984/ft1_filtered_4FGL_J0108.6+0134_weekly_bin279.fits scfile=/scratch/kocevski/72984/ft2_4FGL_J0108.6+0134_weekly_bin279.fits outfile=/scratch/kocevski/72984/cmap_HighResolution_407721601_408326401_4FGL_J0108.6+0134_weekly_bin279.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.82
user 0.42
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39495       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10170E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .34604E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10287E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.9375       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .24081E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    37.104       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.753       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .13456E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.8768       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .72212       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1293       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=   4386.109     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2367 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41040        10.424       -.99506E-06   -.19444E-03
   2  norm          .10000E-03    7.3117        .57270E-07** at limit **
   3  Prefactor     .10000E-03    1.3660        .93767E-07** at limit **
   4  Prefactor     .10000E-03    1.4257        .45326E-07** at limit **
   5  norm          .10000E-03    2.9887        .61913E-07** at limit **
   6  norm          .10000E-03    2.6109        .21336E-06** at limit **
   7  Prefactor     .10000E-03    15.782       -.19183E-05** at limit **
   8  Prefactor     .10009E-03    202.28       -.12827E-03** at limit **
   9  norm          .10000E-03    8.2535        .22864E-06** at limit **
  10  Prefactor     .10000E-03    38.234       -.42201E-04** at limit **
  11  Prefactor     .10000E-03    28.289        .10633E-04** at limit **
  12  norm          6.9385        2.2756       -.78732E-07    .13058E-03
  13  Prefactor     .10000E-03    120.41        .21705E-04** at limit **
  14  Prefactor     37.097        25.527       -.92212E-06    .61722E-04
  15  Prefactor     .10000E-03    13.643        .39059E-06** at limit **
  16  Prefactor     13.724        37.914       -.27851E-04    .38154E-04
  17  Prefactor     .10000E-03    3.4284        .13814E-06** at limit **
  18  Prefactor     .10000E-03    28.789        .46922E-05** at limit **
  19  Prefactor     .10000E-03    54.371        .45445E-04** at limit **
  20  Prefactor     8.8801        6.9008       -.17802E-05   -.85095E-04
  21  Normalizat    .72193        .21015        .36737E-05    .42890E-03
  22  Prefactor     1.1292        .17280        .38162E-06    .75443E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.410404
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100091
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.9385
  Prefactor  = 0.0001
  Prefactor  = 37.0968
  Prefactor  = 0.0001
  Prefactor  = 13.7236
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.88013
  Normalizat = 0.721928
  Prefactor  = 1.12921
 **********
 **   18 **HESSE 
 **********

 FCN=   4386.109     FROM HESSE     STATUS=OK           332 CALLS     2699 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .41040        57.269        .41343E-02   -1.5580    
   2  norm          .10000E-03    7.3650        .17488E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.3978        .75541E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.4388        .77202E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.0189        .11181E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.6203        .10450E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10009E-03    204.61        .39337E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    8.2593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    38.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    28.297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.9385        2.2769        .54319E-04   -1.5181    
  13  Prefactor     .10000E-03    123.37        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     37.097        25.539        .65796E-04   -1.4489    
  15  Prefactor     .10000E-03    14.062        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.724        37.984        .10801E-03   -1.4967    
  17  Prefactor     .10000E-03    3.4372        .11975E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    28.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    54.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.8801        6.9104        .13453E-03   -1.5112    
  21  Normalizat    .72193        .23938        .29533E-03   -1.0303    
  22  Prefactor     1.1292        .19790        .20268E-03   -.88538    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71318e-09
Minuit parameter uncertainties:
  1  9.70433
  2  1.92327e-05
  3  7.41353e-06
  4  8.85831e-06
  5  3.52828e-06
  6  1.45916e-05
  7  9.51682e-06
  8  0.00866719
  9  7.69188e-06
  10  1.35663e-05
  11  1.75062e-05
  12  2.27691
  13  0.000432433
  14  25.5466
  15  5.4812e-05
  16  38.0513
  17  2.39441e-05
  18  2.85304e-05
  19  4.20674e-05
  20  6.91097
  21  0.239729
  22  0.198025
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  6.939e+00  2.277e+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.129e+00  1.980e-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:  7.219e-01  2.397e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 24.84
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 1.95e-07 +/- 6.39e-08
Energy Flux (Fixed Index): 6.55e-05 +/- 2.15e-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) = 4386.1068845
delta logL = 0.00175210075304

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4386.10663681
delta logL = 0.00199979828813

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.9031       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3074       1.0000          .0000       5.0000    
     3 'Normalizat'    .71876       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1309       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=   4386.107     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      196 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.9031        3.9110        .38175E-02    .12460E-02
   2  alpha         2.3074        .58073        .19829        .15019E-04
   3  Normalizat    .71871        .21130        .66876E-01    .16712E-04
   4  Prefactor     1.1310        .17548        .36514E-01    .71846E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 6.90315
  alpha      = 2.30736
  Normalizat = 0.718709
  Prefactor  = 1.131
 **********
 **   18 **HESSE 
 **********

 FCN=   4386.107     FROM HESSE     STATUS=OK            29 CALLS      225 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.9031        2.3448        .53991E-04   -1.5182    
   2  alpha         2.3074        .36454        .84099E-02   -.77131E-01
   3  Normalizat    .71871        .24128        .29591E-03   -1.0316    
   4  Prefactor     1.1310        .19981        .20254E-03   -.88482    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41487e-10
Minuit parameter uncertainties:
  1  2.34479
  2  0.365847
  3  0.241636
  4  0.19994
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/72984': 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) = 4386.10663676
delta logL = 0.00199984327901

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  6.903e+00  2.345e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.307e+00  3.658e-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.131e+00  1.999e-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:  7.187e-01  2.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 24.79
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.31 +/- 0.37
Photon Flux (Free Index): 1.98e-07 +/- 7.70e-08
Energy Flux (Free Index): 6.49e-05 +/- 2.35e-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/72984/cmap_HighResolution_407721601_408326401_4FGL_J0108.6+0134_weekly_bin279.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.95e-07', energy_flux2='6.49e-05', photon_flux_error='6.39e-08', dlogl='2.00e-03', energy_flux='6.55e-05', photon_flux2='1.98e-07', job_status='DONE', time_completed='2021-07-03 16:26:40.096432', photon_index_error2='0.37', photon_index2='2.31', ts='24.84', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='2.35e-05', EG='0.72', time_epoch_completed='1625354800.1', return_code='0', job_id='72984', GAL2='1.13', EG2='0.72', return_code2='0', energy_flux_error='2.15e-05', photon_flux_error2='7.70e-08', ts2='24.79', photon_index='2.28' WHERE bin_id='279' AND source_name='4FGL J0108.6+0134' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 16:26:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0300>
Subject: Job 72984: <4FGL_J0108.6+0134_weekly_bin279> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_weekly_bin279 17.1695 1.5819 407721601 408326401 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 :                                   538.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   581 sec.
    Turnaround time :                            583 sec.

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

