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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin682
RA = 17.1695, Dec = 1.5819
tmin = 416102401, tmax = 416361601
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='357665', job_status='RUN', time_executed='2021-08-13 13:05:23.442186', time_epoch_executed='1628885123.44' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='682'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/357665

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/357665/ft1_4FGL_J0108.6+0134_daily_bin682.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/357665/ft2_4FGL_J0108.6+0134_daily_bin682.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/357665/ft1_4FGL_J0108.6+0134_daily_bin682.fits outfile=/scratch/kocevski/357665/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin682.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=416102401.0 tmax=416361601.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 10.91
user 6.20
sys 2.58

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/357665/ft1_filtered_4FGL_J0108.6+0134_daily_bin682.fits" evtable="EVENTS" scfile=/scratch/kocevski/357665/ft2_4FGL_J0108.6+0134_daily_bin682.fits sctable="SC_DATA" outfile=/scratch/kocevski/357665/ltcube_416102401_416361601_4FGL_J0108.6+0134_daily_bin682.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/357665/ft2_4FGL_J0108.6+0134_daily_bin682.fits
.....................!
real 16.65
user 11.52
sys 2.99

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/357665/ft1_filtered_4FGL_J0108.6+0134_daily_bin682.fits evtable="EVENTS" scfile=/scratch/kocevski/357665/ft2_4FGL_J0108.6+0134_daily_bin682.fits sctable="SC_DATA" expcube=/scratch/kocevski/357665/ltcube_416102401_416361601_4FGL_J0108.6+0134_daily_bin682.fits outfile=/scratch/kocevski/357665/expmap_416102401_416361601_4FGL_J0108.6+0134_daily_bin682.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/357665/ltcube_416102401_416361601_4FGL_J0108.6+0134_daily_bin682.fits
.....................!
real 209.41
user 186.72
sys 8.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/357665/ft1_filtered_4FGL_J0108.6+0134_daily_bin682.fits scfile=/scratch/kocevski/357665/ft2_4FGL_J0108.6+0134_daily_bin682.fits outfile=/scratch/kocevski/357665/cmap_416102401_416361601_4FGL_J0108.6+0134_daily_bin682.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 7.40
user 0.37
sys 2.32

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/357665/ft1_filtered_4FGL_J0108.6+0134_daily_bin682.fits scfile=/scratch/kocevski/357665/ft2_4FGL_J0108.6+0134_daily_bin682.fits outfile=/scratch/kocevski/357665/cmap_HighResolution_416102401_416361601_4FGL_J0108.6+0134_daily_bin682.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.30
user 0.38
sys 2.49

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    9.3908       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.7462       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .89135       1.0000         .10000E-03   10000.    
     5 'norm      '    .44101E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    9.8683       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.6784       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.810       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.7569       1.0000         .10000E-03   10000.    
    18 'Prefactor '    88.175       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .77671       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0415       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=   4425.498     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2334 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.6795       -.79694E-07** at limit **
   2  norm          9.3916        12.714        .21830E-05    .81621E-04
   3  Prefactor     8.7473        4.6968        .71140E-07   -.16823E-04
   4  Prefactor     .89050        3.3802        .12326E-05    .40710E-04
   5  norm          .10008E-03    7.5137        .99382E-06** at limit **
   6  norm          .10000E-03    2.0317        .12119E-07** at limit **
   7  Prefactor     .10000E-03    29.836        .24246E-06** at limit **
   8  Prefactor     .10000E-03    14.211        .15362E-06** at limit **
   9  norm          .10000E-03    24.455       -.29792E-06** at limit **
  10  Prefactor     .10000E-03    40.496       -.51946E-07** at limit **
  11  Prefactor     .10000E-03    47.182       -.17969E-06** at limit **
  12  norm          9.8688        2.6440        .19803E-07   -.27530E-04
  13  Prefactor     7.6708        91.726        .18184E-05    .11040E-05
  14  Prefactor     .10000E-03    13.885       -.12732E-06** at limit **
  15  Prefactor     .10000E-03    7.3163       -.64129E-06** at limit **
  16  Prefactor     11.912        102.73       -.35844E-05    .94769E-06
  17  Prefactor     8.7531        14.234        .14284E-05    .33145E-04
  18  Prefactor     88.144        68.815        .29506E-06   -.14437E-04
  19  Prefactor     .10000E-03    24.154       -.36243E-07** at limit **
  20  Prefactor     .10000E-03    2.7698       -.12385E-06** at limit **
  21  Normalizat    .77647        .23891       -.19913E-05   -.39284E-04
  22  Prefactor     1.0416        .18322        .60658E-06   -.11732E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 9.39157
  Prefactor  = 8.74728
  Prefactor  = 0.890503
  norm       = 0.000100078
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.86875
  Prefactor  = 7.67081
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.9122
  Prefactor  = 8.75308
  Prefactor  = 88.1435
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.776474
  Prefactor  = 1.04164
 **********
 **   18 **HESSE 
 **********

 FCN=   4425.498     FROM HESSE     STATUS=OK           342 CALLS     2676 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.6904        .18005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          9.3916        12.704        .65389E-03   -1.5095    
   3  Prefactor     8.7473        4.7020        .99152E-04   -1.5116    
   4  Prefactor     .89050        3.3815        .22753E-03   -1.5519    
   5  norm          .10008E-03    46.567        .33463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.0334        .92579E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    29.840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    24.868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    40.523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    47.191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.8688        2.6479        .52892E-04   -1.5080    
  13  Prefactor     7.6708        91.430        .14472E-03   -1.5154    
  14  Prefactor     .10000E-03    13.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.3718        .17536E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.912        100.82        .11657E-03   -1.5018    
  17  Prefactor     8.7531        14.206        .13545E-03   -1.5116    
  18  Prefactor     88.144        68.839        .21394E-03   -1.3827    
  19  Prefactor     .10000E-03    24.152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.8108        .10807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .77647        .27363        .30595E-03   -1.0095    
  22  Prefactor     1.0416        .21170        .21674E-03   -.91354    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61643e-09
