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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin693
RA = 17.1695, Dec = 1.5819
tmin = 418953601, tmax = 419212801
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='357681', job_status='RUN', time_executed='2021-08-13 13:04:58.366057', time_epoch_executed='1628885098.37' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='693'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/357681

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/357681/ft1_4FGL_J0108.6+0134_daily_bin693.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/357681/ft2_4FGL_J0108.6+0134_daily_bin693.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/357681/ft1_4FGL_J0108.6+0134_daily_bin693.fits outfile=/scratch/kocevski/357681/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin693.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=418953601.0 tmax=419212801.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 9.57
user 5.22
sys 3.59

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/357681/ft2_4FGL_J0108.6+0134_daily_bin693.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/357681/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin693.fits evtable="EVENTS" outfile="/scratch/kocevski/357681/ft1_filtered_4FGL_J0108.6+0134_daily_bin693.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 4.28
user 0.34
sys 3.40

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/357681/ft1_filtered_4FGL_J0108.6+0134_daily_bin693.fits" evtable="EVENTS" scfile=/scratch/kocevski/357681/ft2_4FGL_J0108.6+0134_daily_bin693.fits sctable="SC_DATA" outfile=/scratch/kocevski/357681/ltcube_418953601_419212801_4FGL_J0108.6+0134_daily_bin693.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/357681/ft2_4FGL_J0108.6+0134_daily_bin693.fits
.....................!
real 18.88
user 14.21
sys 4.02

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/357681/ft1_filtered_4FGL_J0108.6+0134_daily_bin693.fits evtable="EVENTS" scfile=/scratch/kocevski/357681/ft2_4FGL_J0108.6+0134_daily_bin693.fits sctable="SC_DATA" expcube=/scratch/kocevski/357681/ltcube_418953601_419212801_4FGL_J0108.6+0134_daily_bin693.fits outfile=/scratch/kocevski/357681/expmap_418953601_419212801_4FGL_J0108.6+0134_daily_bin693.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/357681/ltcube_418953601_419212801_4FGL_J0108.6+0134_daily_bin693.fits
.....................!
real 198.66
user 186.28
sys 10.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/357681/ft1_filtered_4FGL_J0108.6+0134_daily_bin693.fits scfile=/scratch/kocevski/357681/ft2_4FGL_J0108.6+0134_daily_bin693.fits outfile=/scratch/kocevski/357681/cmap_418953601_419212801_4FGL_J0108.6+0134_daily_bin693.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.00
user 0.38
sys 3.39

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/357681/ft1_filtered_4FGL_J0108.6+0134_daily_bin693.fits scfile=/scratch/kocevski/357681/ft2_4FGL_J0108.6+0134_daily_bin693.fits outfile=/scratch/kocevski/357681/cmap_HighResolution_418953601_419212801_4FGL_J0108.6+0134_daily_bin693.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 3.75
user 0.37
sys 3.35

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    29.318       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.7941       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.6631       1.0000         .10000E-03   10000.    
     6 'norm      '    2.9419       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10234E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    21.803       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.0725       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.190       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    36.966       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    32.263       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.1321       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .77986       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.4363       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=   4778.076     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2350 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.0878        .27928E-06** at limit **
   2  norm          29.319        15.887       -.19651E-07   -.46379E-05
   3  Prefactor     2.7941        2.7681        .38774E-07   -.73714E-04
   4  Prefactor     .10000E-03    2.1456        .75399E-08** at limit **
   5  norm          6.6637        6.7340        .16049E-05   -.45307E-04
   6  norm          2.9426        4.6452       -.23740E-06   -.12764E-03
   7  Prefactor     .10000E-03    16.000        .90341E-06** at limit **
   8  Prefactor     .10000E-03    48.937       -.17404E-04** at limit **
   9  norm          21.803        19.856        .53892E-07    .97064E-05
  10  Prefactor     .10000E-03    174.87       -.62910E-04** at limit **
  11  Prefactor     .10000E-03    54.308       -.38461E-04** at limit **
  12  norm          6.0723        2.4331        .14805E-07   -.15648E-04
  13  Prefactor     .10000E-03    89.369        .60405E-04** at limit **
  14  Prefactor     22.189        32.644        .27219E-06    .61555E-04
  15  Prefactor     .10000E-03    16.687       -.14513E-05** at limit **
  16  Prefactor     36.966        36.084       -.84373E-08   -.14968E-04
  17  Prefactor     .10000E-03    4.3233        .87184E-07** at limit **
  18  Prefactor     .10000E-03    44.598        .29620E-04** at limit **
  19  Prefactor     32.259        49.228       -.35393E-05   -.29152E-05
  20  Prefactor     3.1321        3.6116        .41703E-06    .10002E-02
  21  Normalizat    .77970        .23854       -.58333E-06   -.36621E-04
  22  Prefactor     1.4365        .19863        .11526E-06   -.38432E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 29.3193
  Prefactor  = 2.79412
  Prefactor  = 0.0001
  norm       = 6.66367
  norm       = 2.94259
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 21.8027
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.07226
  Prefactor  = 0.0001
  Prefactor  = 22.1891
  Prefactor  = 0.0001
  Prefactor  = 36.9662
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.2586
  Prefactor  = 3.13215
  Normalizat = 0.779703
  Prefactor  = 1.43646
 **********
 **   18 **HESSE 
 **********

 FCN=   4778.076     FROM HESSE     STATUS=OK           340 CALLS     2690 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.0935        .16658E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          29.319        15.887        .73993E-04   -1.4624    
   3  Prefactor     2.7941        2.7621        .11054E-03   -1.5374    
   4  Prefactor     .10000E-03    2.1714        .98830E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.6637        6.7268        .15545E-03   -1.5192    
   6  norm          2.9426        4.6297        .18114E-03   -1.5365    
   7  Prefactor     .10000E-03    16.000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    49.320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          21.803        19.871        .85780E-04   -1.4774    
  10  Prefactor     .10000E-03    175.08        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    54.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.0723        2.4344        .64349E-04   -1.5215    
  13  Prefactor     .10000E-03    89.724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     22.189        32.662        .85031E-04   -1.4766    
  15  Prefactor     .10000E-03    17.390        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     36.966        36.097        .32959E-03   -1.4491    
  17  Prefactor     .10000E-03    4.3325        .14035E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    44.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     32.259        49.231        .70544E-04   -1.4571    
  20  Prefactor     3.1321        3.6160        .68775E-03   -1.5354    
  21  Normalizat    .77970        .27395        .34190E-03   -1.0083    
  22  Prefactor     1.4365        .22959        .22234E-03   -.79335    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.75284e-10
