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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin1063
RA = 17.1695, Dec = 1.5819
tmin = 514857601, tmax = 515116801
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='359432', job_status='RUN', time_executed='2021-08-13 13:10:20.668679', time_epoch_executed='1628885420.67' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='1063'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/359432

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/359432/ft1_4FGL_J0108.6+0134_daily_bin1063.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/359432/ft2_4FGL_J0108.6+0134_daily_bin1063.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/359432/ft1_4FGL_J0108.6+0134_daily_bin1063.fits outfile=/scratch/kocevski/359432/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin1063.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=514857601.0 tmax=515116801.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 9.24
user 3.32
sys 5.75

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/359432/ft1_filtered_4FGL_J0108.6+0134_daily_bin1063.fits" evtable="EVENTS" scfile=/scratch/kocevski/359432/ft2_4FGL_J0108.6+0134_daily_bin1063.fits sctable="SC_DATA" outfile=/scratch/kocevski/359432/ltcube_514857601_515116801_4FGL_J0108.6+0134_daily_bin1063.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/359432/ft2_4FGL_J0108.6+0134_daily_bin1063.fits
.....................!
real 20.34
user 13.66
sys 6.54

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/359432/ft1_filtered_4FGL_J0108.6+0134_daily_bin1063.fits evtable="EVENTS" scfile=/scratch/kocevski/359432/ft2_4FGL_J0108.6+0134_daily_bin1063.fits sctable="SC_DATA" expcube=/scratch/kocevski/359432/ltcube_514857601_515116801_4FGL_J0108.6+0134_daily_bin1063.fits outfile=/scratch/kocevski/359432/expmap_514857601_515116801_4FGL_J0108.6+0134_daily_bin1063.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/359432/ltcube_514857601_515116801_4FGL_J0108.6+0134_daily_bin1063.fits
.....................!
real 199.34
user 186.80
sys 11.96

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/359432/ft1_filtered_4FGL_J0108.6+0134_daily_bin1063.fits scfile=/scratch/kocevski/359432/ft2_4FGL_J0108.6+0134_daily_bin1063.fits outfile=/scratch/kocevski/359432/cmap_514857601_515116801_4FGL_J0108.6+0134_daily_bin1063.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 6.02
user 0.40
sys 5.57

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/359432/ft1_filtered_4FGL_J0108.6+0134_daily_bin1063.fits scfile=/scratch/kocevski/359432/ft2_4FGL_J0108.6+0134_daily_bin1063.fits outfile=/scratch/kocevski/359432/cmap_HighResolution_514857601_515116801_4FGL_J0108.6+0134_daily_bin1063.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 6.03
user 0.40
sys 5.56

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.5530       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.9016       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .79732       1.0000         .10000E-03   10000.    
     5 'norm      '    8.4077       1.0000         .10000E-03   10000.    
     6 'norm      '    7.6424       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.517       1.0000         .10000E-03   10000.    
     9 'norm      '    .21781E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    10.173       1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.714       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.5482       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10244E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14620E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.9218       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0752       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94039       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=   6592.590     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2432 TOTAL
                     EDM=   .66E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.765       -.11857E-05** at limit **
   2  norm          5.5616        8.7485       -.57130E-07   -.39913E-04
   3  Prefactor     1.9024        2.3788        .17580E-06   -.50362E-04
   4  Prefactor     .79810        2.3852        .49722E-06   -.43589E-04
   5  norm          8.4110        5.7729        .52534E-06   -.22147E-03
   6  norm          7.6454        5.7263        .68282E-06   -.25084E-03
   7  Prefactor     .10000E-03    20.487        .10830E-05** at limit **
   8  Prefactor     15.515        23.147       -.35877E-05   -.12477E-03
   9  norm          .54478        13.263        .22559E-06   -.21787E-04
  10  Prefactor     .10000E-03    20.950       -.41099E-06** at limit **
  11  Prefactor     .10000E-03    23.874        .37929E-06** at limit **
  12  norm          10.175        2.3543       -.95158E-07   -.84226E-04
  13  Prefactor     18.772        41.364       -.38546E-06    .12940E-04
  14  Prefactor     .10000E-03    12.511        .93513E-07** at limit **
  15  Prefactor     1.5482        14.727        .18572E-05   -.86017E-04
  16  Prefactor     .10000E-03    15.716        .73798E-07** at limit **
  17  Prefactor     .10000E-03    7.7901        .11071E-06** at limit **
  18  Prefactor     .10000E-03    33.324       -.35513E-07** at limit **
  19  Prefactor     .10000E-03    175.81        .32261E-05** at limit **
  20  Prefactor     1.9238        3.7392        .38447E-06   -.68336E-04
  21  Normalizat    1.0755        .19191       -.53584E-07   -.53923E-04
  22  Prefactor     .93965        .15153       -.57789E-06   -.10699E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 5.56162
  Prefactor  = 1.90238
  Prefactor  = 0.798104
  norm       = 8.41096
  norm       = 7.64541
  Prefactor  = 0.0001
  Prefactor  = 15.5151
  norm       = 0.544778
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.1754
  Prefactor  = 18.7721
  Prefactor  = 0.0001
  Prefactor  = 1.54817
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.92383
  Normalizat = 1.07547
  Prefactor  = 0.939647
 **********
 **   18 **HESSE 
 **********

 FCN=   6592.590     FROM HESSE     STATUS=OK           348 CALLS     2780 TOTAL
                     EDM=   .52E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.259        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.5616        8.7589        .17049E-03   -1.5236    
   3  Prefactor     1.9024        2.3668        .13406E-03   -1.5432    
   4  Prefactor     .79810        2.3108        .20274E-03   -1.5529    
   5  norm          8.4110        5.7841        .69127E-03   -1.5128    
   6  norm          7.6454        5.6704        .72530E-03   -1.5155    
   7  Prefactor     .10000E-03    20.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.515        23.779        .10168E-03   -1.4920    
   9  norm          .54478        86.332        .56977E-02   -1.5560    
  10  Prefactor     .10000E-03    20.963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    23.888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          10.175        2.3468        .54894E-04   -1.5070    
  13  Prefactor     18.772        41.333        .92585E-04   -1.4841    
  14  Prefactor     .10000E-03    12.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.5482        15.480        .34240E-03   -1.5459    
  16  Prefactor     .10000E-03    15.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.8947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    33.369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    177.09        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.9238        3.7260        .21293E-03   -1.5431    
  21  Normalizat    1.0755        .22507        .27796E-03   -.90543    
  22  Prefactor     .93965        .17790        .23769E-03   -.94769    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.18895e-08
