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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin846
RA = 17.1695, Dec = 1.5819
tmin = 458611201, tmax = 458870401
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='357896', job_status='RUN', time_executed='2021-08-13 13:06:01.427119', time_epoch_executed='1628885161.43' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='846'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/357896

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/357896/ft1_4FGL_J0108.6+0134_daily_bin846.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/357896/ft2_4FGL_J0108.6+0134_daily_bin846.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/357896/ft1_4FGL_J0108.6+0134_daily_bin846.fits outfile=/scratch/kocevski/357896/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin846.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=458611201.0 tmax=458870401.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 4.74
user 3.39
sys 0.96

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/357896/ft2_4FGL_J0108.6+0134_daily_bin846.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/357896/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin846.fits evtable="EVENTS" outfile="/scratch/kocevski/357896/ft1_filtered_4FGL_J0108.6+0134_daily_bin846.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 1.37
user 0.35
sys 0.85

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/357896/ft1_filtered_4FGL_J0108.6+0134_daily_bin846.fits" evtable="EVENTS" scfile=/scratch/kocevski/357896/ft2_4FGL_J0108.6+0134_daily_bin846.fits sctable="SC_DATA" outfile=/scratch/kocevski/357896/ltcube_458611201_458870401_4FGL_J0108.6+0134_daily_bin846.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/357896/ft2_4FGL_J0108.6+0134_daily_bin846.fits
.....................!
real 15.39
user 13.76
sys 1.14

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/357896/ft1_filtered_4FGL_J0108.6+0134_daily_bin846.fits evtable="EVENTS" scfile=/scratch/kocevski/357896/ft2_4FGL_J0108.6+0134_daily_bin846.fits sctable="SC_DATA" expcube=/scratch/kocevski/357896/ltcube_458611201_458870401_4FGL_J0108.6+0134_daily_bin846.fits outfile=/scratch/kocevski/357896/expmap_458611201_458870401_4FGL_J0108.6+0134_daily_bin846.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/357896/ltcube_458611201_458870401_4FGL_J0108.6+0134_daily_bin846.fits
.....................!
real 192.66
user 185.34
sys 5.99

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/357896/ft1_filtered_4FGL_J0108.6+0134_daily_bin846.fits scfile=/scratch/kocevski/357896/ft2_4FGL_J0108.6+0134_daily_bin846.fits outfile=/scratch/kocevski/357896/cmap_458611201_458870401_4FGL_J0108.6+0134_daily_bin846.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 1.56
user 0.39
sys 0.85

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/357896/ft1_filtered_4FGL_J0108.6+0134_daily_bin846.fits scfile=/scratch/kocevski/357896/ft2_4FGL_J0108.6+0134_daily_bin846.fits outfile=/scratch/kocevski/357896/cmap_HighResolution_458611201_458870401_4FGL_J0108.6+0134_daily_bin846.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.37
user 0.39
sys 0.86

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7629       1.0000         .10000E-03   10000.    
     2 'norm      '    23.775       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .93436       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.6291       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10715E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    9.5659       1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.423       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.635       1.0000         .10000E-03   10000.    
    12 'norm      '    5.3087       1.0000         .10000E-03   10000.    
    13 'Prefactor '    52.755       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .13897E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .15085       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .89927       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0399       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=   5461.073     FROM MIGRAD    STATUS=CONVERGED    471 CALLS     2351 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7635        9.1208       -.13659E-05   -.21398E-03
   2  norm          23.776        11.052       -.21350E-06    .51023E-04
   3  Prefactor     .93395        1.8459       -.89945E-06   -.16082E-02
   4  Prefactor     7.6244        4.4048       -.41676E-06    .57517E-03
   5  norm          .10000E-03    2.7070        .25877E-07** at limit **
   6  norm          .10000E-03    1.9734        .12878E-06** at limit **
   7  Prefactor     .10000E-03    15.675        .79828E-05** at limit **
   8  Prefactor     .10000E-03    60.844       -.40971E-04** at limit **
   9  norm          9.5660        9.6519        .43834E-06    .46740E-03
  10  Prefactor     23.365        53.309       -.95607E-04   -.28880E-04
  11  Prefactor     13.636        36.237        .81172E-06    .12963E-06
  12  norm          5.3089        1.6452       -.10719E-06    .19035E-03
  13  Prefactor     52.758        46.707        .33721E-05    .87460E-04
  14  Prefactor     .10000E-03    32.951        .20735E-04** at limit **
  15  Prefactor     .10000E-03    5.6313       -.19062E-06** at limit **
  16  Prefactor     .10000E-03    12.673       -.35700E-05** at limit **
  17  Prefactor     .10000E-03    2.5959       -.24694E-06** at limit **
  18  Prefactor     .10000E-03    40.099        .40135E-04** at limit **
  19  Prefactor     .10000E-03    26.474       -.33736E-04** at limit **
  20  Prefactor     .14869        3.0831       -.10635E-05    .12164E-03
  21  Normalizat    .89921        .20258        .29681E-05    .11240E-03
  22  Prefactor     1.0399        .16619        .15697E-05    .89817E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.76349
  norm       = 23.7759
  Prefactor  = 0.933946
  Prefactor  = 7.62444
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.56597
  Prefactor  = 23.3647
  Prefactor  = 13.6361
  norm       = 5.30893
  Prefactor  = 52.7582
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.148688
  Normalizat = 0.899207
  Prefactor  = 1.03995
 **********
 **   18 **HESSE 
 **********

 FCN=   5461.073     FROM HESSE     STATUS=OK           344 CALLS     2695 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7635        9.1087        .24487E-03   -1.5375    
   2  norm          23.776        11.057        .82151E-04   -1.4732    
   3  Prefactor     .93395        1.6383        .13568E-02   -1.5515    
   4  Prefactor     7.6244        4.3992        .11226E-03   -1.5156    
   5  norm          .10000E-03    2.7175        .11874E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.9765        .10136E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    61.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          9.5660        9.6568        .64785E-03   -1.5089    
  10  Prefactor     23.365        53.401        .82765E-04   -1.4741    
  11  Prefactor     13.636        36.228        .10847E-03   -1.4969    
  12  norm          5.3089        1.6455        .50479E-04   -1.5247    
  13  Prefactor     52.758        46.689        .55220E-04   -1.4254    
  14  Prefactor     .10000E-03    34.145        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.7722        .34193E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.5981        .11628E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    40.111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    26.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .14869        32.326        .24974E-02   -1.5631    
  21  Normalizat    .89921        .23212        .27869E-03   -.96488    
  22  Prefactor     1.0399        .19131        .21986E-03   -.91410    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62195e-09
