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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin671
RA = 17.1695, Dec = 1.5819
tmin = 413251201, tmax = 413510401
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='357654', job_status='RUN', time_executed='2021-08-13 13:03:13.814289', time_epoch_executed='1628884993.81' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='671'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/357654

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/357654/ft1_4FGL_J0108.6+0134_daily_bin671.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/357654/ft2_4FGL_J0108.6+0134_daily_bin671.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/357654/ft1_4FGL_J0108.6+0134_daily_bin671.fits outfile=/scratch/kocevski/357654/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin671.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=413251201.0 tmax=413510401.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.77
user 5.47
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/357654/ft1_filtered_4FGL_J0108.6+0134_daily_bin671.fits" evtable="EVENTS" scfile=/scratch/kocevski/357654/ft2_4FGL_J0108.6+0134_daily_bin671.fits sctable="SC_DATA" outfile=/scratch/kocevski/357654/ltcube_413251201_413510401_4FGL_J0108.6+0134_daily_bin671.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/357654/ft2_4FGL_J0108.6+0134_daily_bin671.fits
.....................!
real 13.29
user 12.54
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/357654/ft1_filtered_4FGL_J0108.6+0134_daily_bin671.fits evtable="EVENTS" scfile=/scratch/kocevski/357654/ft2_4FGL_J0108.6+0134_daily_bin671.fits sctable="SC_DATA" expcube=/scratch/kocevski/357654/ltcube_413251201_413510401_4FGL_J0108.6+0134_daily_bin671.fits outfile=/scratch/kocevski/357654/expmap_413251201_413510401_4FGL_J0108.6+0134_daily_bin671.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/357654/ltcube_413251201_413510401_4FGL_J0108.6+0134_daily_bin671.fits
.....................!
real 191.12
user 185.76
sys 4.95

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/357654/ft1_filtered_4FGL_J0108.6+0134_daily_bin671.fits scfile=/scratch/kocevski/357654/ft2_4FGL_J0108.6+0134_daily_bin671.fits outfile=/scratch/kocevski/357654/cmap_413251201_413510401_4FGL_J0108.6+0134_daily_bin671.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.98
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/357654/ft1_filtered_4FGL_J0108.6+0134_daily_bin671.fits scfile=/scratch/kocevski/357654/ft2_4FGL_J0108.6+0134_daily_bin671.fits outfile=/scratch/kocevski/357654/cmap_HighResolution_413251201_413510401_4FGL_J0108.6+0134_daily_bin671.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.74
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5013       1.0000         .10000E-03   10000.    
     2 'norm      '    27.914       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.1042       1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.623       1.0000         .10000E-03   10000.    
     5 'norm      '    11.391       1.0000         .10000E-03   10000.    
     6 'norm      '    .10247E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10602E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11279E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10345E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.2853       1.0000         .10000E-03   10000.    
    11 'Prefactor '    42.534       1.0000         .10000E-03   10000.    
    12 'norm      '    4.7373       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.675       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10868E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.972       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11900E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10299E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11357       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .15643E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.0534       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .77043       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .80233       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2711.342     FROM MIGRAD    STATUS=CONVERGED    876 CALLS     3104 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5011        12.596        .14643E-03    .24456E-05
   2  norm          27.933        15.976        .75827E-04    .12294E-04
   3  Prefactor     5.1057        4.4434        .96956E-04    .20520E-04
   4  Prefactor     17.624        7.6443        .90866E-04    .15890E-04
   5  norm          11.391        9.4190        .11870E-03   -.86199E-06
   6  norm          .10000E-03    3.9631        .10115E-02** at limit **
   7  Prefactor     .10000E-03    36.446        .18142E-02** at limit **
   8  Prefactor     .10000E-03    19.189        .18142E-02** at limit **
   9  norm          .10000E-03    7.5570        .13981E-02** at limit **
  10  Prefactor     1.4575        817.33        .39108E-02    .32049E-05
  11  Prefactor     42.752        109.23        .61468E-04   -.81379E-05
  12  norm          4.7313        3.2101        .62732E-04   -.14815E-03
  13  Prefactor     11.682        134.76        .11724E-03    .53817E-05
  14  Prefactor     .10000E-03    15.772        .18142E-02** at limit **
  15  Prefactor     17.974        18.933        .94475E-04    .18652E-04
  16  Prefactor     .10000E-03    67.485        .18142E-02** at limit **
  17  Prefactor     .10000E-03    65.173        .36285E-03** at limit **
  18  Prefactor     .10006E-03    156.11        .17243    ** at limit **
  19  Prefactor     .10000E-03    72.166        .18142E-02** at limit **
  20  Prefactor     8.0540        6.9812        .12375E-03    .50987E-05
  21  Normalizat    .77029        .32948        .27554E-03   -.38785E-05
  22  Prefactor     .80234        .24997        .21935E-03   -.34362E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.50112
  norm       = 27.9325
  Prefactor  = 5.10569
  Prefactor  = 17.624
  norm       = 11.3909
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.45751
  Prefactor  = 42.7524
  norm       = 4.73129
  Prefactor  = 11.6817
  Prefactor  = 0.0001
  Prefactor  = 17.9741
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100063
  Prefactor  = 0.0001
  Prefactor  = 8.05399
  Normalizat = 0.77029
  Prefactor  = 0.802344
 **********
 **   18 **HESSE 
 **********

 FCN=   2711.342     FROM HESSE     STATUS=OK           332 CALLS     3436 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5011        12.596        .58572E-05   -1.5160    
   2  norm          27.933        15.975        .15165E-04   -1.4650    
   3  Prefactor     5.1057        4.4426        .38783E-05   -1.5256    
   4  Prefactor     17.624        7.6437        .36346E-05   -1.4868    
   5  norm          11.391        9.4188        .47480E-05   -1.5033    
   6  norm          .10000E-03    3.9632        .20231E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    36.446        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    19.189        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    7.5570        .27962E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.4575        814.53        .15643E-03   -1.5467    
  11  Prefactor     42.752        109.17        .24587E-05   -1.4399    
  12  norm          4.7313        3.2098        .25093E-05   -1.5273    
  13  Prefactor     11.682        134.69        .46897E-05   -1.5024    
  14  Prefactor     .10000E-03    15.773        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     17.974        18.924        .37790E-05   -1.4860    
  16  Prefactor     .10000E-03    67.488        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    65.176        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10006E-03    177.53        .15936       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    72.167        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.0540        6.9805        .49500E-05   -1.5140    
  21  Normalizat    .77029        .32912        .11021E-04   -1.0118    
  22  Prefactor     .80234        .25021        .87741E-05   -.99642    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3605e-11
