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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin734
RA = 17.1695, Dec = 1.5819
tmin = 429580801, tmax = 429840001
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='357737', job_status='RUN', time_executed='2021-08-13 13:03:51.029038', time_epoch_executed='1628885031.03' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/357737

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/357737/ft1_4FGL_J0108.6+0134_daily_bin734.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/357737/ft2_4FGL_J0108.6+0134_daily_bin734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/357737/ft1_4FGL_J0108.6+0134_daily_bin734.fits outfile=/scratch/kocevski/357737/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin734.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=429580801.0 tmax=429840001.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.76
user 6.18
sys 0.97

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/357737/ft2_4FGL_J0108.6+0134_daily_bin734.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/357737/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin734.fits evtable="EVENTS" outfile="/scratch/kocevski/357737/ft1_filtered_4FGL_J0108.6+0134_daily_bin734.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.48
user 0.35
sys 0.75

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/357737/ft1_filtered_4FGL_J0108.6+0134_daily_bin734.fits" evtable="EVENTS" scfile=/scratch/kocevski/357737/ft2_4FGL_J0108.6+0134_daily_bin734.fits sctable="SC_DATA" outfile=/scratch/kocevski/357737/ltcube_429580801_429840001_4FGL_J0108.6+0134_daily_bin734.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/357737/ft2_4FGL_J0108.6+0134_daily_bin734.fits
.....................!
real 15.50
user 14.22
sys 1.07

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/357737/ft1_filtered_4FGL_J0108.6+0134_daily_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/357737/ft2_4FGL_J0108.6+0134_daily_bin734.fits sctable="SC_DATA" expcube=/scratch/kocevski/357737/ltcube_429580801_429840001_4FGL_J0108.6+0134_daily_bin734.fits outfile=/scratch/kocevski/357737/expmap_429580801_429840001_4FGL_J0108.6+0134_daily_bin734.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/357737/ltcube_429580801_429840001_4FGL_J0108.6+0134_daily_bin734.fits
.....................!
real 192.78
user 186.43
sys 5.21

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/357737/ft1_filtered_4FGL_J0108.6+0134_daily_bin734.fits scfile=/scratch/kocevski/357737/ft2_4FGL_J0108.6+0134_daily_bin734.fits outfile=/scratch/kocevski/357737/cmap_429580801_429840001_4FGL_J0108.6+0134_daily_bin734.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.29
user 0.39
sys 0.84

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/357737/ft1_filtered_4FGL_J0108.6+0134_daily_bin734.fits scfile=/scratch/kocevski/357737/ft2_4FGL_J0108.6+0134_daily_bin734.fits outfile=/scratch/kocevski/357737/cmap_HighResolution_429580801_429840001_4FGL_J0108.6+0134_daily_bin734.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.41
user 0.42
sys 0.71

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.658       1.0000         .10000E-03   10000.    
     2 'norm      '    25.907       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13915E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.3366       1.0000         .10000E-03   10000.    
     5 'norm      '    1.5794       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    26.394       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11129E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.4288       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.5062       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12769E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.8494       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2714       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .89118       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=   4520.472     FROM MIGRAD    STATUS=CONVERGED    482 CALLS     2334 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.661        20.568       -.31384E-06   -.18298E-05
   2  norm          25.909        14.402        .31652E-07    .15457E-04
   3  Prefactor     .10000E-03    2.0087       -.97330E-07** at limit **
   4  Prefactor     4.3366        3.0351       -.13197E-06   -.34825E-04
   5  norm          1.5788        2.1052        .10944E-05   -.30418E-02
   6  norm          .10000E-03    2.2768        .68225E-07** at limit **
   7  Prefactor     .10000E-03    15.288       -.75757E-05** at limit **
   8  Prefactor     .10000E-03    9.8613        .24192E-05** at limit **
   9  norm          26.397        32.318        .10782E-05    .24644E-04
  10  Prefactor     .10000E-03    102.23        .11856E-04** at limit **
  11  Prefactor     .10000E-03    45.744        .13248E-05** at limit **
  12  norm          3.4293        1.7982        .39137E-07    .38287E-04
  13  Prefactor     .10000E-03    14.341        .87248E-05** at limit **
  14  Prefactor     .10000E-03    11.207        .35396E-06** at limit **
  15  Prefactor     .10000E-03    5.2435        .15314E-06** at limit **
  16  Prefactor     .10000E-03    10.488       -.41678E-05** at limit **
  17  Prefactor     .10000E-03    4.2643       -.11812E-06** at limit **
  18  Prefactor     7.4939        80.960       -.21508E-04   -.43199E-04
  19  Prefactor     .10000E-03    107.94       -.14695E-04** at limit **
  20  Prefactor     7.8496        6.1830       -.63845E-07   -.13638E-06
  21  Normalizat    1.2714        .23319        .98995E-06    .20788E-04
  22  Prefactor     .89115        .18670        .14891E-06    .50166E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.6605
  norm       = 25.9089
  Prefactor  = 0.0001
  Prefactor  = 4.33661
  norm       = 1.57876
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 26.3968
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 3.42931
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.49387
  Prefactor  = 0.000100002
  Prefactor  = 7.84961
  Normalizat = 1.27138
  Prefactor  = 0.891151
 **********
 **   18 **HESSE 
 **********

 FCN=   4520.472     FROM HESSE     STATUS=OK           342 CALLS     2676 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.661        20.597        .80669E-04   -1.4714    
   2  norm          25.909        14.413        .78704E-04   -1.4690    
   3  Prefactor     .10000E-03    3.5824        .18426E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.3366        3.0370        .95080E-04   -1.5291    
   5  norm          1.5788        4.4023        .11551E-02   -1.5457    
   6  norm          .10000E-03    2.2913        .99064E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.8690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          26.397        32.435        .77976E-04   -1.4680    
  10  Prefactor     .10000E-03    102.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    45.756        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.4293        1.7999        .62557E-04   -1.5338    
  13  Prefactor     .10000E-03    14.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.3254        .15028E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.2798        .13559E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.4939        81.556        .14638E-03   -1.5160    
  19  Prefactor     .10000E-03    108.35        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.8496        6.1843        .14312E-03   -1.5148    
  21  Normalizat    1.2714        .27337        .26386E-03   -.84425    
  22  Prefactor     .89115        .21957        .24773E-03   -.96451    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1497e-08
