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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin1129
RA = 17.1695, Dec = 1.5819
tmin = 531964801, tmax = 532224001
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='359527', job_status='RUN', time_executed='2021-08-13 13:11:00.361994', time_epoch_executed='1628885460.36' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='1129'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/359527

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/359527/ft1_4FGL_J0108.6+0134_daily_bin1129.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/359527/ft2_4FGL_J0108.6+0134_daily_bin1129.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/359527/ft1_4FGL_J0108.6+0134_daily_bin1129.fits outfile=/scratch/kocevski/359527/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin1129.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=531964801.0 tmax=532224001.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 5.10
user 3.29
sys 1.15

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/359527/ft2_4FGL_J0108.6+0134_daily_bin1129.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/359527/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin1129.fits evtable="EVENTS" outfile="/scratch/kocevski/359527/ft1_filtered_4FGL_J0108.6+0134_daily_bin1129.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.02
user 0.34
sys 1.10

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/359527/ft1_filtered_4FGL_J0108.6+0134_daily_bin1129.fits" evtable="EVENTS" scfile=/scratch/kocevski/359527/ft2_4FGL_J0108.6+0134_daily_bin1129.fits sctable="SC_DATA" outfile=/scratch/kocevski/359527/ltcube_531964801_532224001_4FGL_J0108.6+0134_daily_bin1129.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/359527/ft2_4FGL_J0108.6+0134_daily_bin1129.fits
.....................!
real 14.65
user 11.97
sys 1.49

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/359527/ft1_filtered_4FGL_J0108.6+0134_daily_bin1129.fits evtable="EVENTS" scfile=/scratch/kocevski/359527/ft2_4FGL_J0108.6+0134_daily_bin1129.fits sctable="SC_DATA" expcube=/scratch/kocevski/359527/ltcube_531964801_532224001_4FGL_J0108.6+0134_daily_bin1129.fits outfile=/scratch/kocevski/359527/expmap_531964801_532224001_4FGL_J0108.6+0134_daily_bin1129.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/359527/ltcube_531964801_532224001_4FGL_J0108.6+0134_daily_bin1129.fits
.....................!
real 192.81
user 185.05
sys 6.61

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/359527/ft1_filtered_4FGL_J0108.6+0134_daily_bin1129.fits scfile=/scratch/kocevski/359527/ft2_4FGL_J0108.6+0134_daily_bin1129.fits outfile=/scratch/kocevski/359527/cmap_531964801_532224001_4FGL_J0108.6+0134_daily_bin1129.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.50
user 0.38
sys 1.08

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/359527/ft1_filtered_4FGL_J0108.6+0134_daily_bin1129.fits scfile=/scratch/kocevski/359527/ft2_4FGL_J0108.6+0134_daily_bin1129.fits outfile=/scratch/kocevski/359527/cmap_HighResolution_531964801_532224001_4FGL_J0108.6+0134_daily_bin1129.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=17.1695 yref=1.5819 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.53
user 0.39
sys 1.09

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.275       1.0000         .10000E-03   10000.    
     2 'norm      '    31.458       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.1659       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10202E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    9.9800       1.0000         .10000E-03   10000.    
     7 'Prefactor '    35.014       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.209       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.1620       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    30.030       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .14962E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .33916E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .17387E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .80722       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97148       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=   4665.624     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     2356 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.270        13.578       -.51315E-06   -.47216E-03
   2  norm          31.462        12.654        .56214E-07   -.39332E-06
   3  Prefactor     1.1651        1.4340       -.28286E-07   -.14773E-03
   4  Prefactor     .10000E-03    2.4104        .27301E-06** at limit **
   5  norm          .10000E-03    9.6043        .47118E-06** at limit **
   6  norm          9.9883        7.2717       -.32452E-05   -.49083E-04
   7  Prefactor     35.000        36.621       -.76463E-05    .23238E-05
   8  Prefactor     .10000E-03    22.831       -.37956E-05** at limit **
   9  norm          .10000E-03    6.1204        .77445E-08** at limit **
  10  Prefactor     19.230        71.854        .38004E-04    .30678E-06
  11  Prefactor     .10000E-03    35.172       -.32927E-05** at limit **
  12  norm          3.1613        1.5283        .16188E-08   -.42115E-05
  13  Prefactor     .10000E-03    12.707       -.57475E-06** at limit **
  14  Prefactor     30.027        22.842       -.28733E-05   -.24331E-04
  15  Prefactor     .10000E-03    2.6743        .31220E-08** at limit **
  16  Prefactor     .10000E-03    117.05       -.18705E-05** at limit **
  17  Prefactor     .10002E-03    7.9093       -.33643E-06** at limit **
  18  Prefactor     .10000E-03    23.292        .53573E-05** at limit **
  19  Prefactor     .10000E-03    53.588        .42305E-05** at limit **
  20  Prefactor     .10000E-03    2.7635        .21458E-07** at limit **
  21  Normalizat    .80756        .19664        .54662E-06   -.16099E-04
  22  Prefactor     .97137        .16261       -.39969E-06    .47908E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.2698
  norm       = 31.462
  Prefactor  = 1.16509
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 9.98834
  Prefactor  = 35
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 19.2303
  Prefactor  = 0.0001
  norm       = 3.16133
  Prefactor  = 0.0001
  Prefactor  = 30.0274
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100024
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.807564
  Prefactor  = 0.971374
 **********
 **   18 **HESSE 
 **********

 FCN=   4665.624     FROM HESSE     STATUS=OK           346 CALLS     2702 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.270        13.627        .49640E-03   -1.4901    
   2  norm          31.462        12.657        .71439E-04   -1.4586    
   3  Prefactor     1.1651        1.4047        .88151E-04   -1.5492    
   4  Prefactor     .10000E-03    2.4555        .10348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    10.044        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          9.9883        7.2717        .12684E-03   -1.5076    
   7  Prefactor     35.000        36.590        .67724E-04   -1.4524    
   8  Prefactor     .10000E-03    22.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    6.1250        .16505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     19.230        71.605        .91386E-04   -1.4831    
  11  Prefactor     .10000E-03    35.186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.1613        1.5285        .56189E-04   -1.5352    
  13  Prefactor     .10000E-03    12.712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     30.027        22.838        .73114E-04   -1.4611    
  15  Prefactor     .10000E-03    2.6846        .10906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    117.81        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10002E-03    56.271        .37158E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    23.307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    53.608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.4209        .22125E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .80756        .22600        .27286E-03   -.99789    
  22  Prefactor     .97137        .18757        .20993E-03   -.93690    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.53653e-10