Minuit parameter uncertainties:
  1  12.6
  2  15.9775
  3  4.44289
  4  7.64409
  5  9.42005
  6  1.59716e-06
  7  3.40507e-06
  8  6.14994e-06
  9  1.17188e-06
  10  69.8857
  11  109.687
  12  3.20989
  13  79.5578
  14  9.22125e-05
  15  18.9302
  16  2.77819e-05
  17  6.30185e-05
  18  0.0066936
  19  2.1785e-05
  20  6.98124
  21  0.329971
  22  0.250567
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  4.731e+00  3.210e+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.023e-01  2.506e-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:  7.703e-01  3.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.00
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 1.33e-07 +/- 9.01e-08
Energy Flux (Fixed Index): 4.47e-05 +/- 3.03e-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) = 2711.01924012
delta logL = 0.322713558159

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2711.0184852
delta logL = 0.323468478019

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0048       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7351       1.0000          .0000       5.0000    
     3 'Normalizat'    .72762       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82769       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=   2711.018     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      232 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0048        53.021        .50381E-02    .24239E-03
   2  alpha         2.7351        3.4706        .21451        .19221E-05
   3  Normalizat    .72763        .15466        .63818E-01    .18045E-04
   4  Prefactor     .82769        .15095        .44077E-01   -.17357E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.0048
  alpha      = 2.73508
  Normalizat = 0.727628
  Prefactor  = 0.827691
 **********
 **   18 **HESSE 
 **********

 FCN=   2711.018     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0048        2.8061        .53682E-04   -1.5308    
   2  alpha         2.7351        .60843        .91843E-02    .94172E-01
   3  Normalizat    .72763        .31267        .28233E-03   -1.0281    
   4  Prefactor     .82769        .25194        .21628E-03   -.98716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16646e-11
Minuit parameter uncertainties:
  1  2.80619
  2  0.614661
  3  0.313445
  4  0.252295
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/357654': 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) = 2711.0184852
delta logL = 0.323468479967

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  4.005e+00  2.806e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.735e+00  6.147e-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.277e-01  2.523e-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:  7.276e-01  3.134e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.78
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.74 +/- 0.61
Photon Flux (Free Index): 1.71e-07 +/- 9.90e-08
Energy Flux (Free Index): 4.01e-05 +/- 2.32e-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/357654/cmap_HighResolution_413251201_413510401_4FGL_J0108.6+0134_daily_bin671.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.33e-07', energy_flux2='4.01e-05', photon_flux_error='9.01e-08', dlogl='3.23e-01', energy_flux='4.47e-05', photon_flux2='1.71e-07', job_status='DONE', time_completed='2021-08-13 13:11:05.702874', photon_index_error2='0.61', photon_index2='2.74', ts='5.00', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='2.32e-05', EG='0.77', time_epoch_completed='1628885465.7', return_code='0', job_id='357654', GAL2='0.83', EG2='0.73', return_code2='0', energy_flux_error='3.03e-05', photon_flux_error2='9.90e-08', ts2='5.78', photon_index='2.28' WHERE bin_id='671' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:11:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0129>
Subject: Job 357654: <4FGL_J0108.6+0134_daily_bin671> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin671 17.1695 1.5819 413251201 413510401 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 :                                   461.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             292.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   573 sec.
    Turnaround time :                            605 sec.

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

