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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin954
RA = 17.1695, Dec = 1.5819
tmin = 486604801, tmax = 486864001
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='359228', job_status='RUN', time_executed='2021-08-13 13:09:55.744543', time_epoch_executed='1628885395.74' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='954'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/359228

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/359228/ft1_4FGL_J0108.6+0134_daily_bin954.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/359228/ft2_4FGL_J0108.6+0134_daily_bin954.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/359228/ft1_4FGL_J0108.6+0134_daily_bin954.fits outfile=/scratch/kocevski/359228/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin954.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=486604801.0 tmax=486864001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.72
user 3.41
sys 2.99

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/359228/ft1_filtered_4FGL_J0108.6+0134_daily_bin954.fits" evtable="EVENTS" scfile=/scratch/kocevski/359228/ft2_4FGL_J0108.6+0134_daily_bin954.fits sctable="SC_DATA" outfile=/scratch/kocevski/359228/ltcube_486604801_486864001_4FGL_J0108.6+0134_daily_bin954.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/359228/ft2_4FGL_J0108.6+0134_daily_bin954.fits
.....................!
real 17.67
user 13.54
sys 3.77

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/359228/ft1_filtered_4FGL_J0108.6+0134_daily_bin954.fits evtable="EVENTS" scfile=/scratch/kocevski/359228/ft2_4FGL_J0108.6+0134_daily_bin954.fits sctable="SC_DATA" expcube=/scratch/kocevski/359228/ltcube_486604801_486864001_4FGL_J0108.6+0134_daily_bin954.fits outfile=/scratch/kocevski/359228/expmap_486604801_486864001_4FGL_J0108.6+0134_daily_bin954.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/359228/ltcube_486604801_486864001_4FGL_J0108.6+0134_daily_bin954.fits
.....................!
real 196.35
user 187.49
sys 8.46

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/359228/ft1_filtered_4FGL_J0108.6+0134_daily_bin954.fits scfile=/scratch/kocevski/359228/ft2_4FGL_J0108.6+0134_daily_bin954.fits outfile=/scratch/kocevski/359228/cmap_486604801_486864001_4FGL_J0108.6+0134_daily_bin954.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 3.59
user 0.40
sys 3.11

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/359228/ft1_filtered_4FGL_J0108.6+0134_daily_bin954.fits scfile=/scratch/kocevski/359228/ft2_4FGL_J0108.6+0134_daily_bin954.fits outfile=/scratch/kocevski/359228/cmap_HighResolution_486604801_486864001_4FGL_J0108.6+0134_daily_bin954.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 3.56
user 0.40
sys 3.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .13360E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.9050       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.3717       1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    45.007       1.0000         .10000E-03   10000.    
     9 'norm      '    20.922       1.0000         .10000E-03   10000.    
    10 'Prefactor '    28.824       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    36.162       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .15517E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.200       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.3916       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .70804E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.0414       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .93950       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .87302       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=   6425.863     FROM MIGRAD    STATUS=CONVERGED    499 CALLS     2437 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.3133        .90712E-02** at limit **
   2  norm          .10000E-03    4.2936        .61178E-01** at limit **
   3  Prefactor     3.9054        2.8667        .51042E-02    .29484E-03
   4  Prefactor     1.3728        2.6609        .93046E-02    .61715E-03
   5  norm          .10000E-03    2.7982        .90712E-02** at limit **
   6  norm          .10000E-03    2.8127        .90712E-02** at limit **
   7  Prefactor     .10000E-03    17.910        .90712E-02** at limit **
   8  Prefactor     45.014        44.898        .14941E-02   -.75148E-03
   9  norm          20.922        14.234        .21892E-02   -.23193E-04
  10  Prefactor     28.823        39.431        .18656E-02   -.90128E-05
  11  Prefactor     .10000E-03    26.955        .90712E-02** at limit **
  12  norm          36.164        3.7353        .16661E-02   -.40693E-03
  13  Prefactor     .10010E-03    262.51        .90712E-02** at limit **
  14  Prefactor     .10000E-03    31.718        .90712E-02** at limit **
  15  Prefactor     .10000E-03    5.6783        .90712E-02** at limit **
  16  Prefactor     23.201        48.835        .20790E-02   -.83434E-04
  17  Prefactor     .10000E-03    11.905        .90712E-02** at limit **
  18  Prefactor     9.3947        72.280        .32693E-02   -.18909E-03
  19  Prefactor     .10280E-03    405.75        .10487E-01** at limit **
  20  Prefactor     2.0419        4.6752        .72355E-02    .69105E-03
  21  Normalizat    .93937        .19999        .68189E-01    .24541E-04
  22  Prefactor     .87305        .15528        .44660E-01    .18220E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.9054
  Prefactor  = 1.37284
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 45.0136
  norm       = 20.9224
  Prefactor  = 28.8233
  Prefactor  = 0.0001
  norm       = 36.1638
  Prefactor  = 0.000100099
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.201
  Prefactor  = 0.0001
  Prefactor  = 9.39469
  Prefactor  = 0.0001028
  Prefactor  = 2.0419
  Normalizat = 0.939365
  Prefactor  = 0.873049
 **********
 **   18 **HESSE 
 **********

 FCN=   6425.863     FROM HESSE     STATUS=OK           346 CALLS     2783 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.3294        .18045E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.5807        .57510E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.9054        2.8617        .11116E-03   -1.5313    
   4  Prefactor     1.3728        2.5855        .16617E-03   -1.5474    
   5  norm          .10000E-03    2.8252        .13094E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.8554        .13119E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    17.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     45.014        44.351        .59763E-04   -1.4365    
   9  norm          20.922        14.243        .87567E-04   -1.4793    
  10  Prefactor     28.823        39.426        .74624E-04   -1.4634    
  11  Prefactor     .10000E-03    26.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          36.164        3.7460        .23425E-03   -1.4505    
  13  Prefactor     .10010E-03    267.22        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    32.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.7195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.201        48.881        .83162E-04   -1.4744    
  17  Prefactor     .10000E-03    12.092        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.3947        72.309        .13077E-03   -1.5095    
  19  Prefactor     .10280E-03    409.90        .20973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.0419        4.6539        .25263E-03   -1.5422    
  21  Normalizat    .93937        .23270        .30165E-03   -.95090    
  22  Prefactor     .87305        .18068        .24909E-03   -.97089    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08895e-08
