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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin1018
RA = 17.1695, Dec = 1.5819
tmin = 503193601, tmax = 503452801
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='359367', job_status='RUN', time_executed='2021-08-13 13:10:50.927762', time_epoch_executed='1628885450.93' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='1018'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/359367

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/359367/ft1_4FGL_J0108.6+0134_daily_bin1018.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/359367/ft2_4FGL_J0108.6+0134_daily_bin1018.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/359367/ft1_4FGL_J0108.6+0134_daily_bin1018.fits outfile=/scratch/kocevski/359367/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin1018.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=503193601.0 tmax=503452801.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.61
user 4.85
sys 3.51

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/359367/ft1_filtered_4FGL_J0108.6+0134_daily_bin1018.fits evtable="EVENTS" scfile=/scratch/kocevski/359367/ft2_4FGL_J0108.6+0134_daily_bin1018.fits sctable="SC_DATA" expcube=/scratch/kocevski/359367/ltcube_503193601_503452801_4FGL_J0108.6+0134_daily_bin1018.fits outfile=/scratch/kocevski/359367/expmap_503193601_503452801_4FGL_J0108.6+0134_daily_bin1018.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/359367/ltcube_503193601_503452801_4FGL_J0108.6+0134_daily_bin1018.fits
.....................!
real 195.71
user 185.57
sys 9.49

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/359367/ft1_filtered_4FGL_J0108.6+0134_daily_bin1018.fits scfile=/scratch/kocevski/359367/ft2_4FGL_J0108.6+0134_daily_bin1018.fits outfile=/scratch/kocevski/359367/cmap_503193601_503452801_4FGL_J0108.6+0134_daily_bin1018.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.34
user 0.37
sys 3.33

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/359367/ft1_filtered_4FGL_J0108.6+0134_daily_bin1018.fits scfile=/scratch/kocevski/359367/ft2_4FGL_J0108.6+0134_daily_bin1018.fits outfile=/scratch/kocevski/359367/cmap_HighResolution_503193601_503452801_4FGL_J0108.6+0134_daily_bin1018.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.92
user 0.39
sys 3.34

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.953       1.0000         .10000E-03   10000.    
     2 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.6392       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.0292       1.0000         .10000E-03   10000.    
     5 'norm      '    9.5575       1.0000         .10000E-03   10000.    
     6 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.073       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10492E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    11.771       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12833E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    274.24       1.0000         .10000E-03   10000.    
    12 'norm      '    7.6600       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10249E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    32.801       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10521E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .31540E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.7269       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11706E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    178.87       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .28675E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .74915       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0437       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=   4513.163     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     2430 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.948        14.751       -.36362E-05   -.29440E-04
   2  norm          .10000E-03    12.562        .15466E-06** at limit **
   3  Prefactor     2.6372        3.7211        .39316E-05    .12637E-03
   4  Prefactor     2.0265        4.5274       -.10523E-05   -.57415E-03
   5  norm          9.5601        6.3651       -.53338E-06    .58911E-04
   6  norm          .10000E-03    1.7041       -.22938E-07** at limit **
   7  Prefactor     10.063        30.974        .23805E-04   -.35653E-05
   8  Prefactor     .10000E-03    20.898       -.11521E-04** at limit **
   9  norm          11.772        16.210        .30697E-05   -.18871E-04
  10  Prefactor     .10002E-03    661.74        .41897E-04** at limit **
  11  Prefactor     273.93        148.82       -.15198E-03    .31743E-04
  12  norm          7.6622        2.9733        .76863E-05   -.80323E-03
  13  Prefactor     .10000E-03    24.953        .52278E-05** at limit **
  14  Prefactor     32.763        21.782        .11175E-04   -.51029E-04
  15  Prefactor     .10000E-03    6.7362       -.28421E-06** at limit **
  16  Prefactor     .10001E-03    102.77       -.52303E-04** at limit **
  17  Prefactor     7.7313        18.508        .24683E-05    .56748E-04
  18  Prefactor     .10000E-03    18.862        .79946E-05** at limit **
  19  Prefactor     179.05        170.63        .11112E-03    .29331E-04
  20  Prefactor     .10012E-03    6.9283       -.48155E-05** at limit **
  21  Normalizat    .74947        .24333        .10372E-04    .18496E-03
  22  Prefactor     1.0437        .17994       -.54993E-05    .80469E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.9477
  norm       = 0.0001
  Prefactor  = 2.63715
  Prefactor  = 2.02649
  norm       = 9.56007
  norm       = 0.0001
  Prefactor  = 10.0626
  Prefactor  = 0.0001
  norm       = 11.7722
  Prefactor  = 0.000100021
  Prefactor  = 273.928
  norm       = 7.6622
  Prefactor  = 0.0001
  Prefactor  = 32.7628
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 7.7313
  Prefactor  = 0.0001
  Prefactor  = 179.05
  Prefactor  = 0.000100117
  Normalizat = 0.749475
  Prefactor  = 1.04374
 **********
 **   18 **HESSE 
 **********

 FCN=   4513.163     FROM HESSE     STATUS=OK           340 CALLS     2770 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.948        14.756        .11130E-03   -1.4988    
   2  norm          .10000E-03    12.898        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.6372        3.6984        .14398E-03   -1.5383    
   4  Prefactor     2.0265        4.4967        .20031E-03   -1.5423    
   5  norm          9.5601        6.3641        .12963E-03   -1.5089    
   6  norm          .10000E-03    1.7049        .85635E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.063        30.965        .12625E-03   -1.5073    
   8  Prefactor     .10000E-03    20.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          11.772        16.222        .11676E-03   -1.5022    
  10  Prefactor     .10002E-03    675.22        .18174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     273.93        149.06        .12246E-03   -1.2383    
  12  norm          7.6622        2.9743        .61794E-04   -1.5154    
  13  Prefactor     .10000E-03    24.959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     32.763        21.768        .69965E-04   -1.4563    
  15  Prefactor     .10000E-03    6.7886        .17017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    103.24        .21369E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.7313        18.501        .14426E-03   -1.5152    
  18  Prefactor     .10000E-03    18.867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     179.05        170.63        .15090E-03   -1.3024    
  20  Prefactor     .10012E-03    20.732        .33883E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .74947        .27658        .32093E-03   -1.0197    
  22  Prefactor     1.0437        .20662        .21962E-03   -.91285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.78868e-09