Minuit parameter uncertainties:
  1  20.6031
  2  14.4149
  3  2.34169e-05
  4  3.03708
  5  4.4032
  6  3.72478e-07
  7  0.000195673
  8  4.68906e-05
  9  32.4568
  10  0.000697159
  11  4.98884e-05
  12  1.79995
  13  0.000211355
  14  1.46644e-06
  15  5.13651e-06
  16  9.00123e-05
  17  4.34045e-06
  18  49.5297
  19  0.00100983
  20  6.1848
  21  0.273681
  22  0.219789
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  3.429e+00  1.800e+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:  8.912e-01  2.198e-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.271e+00  2.737e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.08
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 9.63e-08 +/- 5.05e-08
Energy Flux (Fixed Index): 3.24e-05 +/- 1.70e-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) = 4520.34544144
delta logL = 0.12637812701

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4520.33833535
delta logL = 0.133484219469

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2332       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0019       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2965       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88017       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=   4520.338     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      203 TOTAL
                     EDM=   .87E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2329        1.8726        .56319E-02    .61281E-04
   2  alpha         2.0017        .47981        .30620       -.13713E-04
   3  Normalizat    1.2965        .23034        .59200E-01    .50302E-05
   4  Prefactor     .88017        .18394        .44752E-01    .10066E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.23288
  alpha      = 2.00175
  Normalizat = 1.29651
  Prefactor  = 0.880173
 **********
 **   18 **HESSE 
 **********

 FCN=   4520.338     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .24E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2329        1.9596        .65302E-04   -1.5348    
   2  alpha         2.0017        .54773        .12355E-01   -.20065    
   3  Normalizat    1.2965        .27185        .26181E-03   -.83671    
   4  Prefactor     .88017        .21562        .24919E-03   -.96837    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.41921e-13
Minuit parameter uncertainties:
  1  1.95964
  2  0.552396
  3  0.272146
  4  0.21583
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/357737': 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) = 4520.3383353
delta logL = 0.133484272478

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  3.233e+00  1.960e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.002e+00  5.524e-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:  8.802e-01  2.158e-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.297e+00  2.721e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.30
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.00 +/- 0.55
Photon Flux (Free Index): 7.36e-08 +/- 5.98e-08
Energy Flux (Free Index): 3.52e-05 +/- 2.12e-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/357737/cmap_HighResolution_429580801_429840001_4FGL_J0108.6+0134_daily_bin734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.63e-08', energy_flux2='3.52e-05', photon_flux_error='5.05e-08', dlogl='1.33e-01', energy_flux='3.24e-05', photon_flux2='7.36e-08', job_status='DONE', time_completed='2021-08-13 13:12:49.102090', photon_index_error2='0.55', photon_index2='2.00', ts='11.08', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='2.12e-05', EG='1.27', time_epoch_completed='1628885569.1', return_code='0', job_id='357737', GAL2='0.88', EG2='1.30', return_code2='0', energy_flux_error='1.70e-05', photon_flux_error2='5.98e-08', ts2='11.30', photon_index='2.28' WHERE bin_id='734' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:12:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0172>
Subject: Job 357737: <4FGL_J0108.6+0134_daily_bin734> in cluster <slac> Done

Job <4FGL_J0108.6+0134_daily_bin734> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Aug 13 13:01:06 2021
Job was executed on host(s) <bullet0172>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 13:02:30 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:02:30 2021
Terminated at Fri Aug 13 13:12:50 2021
Results reported at Fri Aug 13 13:12:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin734 17.1695 1.5819 429580801 429840001 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 :                                   541.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             300.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   619 sec.
    Turnaround time :                            704 sec.

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