Minuit parameter uncertainties:
  1  7.8627e-09
  2  2.35575e-05
  3  2.8618
  4  2.5857
  5  1.35266e-06
  6  1.76955e-06
  7  9.92371e-06
  8  44.384
  9  14.2449
  10  39.4613
  11  5.89582e-06
  12  3.74602
  13  0.010318
  14  5.33988e-06
  15  1.76661e-07
  16  48.9659
  17  2.00644e-07
  18  52.2151
  19  0.0682215
  20  4.65476
  21  0.232949
  22  0.180802
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  3.616e+01  3.746e+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:  8.730e-01  1.808e-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.394e-01  2.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 331.25
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 1.02e-06 +/- 1.05e-07
Energy Flux (Fixed Index): 3.42e-04 +/- 3.54e-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) = 6425.68022721
delta logL = 0.182614367473

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6425.65015871
delta logL = 0.212682869135

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    35.181       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3609       1.0000          .0000       5.0000    
     3 'Normalizat'    .90464       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89221       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=   6425.650     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      199 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          35.181        4.3997        .16891E-02   -.59050E-03
   2  alpha         2.3609        .12983        .72074E-01    .27814E-04
   3  Normalizat    .90464        .19825        .69204E-01    .17562E-04
   4  Prefactor     .89222        .15548        .44906E-01    .89493E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 35.1814
  alpha      = 2.36087
  Normalizat = 0.90464
  Prefactor  = 0.892215
 **********
 **   18 **HESSE 
 **********

 FCN=   6425.650     FROM HESSE     STATUS=OK            29 CALLS      228 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          35.181        3.9688        .45786E-04   -1.4521    
   2  alpha         2.3609        .11813        .31777E-03   -.55681E-01
   3  Normalizat    .90464        .23274        .30617E-03   -.96297    
   4  Prefactor     .89222        .18208        .24665E-03   -.96414    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4828e-11
Minuit parameter uncertainties:
  1  3.96885
  2  0.118172
  3  0.232997
  4  0.182206
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/359228': 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) = 6425.65015871
delta logL = 0.212682871479

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  3.518e+01  3.969e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.361e+00  1.182e-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:  8.922e-01  1.822e-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.046e-01  2.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 330.20
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.36 +/- 0.12
Photon Flux (Free Index): 1.05e-06 +/- 1.22e-07
Energy Flux (Free Index): 3.29e-04 +/- 3.85e-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/359228/cmap_HighResolution_486604801_486864001_4FGL_J0108.6+0134_daily_bin954.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.02e-06', energy_flux2='3.29e-04', photon_flux_error='1.05e-07', dlogl='2.13e-01', energy_flux='3.42e-04', photon_flux2='1.05e-06', job_status='DONE', time_completed='2021-08-13 13:20:48.264903', photon_index_error2='0.12', photon_index2='2.36', ts='331.25', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='3.85e-05', EG='0.94', time_epoch_completed='1628886048.26', return_code='0', job_id='359228', GAL2='0.89', EG2='0.90', return_code2='0', energy_flux_error='3.54e-05', photon_flux_error2='1.22e-07', ts2='330.20', photon_index='2.28' WHERE bin_id='954' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:20:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 359228: <4FGL_J0108.6+0134_daily_bin954> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin954 17.1695 1.5819 486604801 486864001 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 :                                   695.12 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             220.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   876 sec.
    Turnaround time :                            888 sec.

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