Minuit parameter uncertainties:
  1  6.69668e-07
  2  15.8896
  3  2.76219
  4  1.17902e-06
  5  6.72754
  6  4.63024
  7  9.05406e-06
  8  7.04435e-05
  9  19.8765
  10  0.000190962
  11  1.40994e-05
  12  2.43443
  13  0.000421953
  14  32.6883
  15  8.77036e-05
  16  36.1188
  17  4.4133e-07
  18  1.47489e-05
  19  49.2932
  20  3.61628
  21  0.27443
  22  0.229751
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  6.072e+00  2.434e+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:  1.436e+00  2.298e-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:  7.797e-01  2.744e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.87
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 1.71e-07 +/- 6.83e-08
Energy Flux (Fixed Index): 5.74e-05 +/- 2.30e-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) = 4778.07620159
delta logL = 7.39596853236e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4778.07618549
delta logL = 9.00649656614e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0665       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2917       1.0000          .0000       5.0000    
     3 'Normalizat'    .77839       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4372       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=   4778.076     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      228 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0671        42.652        .40753E-02    .11260E-03
   2  alpha         2.2918        3.1586        .30576        .91628E-05
   3  Normalizat    .77835        .36059        .77293E-01    .17895E-04
   4  Prefactor     1.4373        .24372        .50284E-01   -.28232E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.06706
  alpha      = 2.29182
  Normalizat = 0.77835
  Prefactor  = 1.43726
 **********
 **   18 **HESSE 
 **********

 FCN=   4778.076     FROM HESSE     STATUS=OK            33 CALLS      261 TOTAL
                     EDM=   .13E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0671        2.4707        .64233E-04   -1.5215    
   2  alpha         2.2918        .55236        .11523E-01   -.83370E-01
   3  Normalizat    .77835        .28761        .34216E-03   -1.0088    
   4  Prefactor     1.4373        .23609        .22229E-03   -.79312    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34324e-13
Minuit parameter uncertainties:
  1  2.47079
  2  0.55699
  3  0.288174
  4  0.23627
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/357681': 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) = 4778.07618541
delta logL = 9.01415369299e-05

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  6.067e+00  2.471e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.292e+00  5.570e-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:  1.437e+00  2.363e-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:  7.783e-01  2.882e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.82
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.29 +/- 0.56
Photon Flux (Free Index): 1.71e-07 +/- 9.47e-08
Energy Flux (Free Index): 5.72e-05 +/- 2.54e-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/357681/cmap_HighResolution_418953601_419212801_4FGL_J0108.6+0134_daily_bin693.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.71e-07', energy_flux2='5.72e-05', photon_flux_error='6.83e-08', dlogl='9.01e-05', energy_flux='5.74e-05', photon_flux2='1.71e-07', job_status='DONE', time_completed='2021-08-13 13:14:45.779608', photon_index_error2='0.56', photon_index2='2.29', ts='13.87', fit_tolerance='1e-08', GAL='1.44', photon_index_error='0.00', energy_flux_error2='2.54e-05', EG='0.78', time_epoch_completed='1628885685.78', return_code='0', job_id='357681', GAL2='1.44', EG2='0.78', return_code2='0', energy_flux_error='2.30e-05', photon_flux_error2='9.47e-08', ts2='13.82', photon_index='2.28' WHERE bin_id='693' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:14:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0185>
Subject: Job 357681: <4FGL_J0108.6+0134_daily_bin693> in cluster <slac> Done

Job <4FGL_J0108.6+0134_daily_bin693> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Aug 13 13:01:02 2021
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 13:01:53 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:01:53 2021
Terminated at Fri Aug 13 13:14:48 2021
Results reported at Fri Aug 13 13:14:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin693 17.1695 1.5819 418953601 419212801 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 :                                   626.15 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             285.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            826 sec.

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

