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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin882
RA = 17.1695, Dec = 1.5819
tmin = 467942401, tmax = 468201601
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='357948', job_status='RUN', time_executed='2021-08-13 13:07:09.977212', time_epoch_executed='1628885229.98' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='882'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/357948

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/357948/ft1_4FGL_J0108.6+0134_daily_bin882.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/357948/ft2_4FGL_J0108.6+0134_daily_bin882.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/357948/ft1_4FGL_J0108.6+0134_daily_bin882.fits outfile=/scratch/kocevski/357948/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin882.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=467942401.0 tmax=468201601.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 7.92
user 2.65
sys 3.78

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/357948/ft2_4FGL_J0108.6+0134_daily_bin882.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/357948/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin882.fits evtable="EVENTS" outfile="/scratch/kocevski/357948/ft1_filtered_4FGL_J0108.6+0134_daily_bin882.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 5.79
user 0.27
sys 3.78

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/357948/ft1_filtered_4FGL_J0108.6+0134_daily_bin882.fits" evtable="EVENTS" scfile=/scratch/kocevski/357948/ft2_4FGL_J0108.6+0134_daily_bin882.fits sctable="SC_DATA" outfile=/scratch/kocevski/357948/ltcube_467942401_468201601_4FGL_J0108.6+0134_daily_bin882.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/357948/ft2_4FGL_J0108.6+0134_daily_bin882.fits
.....................!
real 15.01
user 9.22
sys 4.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/357948/ft1_filtered_4FGL_J0108.6+0134_daily_bin882.fits evtable="EVENTS" scfile=/scratch/kocevski/357948/ft2_4FGL_J0108.6+0134_daily_bin882.fits sctable="SC_DATA" expcube=/scratch/kocevski/357948/ltcube_467942401_468201601_4FGL_J0108.6+0134_daily_bin882.fits outfile=/scratch/kocevski/357948/expmap_467942401_468201601_4FGL_J0108.6+0134_daily_bin882.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/357948/ltcube_467942401_468201601_4FGL_J0108.6+0134_daily_bin882.fits
.....................!
real 162.82
user 151.28
sys 8.70

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/357948/ft1_filtered_4FGL_J0108.6+0134_daily_bin882.fits scfile=/scratch/kocevski/357948/ft2_4FGL_J0108.6+0134_daily_bin882.fits outfile=/scratch/kocevski/357948/cmap_467942401_468201601_4FGL_J0108.6+0134_daily_bin882.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 4.62
user 0.30
sys 3.72

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/357948/ft1_filtered_4FGL_J0108.6+0134_daily_bin882.fits scfile=/scratch/kocevski/357948/ft2_4FGL_J0108.6+0134_daily_bin882.fits outfile=/scratch/kocevski/357948/cmap_HighResolution_467942401_468201601_4FGL_J0108.6+0134_daily_bin882.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 4.47
user 0.32
sys 3.76

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    6.3135       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.9865       1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .14075E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    24.662       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11087E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.9561       1.0000         .10000E-03   10000.    
    13 'Prefactor '    33.966       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    23.455       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    62.082       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .64643       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2702       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=   5294.101     FROM MIGRAD    STATUS=CONVERGED    471 CALLS     2335 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.090       -.73590E-06** at limit **
   2  norm          6.3143        10.659        .46486E-05   -.12156E-03
   3  Prefactor     .10000E-03    .67498       -.52253E-07** at limit **
   4  Prefactor     7.9852        4.1126        .44736E-08    .47685E-05
   5  norm          .10000E-03    2.4299       -.32326E-07** at limit **
   6  norm          .10000E-03    7.8917       -.12752E-06** at limit **
   7  Prefactor     .10000E-03    14.782        .84028E-07** at limit **
   8  Prefactor     .10000E-03    20.599       -.27767E-06** at limit **
   9  norm          24.662        18.677        .80264E-07    .16824E-05
  10  Prefactor     .10000E-03    58.927       -.26068E-06** at limit **
  11  Prefactor     .10000E-03    27.959        .15033E-06** at limit **
  12  norm          6.9563        2.0617        .43663E-07    .48735E-05
  13  Prefactor     33.956        48.764       -.95321E-08   -.34608E-04
  14  Prefactor     .10000E-03    6.1007       -.55153E-07** at limit **
  15  Prefactor     23.457        10.513        .11810E-06    .15518E-05
  16  Prefactor     .10000E-03    15.352        .14133E-06** at limit **
  17  Prefactor     .10000E-03    5.4182        .29345E-06** at limit **
  18  Prefactor     .10000E-03    12.584       -.11343E-06** at limit **
  19  Prefactor     62.212        158.98        .47640E-05    .72505E-04
  20  Prefactor     .10000E-03    3.9613       -.41894E-08** at limit **
  21  Normalizat    .64615        .21338       -.25638E-05    .31089E-04
  22  Prefactor     1.2704        .17594        .67152E-06   -.63211E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 6.31431
  Prefactor  = 0.0001
  Prefactor  = 7.9852
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 24.6616
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.95635
  Prefactor  = 33.956
  Prefactor  = 0.0001
  Prefactor  = 23.4566
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 62.2117
  Prefactor  = 0.0001
  Normalizat = 0.646147
  Prefactor  = 1.27043
 **********
 **   18 **HESSE 
 **********

 FCN=   5294.101     FROM HESSE     STATUS=OK           334 CALLS     2669 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.3143        10.685        .79875E-03   -1.5205    
   3  Prefactor     .10000E-03    .67771        .58361E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.9852        4.1068        .10190E-03   -1.5143    
   5  norm          .10000E-03    2.4356        .11076E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    8.2353        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    14.785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    20.731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          24.662        18.691        .80662E-04   -1.4714    
  10  Prefactor     .10000E-03    59.108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    27.978        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.9563        2.0614        .53896E-04   -1.5180    
  13  Prefactor     33.956        48.753        .68758E-04   -1.4542    
  14  Prefactor     .10000E-03    6.1100        .17552E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     23.457        10.513        .82708E-04   -1.4739    
  16  Prefactor     .10000E-03    15.358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.4378        .16540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     62.212        159.71        .25463E-03   -1.4129    
  20  Prefactor     .10000E-03    4.0370        .14139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .64615        .24363        .33340E-03   -1.0606    
  22  Prefactor     1.2704        .20352        .20968E-03   -.84191    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.87704e-10