Minuit parameter uncertainties:
  1  4.28327e-05
  2  8.76087
  3  2.36687
  4  2.31103
  5  5.78449
  6  5.67076
  7  4.33729e-05
  8  23.793
  9  13.7349
  10  2.27505e-05
  11  2.48255e-05
  12  2.34683
  13  41.3959
  14  4.49493e-06
  15  9.79404
  16  5.76035e-06
  17  4.73044e-06
  18  2.52521e-07
  19  0.000483452
  20  3.72642
  21  0.225271
  22  0.178009
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  1.018e+01  2.347e+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:  9.396e-01  1.780e-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.075e+00  2.253e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 49.48
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 2.86e-07 +/- 6.59e-08
Energy Flux (Fixed Index): 9.61e-05 +/- 2.22e-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) = 6592.0903124
delta logL = 0.499222779307

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6592.04766239
delta logL = 0.541872787039

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.4392       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5454       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0219       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96955       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=   6592.048     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      203 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.4411        4.5925        .32610E-02    .64048E-04
   2  alpha         2.5451        .50064        .15561        .32065E-04
   3  Normalizat    1.0217        .19392        .64167E-01    .22552E-04
   4  Prefactor     .96971        .15420        .45885E-01    .20754E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.44112
  alpha      = 2.5451
  Normalizat = 1.02168
  Prefactor  = 0.969708
 **********
 **   18 **HESSE 
 **********

 FCN=   6592.048     FROM HESSE     STATUS=OK            31 CALLS      234 TOTAL
                     EDM=   .16E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.4411        2.2952        .50759E-04   -1.5093    
   2  alpha         2.5451        .25645        .67493E-03    .18039E-01
   3  Normalizat    1.0217        .22588        .28381E-03   -.92307    
   4  Prefactor     .96971        .17854        .23438E-03   -.93746    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59022e-13
Minuit parameter uncertainties:
  1  2.29525
  2  0.256898
  3  0.226091
  4  0.178652
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/359432': 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) = 6592.04766113
delta logL = 0.541874049957

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  9.441e+00  2.295e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.545e+00  2.569e-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:  9.697e-01  1.787e-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.022e+00  2.261e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 50.69
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.55 +/- 0.26
Photon Flux (Free Index): 3.34e-07 +/- 8.46e-08
Energy Flux (Free Index): 8.92e-05 +/- 2.00e-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/359432/cmap_HighResolution_514857601_515116801_4FGL_J0108.6+0134_daily_bin1063.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.86e-07', energy_flux2='8.92e-05', photon_flux_error='6.59e-08', dlogl='5.42e-01', energy_flux='9.61e-05', photon_flux2='3.34e-07', job_status='DONE', time_completed='2021-08-13 13:21:52.159599', photon_index_error2='0.26', photon_index2='2.55', ts='49.48', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='2.00e-05', EG='1.08', time_epoch_completed='1628886112.16', return_code='0', job_id='359432', GAL2='0.97', EG2='1.02', return_code2='0', energy_flux_error='2.22e-05', photon_flux_error2='8.46e-08', ts2='50.69', photon_index='2.28' WHERE bin_id='1063' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:21:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 359432: <4FGL_J0108.6+0134_daily_bin1063> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin1063 17.1695 1.5819 514857601 515116801 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 :                                   769.15 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             241.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            933 sec.

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

