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


Performing analysis on: 4FGL_J0108.6+0134_weekly_bin515
RA = 17.1695, Dec = 1.5819
tmin = 550454401, tmax = 551059201
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='73447', job_status='RUN', time_executed='2021-07-03 16:22:25.049698', time_epoch_executed='1625354545.05' WHERE source_name='4FGL J0108.6+0134' and cadence='weekly' and bin_id='515'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/73447

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/73447/ft1_4FGL_J0108.6+0134_weekly_bin515.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/73447/ft2_4FGL_J0108.6+0134_weekly_bin515.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/73447/ft1_4FGL_J0108.6+0134_weekly_bin515.fits outfile=/scratch/kocevski/73447/ft1_filteredMKT_4FGL_J0108.6+0134_weekly_bin515.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=550454401.0 tmax=551059201.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 9.29
user 8.00
sys 0.35

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/73447/ft1_filtered_4FGL_J0108.6+0134_weekly_bin515.fits" evtable="EVENTS" scfile=/scratch/kocevski/73447/ft2_4FGL_J0108.6+0134_weekly_bin515.fits sctable="SC_DATA" outfile=/scratch/kocevski/73447/ltcube_550454401_551059201_4FGL_J0108.6+0134_weekly_bin515.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/73447/ft2_4FGL_J0108.6+0134_weekly_bin515.fits
.....................!
real 27.69
user 26.15
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/73447/ft1_filtered_4FGL_J0108.6+0134_weekly_bin515.fits evtable="EVENTS" scfile=/scratch/kocevski/73447/ft2_4FGL_J0108.6+0134_weekly_bin515.fits sctable="SC_DATA" expcube=/scratch/kocevski/73447/ltcube_550454401_551059201_4FGL_J0108.6+0134_weekly_bin515.fits outfile=/scratch/kocevski/73447/expmap_550454401_551059201_4FGL_J0108.6+0134_weekly_bin515.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/73447/ltcube_550454401_551059201_4FGL_J0108.6+0134_weekly_bin515.fits
.....................!
real 198.24
user 186.63
sys 5.14

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/73447/ft1_filtered_4FGL_J0108.6+0134_weekly_bin515.fits scfile=/scratch/kocevski/73447/ft2_4FGL_J0108.6+0134_weekly_bin515.fits outfile=/scratch/kocevski/73447/cmap_550454401_551059201_4FGL_J0108.6+0134_weekly_bin515.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.09
user 0.40
sys 0.20

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/73447/ft1_filtered_4FGL_J0108.6+0134_weekly_bin515.fits scfile=/scratch/kocevski/73447/ft2_4FGL_J0108.6+0134_weekly_bin515.fits outfile=/scratch/kocevski/73447/cmap_HighResolution_550454401_551059201_4FGL_J0108.6+0134_weekly_bin515.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.75
user 0.40
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.1082       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    10.601       1.0000         .10000E-03   10000.    
     6 'norm      '    7.4009       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    996.91       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .30997E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .72512       1.0000         .10000E-03   10000.    
    13 'Prefactor '    99.195       1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.475       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.9336       1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.337       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .94449       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.6640       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0401       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .56711       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=   3804.417     FROM MIGRAD    STATUS=CONVERGED    475 CALLS     2423 TOTAL
                     EDM=   .62E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.773        .22089E-06** at limit **
   2  norm          .10000E-03    6.2972        .22262E-06** at limit **
   3  Prefactor     3.1092        5.6311        .41514E-06   -.17400E-03
   4  Prefactor     .10000E-03    1.0994        .67601E-07** at limit **
   5  norm          10.600        5.7937       -.30253E-07    .13896E-04
   6  norm          7.4012        6.0122        .10816E-06   -.32431E-04
   7  Prefactor     .10000E-03    21.254        .44989E-07** at limit **
   8  Prefactor     .10000E-03    9.8683        .50597E-07** at limit **
   9  norm          .10000E-03    14.780        .16913E-06** at limit **
  10  Prefactor     997.99        549.86       -.60518E-06    .78291E-05
  11  Prefactor     .10000E-03    252.36        .18199E-05** at limit **
  12  norm          .72746        1.5059        .99119E-06    .14119E-03
  13  Prefactor     99.182        57.806       -.70167E-07   -.45987E-04
  14  Prefactor     24.175        97.381       -.33560E-06   -.39365E-05
  15  Prefactor     7.9309        9.9733       -.19299E-06   -.14959E-03
  16  Prefactor     13.356        38.017        .25274E-06   -.13117E-04
  17  Prefactor     .94806        6.6686        .31742E-06    .11685E-04
  18  Prefactor     .10000E-03    20.547        .39676E-07** at limit **
  19  Prefactor     .10000E-03    27.012        .11838E-06** at limit **
  20  Prefactor     1.6627        6.1263        .15110E-05   -.90626E-04
  21  Normalizat    1.0400        .23701       -.18550E-05   -.75462E-04
  22  Prefactor     .56725        .17563        .59366E-06   -.13845E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.1092
  Prefactor  = 0.0001
  norm       = 10.6003
  norm       = 7.40123
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 997.987
  Prefactor  = 0.000100001
  norm       = 0.727459
  Prefactor  = 99.1818
  Prefactor  = 24.1748
  Prefactor  = 7.93091
  Prefactor  = 13.3565
  Prefactor  = 0.94806
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.66274
  Normalizat = 1.03999
  Prefactor  = 0.567249
 **********
 **   18 **HESSE 
 **********

 FCN=   3804.417     FROM HESSE     STATUS=OK           346 CALLS     2769 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6.3375        .15116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.1092        5.5390        .18116E-03   -1.5355    
   4  Prefactor     .10000E-03    1.1050        .63109E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          10.600        5.7894        .10459E-03   -1.5057    
   6  norm          7.4012        6.0032        .12794E-03   -1.5164    
   7  Prefactor     .10000E-03    21.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.8752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    14.780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     997.99        549.63        .66758E-04   -.92797    
  11  Prefactor     .10000E-03    252.96        .21376E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .72746        1.4912        .11005E-02   -1.5537    
  13  Prefactor     99.182        57.706        .40363E-04   -1.3713    
  14  Prefactor     24.175        98.377        .40485E-03   -1.4724    
  15  Prefactor     7.9309        9.9474        .14235E-03   -1.5145    
  16  Prefactor     13.356        37.705        .10968E-03   -1.4977    
  17  Prefactor     .94806        20.657        .27922E-02   -1.5513    
  18  Prefactor     .10000E-03    20.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    27.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.6627        6.0562        .27003E-03   -1.5450    
  21  Normalizat    1.0400        .26709        .24260E-03   -.91703    
  22  Prefactor     .56725        .19950        .24712E-03   -1.0898    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80935e-10
