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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin980
RA = 17.1695, Dec = 1.5819
tmin = 493344001, tmax = 493603201
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='359312', job_status='RUN', time_executed='2021-08-13 13:07:53.563033', time_epoch_executed='1628885273.56' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='980'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/359312

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/359312/ft1_4FGL_J0108.6+0134_daily_bin980.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/359312/ft2_4FGL_J0108.6+0134_daily_bin980.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/359312/ft1_4FGL_J0108.6+0134_daily_bin980.fits outfile=/scratch/kocevski/359312/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin980.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=493344001.0 tmax=493603201.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.06
user 3.28
sys 0.59

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/359312/ft2_4FGL_J0108.6+0134_daily_bin980.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/359312/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin980.fits evtable="EVENTS" outfile="/scratch/kocevski/359312/ft1_filtered_4FGL_J0108.6+0134_daily_bin980.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.02
user 0.26
sys 0.56

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/359312/ft1_filtered_4FGL_J0108.6+0134_daily_bin980.fits" evtable="EVENTS" scfile=/scratch/kocevski/359312/ft2_4FGL_J0108.6+0134_daily_bin980.fits sctable="SC_DATA" outfile=/scratch/kocevski/359312/ltcube_493344001_493603201_4FGL_J0108.6+0134_daily_bin980.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/359312/ft2_4FGL_J0108.6+0134_daily_bin980.fits
.....................!
real 10.24
user 9.34
sys 0.76

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/359312/ft1_filtered_4FGL_J0108.6+0134_daily_bin980.fits evtable="EVENTS" scfile=/scratch/kocevski/359312/ft2_4FGL_J0108.6+0134_daily_bin980.fits sctable="SC_DATA" expcube=/scratch/kocevski/359312/ltcube_493344001_493603201_4FGL_J0108.6+0134_daily_bin980.fits outfile=/scratch/kocevski/359312/expmap_493344001_493603201_4FGL_J0108.6+0134_daily_bin980.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/359312/ltcube_493344001_493603201_4FGL_J0108.6+0134_daily_bin980.fits
.....................!
real 148.85
user 143.66
sys 4.93

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/359312/ft1_filtered_4FGL_J0108.6+0134_daily_bin980.fits scfile=/scratch/kocevski/359312/ft2_4FGL_J0108.6+0134_daily_bin980.fits outfile=/scratch/kocevski/359312/cmap_493344001_493603201_4FGL_J0108.6+0134_daily_bin980.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 0.93
user 0.30
sys 0.57

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/359312/ft1_filtered_4FGL_J0108.6+0134_daily_bin980.fits scfile=/scratch/kocevski/359312/ft2_4FGL_J0108.6+0134_daily_bin980.fits outfile=/scratch/kocevski/359312/cmap_HighResolution_493344001_493603201_4FGL_J0108.6+0134_daily_bin980.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 0.94
user 0.31
sys 0.56

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.5863       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    7.0453       1.0000         .10000E-03   10000.    
     6 'norm      '    4.5200       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    16.068       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    36.935       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.6344       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.307       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 '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.1792       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.8294       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .64795       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=   9143.611     FROM MIGRAD    STATUS=CONVERGED    479 CALLS     2002 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.6215        .16052E-06** at limit **
   2  norm          .10000E-03    4.1875        .17264E-07** at limit **
   3  Prefactor     2.5863        1.9865       -.26650E-07   -.57190E-04
   4  Prefactor     .10000E-03    1.4333        .45364E-07** at limit **
   5  norm          7.0452        4.3284        .97435E-06    .96959E-04
   6  norm          4.5199        4.7385       -.12848E-05   -.41882E-03
   7  Prefactor     .10000E-03    8.9061        .67965E-06** at limit **
   8  Prefactor     .10000E-03    6.5231       -.26723E-06** at limit **
   9  norm          16.068        12.996        .11050E-08    .89004E-05
  10  Prefactor     .10000E-03    33.234       -.18664E-04** at limit **
  11  Prefactor     .10000E-03    78.672       -.22242E-04** at limit **
  12  norm          36.934        3.5140       -.13925E-07    .25804E-03
  13  Prefactor     5.6329        97.795       -.38588E-05   -.93678E-05
  14  Prefactor     .10000E-03    9.9610       -.86423E-06** at limit **
  15  Prefactor     13.306        9.3256        .37166E-06   -.53015E-04
  16  Prefactor     .10000E-03    37.929       -.34623E-05** at limit **
  17  Prefactor     .10000E-03    2.8065        .18176E-09** at limit **
  18  Prefactor     .10000E-03    49.371        .32739E-04** at limit **
  19  Prefactor     .10000E-03    24.661        .63910E-05** at limit **
  20  Prefactor     3.1793        4.1999       -.13371E-05   -.55867E-03
  21  Normalizat    1.8293        .19620        .30593E-06    .22351E-05
  22  Prefactor     .64794        .14786        .14129E-06   -.28688E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.58629
  Prefactor  = 0.0001
  norm       = 7.04522
  norm       = 4.51994
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 16.0681
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 36.9339
  Prefactor  = 5.63294
  Prefactor  = 0.0001
  Prefactor  = 13.3057
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.17934
  Normalizat = 1.82935
  Prefactor  = 0.647937
 **********
 **   18 **HESSE 
 **********

 FCN=   9143.611     FROM HESSE     STATUS=OK           340 CALLS     2342 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.6723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.2117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.5863        1.9858        .11437E-03   -1.5386    
   4  Prefactor     .10000E-03    1.4566        .11166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          7.0452        4.3327        .15114E-03   -1.5177    
   6  norm          4.5199        4.7522        .18937E-03   -1.5283    
   7  Prefactor     .10000E-03    8.9070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.5263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          16.068        13.002        .99917E-04   -1.4906    
  10  Prefactor     .10000E-03    33.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    78.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          36.934        3.5242        .51800E-04   -1.4492    
  13  Prefactor     5.6329        96.325        .16924E-03   -1.5233    
  14  Prefactor     .10000E-03    10.009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.306        9.2599        .10980E-03   -1.4978    
  16  Prefactor     .10000E-03    38.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.8194        .15643E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    49.073        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    24.662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.1793        4.2202        .22015E-03   -1.5351    
  21  Normalizat    1.8293        .22878        .27722E-03   -.68900    
  22  Prefactor     .64794        .17113        .33332E-03   -1.0560    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.842e-10
