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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin942
RA = 17.1695, Dec = 1.5819
tmin = 483494401, tmax = 483753601
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='359216', job_status='RUN', time_executed='2021-08-13 13:09:33.738862', time_epoch_executed='1628885373.74' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/359216

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/359216/ft1_4FGL_J0108.6+0134_daily_bin942.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/359216/ft2_4FGL_J0108.6+0134_daily_bin942.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/359216/ft1_4FGL_J0108.6+0134_daily_bin942.fits outfile=/scratch/kocevski/359216/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin942.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=483494401.0 tmax=483753601.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.48
user 6.24
sys 0.99

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/359216/ft2_4FGL_J0108.6+0134_daily_bin942.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/359216/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin942.fits evtable="EVENTS" outfile="/scratch/kocevski/359216/ft1_filtered_4FGL_J0108.6+0134_daily_bin942.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.40
user 0.33
sys 0.92

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/359216/ft1_filtered_4FGL_J0108.6+0134_daily_bin942.fits" evtable="EVENTS" scfile=/scratch/kocevski/359216/ft2_4FGL_J0108.6+0134_daily_bin942.fits sctable="SC_DATA" outfile=/scratch/kocevski/359216/ltcube_483494401_483753601_4FGL_J0108.6+0134_daily_bin942.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/359216/ft2_4FGL_J0108.6+0134_daily_bin942.fits
.....................!
real 12.73
user 11.39
sys 1.21

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/359216/ft1_filtered_4FGL_J0108.6+0134_daily_bin942.fits evtable="EVENTS" scfile=/scratch/kocevski/359216/ft2_4FGL_J0108.6+0134_daily_bin942.fits sctable="SC_DATA" expcube=/scratch/kocevski/359216/ltcube_483494401_483753601_4FGL_J0108.6+0134_daily_bin942.fits outfile=/scratch/kocevski/359216/expmap_483494401_483753601_4FGL_J0108.6+0134_daily_bin942.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/359216/ltcube_483494401_483753601_4FGL_J0108.6+0134_daily_bin942.fits
.....................!
real 193.44
user 186.43
sys 6.51

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/359216/ft1_filtered_4FGL_J0108.6+0134_daily_bin942.fits scfile=/scratch/kocevski/359216/ft2_4FGL_J0108.6+0134_daily_bin942.fits outfile=/scratch/kocevski/359216/cmap_483494401_483753601_4FGL_J0108.6+0134_daily_bin942.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.33
user 0.35
sys 0.91

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/359216/ft1_filtered_4FGL_J0108.6+0134_daily_bin942.fits scfile=/scratch/kocevski/359216/ft2_4FGL_J0108.6+0134_daily_bin942.fits outfile=/scratch/kocevski/359216/cmap_HighResolution_483494401_483753601_4FGL_J0108.6+0134_daily_bin942.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 1.30
user 0.37
sys 0.92

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    6.7689       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.5593       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    33.954       1.0000         .10000E-03   10000.    
     8 'Prefactor '    40.162       1.0000         .10000E-03   10000.    
     9 'norm      '    18.572       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    31.076       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10576E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.030       1.0000         .10000E-03   10000.    
    16 'Prefactor '    72.920       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .58757E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .31545E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.3952       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .75022       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0217       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=   4889.607     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2039 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.4656        .23033E-06** at limit **
   2  norm          6.7716        8.5772       -.57642E-05   -.86412E-04
   3  Prefactor     5.5607        3.8789        .13645E-06   -.10168E-03
   4  Prefactor     .10000E-03    1.4334        .16586E-07** at limit **
   5  norm          .10000E-03    2.6609        .10490E-07** at limit **
   6  norm          .10000E-03    9.2254       -.66062E-07** at limit **
   7  Prefactor     33.956        34.717        .11188E-05    .35431E-05
   8  Prefactor     40.164        32.467        .80238E-06    .11967E-04
   9  norm          18.571        20.944       -.42472E-07   -.58097E-05
  10  Prefactor     .10000E-03    26.031       -.28317E-06** at limit **
  11  Prefactor     .10000E-03    109.81        .22661E-04** at limit **
  12  norm          31.076        4.1843       -.24430E-06    .37020E-03
  13  Prefactor     .10000E-03    63.068       -.79545E-05** at limit **
  14  Prefactor     .10000E-03    8.1769       -.12076E-06** at limit **
  15  Prefactor     15.034        9.8952       -.15125E-05    .73586E-04
  16  Prefactor     72.911        44.048       -.47701E-05   -.40717E-05
  17  Prefactor     .10001E-03    6.8474        .20544E-06** at limit **
  18  Prefactor     .10006E-03    200.96       -.14201E-03** at limit **
  19  Prefactor     .10000E-03    106.76        .33132E-04** at limit **
  20  Prefactor     4.3958        4.0205        .27427E-06    .13770E-03
  21  Normalizat    .74962        .22525        .25693E-05    .12594E-03
  22  Prefactor     1.0220        .17908        .14081E-06    .30906E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 6.77157
  Prefactor  = 5.56074
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 33.9558
  Prefactor  = 40.1639
  norm       = 18.5709
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 31.0763
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.0341
  Prefactor  = 72.911
  Prefactor  = 0.000100009
  Prefactor  = 0.000100063
  Prefactor  = 0.0001
  Prefactor  = 4.39582
  Normalizat = 0.74962
  Prefactor  = 1.02197
 **********
 **   18 **HESSE 
 **********

 FCN=   4889.607     FROM HESSE     STATUS=OK           342 CALLS     2381 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.4748        .15966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.7716        8.5988        .15422E-03   -1.5187    
   3  Prefactor     5.5607        3.8742        .10972E-03   -1.5236    
   4  Prefactor     .10000E-03    1.4436        .81700E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.6678        .11138E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    9.4854        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     33.956        34.715        .68771E-04   -1.4542    
   8  Prefactor     40.164        32.434        .63250E-04   -1.4440    
   9  norm          18.571        20.975        .92938E-04   -1.4846    
  10  Prefactor     .10000E-03    26.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    110.02        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          31.076        4.1857        .48784E-04   -1.4592    
  13  Prefactor     .10000E-03    63.276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.1831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.034        9.8927        .10331E-03   -1.4932    
  16  Prefactor     72.911        43.885        .23508E-03   -1.3998    
  17  Prefactor     .10001E-03    122.88        .34983E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10006E-03    201.35        .39547E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    107.05        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.3958        4.0271        .13060E-03   -1.5289    
  21  Normalizat    .74962        .25452        .33134E-03   -1.0197    
  22  Prefactor     1.0220        .20377        .23552E-03   -.92001    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66793e-10
