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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin635
RA = 17.1695, Dec = 1.5819
tmin = 403920001, tmax = 404179201
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='357618', job_status='RUN', time_executed='2021-08-13 13:05:44.521270', time_epoch_executed='1628885144.52' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='635'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/357618

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

Retrieving the FT1 file...

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

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

Retrieving 39 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/357618/ft1_4FGL_J0108.6+0134_daily_bin635.fits


Retrieving the FT1 file...

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

Retrieving 39 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/357618/ft2_4FGL_J0108.6+0134_daily_bin635.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/357618/ft1_4FGL_J0108.6+0134_daily_bin635.fits outfile=/scratch/kocevski/357618/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin635.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=403920001.0 tmax=404179201.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 14.92
user 9.74
sys 2.64

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/357618/ft2_4FGL_J0108.6+0134_daily_bin635.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/357618/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin635.fits evtable="EVENTS" outfile="/scratch/kocevski/357618/ft1_filtered_4FGL_J0108.6+0134_daily_bin635.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 8.14
user 0.32
sys 2.52

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/357618/ft1_filtered_4FGL_J0108.6+0134_daily_bin635.fits" evtable="EVENTS" scfile=/scratch/kocevski/357618/ft2_4FGL_J0108.6+0134_daily_bin635.fits sctable="SC_DATA" outfile=/scratch/kocevski/357618/ltcube_403920001_404179201_4FGL_J0108.6+0134_daily_bin635.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/357618/ft2_4FGL_J0108.6+0134_daily_bin635.fits
.....................!
real 15.33
user 8.73
sys 3.02

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/357618/ft1_filtered_4FGL_J0108.6+0134_daily_bin635.fits evtable="EVENTS" scfile=/scratch/kocevski/357618/ft2_4FGL_J0108.6+0134_daily_bin635.fits sctable="SC_DATA" expcube=/scratch/kocevski/357618/ltcube_403920001_404179201_4FGL_J0108.6+0134_daily_bin635.fits outfile=/scratch/kocevski/357618/expmap_403920001_404179201_4FGL_J0108.6+0134_daily_bin635.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/357618/ltcube_403920001_404179201_4FGL_J0108.6+0134_daily_bin635.fits
.....................!
real 209.01
user 184.81
sys 8.31

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/357618/ft1_filtered_4FGL_J0108.6+0134_daily_bin635.fits scfile=/scratch/kocevski/357618/ft2_4FGL_J0108.6+0134_daily_bin635.fits outfile=/scratch/kocevski/357618/cmap_403920001_404179201_4FGL_J0108.6+0134_daily_bin635.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 4.21
user 0.39
sys 2.55

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/357618/ft1_filtered_4FGL_J0108.6+0134_daily_bin635.fits scfile=/scratch/kocevski/357618/ft2_4FGL_J0108.6+0134_daily_bin635.fits outfile=/scratch/kocevski/357618/cmap_HighResolution_403920001_404179201_4FGL_J0108.6+0134_daily_bin635.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 3.57
user 0.39
sys 2.48

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .94080       1.0000         .10000E-03   10000.    
     2 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .20739E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.286       1.0000         .10000E-03   10000.    
     5 'norm      '    3.7608       1.0000         .10000E-03   10000.    
     6 'norm      '    .10201E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10212E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .42706E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    13.033       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.0151       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.0357       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11757E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .14193E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    143.58       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0657       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0405       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=   4629.665     FROM MIGRAD    STATUS=CONVERGED    842 CALLS     2749 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94931        82.268        .45419E-02   -.10211E-03
   2  norm          .10000E-03    6.2893        .16651E-02** at limit **
   3  Prefactor     .10001E-03    42.286        .19139E-02** at limit **
   4  Prefactor     16.284        7.2775        .99246E-04   -.18546E-03
   5  norm          3.7606        7.1154        .20819E-03   -.71537E-04
   6  norm          .10000E-03    14.877        .36285E-03** at limit **
   7  Prefactor     .10000E-03    28.410        .18142E-02** at limit **
   8  Prefactor     .10000E-03    42.209        .18142E-02** at limit **
   9  norm          .10000E-03    5.4631        .15532E-02** at limit **
  10  Prefactor     .10001E-03    71.406        .16538    ** at limit **
  11  Prefactor     .10000E-03    94.874        .18142E-02** at limit **
  12  norm          13.033        3.1606        .55778E-04   -.21850E-03
  13  Prefactor     .10000E-03    19.773        .18142E-02** at limit **
  14  Prefactor     9.0137        9.7854        .66744E-03    .20162E-03
  15  Prefactor     2.0332        6.5030        .28989E-03   -.17087E-03
  16  Prefactor     .10000E-03    25.697        .18142E-02** at limit **
  17  Prefactor     .10000E-03    17.148        .18142E-02** at limit **
  18  Prefactor     .10001E-03    268.01        .20514E-02** at limit **
  19  Prefactor     143.36        140.57        .16812E-03   -.23059E-04
  20  Prefactor     .10000E-03    2.0771        .95546E-03** at limit **
  21  Normalizat    1.0657        .27955        .29055E-03   -.59475E-04
  22  Prefactor     1.0405        .21665        .23469E-03   -.20434E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.949309
  norm       = 0.0001
  Prefactor  = 0.000100013
  Prefactor  = 16.2838
  norm       = 3.76059
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  norm       = 13.0326
  Prefactor  = 0.0001
  Prefactor  = 9.01367
  Prefactor  = 2.03319
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100007
  Prefactor  = 143.362
  Prefactor  = 0.0001
  Normalizat = 1.0657
  Prefactor  = 1.04048
 **********
 **   18 **HESSE 
 **********

 FCN=   4629.665     FROM HESSE     STATUS=OK           332 CALLS     3081 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94931        82.478        .18168E-03   -1.5513    
   2  norm          .10000E-03    6.2897        .33302E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    43.238        .38278E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.284        7.2772        .39698E-05   -1.4901    
   5  norm          3.7606        7.1153        .83275E-05   -1.5320    
   6  norm          .10000E-03    14.878        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    28.410        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    42.212        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    5.4632        .31064E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    71.887        .16458       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    94.877        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          13.033        3.1600        .22311E-05   -1.4986    
  13  Prefactor     .10000E-03    19.773        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.0137        9.7850        .26698E-04   -1.5107    
  15  Prefactor     2.0332        6.5018        .11596E-04   -1.5423    
  16  Prefactor     .10000E-03    25.697        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    17.162        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    268.15        .41028E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     143.36        140.55        .67249E-05   -1.3308    
  20  Prefactor     .10000E-03    2.0772        .19109E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0657        .27906        .11622E-04   -.90861    
  22  Prefactor     1.0405        .21677        .46938E-04   -.91392    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21009e-09
