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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin533
RA = 17.1695, Dec = 1.5819
tmin = 377481601, tmax = 377740801
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='356102', job_status='RUN', time_executed='2021-08-13 13:02:45.688845', time_epoch_executed='1628884965.69' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='533'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/356102

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

Retrieving the FT1 file...

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

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

Retrieving 36 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/356102/ft1_4FGL_J0108.6+0134_daily_bin533.fits


Retrieving the FT1 file...

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

Retrieving 40 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/356102/ft2_4FGL_J0108.6+0134_daily_bin533.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/356102/ft1_4FGL_J0108.6+0134_daily_bin533.fits outfile=/scratch/kocevski/356102/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin533.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=377481601.0 tmax=377740801.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 8.41
user 2.96
sys 0.94

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/356102/ft1_filtered_4FGL_J0108.6+0134_daily_bin533.fits" evtable="EVENTS" scfile=/scratch/kocevski/356102/ft2_4FGL_J0108.6+0134_daily_bin533.fits sctable="SC_DATA" outfile=/scratch/kocevski/356102/ltcube_377481601_377740801_4FGL_J0108.6+0134_daily_bin533.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/356102/ft2_4FGL_J0108.6+0134_daily_bin533.fits
.....................!
real 15.54
user 11.47
sys 1.16

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/356102/ft1_filtered_4FGL_J0108.6+0134_daily_bin533.fits evtable="EVENTS" scfile=/scratch/kocevski/356102/ft2_4FGL_J0108.6+0134_daily_bin533.fits sctable="SC_DATA" expcube=/scratch/kocevski/356102/ltcube_377481601_377740801_4FGL_J0108.6+0134_daily_bin533.fits outfile=/scratch/kocevski/356102/expmap_377481601_377740801_4FGL_J0108.6+0134_daily_bin533.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/356102/ltcube_377481601_377740801_4FGL_J0108.6+0134_daily_bin533.fits
.....................!
real 198.41
user 186.75
sys 6.00

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/356102/ft1_filtered_4FGL_J0108.6+0134_daily_bin533.fits scfile=/scratch/kocevski/356102/ft2_4FGL_J0108.6+0134_daily_bin533.fits outfile=/scratch/kocevski/356102/cmap_377481601_377740801_4FGL_J0108.6+0134_daily_bin533.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 4.58
user 0.38
sys 0.82

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/356102/ft1_filtered_4FGL_J0108.6+0134_daily_bin533.fits scfile=/scratch/kocevski/356102/ft2_4FGL_J0108.6+0134_daily_bin533.fits outfile=/scratch/kocevski/356102/cmap_HighResolution_377481601_377740801_4FGL_J0108.6+0134_daily_bin533.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 2.44
user 0.39
sys 0.84

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    22.675       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .26007       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .23705E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.1993       1.0000         .10000E-03   10000.    
     6 'norm      '    .26308E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    10.195       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .16165E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    65.903       1.0000         .10000E-03   10000.    
    12 'norm      '    5.5733       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .25069E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.5138       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .26307E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    21.447       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.3948       1.0000         .10000E-03   10000.    
    18 'Prefactor '    27.907       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0352       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .62303       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=   4728.157     FROM MIGRAD    STATUS=CONVERGED    507 CALLS     2470 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.5446       -.27670E-06** at limit **
   2  norm          22.676        10.724       -.53628E-06   -.14828E-04
   3  Prefactor     .25884        1.7936        .35535E-07   -.12239E-03
   4  Prefactor     .10000E-03    1.9147        .14939E-06** at limit **
   5  norm          4.1993        3.8647        .13650E-06    .53361E-04
   6  norm          .10062E-03    3.2742       -.61521E-06** at limit **
   7  Prefactor     .10000E-03    11.730       -.46676E-06** at limit **
   8  Prefactor     .10000E-03    13.981        .97918E-06** at limit **
   9  norm          10.197        12.276       -.16787E-06   -.60784E-05
  10  Prefactor     .10000E-03    150.03        .58416E-04** at limit **
  11  Prefactor     65.885        78.408       -.17527E-04   -.27074E-04
  12  norm          5.5730        1.9909        .29447E-06   -.86837E-03
  13  Prefactor     .10003E-03    30.736       -.60938E-06** at limit **
  14  Prefactor     5.4801        19.882        .63021E-05   -.13119E-03
  15  Prefactor     .46582E-01    7.1443        .22023E-05   -.98016E-03
  16  Prefactor     21.393        35.870       -.23151E-04   -.35094E-04
  17  Prefactor     4.3918        9.2252        .60180E-05   -.13835E-03
  18  Prefactor     27.913        33.186        .10250E-05   -.17367E-04
  19  Prefactor     .10000E-03    29.443        .11761E-06** at limit **
  20  Prefactor     .10000E-03    2.4232        .18092E-06** at limit **
  21  Normalizat    1.0350        .19326        .37089E-06   -.35373E-03
  22  Prefactor     .62295        .14446       -.79004E-08   -.24549E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 22.6759
  Prefactor  = 0.258843
  Prefactor  = 0.0001
  norm       = 4.19931
  norm       = 0.000100625
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.1968
  Prefactor  = 0.000100003
  Prefactor  = 65.8845
  norm       = 5.57301
  Prefactor  = 0.00010003
  Prefactor  = 5.4801
  Prefactor  = 0.0465821
  Prefactor  = 21.3926
  Prefactor  = 4.39181
  Prefactor  = 27.9133
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.03502
  Prefactor  = 0.622947
 **********
 **   18 **HESSE 
 **********

 FCN=   4728.157     FROM HESSE     STATUS=OK           358 CALLS     2828 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.5639        .15813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          22.676        10.730        .84117E-04   -1.4755    
   3  Prefactor     .25884        8.6417        .16927E-02   -1.5606    
   4  Prefactor     .10000E-03    6.2181        .17478E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.1993        3.8545        .12608E-03   -1.5298    
   6  norm          .10062E-03    76.871        .22859E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.733        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          10.197        12.281        .12549E-03   -1.5069    
  10  Prefactor     .10000E-03    149.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     65.885        78.436        .49437E-04   -1.4083    
  12  norm          5.5730        1.9916        .52835E-04   -1.5236    
  13  Prefactor     .10003E-03    192.45        .70017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.4801        19.777        .17111E-03   -1.5240    
  15  Prefactor     .46582E-01    7.1955        .48586E-01   -1.5665    
  16  Prefactor     21.393        35.932        .86488E-04   -1.4783    
  17  Prefactor     4.3918        9.1703        .19211E-03   -1.5289    
  18  Prefactor     27.913        33.194        .75837E-04   -1.4651    
  19  Prefactor     .10000E-03    29.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.4463        .10452E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0350        .22161        .23209E-03   -.91866    
  22  Prefactor     .62295        .16503        .23189E-03   -1.0663    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91745e-08