Minuit parameter uncertainties:
  1  2.41267e-06
  2  12.7077
  3  4.70216
  4  3.3822
  5  0.00381116
  6  2.96831e-06
  7  2.04468e-05
  8  7.27025e-06
  9  1.21964e-05
  10  3.13109e-05
  11  3.49792e-05
  12  2.6479
  13  53.0669
  14  7.5434e-06
  15  1.46774e-05
  16  69.4696
  17  14.2115
  18  68.9015
  19  1.44499e-05
  20  9.49234e-07
  21  0.274117
  22  0.211866
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  9.869e+00  2.648e+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.042e+00  2.119e-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.765e-01  2.741e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 47.02
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 2.77e-07 +/- 7.43e-08
Energy Flux (Fixed Index): 9.32e-05 +/- 2.50e-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) = 4425.38861354
delta logL = 0.109282663773

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4425.38053381
delta logL = 0.117362400757

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.8724       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1310       1.0000          .0000       5.0000    
     3 'Normalizat'    .81170       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0230       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=   4425.381     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      198 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.8876        2.8194        .31883E-02   -.14287E-03
   2  alpha         2.1312        .31521        .17815       -.37801E-04
   3  Normalizat    .81127        .22731        .67853E-01    .18328E-06
   4  Prefactor     1.0232        .18023        .41855E-01   -.12509E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.88757
  alpha      = 2.13124
  Normalizat = 0.811274
  Prefactor  = 1.02315
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.8876        2.7029        .54282E-04   -1.5079    
   2  alpha         2.1312        .31281        .76044E-02   -.14804    
   3  Normalizat    .81127        .26848        .30021E-03   -.99652    
   4  Prefactor     1.0232        .21197        .21849E-03   -.91962    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01158e-11
Minuit parameter uncertainties:
  1  2.70292
  2  0.31365
  3  0.26892
  4  0.21214
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/357665': 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) = 4425.38051786
delta logL = 0.117378350772

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  9.888e+00  2.703e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.131e+00  3.137e-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.023e+00  2.121e-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.113e-01  2.689e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 47.19
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.13 +/- 0.31
Photon Flux (Free Index): 2.46e-07 +/- 9.16e-08
Energy Flux (Free Index): 9.87e-05 +/- 3.03e-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/357665/cmap_HighResolution_416102401_416361601_4FGL_J0108.6+0134_daily_bin682.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.77e-07', energy_flux2='9.87e-05', photon_flux_error='7.43e-08', dlogl='1.17e-01', energy_flux='9.32e-05', photon_flux2='2.46e-07', job_status='DONE', time_completed='2021-08-13 13:15:00.768587', photon_index_error2='0.31', photon_index2='2.13', ts='47.02', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='3.03e-05', EG='0.78', time_epoch_completed='1628885700.77', return_code='0', job_id='357665', GAL2='1.02', EG2='0.81', return_code2='0', energy_flux_error='2.50e-05', photon_flux_error2='9.16e-08', ts2='47.19', photon_index='2.28' WHERE bin_id='682' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:15:00 PDT 2021


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

Job <4FGL_J0108.6+0134_daily_bin682> 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) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 13:01:42 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:42 2021
Terminated at Fri Aug 13 13:15:01 2021
Results reported at Fri Aug 13 13:15:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin682 17.1695 1.5819 416102401 416361601 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 :                                   573.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            840 sec.

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

