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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin953
RA = 17.1695, Dec = 1.5819
tmin = 486345601, tmax = 486604801
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='359227', job_status='RUN', time_executed='2021-08-13 13:06:53.058598', time_epoch_executed='1628885213.06' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='953'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/359227

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/359227/ft1_4FGL_J0108.6+0134_daily_bin953.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/359227/ft2_4FGL_J0108.6+0134_daily_bin953.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/359227/ft1_4FGL_J0108.6+0134_daily_bin953.fits outfile=/scratch/kocevski/359227/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin953.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=486345601.0 tmax=486604801.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 2.91
user 2.66
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/359227/ft2_4FGL_J0108.6+0134_daily_bin953.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/359227/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin953.fits evtable="EVENTS" outfile="/scratch/kocevski/359227/ft1_filtered_4FGL_J0108.6+0134_daily_bin953.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.44
user 0.28
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/359227/ft1_filtered_4FGL_J0108.6+0134_daily_bin953.fits" evtable="EVENTS" scfile=/scratch/kocevski/359227/ft2_4FGL_J0108.6+0134_daily_bin953.fits sctable="SC_DATA" outfile=/scratch/kocevski/359227/ltcube_486345601_486604801_4FGL_J0108.6+0134_daily_bin953.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/359227/ft2_4FGL_J0108.6+0134_daily_bin953.fits
.....................!
real 10.76
user 10.45
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/359227/ft1_filtered_4FGL_J0108.6+0134_daily_bin953.fits evtable="EVENTS" scfile=/scratch/kocevski/359227/ft2_4FGL_J0108.6+0134_daily_bin953.fits sctable="SC_DATA" expcube=/scratch/kocevski/359227/ltcube_486345601_486604801_4FGL_J0108.6+0134_daily_bin953.fits outfile=/scratch/kocevski/359227/expmap_486345601_486604801_4FGL_J0108.6+0134_daily_bin953.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/359227/ltcube_486345601_486604801_4FGL_J0108.6+0134_daily_bin953.fits
.....................!
real 158.70
user 154.05
sys 4.33

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/359227/ft1_filtered_4FGL_J0108.6+0134_daily_bin953.fits scfile=/scratch/kocevski/359227/ft2_4FGL_J0108.6+0134_daily_bin953.fits outfile=/scratch/kocevski/359227/cmap_486345601_486604801_4FGL_J0108.6+0134_daily_bin953.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 0.47
user 0.32
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/359227/ft1_filtered_4FGL_J0108.6+0134_daily_bin953.fits scfile=/scratch/kocevski/359227/ft2_4FGL_J0108.6+0134_daily_bin953.fits outfile=/scratch/kocevski/359227/cmap_HighResolution_486345601_486604801_4FGL_J0108.6+0134_daily_bin953.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 0.50
user 0.33
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1415       1.0000         .10000E-03   10000.    
     2 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.5733       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.5037       1.0000         .10000E-03   10000.    
     6 'norm      '    3.8590       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11901E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    23.936       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    144.90       1.0000         .10000E-03   10000.    
    12 'norm      '    37.485       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10527E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.1652       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.7608       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.7454       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.3884       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5810       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .67695       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=   7159.637     FROM MIGRAD    STATUS=CONVERGED    508 CALLS     2437 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1381        11.717        .69877E-06    .14260E-04
   2  norm          .10000E-03    7.0501        .55707E-06** at limit **
   3  Prefactor     7.5720        3.5753        .53442E-06   -.43911E-04
   4  Prefactor     .10000E-03    1.0113        .79486E-07** at limit **
   5  norm          5.5039        4.5658       -.61138E-07   -.22404E-04
   6  norm          3.8591        4.2562        .19116E-05   -.11651E-03
   7  Prefactor     .10000E-03    21.381        .11757E-06** at limit **
   8  Prefactor     .10000E-03    56.985        .31221E-05** at limit **
   9  norm          23.940        18.086        .37579E-06   -.58934E-05
  10  Prefactor     .10000E-03    18.626        .66467E-07** at limit **
  11  Prefactor     144.30        126.23       -.51794E-05   -.35210E-03
  12  norm          37.489        4.1279       -.15950E-06   -.29869E-03
  13  Prefactor     .10001E-03    73.424       -.19239E-05** at limit **
  14  Prefactor     6.1652        11.489        .34245E-06   -.63882E-06
  15  Prefactor     2.7595        5.3401        .11897E-04   -.18991E-03
  16  Prefactor     .10000E-03    12.738        .12157E-06** at limit **
  17  Prefactor     .10000E-03    3.5495        .15989E-06** at limit **
  18  Prefactor     2.7156        91.630       -.19537E-06    .58146E-05
  19  Prefactor     .10001E-03    192.56        .36270E-05** at limit **
  20  Prefactor     6.3873        6.3556        .19996E-06    .62067E-04
  21  Normalizat    1.5817        .21609        .39898E-05   -.39743E-03
  22  Prefactor     .67636        .16323       -.72006E-05    .13344E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.13806
  norm       = 0.0001
  Prefactor  = 7.57199
  Prefactor  = 0.0001
  norm       = 5.50387
  norm       = 3.85913
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 23.9399
  Prefactor  = 0.0001
  Prefactor  = 144.303
  norm       = 37.4894
  Prefactor  = 0.000100009
  Prefactor  = 6.16525
  Prefactor  = 2.75946
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.71563
  Prefactor  = 0.000100006
  Prefactor  = 6.38728
  Normalizat = 1.58174
  Prefactor  = 0.676355
 **********
 **   18 **HESSE 
 **********

 FCN=   7159.637     FROM HESSE     STATUS=OK           342 CALLS     2779 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1381        11.735        .22871E-03   -1.5354    
   2  norm          .10000E-03    7.1236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.5720        3.5831        .52583E-03   -1.5158    
   4  Prefactor     .10000E-03    1.0199        .83060E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.5039        4.5654        .16044E-03   -1.5239    
   6  norm          3.8591        4.2504        .88921E-03   -1.5315    
   7  Prefactor     .10000E-03    21.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    59.611        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          23.940        18.094        .81875E-04   -1.4729    
  10  Prefactor     .10000E-03    18.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     144.30        126.90        .16736E-03   -1.3300    
  12  norm          37.489        4.1387        .50436E-04   -1.4483    
  13  Prefactor     .10001E-03    74.005        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.1652        11.482        .16168E-03   -1.5211    
  15  Prefactor     2.7595        5.3750        .12248E-02   -1.5376    
  16  Prefactor     .10000E-03    12.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.5561        .15568E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.7156        92.133        .24570E-03   -1.5378    
  19  Prefactor     .10001E-03    193.58        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.3873        6.3569        .15880E-03   -1.5202    
  21  Normalizat    1.5817        .25257        .27945E-03   -.75507    
  22  Prefactor     .67636        .18838        .31354E-03   -1.0446    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63372e-09
