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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin983
RA = 17.1695, Dec = 1.5819
tmin = 494121601, tmax = 494380801
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='359317', job_status='RUN', time_executed='2021-08-13 13:10:07.324358', time_epoch_executed='1628885407.32' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='983'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/359317

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/359317/ft1_4FGL_J0108.6+0134_daily_bin983.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/359317/ft2_4FGL_J0108.6+0134_daily_bin983.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/359317/ft1_4FGL_J0108.6+0134_daily_bin983.fits outfile=/scratch/kocevski/359317/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin983.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=494121601.0 tmax=494380801.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 10.94
user 3.53
sys 6.56

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/359317/ft2_4FGL_J0108.6+0134_daily_bin983.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/359317/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin983.fits evtable="EVENTS" outfile="/scratch/kocevski/359317/ft1_filtered_4FGL_J0108.6+0134_daily_bin983.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 7.64
user 0.36
sys 6.51

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/359317/ft1_filtered_4FGL_J0108.6+0134_daily_bin983.fits" evtable="EVENTS" scfile=/scratch/kocevski/359317/ft2_4FGL_J0108.6+0134_daily_bin983.fits sctable="SC_DATA" outfile=/scratch/kocevski/359317/ltcube_494121601_494380801_4FGL_J0108.6+0134_daily_bin983.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/359317/ft2_4FGL_J0108.6+0134_daily_bin983.fits
.....................!
real 20.82
user 13.12
sys 7.51

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/359317/ft1_filtered_4FGL_J0108.6+0134_daily_bin983.fits evtable="EVENTS" scfile=/scratch/kocevski/359317/ft2_4FGL_J0108.6+0134_daily_bin983.fits sctable="SC_DATA" expcube=/scratch/kocevski/359317/ltcube_494121601_494380801_4FGL_J0108.6+0134_daily_bin983.fits outfile=/scratch/kocevski/359317/expmap_494121601_494380801_4FGL_J0108.6+0134_daily_bin983.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/359317/ltcube_494121601_494380801_4FGL_J0108.6+0134_daily_bin983.fits
.....................!
real 200.62
user 186.41
sys 13.47

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/359317/ft1_filtered_4FGL_J0108.6+0134_daily_bin983.fits scfile=/scratch/kocevski/359317/ft2_4FGL_J0108.6+0134_daily_bin983.fits outfile=/scratch/kocevski/359317/cmap_494121601_494380801_4FGL_J0108.6+0134_daily_bin983.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 6.90
user 0.39
sys 6.30

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/359317/ft1_filtered_4FGL_J0108.6+0134_daily_bin983.fits scfile=/scratch/kocevski/359317/ft2_4FGL_J0108.6+0134_daily_bin983.fits outfile=/scratch/kocevski/359317/cmap_HighResolution_494121601_494380801_4FGL_J0108.6+0134_daily_bin983.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 6.75
user 0.39
sys 6.31

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66288       1.0000         .10000E-03   10000.    
     2 'norm      '    16.482       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.0535       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.9258       1.0000         .10000E-03   10000.    
     6 'norm      '    .52034E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    23.126       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    33.543       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13299E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.7849       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 '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4510       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .47354       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=   6365.228     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2063 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .65276        7.9759       -.88637E-06   -.22089E-04
   2  norm          16.483        10.992        .28276E-08    .26987E-04
   3  Prefactor     5.0538        3.3606       -.14004E-06   -.14094E-03
   4  Prefactor     .10000E-03    3.5337       -.16298E-07** at limit **
   5  norm          2.9248        5.2715        .11046E-05   -.22970E-03
   6  norm          .10000E-03    5.5682       -.78416E-06** at limit **
   7  Prefactor     .10000E-03    16.644       -.31962E-05** at limit **
   8  Prefactor     .10000E-03    19.722        .45144E-05** at limit **
   9  norm          23.127        22.458        .94033E-07   -.70066E-05
  10  Prefactor     .10000E-03    37.585       -.87130E-06** at limit **
  11  Prefactor     .10000E-03    49.631        .30460E-04** at limit **
  12  norm          33.543        3.7243        .16982E-06    .11337E-02
  13  Prefactor     .10006E-03    155.13       -.11026E-03** at limit **
  14  Prefactor     .10000E-03    5.8572        .57184E-06** at limit **
  15  Prefactor     2.7684        8.0466       -.46315E-05    .15421E-03
  16  Prefactor     .10000E-03    9.1033        .21082E-06** at limit **
  17  Prefactor     .10000E-03    2.3054       -.28665E-07** at limit **
  18  Prefactor     .10000E-03    19.803        .43890E-05** at limit **
  19  Prefactor     .10000E-03    32.216       -.19662E-04** at limit **
  20  Prefactor     .10000E-03    5.7456       -.63019E-06** at limit **
  21  Normalizat    1.4509        .20476        .72365E-06    .59713E-03
  22  Prefactor     .47351        .15155        .39041E-06    .49021E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.652765
  norm       = 16.4835
  Prefactor  = 5.05383
  Prefactor  = 0.0001
  norm       = 2.92481
  norm       = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 23.1274
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 33.5432
  Prefactor  = 0.000100061
  Prefactor  = 0.0001
  Prefactor  = 2.76842
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.45088
  Prefactor  = 0.473508
 **********
 **   18 **HESSE 
 **********

 FCN=   6365.228     FROM HESSE     STATUS=OK           340 CALLS     2403 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .65276        64.588        .43188E-02   -1.5546    
   2  norm          16.483        10.997        .98653E-04   -1.4896    
   3  Prefactor     5.0538        3.3627        .11357E-03   -1.5258    
   4  Prefactor     .10000E-03    3.6306        .29181E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.9248        5.1731        .23414E-03   -1.5366    
   6  norm          .10000E-03    30.015        .35415E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    16.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    19.787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          23.127        22.473        .83295E-04   -1.4746    
  10  Prefactor     .10000E-03    37.629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    49.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          33.543        3.7296        .47614E-04   -1.4549    
  13  Prefactor     .10006E-03    154.33        .41126E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.8615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.7684        8.0075        .24383E-03   -1.5375    
  16  Prefactor     .10000E-03    9.1041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.3081        .11830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    19.814        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    32.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.8479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4509        .23962        .25489E-03   -.79168    
  22  Prefactor     .47351        .17498        .31744E-03   -1.1321    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95504e-08
