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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin1023
RA = 17.1695, Dec = 1.5819
tmin = 504489601, tmax = 504748801
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='359375', job_status='RUN', time_executed='2021-08-13 13:11:03.204947', time_epoch_executed='1628885463.2' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='1023'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/359375

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/359375/ft1_4FGL_J0108.6+0134_daily_bin1023.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/359375/ft2_4FGL_J0108.6+0134_daily_bin1023.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/359375/ft1_4FGL_J0108.6+0134_daily_bin1023.fits outfile=/scratch/kocevski/359375/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin1023.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=504489601.0 tmax=504748801.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 11.72
user 4.17
sys 6.75

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/359375/ft2_4FGL_J0108.6+0134_daily_bin1023.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/359375/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin1023.fits evtable="EVENTS" outfile="/scratch/kocevski/359375/ft1_filtered_4FGL_J0108.6+0134_daily_bin1023.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 6.53
user 0.33
sys 6.03

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/359375/ft1_filtered_4FGL_J0108.6+0134_daily_bin1023.fits" evtable="EVENTS" scfile=/scratch/kocevski/359375/ft2_4FGL_J0108.6+0134_daily_bin1023.fits sctable="SC_DATA" outfile=/scratch/kocevski/359375/ltcube_504489601_504748801_4FGL_J0108.6+0134_daily_bin1023.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/359375/ft2_4FGL_J0108.6+0134_daily_bin1023.fits
.....................!
real 21.36
user 13.39
sys 7.65

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/359375/ft1_filtered_4FGL_J0108.6+0134_daily_bin1023.fits evtable="EVENTS" scfile=/scratch/kocevski/359375/ft2_4FGL_J0108.6+0134_daily_bin1023.fits sctable="SC_DATA" expcube=/scratch/kocevski/359375/ltcube_504489601_504748801_4FGL_J0108.6+0134_daily_bin1023.fits outfile=/scratch/kocevski/359375/expmap_504489601_504748801_4FGL_J0108.6+0134_daily_bin1023.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/359375/ltcube_504489601_504748801_4FGL_J0108.6+0134_daily_bin1023.fits
.....................!
real 199.84
user 185.45
sys 13.82

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/359375/ft1_filtered_4FGL_J0108.6+0134_daily_bin1023.fits scfile=/scratch/kocevski/359375/ft2_4FGL_J0108.6+0134_daily_bin1023.fits outfile=/scratch/kocevski/359375/cmap_504489601_504748801_4FGL_J0108.6+0134_daily_bin1023.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.99
user 0.37
sys 6.51

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/359375/ft1_filtered_4FGL_J0108.6+0134_daily_bin1023.fits scfile=/scratch/kocevski/359375/ft2_4FGL_J0108.6+0134_daily_bin1023.fits outfile=/scratch/kocevski/359375/cmap_HighResolution_504489601_504748801_4FGL_J0108.6+0134_daily_bin1023.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.96
user 0.39
sys 6.39

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    5.8852       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.5046       1.0000         .10000E-03   10000.    
     5 'norm      '    7.0180       1.0000         .10000E-03   10000.    
     6 'norm      '    .11649E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.2612       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.7734       1.0000         .10000E-03   10000.    
    13 'Prefactor '    84.715       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10113E-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 '    1.9153       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3272       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .76466       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=   6343.299     FROM MIGRAD    STATUS=CONVERGED    474 CALLS     2341 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.8626       -.38249E-07** at limit **
   2  norm          5.8851        5.9429        .14790E-05   -.15110E-03
   3  Prefactor     .10000E-03    1.1922        .56512E-07** at limit **
   4  Prefactor     6.5049        4.2648        .13660E-06   -.83735E-04
   5  norm          7.0179        5.5989       -.11034E-06   -.16045E-03
   6  norm          .10002E-03    5.9953        .10327E-05** at limit **
   7  Prefactor     .10000E-03    17.874       -.11973E-05** at limit **
   8  Prefactor     .10000E-03    15.396       -.91833E-06** at limit **
   9  norm          1.2331        44.461        .25191E-05   -.19346E-04
  10  Prefactor     .10000E-03    36.943       -.29588E-05** at limit **
  11  Prefactor     .10000E-03    34.015        .58488E-06** at limit **
  12  norm          7.7733        1.9565        .26596E-07   -.77291E-04
  13  Prefactor     84.709        50.254       -.43633E-06   -.85300E-04
  14  Prefactor     .10000E-03    6.5661       -.45823E-07** at limit **
  15  Prefactor     .10000E-03    4.2284       -.76184E-07** at limit **
  16  Prefactor     .10000E-03    21.277        .41369E-06** at limit **
  17  Prefactor     .10000E-03    12.899        .11705E-05** at limit **
  18  Prefactor     .10000E-03    14.297       -.16622E-07** at limit **
  19  Prefactor     .10000E-03    29.059        .25267E-05** at limit **
  20  Prefactor     1.9153        3.4131        .27691E-06   -.10204E-04
  21  Normalizat    1.3271        .18858       -.26691E-06   -.15565E-03
  22  Prefactor     .76473        .15064       -.33912E-06   -.16267E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 5.88515
  Prefactor  = 0.0001
  Prefactor  = 6.50491
  norm       = 7.01791
  norm       = 0.000100024
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.2331
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 7.77328
  Prefactor  = 84.7091
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 1.91532
  Normalizat = 1.3271
  Prefactor  = 0.764725
 **********
 **   18 **HESSE 
 **********

 FCN=   6343.299     FROM HESSE     STATUS=OK           338 CALLS     2679 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.8714        .15287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.8851        6.0890        .82769E-03   -1.5223    
   3  Prefactor     .10000E-03    1.9381        .16815E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.5049        4.1509        .12302E-03   -1.5198    
   5  norm          7.0179        5.5366        .15143E-03   -1.5178    
   6  norm          .10002E-03    21.190        .34645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    18.085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.2331        45.895        .39712E-03   -1.5486    
  10  Prefactor     .10000E-03    38.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    34.090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.7733        1.9602        .53281E-04   -1.5150    
  13  Prefactor     84.709        50.473        .43645E-04   -1.3865    
  14  Prefactor     .10000E-03    6.5762        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.2950        .15970E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    21.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.492        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    14.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    29.983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.9153        3.3910        .19114E-03   -1.5431    
  21  Normalizat    1.3271        .21890        .24714E-03   -.82761    
  22  Prefactor     .76473        .17417        .25498E-03   -1.0104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35502e-09
