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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin575
RA = 17.1695, Dec = 1.5819
tmin = 388368001, tmax = 388627201
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='356187', job_status='RUN', time_executed='2021-08-13 13:01:50.631464', time_epoch_executed='1628884910.63' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='575'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/356187

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/356187/ft1_4FGL_J0108.6+0134_daily_bin575.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/356187/ft2_4FGL_J0108.6+0134_daily_bin575.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/356187/ft1_4FGL_J0108.6+0134_daily_bin575.fits outfile=/scratch/kocevski/356187/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin575.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=388368001.0 tmax=388627201.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 6.59
user 4.25
sys 1.66

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/356187/ft1_filtered_4FGL_J0108.6+0134_daily_bin575.fits" evtable="EVENTS" scfile=/scratch/kocevski/356187/ft2_4FGL_J0108.6+0134_daily_bin575.fits sctable="SC_DATA" outfile=/scratch/kocevski/356187/ltcube_388368001_388627201_4FGL_J0108.6+0134_daily_bin575.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/356187/ft2_4FGL_J0108.6+0134_daily_bin575.fits
.....................!
real 15.62
user 13.35
sys 2.02

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/356187/ft1_filtered_4FGL_J0108.6+0134_daily_bin575.fits evtable="EVENTS" scfile=/scratch/kocevski/356187/ft2_4FGL_J0108.6+0134_daily_bin575.fits sctable="SC_DATA" expcube=/scratch/kocevski/356187/ltcube_388368001_388627201_4FGL_J0108.6+0134_daily_bin575.fits outfile=/scratch/kocevski/356187/expmap_388368001_388627201_4FGL_J0108.6+0134_daily_bin575.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/356187/ltcube_388368001_388627201_4FGL_J0108.6+0134_daily_bin575.fits
.....................!
real 193.16
user 185.92
sys 6.79

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/356187/ft1_filtered_4FGL_J0108.6+0134_daily_bin575.fits scfile=/scratch/kocevski/356187/ft2_4FGL_J0108.6+0134_daily_bin575.fits outfile=/scratch/kocevski/356187/cmap_388368001_388627201_4FGL_J0108.6+0134_daily_bin575.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 2.08
user 0.39
sys 1.63

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/356187/ft1_filtered_4FGL_J0108.6+0134_daily_bin575.fits scfile=/scratch/kocevski/356187/ft2_4FGL_J0108.6+0134_daily_bin575.fits outfile=/scratch/kocevski/356187/cmap_HighResolution_388368001_388627201_4FGL_J0108.6+0134_daily_bin575.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 2.06
user 0.39
sys 1.60

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.8855       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.0921       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.031       1.0000         .10000E-03   10000.    
     5 'norm      '    1.9964       1.0000         .10000E-03   10000.    
     6 'norm      '    14.111       1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.056       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    61.596       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.2472       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.718       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    41.078       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .24557E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .27950E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .76910       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1017       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=   6270.644     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2365 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.677        .26726E-07** at limit **
   2  norm          5.8863        6.9158       -.99182E-08   -.59864E-04
   3  Prefactor     5.0926        2.7910        .44867E-07   -.28204E-04
   4  Prefactor     10.033        4.8806        .88057E-06   -.33300E-03
   5  norm          1.9963        5.4748        .97238E-06   -.61635E-04
   6  norm          14.112        7.8997       -.43807E-06   -.24653E-04
   7  Prefactor     16.062        36.126        .32360E-06    .44104E-04
   8  Prefactor     .10000E-03    20.781       -.88560E-06** at limit **
   9  norm          .10000E-03    5.5659       -.36440E-08** at limit **
  10  Prefactor     61.601        55.219        .53329E-06    .59351E-04
  11  Prefactor     .10000E-03    55.961       -.32519E-06** at limit **
  12  norm          7.2475        2.0231        .15006E-07   -.11891E-03
  13  Prefactor     .10000E-03    80.603        .62387E-06** at limit **
  14  Prefactor     15.720        18.881        .78074E-06   -.28673E-04
  15  Prefactor     .10000E-03    4.5215        .16921E-07** at limit **
  16  Prefactor     41.087        45.163        .12837E-05    .91516E-04
  17  Prefactor     .10003E-03    4.8907        .10181E-05** at limit **
  18  Prefactor     .10000E-03    14.062       -.62479E-08** at limit **
  19  Prefactor     .10006E-03    218.27       -.98647E-05** at limit **
  20  Prefactor     .10000E-03    5.3303        .36211E-07** at limit **
  21  Normalizat    .76900        .19516       -.85893E-06   -.56999E-04
  22  Prefactor     1.1016        .15558       -.10596E-06   -.86723E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 5.88632
  Prefactor  = 5.09259
  Prefactor  = 10.0325
  norm       = 1.99625
  norm       = 14.1125
  Prefactor  = 16.0615
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 61.6007
  Prefactor  = 0.0001
  norm       = 7.24748
  Prefactor  = 0.0001
  Prefactor  = 15.7197
  Prefactor  = 0.0001
  Prefactor  = 41.0874
  Prefactor  = 0.000100028
  Prefactor  = 0.0001
  Prefactor  = 0.000100062
  Prefactor  = 0.0001
  Normalizat = 0.769
  Prefactor  = 1.10164
 **********
 **   18 **HESSE 
 **********

 FCN=   6270.644     FROM HESSE     STATUS=OK           340 CALLS     2705 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.998        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.8863        6.9130        .16553E-03   -1.5223    
   3  Prefactor     5.0926        2.7887        .93659E-04   -1.5257    
   4  Prefactor     10.033        4.9979        .56537E-03   -1.5074    
   5  norm          1.9963        5.4716        .28879E-03   -1.5425    
   6  norm          14.112        7.9119        .10663E-03   -1.4956    
   7  Prefactor     16.062        36.191        .99953E-04   -1.4906    
   8  Prefactor     .10000E-03    21.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    5.5706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     61.601        55.422        .25563E-03   -1.4137    
  11  Prefactor     .10000E-03    56.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.2475        2.0262        .56227E-04   -1.5169    
  13  Prefactor     .10000E-03    81.295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.720        18.928        .50512E-03   -1.4915    
  15  Prefactor     .10000E-03    4.6042        .16434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     41.087        45.575        .62543E-04   -1.4425    
  17  Prefactor     .10003E-03    20.362        .32200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    14.064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10006E-03    241.12        .21419E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.4724        .35698E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .76900        .22092        .31520E-03   -1.0123    
  22  Prefactor     1.1016        .17726        .22003E-03   -.89414    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76812e-09