Minuit parameter uncertainties:
  1  9.11327
  2  11.058
  3  1.6384
  4  4.39938
  5  5.40624e-06
  6  1.57954e-06
  7  7.80264e-06
  8  8.34186e-05
  9  9.65833
  10  53.5106
  11  36.2864
  12  1.64553
  13  46.7211
  14  0.000793382
  15  6.89898e-05
  16  1.2939e-05
  17  6.02487e-06
  18  0.000138177
  19  1.21598e-05
  20  4.3857
  21  0.232375
  22  0.191437
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  5.309e+00  1.646e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.284e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  1.018e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  5.081e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  1.040e+00  1.914e-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.992e-01  2.324e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 39.54
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 1.49e-07 +/- 4.62e-08
Energy Flux (Fixed Index): 5.01e-05 +/- 1.55e-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) = 5456.67500442
delta logL = 4.39775166643

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5456.65929047
delta logL = 4.41346562025

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8741       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4605       1.0000          .0000       5.0000    
     3 'Normalizat'    .97289       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99736       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=   5456.659     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      196 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8743        1.6152        .45549E-02   -.11638E-02
   2  alpha         1.4603        .22122        .15413       -.13068E-03
   3  Normalizat    .97268        .19379        .45826E-01   -.15640E-03
   4  Prefactor     .99765        .16332        .46234E-01    .61152E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.87427
  alpha      = 1.46029
  Normalizat = 0.972681
  Prefactor  = 0.997645
 **********
 **   18 **HESSE 
 **********

 FCN=   5456.659     FROM HESSE     STATUS=OK            31 CALLS      227 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8743        1.8179        .49963E-04   -1.5266    
   2  alpha         1.4603        .25440        .66740E-03   -.42892    
   3  Normalizat    .97268        .22593        .26932E-03   -.93951    
   4  Prefactor     .99765        .19032        .22368E-03   -.92808    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.1506e-10
Minuit parameter uncertainties:
  1  1.81793
  2  0.254938
  3  0.226156
  4  0.190444
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/357896': 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) = 5456.65928858
delta logL = 4.41346750711

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  4.874e+00  1.818e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  1.460e+00  2.549e-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.976e-01  1.904e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  9.727e-01  2.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 48.44
Ra Dec: 17.169 1.582
Photon Index (Free Index): 1.46 +/- 0.25
Photon Flux (Free Index): 8.96e-08 +/- 3.43e-08
Energy Flux (Free Index): 1.22e-04 +/- 6.11e-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/357896/cmap_HighResolution_458611201_458870401_4FGL_J0108.6+0134_daily_bin846.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.49e-07', energy_flux2='1.22e-04', photon_flux_error='4.62e-08', dlogl='4.41e+00', energy_flux='5.01e-05', photon_flux2='8.96e-08', job_status='DONE', time_completed='2021-08-13 13:15:26.750664', photon_index_error2='0.25', photon_index2='1.46', ts='39.54', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='6.11e-05', EG='0.90', time_epoch_completed='1628885726.75', return_code='0', job_id='357896', GAL2='1.00', EG2='0.97', return_code2='0', energy_flux_error='1.55e-05', photon_flux_error2='3.43e-08', ts2='48.44', photon_index='2.28' WHERE bin_id='846' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:15:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 357896: <4FGL_J0108.6+0134_daily_bin846> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin846 17.1695 1.5819 458611201 458870401 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 :                                   565.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   666 sec.
    Turnaround time :                            851 sec.

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

