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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin843
RA = 17.1695, Dec = 1.5819
tmin = 457833601, tmax = 458092801
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='357892', job_status='RUN', time_executed='2021-08-13 13:07:35.543813', time_epoch_executed='1628885255.54' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='843'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/357892

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/357892/ft1_4FGL_J0108.6+0134_daily_bin843.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/357892/ft2_4FGL_J0108.6+0134_daily_bin843.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/357892/ft1_4FGL_J0108.6+0134_daily_bin843.fits outfile=/scratch/kocevski/357892/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin843.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=457833601.0 tmax=458092801.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 6.13
user 3.48
sys 2.38

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/357892/ft1_filtered_4FGL_J0108.6+0134_daily_bin843.fits" evtable="EVENTS" scfile=/scratch/kocevski/357892/ft2_4FGL_J0108.6+0134_daily_bin843.fits sctable="SC_DATA" outfile=/scratch/kocevski/357892/ltcube_457833601_458092801_4FGL_J0108.6+0134_daily_bin843.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/357892/ft2_4FGL_J0108.6+0134_daily_bin843.fits
.....................!
real 19.10
user 16.02
sys 2.71

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/357892/ft1_filtered_4FGL_J0108.6+0134_daily_bin843.fits evtable="EVENTS" scfile=/scratch/kocevski/357892/ft2_4FGL_J0108.6+0134_daily_bin843.fits sctable="SC_DATA" expcube=/scratch/kocevski/357892/ltcube_457833601_458092801_4FGL_J0108.6+0134_daily_bin843.fits outfile=/scratch/kocevski/357892/expmap_457833601_458092801_4FGL_J0108.6+0134_daily_bin843.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/357892/ltcube_457833601_458092801_4FGL_J0108.6+0134_daily_bin843.fits
.....................!
real 195.63
user 185.89
sys 7.30

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/357892/ft1_filtered_4FGL_J0108.6+0134_daily_bin843.fits scfile=/scratch/kocevski/357892/ft2_4FGL_J0108.6+0134_daily_bin843.fits outfile=/scratch/kocevski/357892/cmap_457833601_458092801_4FGL_J0108.6+0134_daily_bin843.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 2.73
user 0.40
sys 2.27

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/357892/ft1_filtered_4FGL_J0108.6+0134_daily_bin843.fits scfile=/scratch/kocevski/357892/ft2_4FGL_J0108.6+0134_daily_bin843.fits outfile=/scratch/kocevski/357892/cmap_HighResolution_457833601_458092801_4FGL_J0108.6+0134_daily_bin843.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 2.71
user 0.41
sys 2.27

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.798       1.0000         .10000E-03   10000.    
     2 'norm      '    9.1447       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.3922       1.0000         .10000E-03   10000.    
     6 'norm      '    .54446       1.0000         .10000E-03   10000.    
     7 'Prefactor '    19.619       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    14.708       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.7561       1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.579       1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.844       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.9440       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.0081       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'    .98477       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1131       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=   6304.285     FROM MIGRAD    STATUS=CONVERGED    469 CALLS     2005 TOTAL
                     EDM=   .67E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.797        16.377       -.46458E-06   -.88054E-05
   2  norm          9.1447        8.5046       -.48411E-06   -.40577E-04
   3  Prefactor     .10000E-03    .81049       -.70167E-07** at limit **
   4  Prefactor     .10000E-03    1.8163        .67998E-07** at limit **
   5  norm          4.3915        4.6688       -.11189E-05    .12580E-03
   6  norm          .55603        3.3020       -.39572E-06   -.81296E-04
   7  Prefactor     19.617        29.883       -.18480E-05    .20670E-04
   8  Prefactor     .10000E-03    17.577        .92429E-06** at limit **
   9  norm          14.708        15.126       -.38660E-06   -.17017E-04
  10  Prefactor     .10000E-03    55.771        .73865E-04** at limit **
  11  Prefactor     .10000E-03    36.713       -.66806E-05** at limit **
  12  norm          7.7562        2.0663       -.65063E-08    .63021E-04
  13  Prefactor     24.552        30.791       -.22505E-04    .18986E-04
  14  Prefactor     19.845        17.290       -.64293E-06   -.92341E-04
  15  Prefactor     2.9463        4.8465        .26071E-05   -.19308E-03
  16  Prefactor     .10000E-03    79.393       -.69567E-04** at limit **
  17  Prefactor     .10000E-03    4.2168        .47362E-07** at limit **
  18  Prefactor     8.0068        78.990       -.42047E-05   -.48528E-05
  19  Prefactor     .10000E-03    36.180       -.13600E-04** at limit **
  20  Prefactor     .10000E-03    1.3928       -.35991E-07** at limit **
  21  Normalizat    .98486        .20502        .11630E-05    .12862E-03
  22  Prefactor     1.1130        .16754        .10787E-05    .10458E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.7973
  norm       = 9.14469
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.39154
  norm       = 0.556029
  Prefactor  = 19.6175
  Prefactor  = 0.0001
  norm       = 14.7081
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.75617
  Prefactor  = 24.5524
  Prefactor  = 19.8446
  Prefactor  = 2.94626
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 8.00681
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.984861
  Prefactor  = 1.11301
 **********
 **   18 **HESSE 
 **********

 FCN=   6304.285     FROM HESSE     STATUS=OK           346 CALLS     2351 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.797        16.421        .87827E-04   -1.4796    
   2  norm          9.1447        8.5040        .13253E-03   -1.5103    
   3  Prefactor     .10000E-03    .81523        .69773E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.8650        .20856E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.3915        4.6697        .16992E-03   -1.5289    
   6  norm          .55603        13.549        .27314E-02   -1.5559    
   7  Prefactor     19.617        29.868        .90424E-04   -1.4822    
   8  Prefactor     .10000E-03    17.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          14.708        15.137        .10444E-03   -1.4941    
  10  Prefactor     .10000E-03    55.864        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    36.731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.7562        2.0694        .55690E-04   -1.5151    
  13  Prefactor     24.552        30.762        .80798E-04   -1.4717    
  14  Prefactor     19.845        17.294        .89912E-04   -1.4817    
  15  Prefactor     2.9463        4.8181        .21367E-03   -1.5365    
  16  Prefactor     .10000E-03    79.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.2401        .15922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.0068        79.045        .14169E-03   -1.5142    
  19  Prefactor     .10000E-03    36.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.3960        .91511E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .98486        .23407        .29018E-03   -.93539    
  22  Prefactor     1.1130        .19239        .22911E-03   -.89052    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6548e-08