Minuit parameter uncertainties:
  1  9.75079e-06
  2  6.91394
  3  2.78873
  4  4.99809
  5  5.47301
  6  7.91248
  7  36.2409
  8  0.000217173
  9  3.49067e-08
  10  55.4685
  11  0.000115766
  12  2.02626
  13  0.000221734
  14  18.9355
  15  2.89699e-07
  16  45.6132
  17  0.00151814
  18  1.28847e-07
  19  0.00773331
  20  7.67447e-06
  21  0.22118
  22  0.177355
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  7.247e+00  2.026e+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.102e+00  1.774e-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.690e-01  2.212e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 36.43
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 2.04e-07 +/- 5.69e-08
Energy Flux (Fixed Index): 6.85e-05 +/- 1.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) = 6270.61044285
delta logL = 0.0337826435743

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6270.60881861
delta logL = 0.0354068782581

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.2474       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2000       1.0000          .0000       5.0000    
     3 'Normalizat'    .78425       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0941       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=   6270.609     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      201 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.2461        2.3318        .37249E-02    .63527E-04
   2  alpha         2.2000        .34263        .21370        .24260E-05
   3  Normalizat    .78432        .19382        .70617E-01    .22379E-04
   4  Prefactor     1.0941        .15586        .37814E-01    .15781E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 7.24615
  alpha      = 2.19999
  Normalizat = 0.78432
  Prefactor  = 1.09409
 **********
 **   18 **HESSE 
 **********

 FCN=   6270.609     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .62E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.2461        2.0548        .57266E-04   -1.5170    
   2  alpha         2.2000        .31622        .89825E-02   -.12029    
   3  Normalizat    .78432        .22312        .31250E-03   -1.0065    
   4  Prefactor     1.0941        .17838        .22073E-03   -.89656    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.22039e-15
Minuit parameter uncertainties:
  1  2.05485
  2  0.317084
  3  0.223376
  4  0.178473
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/356187': 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) = 6270.60881841
delta logL = 0.0354070796184

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  7.246e+00  2.055e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.200e+00  3.171e-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.094e+00  1.785e-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.843e-01  2.234e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 36.28
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.20 +/- 0.32
Photon Flux (Free Index): 1.90e-07 +/- 7.32e-08
Energy Flux (Free Index): 7.02e-05 +/- 2.12e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/356187/cmap_HighResolution_388368001_388627201_4FGL_J0108.6+0134_daily_bin575.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.04e-07', energy_flux2='7.02e-05', photon_flux_error='5.69e-08', dlogl='3.54e-02', energy_flux='6.85e-05', photon_flux2='1.90e-07', job_status='DONE', time_completed='2021-08-13 13:11:50.161239', photon_index_error2='0.32', photon_index2='2.20', ts='36.43', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='2.12e-05', EG='0.77', time_epoch_completed='1628885510.16', return_code='0', job_id='356187', GAL2='1.09', EG2='0.78', return_code2='0', energy_flux_error='1.91e-05', photon_flux_error2='7.32e-08', ts2='36.28', photon_index='2.28' WHERE bin_id='575' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:11:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 356187: <4FGL_J0108.6+0134_daily_bin575> in cluster <slac> Done

Job <4FGL_J0108.6+0134_daily_bin575> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 12:55:31 2021
Job was executed on host(s) <bullet0150>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 12:59:06 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 12:59:06 2021
Terminated at Fri Aug 13 13:11:50 2021
Results reported at Fri Aug 13 13:11:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin575 17.1695 1.5819 388368001 388627201 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 :                                   619.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             228.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   764 sec.
    Turnaround time :                            979 sec.

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