Minuit parameter uncertainties:
  1  11.7436
  2  3.14325e-06
  3  3.58317
  4  4.2805e-06
  5  4.5657
  6  4.2507
  7  1.42094e-05
  8  0.000203195
  9  18.0983
  10  1.50281e-05
  11  127.143
  12  4.13871
  13  0.00166753
  14  11.4856
  15  5.37589
  16  7.18635e-06
  17  3.94121e-06
  18  31.688
  19  0.00212754
  20  6.35754
  21  0.252773
  22  0.188557
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  3.749e+01  4.139e+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:  6.764e-01  1.886e-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.582e+00  2.528e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 330.88
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 1.05e-06 +/- 1.16e-07
Energy Flux (Fixed Index): 3.54e-04 +/- 3.91e-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) = 7159.63351061
delta logL = 0.00328780149357

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7159.63274308
delta logL = 0.0040553343506

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    37.619       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2739       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5863       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67392       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=   7159.633     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      197 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          37.619        4.4794        .16336E-02   -.25443E-02
   2  alpha         2.2739        .12576        .78723E-01    .37277E-05
   3  Normalizat    1.5863        .21072        .63129E-01    .66560E-04
   4  Prefactor     .67393        .16008        .70957E-01   -.11365E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 37.6192
  alpha      = 2.27392
  Normalizat = 1.58626
  Prefactor  = 0.673926
 **********
 **   18 **HESSE 
 **********

 FCN=   7159.633     FROM HESSE     STATUS=OK            27 CALLS      224 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          37.619        4.1051        .50581E-04   -1.4481    
   2  alpha         2.2739        .11625        .34670E-03   -.90556E-01
   3  Normalizat    1.5863        .24927        .27918E-03   -.75382    
   4  Prefactor     .67393        .18831        .31405E-03   -1.0456    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.43143e-10
Minuit parameter uncertainties:
  1  4.10518
  2  0.116297
  3  0.249465
  4  0.188484
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/359227': 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) = 7159.63274308
delta logL = 0.00405533480625

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  3.762e+01  4.105e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.274e+00  1.163e-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:  6.739e-01  1.885e-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.586e+00  2.495e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 337.44
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.27 +/- 0.12
Photon Flux (Free Index): 1.05e-06 +/- 1.23e-07
Energy Flux (Free Index): 3.56e-04 +/- 4.32e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.05e-06', energy_flux2='3.56e-04', photon_flux_error='1.16e-07', dlogl='4.06e-03', energy_flux='3.54e-04', photon_flux2='1.05e-06', job_status='DONE', time_completed='2021-08-13 13:15:42.198630', photon_index_error2='0.12', photon_index2='2.27', ts='330.88', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', energy_flux_error2='4.32e-05', EG='1.58', time_epoch_completed='1628885742.2', return_code='0', job_id='359227', GAL2='0.67', EG2='1.59', return_code2='0', energy_flux_error='3.91e-05', photon_flux_error2='1.23e-07', ts2='337.44', photon_index='2.28' WHERE bin_id='953' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:15:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0175>
Subject: Job 359227: <4FGL_J0108.6+0134_daily_bin953> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin953 17.1695 1.5819 486345601 486604801 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 :                                   526.25 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             337.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   570 sec.
    Turnaround time :                            581 sec.

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