Minuit parameter uncertainties:
  1  17.7215
  2  5.09744e-06
  3  0.00152729
  4  7.27755
  5  7.1169
  6  4.60557e-05
  7  6.71473e-06
  8  1.47222e-05
  9  2.08575e-06
  10  0.00147263
  11  0.000277926
  12  3.16003
  13  4.36442e-05
  14  9.78678
  15  6.50407
  16  5.9046e-05
  17  0.000306005
  18  0.00267007
  19  140.875
  20  8.46138e-06
  21  0.279447
  22  0.216952
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  1.303e+01  3.160e+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.040e+00  2.170e-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.066e+00  2.794e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 42.95
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 3.66e-07 +/- 8.87e-08
Energy Flux (Fixed Index): 1.23e-04 +/- 2.98e-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) = 4627.65884988
delta logL = 2.00634771838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4627.65795125
delta logL = 2.00724634532

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.454       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8810       1.0000          .0000       5.0000    
     3 'Normalizat'    .90836       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1280       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=   4627.658     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      262 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.454        3.1566        .44944E-04    .29794E-02
   2  alpha         2.8811        .31498        .56826E-03    .21621E-03
   3  Normalizat    .90840        .28402        .30997E-03   -.53914E-05
   4  Prefactor     1.1281        .22288        .22654E-03   -.46531E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.4538
  alpha      = 2.88108
  Normalizat = 0.9084
  Prefactor  = 1.12811
 **********
 **   18 **HESSE 
 **********

 FCN=   4627.658     FROM HESSE     STATUS=OK            23 CALLS      285 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.454        3.1488        .89889E-05   -1.5061    
   2  alpha         2.8811        .31420        .22730E-04    .15303    
   3  Normalizat    .90840        .28428        .12399E-04   -.96166    
   4  Prefactor     1.1281        .22308        .45307E-04   -.88573    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.94805e-10
Minuit parameter uncertainties:
  1  3.1488
  2  0.315055
  3  0.284755
  4  0.223268
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/357618': 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) = 4627.65795074
delta logL = 2.00724686156

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  1.045e+01  3.149e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.881e+00  3.151e-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.128e+00  2.233e-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.084e-01  2.848e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 48.03
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.88 +/- 0.32
Photon Flux (Free Index): 5.19e-07 +/- 1.31e-07
Energy Flux (Free Index): 1.12e-04 +/- 2.49e-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/357618/cmap_HighResolution_403920001_404179201_4FGL_J0108.6+0134_daily_bin635.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.66e-07', energy_flux2='1.12e-04', photon_flux_error='8.87e-08', dlogl='2.01e+00', energy_flux='1.23e-04', photon_flux2='5.19e-07', job_status='DONE', time_completed='2021-08-13 13:15:59.844461', photon_index_error2='0.32', photon_index2='2.88', ts='42.95', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='2.49e-05', EG='1.07', time_epoch_completed='1628885759.84', return_code='0', job_id='357618', GAL2='1.13', EG2='0.91', return_code2='0', energy_flux_error='2.98e-05', photon_flux_error2='1.31e-07', ts2='48.03', photon_index='2.28' WHERE bin_id='635' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:15:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0146>
Subject: Job 357618: <4FGL_J0108.6+0134_daily_bin635> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin635 17.1695 1.5819 403920001 404179201 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 :                                   614.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             246.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   891 sec.
    Turnaround time :                            902 sec.

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