Minuit parameter uncertainties:
  1  1.54813e-06
  2  8.60035
  3  3.87439
  4  1.87965e-06
  5  3.37338e-06
  6  4.28508e-05
  7  34.736
  8  32.4484
  9  20.9831
  10  7.61772e-06
  11  4.84769e-05
  12  4.18569
  13  0.00019114
  14  5.83869e-06
  15  9.89382
  16  43.9044
  17  0.00206953
  18  0.00716564
  19  0.000115177
  20  4.02731
  21  0.254924
  22  0.203921
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  3.108e+01  4.186e+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.022e+00  2.039e-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.496e-01  2.549e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 187.00
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 8.73e-07 +/- 1.17e-07
Energy Flux (Fixed Index): 2.94e-04 +/- 3.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) = 4888.48045275
delta logL = 1.12679458447

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4888.14534085
delta logL = 1.46190648996

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    27.336       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5552       1.0000          .0000       5.0000    
     3 'Normalizat'    .65565       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0785       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=   4888.145     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      205 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          27.335        4.4457       -.10174E-05    .29292E-02
   2  alpha         2.5553        .16219        .61163E-05    .49396E-03
   3  Normalizat    .65564        .22602       -.34402E-06   -.15697E-04
   4  Prefactor     1.0785        .18333        .57835E-06   -.29301E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 27.3351
  alpha      = 2.55526
  Normalizat = 0.655637
  Prefactor  = 1.07849
 **********
 **   18 **HESSE 
 **********

 FCN=   4888.145     FROM HESSE     STATUS=OK            27 CALLS      232 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          27.335        4.4377        .44498E-04   -1.4662    
   2  alpha         2.5553        .16431        .33902E-03    .22105E-01
   3  Normalizat    .65564        .25393        .35051E-03   -1.0567    
   4  Prefactor     1.0785        .20631        .23006E-03   -.90157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.02212e-10
Minuit parameter uncertainties:
  1  4.43774
  2  0.16443
  3  0.25438
  4  0.206464
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/359216': 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) = 4888.14534082
delta logL = 1.46190651954

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  2.734e+01  4.438e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.555e+00  1.644e-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.078e+00  2.065e-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.556e-01  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 192.24
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.56 +/- 0.16
Photon Flux (Free Index): 9.77e-07 +/- 1.38e-07
Energy Flux (Free Index): 2.59e-04 +/- 3.73e-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/359216/cmap_HighResolution_483494401_483753601_4FGL_J0108.6+0134_daily_bin942.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.73e-07', energy_flux2='2.59e-04', photon_flux_error='1.17e-07', dlogl='1.46e+00', energy_flux='2.94e-04', photon_flux2='9.77e-07', job_status='DONE', time_completed='2021-08-13 13:18:25.138039', photon_index_error2='0.16', photon_index2='2.56', ts='187.00', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='3.73e-05', EG='0.75', time_epoch_completed='1628885905.14', return_code='0', job_id='359216', GAL2='1.08', EG2='0.66', return_code2='0', energy_flux_error='3.95e-05', photon_flux_error2='1.38e-07', ts2='192.24', photon_index='2.28' WHERE bin_id='942' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:18:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 359216: <4FGL_J0108.6+0134_daily_bin942> in cluster <slac> Done

Job <4FGL_J0108.6+0134_daily_bin942> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Aug 13 13:06:00 2021
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 13:06:05 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 13:06:05 2021
Terminated at Fri Aug 13 13:18:26 2021
Results reported at Fri Aug 13 13:18:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin942 17.1695 1.5819 483494401 483753601 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 :                                   537.52 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             276.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   740 sec.
    Turnaround time :                            746 sec.

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

