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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin535
RA = 17.1695, Dec = 1.5819
tmin = 378000001, tmax = 378259201
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='356106', job_status='RUN', time_executed='2021-08-13 13:02:22.411839', time_epoch_executed='1628884942.41' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='535'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/356106

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/356106/ft1_4FGL_J0108.6+0134_daily_bin535.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/356106/ft2_4FGL_J0108.6+0134_daily_bin535.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/356106/ft1_4FGL_J0108.6+0134_daily_bin535.fits outfile=/scratch/kocevski/356106/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin535.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=378000001.0 tmax=378259201.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 7.13
user 2.52
sys 3.83

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/356106/ft2_4FGL_J0108.6+0134_daily_bin535.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/356106/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin535.fits evtable="EVENTS" outfile="/scratch/kocevski/356106/ft1_filtered_4FGL_J0108.6+0134_daily_bin535.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.95
user 0.26
sys 3.33

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/356106/ft1_filtered_4FGL_J0108.6+0134_daily_bin535.fits" evtable="EVENTS" scfile=/scratch/kocevski/356106/ft2_4FGL_J0108.6+0134_daily_bin535.fits sctable="SC_DATA" outfile=/scratch/kocevski/356106/ltcube_378000001_378259201_4FGL_J0108.6+0134_daily_bin535.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/356106/ft2_4FGL_J0108.6+0134_daily_bin535.fits
.....................!
real 15.20
user 9.69
sys 4.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/356106/ft1_filtered_4FGL_J0108.6+0134_daily_bin535.fits evtable="EVENTS" scfile=/scratch/kocevski/356106/ft2_4FGL_J0108.6+0134_daily_bin535.fits sctable="SC_DATA" expcube=/scratch/kocevski/356106/ltcube_378000001_378259201_4FGL_J0108.6+0134_daily_bin535.fits outfile=/scratch/kocevski/356106/expmap_378000001_378259201_4FGL_J0108.6+0134_daily_bin535.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/356106/ltcube_378000001_378259201_4FGL_J0108.6+0134_daily_bin535.fits
.....................!
real 158.53
user 147.78
sys 8.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/356106/ft1_filtered_4FGL_J0108.6+0134_daily_bin535.fits scfile=/scratch/kocevski/356106/ft2_4FGL_J0108.6+0134_daily_bin535.fits outfile=/scratch/kocevski/356106/cmap_378000001_378259201_4FGL_J0108.6+0134_daily_bin535.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 6.01
user 0.27
sys 3.58

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/356106/ft1_filtered_4FGL_J0108.6+0134_daily_bin535.fits scfile=/scratch/kocevski/356106/ft2_4FGL_J0108.6+0134_daily_bin535.fits outfile=/scratch/kocevski/356106/cmap_HighResolution_378000001_378259201_4FGL_J0108.6+0134_daily_bin535.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 5.11
user 0.30
sys 3.61

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    22.658       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.6934       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.3075       1.0000         .10000E-03   10000.    
     6 'norm      '    .81741       1.0000         .10000E-03   10000.    
     7 'Prefactor '    28.676       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    36.299       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.5672       1.0000         .10000E-03   10000.    
    12 'norm      '    1.1457       1.0000         .10000E-03   10000.    
    13 'Prefactor '    28.171       1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.835       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.0053       1.0000         .10000E-03   10000.    
    18 'Prefactor '    82.270       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .18345       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .81038       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1661       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=   7037.858     FROM MIGRAD    STATUS=CONVERGED    478 CALLS     2367 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.1469       -.45957E-10** at limit **
   2  norm          22.659        8.9784        .60283E-07    .41221E-05
   3  Prefactor     3.6938        2.1998        .49579E-07   -.43820E-04
   4  Prefactor     .10000E-03    1.5358       -.17217E-06** at limit **
   5  norm          2.3069        5.6326       -.31691E-06   -.26788E-03
   6  norm          .81680        5.4625        .22431E-05   -.26631E-03
   7  Prefactor     28.685        37.062        .23871E-05    .14689E-03
   8  Prefactor     .10000E-03    43.761       -.34028E-06** at limit **
   9  norm          .10000E-03    6.0070        .34350E-08** at limit **
  10  Prefactor     36.302        41.058        .92827E-06    .50440E-04
  11  Prefactor     6.5692        32.708        .14711E-05    .22837E-04
  12  norm          1.1459        .80850        .62956E-08   -.12645E-04
  13  Prefactor     28.169        36.624       -.16312E-06   -.30350E-04
  14  Prefactor     13.836        13.188       -.15779E-07   -.11681E-04
  15  Prefactor     .10000E-03    2.4479       -.41778E-08** at limit **
  16  Prefactor     .10000E-03    19.004       -.31868E-07** at limit **
  17  Prefactor     2.0069        5.6816        .65746E-06   -.13229E-03
  18  Prefactor     82.276        59.378        .16901E-05    .91849E-04
  19  Prefactor     .10000E-03    28.760        .10977E-07** at limit **
  20  Prefactor     .20459        2.9509        .24102E-06   -.14550E-03
  21  Normalizat    .81017        .17811       -.54733E-06   -.80290E-04
  22  Prefactor     1.1662        .14778       -.36975E-06   -.98987E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 22.6593
  Prefactor  = 3.69378
  Prefactor  = 0.0001
  norm       = 2.30692
  norm       = 0.816804
  Prefactor  = 28.685
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 36.3018
  Prefactor  = 6.56922
  norm       = 1.14589
  Prefactor  = 28.1692
  Prefactor  = 13.836
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.00688
  Prefactor  = 82.2762
  Prefactor  = 0.0001
  Prefactor  = 0.204595
  Normalizat = 0.810169
  Prefactor  = 1.16622
 **********
 **   18 **HESSE 
 **********

 FCN=   7037.858     FROM HESSE     STATUS=OK           344 CALLS     2711 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.1724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          22.659        8.9816        .84148E-04   -1.4756    
   3  Prefactor     3.6938        2.1986        .92379E-04   -1.5324    
   4  Prefactor     .10000E-03    1.6014        .20327E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.3069        5.6707        .27012E-03   -1.5404    
   6  norm          .81680        6.0309        .38096E-03   -1.5527    
   7  Prefactor     28.685        39.768        .74816E-04   -1.4636    
   8  Prefactor     .10000E-03    44.336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    6.0135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     36.302        41.201        .66519E-04   -1.4502    
  11  Prefactor     6.5692        32.764        .15660E-03   -1.5195    
  12  norm          1.1459        .81419        .61189E-04   -1.5494    
  13  Prefactor     28.169        36.721        .75481E-04   -1.4646    
  14  Prefactor     13.836        13.192        .10769E-03   -1.4964    
  15  Prefactor     .10000E-03    2.4607        .12804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    19.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.0069        5.7212        .29241E-03   -1.5425    
  18  Prefactor     82.276        60.062        .44283E-04   -1.3891    
  19  Prefactor     .10000E-03    28.770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .20459        32.591        .27436E-02   -1.5618    
  21  Normalizat    .81017        .20360        .29463E-03   -.99693    
  22  Prefactor     1.1662        .16946        .21306E-03   -.87377    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.29078e-10
