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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin992
RA = 17.1695, Dec = 1.5819
tmin = 496454401, tmax = 496713601
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='359329', job_status='RUN', time_executed='2021-08-13 13:08:26.246836', time_epoch_executed='1628885306.25' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='992'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/359329

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/359329/ft1_4FGL_J0108.6+0134_daily_bin992.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/359329/ft2_4FGL_J0108.6+0134_daily_bin992.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/359329/ft1_4FGL_J0108.6+0134_daily_bin992.fits outfile=/scratch/kocevski/359329/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin992.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=496454401.0 tmax=496713601.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 3.25
user 2.65
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/359329/ft2_4FGL_J0108.6+0134_daily_bin992.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/359329/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin992.fits evtable="EVENTS" outfile="/scratch/kocevski/359329/ft1_filtered_4FGL_J0108.6+0134_daily_bin992.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 0.81
user 0.29
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/359329/ft1_filtered_4FGL_J0108.6+0134_daily_bin992.fits" evtable="EVENTS" scfile=/scratch/kocevski/359329/ft2_4FGL_J0108.6+0134_daily_bin992.fits sctable="SC_DATA" outfile=/scratch/kocevski/359329/ltcube_496454401_496713601_4FGL_J0108.6+0134_daily_bin992.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/359329/ft2_4FGL_J0108.6+0134_daily_bin992.fits
.....................!
real 12.84
user 12.43
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/359329/ft1_filtered_4FGL_J0108.6+0134_daily_bin992.fits evtable="EVENTS" scfile=/scratch/kocevski/359329/ft2_4FGL_J0108.6+0134_daily_bin992.fits sctable="SC_DATA" expcube=/scratch/kocevski/359329/ltcube_496454401_496713601_4FGL_J0108.6+0134_daily_bin992.fits outfile=/scratch/kocevski/359329/expmap_496454401_496713601_4FGL_J0108.6+0134_daily_bin992.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/359329/ltcube_496454401_496713601_4FGL_J0108.6+0134_daily_bin992.fits
.....................!
real 157.85
user 153.31
sys 4.23

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/359329/ft1_filtered_4FGL_J0108.6+0134_daily_bin992.fits scfile=/scratch/kocevski/359329/ft2_4FGL_J0108.6+0134_daily_bin992.fits outfile=/scratch/kocevski/359329/cmap_496454401_496713601_4FGL_J0108.6+0134_daily_bin992.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.47
user 0.33
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/359329/ft1_filtered_4FGL_J0108.6+0134_daily_bin992.fits scfile=/scratch/kocevski/359329/ft2_4FGL_J0108.6+0134_daily_bin992.fits outfile=/scratch/kocevski/359329/cmap_HighResolution_496454401_496713601_4FGL_J0108.6+0134_daily_bin992.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.48
user 0.35
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    8.3173       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.3552       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.5050       1.0000         .10000E-03   10000.    
     5 'norm      '    .39467E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.881       1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.981       1.0000         .10000E-03   10000.    
     9 'norm      '    20.441       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    105.96       1.0000         .10000E-03   10000.    
    12 'norm      '    25.621       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.993       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .81637       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    40.516       1.0000         .10000E-03   10000.    
    19 'Prefactor '    51.138       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .23013E-02   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0782       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .78033       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=   6763.199     FROM MIGRAD    STATUS=CONVERGED    479 CALLS     2355 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.955       -.21684E-06** at limit **
   2  norm          8.3175        9.2727        .11486E-06   -.94156E-05
   3  Prefactor     8.3552        3.5458        .56729E-07    .20478E-03
   4  Prefactor     4.5056        3.6380        .44073E-07   -.44521E-04
   5  norm          .10000E-03    2.6660        .13724E-06** at limit **
   6  norm          .10000E-03    2.2956        .83818E-07** at limit **
   7  Prefactor     14.889        19.985        .87994E-07    .31426E-04
   8  Prefactor     19.986        34.371        .42331E-07    .25409E-04
   9  norm          20.441        17.689        .12090E-06   -.48386E-05
  10  Prefactor     .10000E-03    26.178       -.24692E-06** at limit **
  11  Prefactor     105.96        100.23        .39875E-06    .83958E-07
  12  norm          25.620        3.5071       -.12976E-06   -.84148E-03
  13  Prefactor     .10000E-03    31.132        .38695E-06** at limit **
  14  Prefactor     21.992        16.792        .28333E-07   -.61032E-05
  15  Prefactor     .81559        7.3645        .48482E-05    .77147E-04
  16  Prefactor     .10000E-03    52.356       -.15278E-06** at limit **
  17  Prefactor     .10000E-03    7.3658       -.16126E-06** at limit **
  18  Prefactor     40.514        42.096       -.57328E-07   -.26500E-04
  19  Prefactor     51.096        97.581       -.22224E-05   -.12367E-03
  20  Prefactor     .10012E-03    4.2581        .13039E-05** at limit **
  21  Normalizat    1.0782        .19900        .47633E-06   -.24192E-03
  22  Prefactor     .78033        .14898       -.98184E-06   -.19680E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 8.31751
  Prefactor  = 8.35519
  Prefactor  = 4.50555
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 14.8889
  Prefactor  = 19.9863
  norm       = 20.4409
  Prefactor  = 0.0001
  Prefactor  = 105.96
  norm       = 25.6202
  Prefactor  = 0.0001
  Prefactor  = 21.9922
  Prefactor  = 0.815591
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 40.5143
  Prefactor  = 51.0963
  Prefactor  = 0.000100124
  Normalizat = 1.07815
  Prefactor  = 0.780328
 **********
 **   18 **HESSE 
 **********

 FCN=   6763.199     FROM HESSE     STATUS=OK           342 CALLS     2697 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.729        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.3175        9.2726        .13901E-03   -1.5131    
   3  Prefactor     8.3552        3.5479        .96358E-04   -1.5130    
   4  Prefactor     4.5056        3.6271        .12866E-03   -1.5283    
   5  norm          .10000E-03    6.2548        .26091E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.3044        .12159E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.889        19.963        .10383E-03   -1.4936    
   8  Prefactor     19.986        34.274        .89603E-04   -1.4814    
   9  norm          20.441        17.715        .88590E-04   -1.4803    
  10  Prefactor     .10000E-03    26.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     105.96        100.47        .39067E-04   -1.3646    
  12  norm          25.620        3.5243        .50363E-04   -1.4695    
  13  Prefactor     .10000E-03    31.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     21.992        16.797        .85410E-04   -1.4770    
  15  Prefactor     .81559        7.5268        .42588E-03   -1.5527    
  16  Prefactor     .10000E-03    52.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.4665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     40.514        42.117        .62974E-04   -1.4434    
  19  Prefactor     51.096        98.457        .56082E-04   -1.4277    
  20  Prefactor     .10012E-03    25.282        .29651E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0782        .22907        .29048E-03   -.90456    
  22  Prefactor     .78033        .17076        .26041E-03   -1.0046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.90792e-09