Minuit parameter uncertainties:
  1  5.55464e-06
  2  4.52219e-06
  3  5.53994
  4  4.10237e-08
  5  5.78967
  6  6.00365
  7  1.27718e-06
  8  1.70289e-06
  9  1.09484e-05
  10  552.758
  11  0.000953496
  12  1.49131
  13  57.7388
  14  97.8145
  15  9.94952
  16  37.7722
  17  8.85387
  18  3.75912e-06
  19  2.33239e-06
  20  6.05841
  21  0.267437
  22  0.199752
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  7.275e-01  1.491e+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:  5.672e-01  1.998e-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.040e+00  2.674e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/73447/likelihoodResults_550454401_551059201_4FGL_J0108.6+0134_weekly_bin515.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) = 3803.24818253
delta logL = 1.16881209714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3803.24364576
delta logL = 1.1733488662

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25162       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .91206       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63913       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=   3803.244     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      321 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .25130        .18440        .21169E-04   -.94574E-03
   2  alpha         5.0000        3.6402        .53143E-01** at limit **
   3  Normalizat    .91226        .26418        .25586E-03   -.32495E-03
   4  Prefactor     .63898        .20110        .23371E-03   -.23578E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.251296
  alpha      = 5
  Normalizat = 0.912264
  Prefactor  = 0.638975
 **********
 **   18 **HESSE 
 **********

 FCN=   3803.244     FROM HESSE     STATUS=OK            23 CALLS      344 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .25130        .18206        .84676E-06   -1.5608    
   2  alpha         5.0000        3.6434        .21257E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .91226        .26442        .51172E-04   -.96031    
   4  Prefactor     .63898        .20129        .46742E-04   -1.0597    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.1514e-10
Minuit parameter uncertainties:
  1  0.18206
  2  5.07379e-05
  3  0.264796
  4  0.201513
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/73447': 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) = 3803.24364037
delta logL = 1.17335425923

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  2.513e-01  1.821e-01  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  5.000e+00  5.074e-05  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:  6.390e-01  2.015e-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.123e-01  2.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.88
Ra Dec: 17.169 1.582
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.76e-07 +/- 1.27e-07
Energy Flux (Free Index): 2.38e-05 +/- 1.72e-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/73447/cmap_HighResolution_550454401_551059201_4FGL_J0108.6+0134_weekly_bin515.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.46e-05', comment='SUCCESS', energy_flux2='2.38e-05', dlogl='1.17e+00', photon_flux2='1.76e-07', job_status='DONE', time_completed='2021-07-03 16:32:30.120501', photon_index_error2='0.00', photon_index2='5.00', ts='0.31', fit_tolerance='1e-08', GAL='0.57', photon_index_error='0.00', photon_flux_upper_limit='1.33e-07', energy_flux_error2='1.72e-05', EG='1.04', time_epoch_completed='1625355150.12', return_code='0', job_id='73447', GAL2='0.64', EG2='0.91', return_code2='0', photon_flux_error2='1.27e-07', ts2='2.88', photon_index='2.28' WHERE bin_id='515' AND source_name='4FGL J0108.6+0134' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 16:32:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 73447: <4FGL_J0108.6+0134_weekly_bin515> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_weekly_bin515 17.1695 1.5819 550454401 551059201 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 :                                   549.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             231.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   885 sec.
    Turnaround time :                            887 sec.

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