Minuit parameter uncertainties:
  1  2.34181e-06
  2  1.36463e-06
  3  1.98581
  4  5.44488e-06
  5  4.33291
  6  4.75264
  7  1.18185e-06
  8  3.61491e-06
  9  13.0045
  10  7.13337e-06
  11  2.104e-05
  12  3.52421
  13  46.6752
  14  5.2129e-07
  15  9.26087
  16  1.86545e-06
  17  1.78612e-07
  18  9.76696e-05
  19  2.93871e-06
  20  4.2206
  21  0.228918
  22  0.171265
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  3.693e+01  3.524e+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:  6.479e-01  1.713e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.829e+00  2.289e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 429.37
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 1.04e-06 +/- 9.89e-08
Energy Flux (Fixed Index): 3.49e-04 +/- 3.33e-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) = 9143.32408779
delta logL = 0.286801255883

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9143.30146286
delta logL = 0.30942618217

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    37.715       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2016       1.0000          .0000       5.0000    
     3 'Normalizat'    1.8701       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62694       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=   9143.301     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      208 TOTAL
                     EDM=   .52E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          37.715        3.8930        .16316E-02   -.14890E-03
   2  alpha         2.2016        .10970        .83062E-01    .22147E-04
   3  Normalizat    1.8701        .19766        .62274E-01    .11917E-04
   4  Prefactor     .62695        .14797        .76420E-01    .31988E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 37.7147
  alpha      = 2.20158
  Normalizat = 1.87008
  Prefactor  = 0.626946
 **********
 **   18 **HESSE 
 **********

 FCN=   9143.301     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .27E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          37.715        3.6756        .52940E-04   -1.4479    
   2  alpha         2.2016        .10458        .36549E-03   -.11965    
   3  Normalizat    1.8701        .23127        .27536E-03   -.67848    
   4  Prefactor     .62695        .17175        .33838E-03   -1.0646    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69329e-12
Minuit parameter uncertainties:
  1  3.67562
  2  0.104615
  3  0.231402
  4  0.171898
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/359312': 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) = 9143.30146286
delta logL = 0.309426182504

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  3.771e+01  3.676e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.202e+00  1.046e-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:  6.269e-01  1.719e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.870e+00  2.314e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 430.90
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.20 +/- 0.10
Photon Flux (Free Index): 9.91e-07 +/- 1.11e-07
Energy Flux (Free Index): 3.65e-04 +/- 4.12e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/359312/cmap_HighResolution_493344001_493603201_4FGL_J0108.6+0134_daily_bin980.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.04e-06', energy_flux2='3.65e-04', photon_flux_error='9.89e-08', dlogl='3.09e-01', energy_flux='3.49e-04', photon_flux2='9.91e-07', job_status='DONE', time_completed='2021-08-13 13:17:03.291764', photon_index_error2='0.10', photon_index2='2.20', ts='429.37', fit_tolerance='1e-08', GAL='0.65', photon_index_error='0.00', energy_flux_error2='4.12e-05', EG='1.83', time_epoch_completed='1628885823.29', return_code='0', job_id='359312', GAL2='0.63', EG2='1.87', return_code2='0', energy_flux_error='3.33e-05', photon_flux_error2='1.11e-07', ts2='430.90', photon_index='2.28' WHERE bin_id='980' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:17:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 359312: <4FGL_J0108.6+0134_daily_bin980> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin980 17.1695 1.5819 493344001 493603201 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 :                                   548.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             324.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   630 sec.
    Turnaround time :                            651 sec.

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