Minuit parameter uncertainties:
  1  0.000136307
  2  9.27423
  3  3.54796
  4  3.62729
  5  2.77221e-05
  6  7.71325e-07
  7  19.9721
  8  34.3077
  9  17.7192
  10  0.000136797
  11  100.636
  12  3.52432
  13  0.000210933
  14  16.801
  15  4.95585
  16  0.000130378
  17  3.59648e-06
  18  42.1475
  19  98.7721
  20  0.00354773
  21  0.229285
  22  0.170877
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  2.562e+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:  7.803e-01  1.709e-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.078e+00  2.293e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 179.11
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 7.19e-07 +/- 9.89e-08
Energy Flux (Fixed Index): 2.42e-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) = 6760.90549615
delta logL = 2.29394588736

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6760.50544027
delta logL = 2.69400176729

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    22.369       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6409       1.0000          .0000       5.0000    
     3 'Normalizat'    .95231       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84838       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=   6760.505     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      219 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.369        4.6998        .21172E-02    .82726E-02
   2  alpha         2.6409        .21932        .88544E-01   -.19015E-05
   3  Normalizat    .95232        .19388        .68750E-01    .47041E-04
   4  Prefactor     .84837        .14908        .44344E-01   -.22329E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 22.3694
  alpha      = 2.64086
  Normalizat = 0.952323
  Prefactor  = 0.848367
 **********
 **   18 **HESSE 
 **********

 FCN=   6760.505     FROM HESSE     STATUS=OK            29 CALLS      248 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.369        3.3771        .44596E-04   -1.4762    
   2  alpha         2.6409        .15920        .38981E-03    .56373E-01
   3  Normalizat    .95232        .22490        .30414E-03   -.94645    
   4  Prefactor     .84837        .17233        .25081E-03   -.97969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.71083e-09
Minuit parameter uncertainties:
  1  3.37708
  2  0.159312
  3  0.22512
  4  0.17244
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/359329': 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) = 6760.50544026
delta logL = 2.6940017716

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  2.237e+01  3.377e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.641e+00  1.593e-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.484e-01  1.724e-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.523e-01  2.251e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 189.38
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.64 +/- 0.16
Photon Flux (Free Index): 8.69e-07 +/- 1.21e-07
Energy Flux (Free Index): 2.16e-04 +/- 2.77e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.355e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.614e-03 [aplpy.core]
Saving /scratch/kocevski/359329/cmap_HighResolution_496454401_496713601_4FGL_J0108.6+0134_daily_bin992.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.19e-07', energy_flux2='2.16e-04', photon_flux_error='9.89e-08', dlogl='2.69e+00', energy_flux='2.42e-04', photon_flux2='8.69e-07', job_status='DONE', time_completed='2021-08-13 13:16:42.036454', photon_index_error2='0.16', photon_index2='2.64', ts='179.11', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='2.77e-05', EG='1.08', time_epoch_completed='1628885802.04', return_code='0', job_id='359329', GAL2='0.85', EG2='0.95', return_code2='0', energy_flux_error='3.33e-05', photon_flux_error2='1.21e-07', ts2='189.38', photon_index='2.28' WHERE bin_id='992' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:16:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0175>
Subject: Job 359329: <4FGL_J0108.6+0134_daily_bin992> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin992 17.1695 1.5819 496454401 496713601 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 :                                   492.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             279.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   604 sec.
    Turnaround time :                            628 sec.

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