Minuit parameter uncertainties:
  1  2.01588e-06
  2  6.08962
  3  4.74573e-07
  4  4.15108
  5  5.53698
  6  0.00143826
  7  0.000164462
  8  0.000137363
  9  15.0575
  10  0.000571648
  11  0.000110756
  12  1.96025
  13  50.4989
  14  2.08831e-06
  15  8.05784e-06
  16  6.21179e-05
  17  0.000117455
  18  6.90079e-07
  19  0.000444097
  20  3.3913
  21  0.219057
  22  0.174293
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  7.773e+00  1.960e+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.647e-01  1.743e-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.327e+00  2.191e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 36.49
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 2.18e-07 +/- 5.50e-08
Energy Flux (Fixed Index): 7.34e-05 +/- 1.85e-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) = 6342.52238005
delta logL = 0.776804396835

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6342.52219242
delta logL = 0.776992031561

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.7495       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6382       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2771       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79305       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=   6342.522     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      235 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.7495        22.911        .38611E-02    .13851E-02
   2  alpha         2.6382        3.7636        .16295        .76840E-05
   3  Normalizat    1.2771        .20374        .56701E-01   -.43018E-03
   4  Prefactor     .79310        .16895        .43627E-01   -.16308E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.74953
  alpha      = 2.63824
  Normalizat = 1.27707
  Prefactor  = 0.793104
 **********
 **   18 **HESSE 
 **********

 FCN=   6342.522     FROM HESSE     STATUS=OK            29 CALLS      264 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.7495        2.0128        .47353E-04   -1.5188    
   2  alpha         2.6382        .29596        .70757E-03    .55325E-01
   3  Normalizat    1.2771        .21956        .25074E-03   -.84253    
   4  Prefactor     .79310        .17525        .25090E-03   -.99983    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52769e-10
Minuit parameter uncertainties:
  1  2.01284
  2  0.296654
  3  0.219723
  4  0.175371
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/359375': 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) = 6342.52219237
delta logL = 0.776992076327

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  6.750e+00  2.013e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.638e+00  2.967e-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:  7.931e-01  1.754e-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.277e+00  2.197e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 38.19
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.64 +/- 0.30
Photon Flux (Free Index): 2.62e-07 +/- 7.00e-08
Energy Flux (Free Index): 6.53e-05 +/- 1.67e-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/359375/cmap_HighResolution_504489601_504748801_4FGL_J0108.6+0134_daily_bin1023.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.18e-07', energy_flux2='6.53e-05', photon_flux_error='5.50e-08', dlogl='7.77e-01', energy_flux='7.34e-05', photon_flux2='2.62e-07', job_status='DONE', time_completed='2021-08-13 13:22:33.971758', photon_index_error2='0.30', photon_index2='2.64', ts='36.49', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', energy_flux_error2='1.67e-05', EG='1.33', time_epoch_completed='1628886153.97', return_code='0', job_id='359375', GAL2='0.79', EG2='1.28', return_code2='0', energy_flux_error='1.85e-05', photon_flux_error2='7.00e-08', ts2='38.19', photon_index='2.28' WHERE bin_id='1023' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:22:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0238>
Subject: Job 359375: <4FGL_J0108.6+0134_daily_bin1023> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin1023 17.1695 1.5819 504489601 504748801 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 :                                   788.21 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             259.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   937 sec.
    Turnaround time :                            981 sec.

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