Minuit parameter uncertainties:
  1  3.87077e-05
  2  10.6882
  3  6.15991e-07
  4  4.10697
  5  1.48738e-06
  6  1.41011e-05
  7  4.0592e-05
  8  5.16083e-05
  9  18.6957
  10  8.35699e-07
  11  0.000116419
  12  2.06145
  13  48.8103
  14  2.96138e-06
  15  10.5141
  16  4.26189e-05
  17  4.80432e-08
  18  3.29532e-05
  19  160.825
  20  6.54435e-06
  21  0.244041
  22  0.203646
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  6.956e+00  2.061e+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.270e+00  2.036e-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:  6.461e-01  2.440e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 32.93
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 1.95e-07 +/- 5.79e-08
Energy Flux (Fixed Index): 6.57e-05 +/- 1.95e-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) = 5294.0020532
delta logL = 0.0989540415621

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5293.99657076
delta logL = 0.104436479354

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.1306       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1504       1.0000          .0000       5.0000    
     3 'Normalizat'    .66221       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2615       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=   5293.997     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      207 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.1306        2.4520        .37555E-02   -.19521E-02
   2  alpha         2.1504        .32445        .18428        .18594E-04
   3  Normalizat    .66219        .21166        .74502E-01   -.10665E-04
   4  Prefactor     1.2615        .17984        .33317E-01   -.89370E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.13061
  alpha      = 2.15036
  Normalizat = 0.662194
  Prefactor  = 1.26153
 **********
 **   18 **HESSE 
 **********

 FCN=   5293.997     FROM HESSE     STATUS=OK            29 CALLS      236 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.1306        2.1306        .55419E-04   -1.5174    
   2  alpha         2.1504        .29003        .79087E-02   -.14032    
   3  Normalizat    .66219        .23883        .32981E-03   -1.0540    
   4  Prefactor     1.2615        .20310        .21029E-03   -.84458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5915e-10
Minuit parameter uncertainties:
  1  2.13064
  2  0.290699
  3  0.239206
  4  0.203227
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/357948': 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) = 5293.99657075
delta logL = 0.104436491026

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  7.131e+00  2.131e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.150e+00  2.907e-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.262e+00  2.032e-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:  6.622e-01  2.392e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 33.21
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.15 +/- 0.29
Photon Flux (Free Index): 1.80e-07 +/- 6.31e-08
Energy Flux (Free Index): 7.05e-05 +/- 2.42e-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/357948/cmap_HighResolution_467942401_468201601_4FGL_J0108.6+0134_daily_bin882.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.95e-07', energy_flux2='7.05e-05', photon_flux_error='5.79e-08', dlogl='1.04e-01', energy_flux='6.57e-05', photon_flux2='1.80e-07', job_status='DONE', time_completed='2021-08-13 13:15:31.477773', photon_index_error2='0.29', photon_index2='2.15', ts='32.93', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', energy_flux_error2='2.42e-05', EG='0.65', time_epoch_completed='1628885731.48', return_code='0', job_id='357948', GAL2='1.26', EG2='0.66', return_code2='0', energy_flux_error='1.95e-05', photon_flux_error2='6.31e-08', ts2='33.21', photon_index='2.28' WHERE bin_id='882' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:15:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0023>
Subject: Job 357948: <4FGL_J0108.6+0134_daily_bin882> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin882 17.1695 1.5819 467942401 468201601 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 :                                   541.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             240.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   642 sec.
    Turnaround time :                            853 sec.

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