Minuit parameter uncertainties:
  1  14.7602
  2  1.48815e-05
  3  3.69873
  4  4.49743
  5  6.36458
  6  1.29309e-06
  7  31.0142
  8  2.58251e-05
  9  16.2281
  10  0.0076255
  11  149.268
  12  2.97432
  13  9.4128e-05
  14  21.7731
  15  7.2054e-05
  16  0.00158768
  17  18.5145
  18  7.7687e-05
  19  171.106
  20  0.00311573
  21  0.2771
  22  0.206773
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  7.662e+00  2.974e+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.044e+00  2.068e-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.495e-01  2.771e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.91
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 2.15e-07 +/- 8.35e-08
Energy Flux (Fixed Index): 7.24e-05 +/- 2.81e-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) = 4509.83847552
delta logL = 3.32479558502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4509.83000936
delta logL = 3.33326174807

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.1502       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3398       1.0000          .0000       5.0000    
     3 'Normalizat'    .54524       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1522       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4509.830     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      271 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.1500        2.4275        .38935E-04    .27284E-02
   2  alpha         3.3398        .43770        .66484E-03    .15238E-03
   3  Normalizat    .54525        .26896        .36865E-03    .44654E-04
   4  Prefactor     1.1522        .21072        .20992E-03   -.97926E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.14999
  alpha      = 3.33977
  Normalizat = 0.545247
  Prefactor  = 1.15223
 **********
 **   18 **HESSE 
 **********

 FCN=   4509.830     FROM HESSE     STATUS=OK            23 CALLS      294 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.1500        2.4128        .77869E-05   -1.5254    
   2  alpha         3.3398        .43505        .26594E-04    .34257    
   3  Normalizat    .54525        .26908        .14746E-04   -1.1036    
   4  Prefactor     1.1522        .21081        .41985E-04   -.87814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47418e-10
Minuit parameter uncertainties:
  1  2.41282
  2  0.437564
  3  0.269726
  4  0.210959
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/359367': 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) = 4509.83000936
delta logL = 3.33326175196

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  5.150e+00  2.413e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  3.340e+00  4.376e-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.152e+00  2.110e-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:  5.452e-01  2.697e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 26.57
Ra Dec: 17.169 1.582
Photon Index (Free Index): 3.34 +/- 0.44
Photon Flux (Free Index): 4.28e-07 +/- 1.32e-07
Energy Flux (Free Index): 7.70e-05 +/- 2.14e-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/359367/cmap_HighResolution_503193601_503452801_4FGL_J0108.6+0134_daily_bin1018.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.15e-07', energy_flux2='7.70e-05', photon_flux_error='8.35e-08', dlogl='3.33e+00', energy_flux='7.24e-05', photon_flux2='4.28e-07', job_status='DONE', time_completed='2021-08-13 13:20:19.057506', photon_index_error2='0.44', photon_index2='3.34', ts='17.91', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='2.14e-05', EG='0.75', time_epoch_completed='1628886019.06', return_code='0', job_id='359367', GAL2='1.15', EG2='0.55', return_code2='0', energy_flux_error='2.81e-05', photon_flux_error2='1.32e-07', ts2='26.57', photon_index='2.28' WHERE bin_id='1018' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:20:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0179>
Subject: Job 359367: <4FGL_J0108.6+0134_daily_bin1018> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin1018 17.1695 1.5819 503193601 503452801 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 :                                   612.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            843 sec.

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