Minuit parameter uncertainties:
  1  8.28219e-07
  2  10.7307
  3  2.99111
  4  6.59725e-05
  5  3.8547
  6  0.0138791
  7  2.39807e-06
  8  1.318e-05
  9  12.2838
  10  0.00136303
  11  78.5594
  12  1.99163
  13  0.00484568
  14  19.8003
  15  1.1568
  16  35.9683
  17  9.1732
  18  33.2158
  19  3.92368e-06
  20  1.33412e-06
  21  0.221811
  22  0.165157
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  5.573e+00  1.992e+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.229e-01  1.652e-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.035e+00  2.218e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 22.98
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 1.56e-07 +/- 5.59e-08
Energy Flux (Fixed Index): 5.26e-05 +/- 1.88e-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) = 4728.12523313
delta logL = 0.0316605355656

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4728.12414668
delta logL = 0.0327469835438

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.6150       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1919       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0455       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61765       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=   4728.124     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      195 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.6150        2.2902        .42383E-02    .35614E-02
   2  alpha         2.1919        .40679        .21458        .71077E-04
   3  Normalizat    1.0456        .18368        .40865E-01    .10605E-04
   4  Prefactor     .61765        .14397        .41294E-01    .60435E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.61497
  alpha      = 2.19185
  Normalizat = 1.04556
  Prefactor  = 0.617649
 **********
 **   18 **HESSE 
 **********

 FCN=   4728.124     FROM HESSE     STATUS=OK            31 CALLS      226 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.6150        1.9424        .53763E-04   -1.5234    
   2  alpha         2.1919        .35902        .90876E-02   -.12357    
   3  Normalizat    1.0456        .20949        .23113E-03   -.91520    
   4  Prefactor     .61765        .16334        .23281E-03   -1.0685    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.07173e-10
Minuit parameter uncertainties:
  1  1.94247
  2  0.360288
  3  0.209659
  4  0.163462
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/356102': 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) = 4728.12414668
delta logL = 0.0327469871954

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  5.615e+00  1.942e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.192e+00  3.603e-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.176e-01  1.635e-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.046e+00  2.097e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.08
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.19 +/- 0.36
Photon Flux (Free Index): 1.46e-07 +/- 6.38e-08
Energy Flux (Free Index): 5.45e-05 +/- 2.07e-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/356102/cmap_HighResolution_377481601_377740801_4FGL_J0108.6+0134_daily_bin533.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.56e-07', energy_flux2='5.45e-05', photon_flux_error='5.59e-08', dlogl='3.27e-02', energy_flux='5.26e-05', photon_flux2='1.46e-07', job_status='DONE', time_completed='2021-08-13 13:12:01.452160', photon_index_error2='0.36', photon_index2='2.19', ts='22.98', fit_tolerance='1e-08', GAL='0.62', photon_index_error='0.00', energy_flux_error2='2.07e-05', EG='1.04', time_epoch_completed='1628885521.45', return_code='0', job_id='356102', GAL2='0.62', EG2='1.05', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='6.38e-08', ts2='23.08', photon_index='2.28' WHERE bin_id='533' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:12:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 356102: <4FGL_J0108.6+0134_daily_bin533> in cluster <slac> Done

Job <4FGL_J0108.6+0134_daily_bin533> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 12:55:27 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 12:58:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 12:58:37 2021
Terminated at Fri Aug 13 13:12:02 2021
Results reported at Fri Aug 13 13:12:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin533 17.1695 1.5819 377481601 377740801 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 :                                   532.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             251.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            995 sec.

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