Minuit parameter uncertainties:
  1  2.30838e-06
  2  8.98218
  3  2.19866
  4  7.09175e-06
  5  5.67203
  6  4.4393
  7  39.8048
  8  6.98454e-05
  9  1.36964e-06
  10  41.2335
  11  29.367
  12  0.814201
  13  36.7505
  14  13.1943
  15  1.97605e-06
  16  4.74995e-07
  17  5.72271
  18  60.1067
  19  6.37544e-06
  20  5.16604
  21  0.203796
  22  0.169543
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  1.146e+00  8.142e-01  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.166e+00  1.695e-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.102e-01  2.038e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.82
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 3.22e-08 +/- 2.29e-08
Energy Flux (Fixed Index): 1.08e-05 +/- 7.69e-06

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) = 7036.9076404
delta logL = 0.950228125291

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7036.86025673
delta logL = 0.99761179625

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .86378       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4539       1.0000          .0000       5.0000    
     3 'Normalizat'    .82669       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1591       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=   7036.860     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      210 TOTAL
                     EDM=   .58E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .86417        .61864        .12469E-01   -.31913E-03
   2  alpha         1.4542        .40308        .35960       -.37789E-04
   3  Normalizat    .82667        .17110        .65992E-01    .22597E-04
   4  Prefactor     1.1592        .14642        .35677E-01    .26525E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.864175
  alpha      = 1.45422
  Normalizat = 0.826667
  Prefactor  = 1.15918
 **********
 **   18 **HESSE 
 **********

 FCN=   7036.860     FROM HESSE     STATUS=OK            35 CALLS      245 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .86417        .79287        .53318E-03   -1.5522    
   2  alpha         1.4542        .55310        .14317E-01   -.43159    
   3  Normalizat    .82667        .19612        .29194E-03   -.99087    
   4  Prefactor     1.1592        .16811        .21361E-03   -.87597    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00254e-09
Minuit parameter uncertainties:
  1  0.792878
  2  0.558716
  3  0.196292
  4  0.168185
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/356106': 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) = 7036.86025654
delta logL = 0.997611986135

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  8.642e-01  7.929e-01  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  1.454e+00  5.587e-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.159e+00  1.682e-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.267e-01  1.963e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.82
Ra Dec: 17.169 1.582
Photon Index (Free Index): 1.45 +/- 0.56
Photon Flux (Free Index): 1.59e-08 +/- 1.49e-08
Energy Flux (Free Index): 2.20e-05 +/- 2.27e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/356106/cmap_HighResolution_378000001_378259201_4FGL_J0108.6+0134_daily_bin535.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.22e-08', energy_flux2='2.20e-05', photon_flux_error='2.29e-08', dlogl='9.98e-01', energy_flux='1.08e-05', photon_flux2='1.59e-08', job_status='DONE', time_completed='2021-08-13 13:11:41.489997', photon_index_error2='0.56', photon_index2='1.45', ts='6.82', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='2.27e-05', EG='0.81', time_epoch_completed='1628885501.49', return_code='0', job_id='356106', GAL2='1.16', EG2='0.83', return_code2='0', energy_flux_error='7.69e-06', photon_flux_error2='1.49e-08', ts2='8.82', photon_index='2.28' WHERE bin_id='535' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:11:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0023>
Subject: Job 356106: <4FGL_J0108.6+0134_daily_bin535> in cluster <slac> Done

Job <4FGL_J0108.6+0134_daily_bin535> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 12:55:27 2021
Job was executed on host(s) <bullet0023>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 12:58:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 12:58:37 2021
Terminated at Fri Aug 13 13:11:42 2021
Results reported at Fri Aug 13 13:11:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin535 17.1695 1.5819 378000001 378259201 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 :                                   593.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             252.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   785 sec.
    Turnaround time :                            975 sec.

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