Minuit parameter uncertainties:
  1  13.6298
  2  12.658
  3  1.40476
  4  4.26709e-05
  5  0.000193339
  6  7.27231
  7  36.6135
  8  0.000162117
  9  2.00987e-06
  10  71.928
  11  3.22968e-06
  12  1.52855
  13  6.665e-06
  14  22.8442
  15  1.72335e-06
  16  0.000196822
  17  0.00233485
  18  3.53322e-06
  19  6.67011e-07
  20  8.33573e-06
  21  0.226261
  22  0.187692
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  3.161e+00  1.529e+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:  9.714e-01  1.877e-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:  8.076e-01  2.263e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.49
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 8.88e-08 +/- 4.29e-08
Energy Flux (Fixed Index): 2.99e-05 +/- 1.44e-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) = 4665.53601879
delta logL = 0.0883967886894

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4665.53361743
delta logL = 0.0907981482023

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1194       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0686       1.0000          .0000       5.0000    
     3 'Normalizat'    .82549       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96255       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=   4665.534     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      196 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1194        1.7555        .57392E-02   -.16563E-02
   2  alpha         2.0686        .50967        .29723       -.15273E-04
   3  Normalizat    .82549        .19503        .43942E-01    .12542E-04
   4  Prefactor     .96255        .16205        .45797E-01    .46596E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.11937
  alpha      = 2.06862
  Normalizat = 0.825492
  Prefactor  = 0.96255
 **********
 **   18 **HESSE 
 **********

 FCN=   4665.534     FROM HESSE     STATUS=OK            31 CALLS      227 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1194        1.5845        .57933E-04   -1.5355    
   2  alpha         2.0686        .49926        .12049E-01   -.17342    
   3  Normalizat    .82549        .22613        .27023E-03   -.99130    
   4  Prefactor     .96255        .18722        .21080E-03   -.93988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3654e-10
Minuit parameter uncertainties:
  1  1.58447
  2  0.502741
  3  0.226386
  4  0.187349
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/359527': 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) = 4665.53361743
delta logL = 0.0907981488754

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  3.119e+00  1.584e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.069e+00  5.027e-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.626e-01  1.873e-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:  8.255e-01  2.264e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.63
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.07 +/- 0.50
Photon Flux (Free Index): 7.43e-08 +/- 4.97e-08
Energy Flux (Free Index): 3.23e-05 +/- 1.78e-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/359527/cmap_HighResolution_531964801_532224001_4FGL_J0108.6+0134_daily_bin1129.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.88e-08', energy_flux2='3.23e-05', photon_flux_error='4.29e-08', dlogl='9.08e-02', energy_flux='2.99e-05', photon_flux2='7.43e-08', job_status='DONE', time_completed='2021-08-13 13:19:48.714272', photon_index_error2='0.50', photon_index2='2.07', ts='14.49', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.78e-05', EG='0.81', time_epoch_completed='1628885988.71', return_code='0', job_id='359527', GAL2='0.96', EG2='0.83', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='4.97e-08', ts2='14.63', photon_index='2.28' WHERE bin_id='1129' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:19:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 359527: <4FGL_J0108.6+0134_daily_bin1129> in cluster <slac> Done

Job <4FGL_J0108.6+0134_daily_bin1129> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Aug 13 13:06:27 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 13:08:06 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 13:08:06 2021
Terminated at Fri Aug 13 13:19:49 2021
Results reported at Fri Aug 13 13:19:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin1129 17.1695 1.5819 531964801 532224001 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 :                                   534.14 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             221.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   703 sec.
    Turnaround time :                            802 sec.

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