Minuit parameter uncertainties:
  1  12.9997
  2  10.998
  3  3.36279
  4  2.91112e-06
  5  5.17385
  6  0.000679715
  7  1.52415e-05
  8  1.48319e-05
  9  22.4811
  10  1.35703e-05
  11  4.77384e-05
  12  3.72959
  13  0.00613766
  14  2.36121e-06
  15  8.01057
  16  1.41855e-06
  17  1.3609e-06
  18  3.72576e-06
  19  9.32588e-07
  20  6.81558e-06
  21  0.239802
  22  0.175174
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  3.354e+01  3.730e+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:  4.735e-01  1.752e-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.451e+00  2.398e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 284.41
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 9.42e-07 +/- 1.05e-07
Energy Flux (Fixed Index): 3.17e-04 +/- 3.52e-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) = 6365.15336568
delta logL = 0.0743667747838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6365.13999302
delta logL = 0.0877394282297

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    33.011       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3364       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4280       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .48581       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=   6365.140     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      208 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          33.011        4.2074        .17436E-02   -.17416E-02
   2  alpha         2.3365        .13549        .78370E-01    .36807E-03
   3  Normalizat    1.4280        .20320        .57960E-01   -.10751E-03
   4  Prefactor     .48582        .15007        .70852E-01   -.23223E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 33.0114
  alpha      = 2.33645
  Normalizat = 1.42799
  Prefactor  = 0.485824
 **********
 **   18 **HESSE 
 **********

 FCN=   6365.140     FROM HESSE     STATUS=OK            27 CALLS      235 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          33.011        3.8368        .46939E-04   -1.4558    
   2  alpha         2.3365        .12484        .34524E-03   -.65466E-01
   3  Normalizat    1.4280        .23942        .25629E-03   -.79823    
   4  Prefactor     .48582        .17539        .31372E-03   -1.1263    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.06881e-10
Minuit parameter uncertainties:
  1  3.83681
  2  0.124888
  3  0.239612
  4  0.175581
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/359317': 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) = 6365.13999302
delta logL = 0.0877394293611

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  3.301e+01  3.837e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.336e+00  1.249e-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:  4.858e-01  1.756e-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.428e+00  2.396e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 284.20
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.34 +/- 0.12
Photon Flux (Free Index): 9.68e-07 +/- 1.22e-07
Energy Flux (Free Index): 3.09e-04 +/- 3.79e-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/359317/cmap_HighResolution_494121601_494380801_4FGL_J0108.6+0134_daily_bin983.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.42e-07', energy_flux2='3.09e-04', photon_flux_error='1.05e-07', dlogl='8.77e-02', energy_flux='3.17e-04', photon_flux2='9.68e-07', job_status='DONE', time_completed='2021-08-13 13:21:34.973927', photon_index_error2='0.12', photon_index2='2.34', ts='284.41', fit_tolerance='1e-08', GAL='0.47', photon_index_error='0.00', energy_flux_error2='3.79e-05', EG='1.45', time_epoch_completed='1628886094.97', return_code='0', job_id='359317', GAL2='0.49', EG2='1.43', return_code2='0', energy_flux_error='3.52e-05', photon_flux_error2='1.22e-07', ts2='284.20', photon_index='2.28' WHERE bin_id='983' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:21:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 359317: <4FGL_J0108.6+0134_daily_bin983> in cluster <slac> Done

Job <4FGL_J0108.6+0134_daily_bin983> 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) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 13:06:36 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:36 2021
Terminated at Fri Aug 13 13:21:37 2021
Results reported at Fri Aug 13 13:21:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin983 17.1695 1.5819 494121601 494380801 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 :                                   778.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             229.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            923 sec.

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