Minuit parameter uncertainties:
  1  16.4246
  2  8.50517
  3  1.39556e-06
  4  3.74423e-06
  5  4.67008
  6  5.49043
  7  29.891
  8  4.05771e-05
  9  15.1414
  10  0.000203091
  11  1.50066e-05
  12  2.06937
  13  30.7817
  14  17.2985
  15  4.81871
  16  0.000461483
  17  1.12418e-05
  18  50.4013
  19  1.74968e-06
  20  1.28723e-06
  21  0.234312
  22  0.192507
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  7.756e+00  2.069e+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.113e+00  1.925e-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.849e-01  2.343e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 39.08
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 2.18e-07 +/- 5.81e-08
Energy Flux (Fixed Index): 7.33e-05 +/- 1.95e-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) = 6304.27323327
delta logL = 0.0112822725532

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6304.27264285
delta logL = 0.0118726923729

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.7832       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2386       1.0000          .0000       5.0000    
     3 'Normalizat'    .99379       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1084       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=   6304.273     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      198 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.7832        2.6063        .35933E-02   -.10932E-02
   2  alpha         2.2386        .35571        .20006        .30309E-05
   3  Normalizat    .99377        .20410        .46089E-01    .35808E-03
   4  Prefactor     1.1084        .16684        .37278E-01    .65284E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.78315
  alpha      = 2.23861
  Normalizat = 0.99377
  Prefactor  = 1.10837
 **********
 **   18 **HESSE 
 **********

 FCN=   6304.273     FROM HESSE     STATUS=OK            31 CALLS      229 TOTAL
                     EDM=   .88E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.7832        2.0893        .56364E-04   -1.5150    
   2  alpha         2.2386        .29679        .84816E-02   -.10475    
   3  Normalizat    .99377        .23389        .14456E-02   -.93239    
   4  Prefactor     1.1084        .19009        .22955E-03   -.89200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.817e-11
Minuit parameter uncertainties:
  1  2.08937
  2  0.297504
  3  0.234128
  4  0.190207
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/357892': 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) = 6304.27264285
delta logL = 0.0118726955498

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  7.783e+00  2.089e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.239e+00  2.975e-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.108e+00  1.902e-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.938e-01  2.341e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 38.97
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.24 +/- 0.30
Photon Flux (Free Index): 2.11e-07 +/- 7.30e-08
Energy Flux (Free Index): 7.44e-05 +/- 2.15e-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/357892/cmap_HighResolution_457833601_458092801_4FGL_J0108.6+0134_daily_bin843.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.18e-07', energy_flux2='7.44e-05', photon_flux_error='5.81e-08', dlogl='1.19e-02', energy_flux='7.33e-05', photon_flux2='2.11e-07', job_status='DONE', time_completed='2021-08-13 13:17:36.991555', photon_index_error2='0.30', photon_index2='2.24', ts='39.08', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='2.15e-05', EG='0.98', time_epoch_completed='1628885856.99', return_code='0', job_id='357892', GAL2='1.11', EG2='0.99', return_code2='0', energy_flux_error='1.95e-05', photon_flux_error2='7.30e-08', ts2='38.97', photon_index='2.28' WHERE bin_id='843' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:17:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 357892: <4FGL_J0108.6+0134_daily_bin843> in cluster <slac> Done

Job <4FGL_J0108.6+0134_daily_bin843> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Aug 13 13:01:15 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 13:04:20 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:04:20 2021
Terminated at Fri Aug 13 13:17:37 2021
Results reported at Fri Aug 13 13:17:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin843 17.1695 1.5819 457833601 458092801 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 :                                   623.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   797 sec.
    Turnaround time :                            982 sec.

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

