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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin633
RA = 17.1695, Dec = 1.5819
tmin = 403401601, tmax = 403660801
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='357616', job_status='RUN', time_executed='2021-08-13 13:05:25.351722', time_epoch_executed='1628885125.35' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='633'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/357616

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/357616/ft1_4FGL_J0108.6+0134_daily_bin633.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/357616/ft2_4FGL_J0108.6+0134_daily_bin633.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/357616/ft1_4FGL_J0108.6+0134_daily_bin633.fits outfile=/scratch/kocevski/357616/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin633.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=403401601.0 tmax=403660801.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 14.02
user 3.78
sys 8.15

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/357616/ft1_filtered_4FGL_J0108.6+0134_daily_bin633.fits" evtable="EVENTS" scfile=/scratch/kocevski/357616/ft2_4FGL_J0108.6+0134_daily_bin633.fits sctable="SC_DATA" outfile=/scratch/kocevski/357616/ltcube_403401601_403660801_4FGL_J0108.6+0134_daily_bin633.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/357616/ft2_4FGL_J0108.6+0134_daily_bin633.fits
.....................!
real 23.40
user 13.93
sys 9.19

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/357616/ft1_filtered_4FGL_J0108.6+0134_daily_bin633.fits evtable="EVENTS" scfile=/scratch/kocevski/357616/ft2_4FGL_J0108.6+0134_daily_bin633.fits sctable="SC_DATA" expcube=/scratch/kocevski/357616/ltcube_403401601_403660801_4FGL_J0108.6+0134_daily_bin633.fits outfile=/scratch/kocevski/357616/expmap_403401601_403660801_4FGL_J0108.6+0134_daily_bin633.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/357616/ltcube_403401601_403660801_4FGL_J0108.6+0134_daily_bin633.fits
.....................!
real 203.98
user 185.91
sys 14.53

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/357616/ft1_filtered_4FGL_J0108.6+0134_daily_bin633.fits scfile=/scratch/kocevski/357616/ft2_4FGL_J0108.6+0134_daily_bin633.fits outfile=/scratch/kocevski/357616/cmap_403401601_403660801_4FGL_J0108.6+0134_daily_bin633.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 8.66
user 0.40
sys 7.95

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/357616/ft1_filtered_4FGL_J0108.6+0134_daily_bin633.fits scfile=/scratch/kocevski/357616/ft2_4FGL_J0108.6+0134_daily_bin633.fits outfile=/scratch/kocevski/357616/cmap_HighResolution_403401601_403660801_4FGL_J0108.6+0134_daily_bin633.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 9.94
user 0.40
sys 7.80

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.707       1.0000         .10000E-03   10000.    
     5 'norm      '    .61631E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    28.831       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    16.562       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.381       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.3519       1.0000         .10000E-03   10000.    
    16 'Prefactor '    41.253       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10204E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2473       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .79008       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=   4984.360     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2413 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.7248       -.25602E-07** at limit **
   2  norm          .10000E-03    2.6675       -.10070E-07** at limit **
   3  Prefactor     .10000E-03    1.1175       -.19748E-07** at limit **
   4  Prefactor     14.707        5.0409        .10106E-07   -.30095E-03
   5  norm          .10263E-03    6.5229        .50197E-05** at limit **
   6  norm          .10000E-03    2.0784        .35340E-08** at limit **
   7  Prefactor     28.778        40.709       -.15179E-04   -.51049E-03
   8  Prefactor     .10000E-03    15.553        .14154E-06** at limit **
   9  norm          .10000E-03    8.8908       -.18395E-07** at limit **
  10  Prefactor     .10000E-03    44.729        .44217E-05** at limit **
  11  Prefactor     .10000E-03    90.773       -.19787E-04** at limit **
  12  norm          16.563        2.9472       -.31678E-07    .26008E-03
  13  Prefactor     .10000E-03    14.920       -.72276E-07** at limit **
  14  Prefactor     19.384        18.241       -.78977E-07   -.10237E-04
  15  Prefactor     2.3523        4.2382       -.15628E-06   -.25749E-03
  16  Prefactor     41.224        54.203       -.18176E-04   -.18239E-04
  17  Prefactor     .10000E-03    3.7234        .10136E-06** at limit **
  18  Prefactor     .10000E-03    39.844       -.28448E-05** at limit **
  19  Prefactor     .10000E-03    205.37       -.53906E-06** at limit **
  20  Prefactor     .10000E-03    3.3576       -.26028E-07** at limit **
  21  Normalizat    1.2471        .21329        .12720E-05   -.20481E-03
  22  Prefactor     .79019        .16860        .47352E-06   -.18705E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.7069
  norm       = 0.000102631
  norm       = 0.0001
  Prefactor  = 28.7779
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 16.563
  Prefactor  = 0.0001
  Prefactor  = 19.3836
  Prefactor  = 2.35234
  Prefactor  = 41.2241
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.24712
  Prefactor  = 0.790194
 **********
 **   18 **HESSE 
 **********

 FCN=   4984.360     FROM HESSE     STATUS=OK           338 CALLS     2751 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.7544        .17880E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.6697        .11261E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.1301        .72854E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.707        5.0419        .89589E-04   -1.4941    
   5  norm          .10263E-03    6.7266        .52579E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.0846        .99386E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     28.778        42.757        .74615E-04   -1.4635    
   8  Prefactor     .10000E-03    15.567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    8.9011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    44.897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    90.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          16.563        2.9547        .48626E-04   -1.4894    
  13  Prefactor     .10000E-03    14.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.384        18.246        .90977E-04   -1.4827    
  15  Prefactor     2.3523        4.2156        .18926E-03   -1.5401    
  16  Prefactor     41.224        53.533        .62411E-04   -1.4423    
  17  Prefactor     .10000E-03    3.7288        .13305E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    39.959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    205.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.3794        .12632E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2471        .24683        .25942E-03   -.85159    
  22  Prefactor     .79019        .19477        .25492E-03   -1.0009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.86765e-09
Minuit parameter uncertainties:
  1  7.41013e-06
  2  1.52845e-06
  3  2.23767e-06
  4  5.04202
  5  0.00841469
  6  1.23829e-06
  7  42.8021
  8  1.523e-05
  9  5.6441e-06
  10  3.75963e-05
  11  3.1007e-05
  12  2.95469
  13  1.02901e-05
  14  18.2516
  15  4.21612
  16  53.5954
  17  1.93775e-05
  18  1.75269e-05
  19  9.27219e-06
  20  5.14293e-06
  21  0.247067
  22  0.194936
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  1.656e+01  2.955e+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.902e-01  1.949e-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.247e+00  2.471e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 116.99
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 4.65e-07 +/- 8.29e-08
Energy Flux (Fixed Index): 1.56e-04 +/- 2.79e-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) = 4983.73859494
delta logL = 0.621637160613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4983.69161908
delta logL = 0.668613020931

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.258       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0635       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3044       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76057       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=   4983.692     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      201 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.258        3.2973        .24103E-02    .40161E-02
   2  alpha         2.0634        .19348        .11564        .10176E-04
   3  Normalizat    1.3044        .21401        .57697E-01    .12351E-05
   4  Prefactor     .76056        .16877        .43202E-01    .92456E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 17.2579
  alpha      = 2.06342
  Normalizat = 1.3044
  Prefactor  = 0.760562
 **********
 **   18 **HESSE 
 **********

 FCN=   4983.692     FROM HESSE     STATUS=OK            29 CALLS      230 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.258        3.1656        .51269E-04   -1.4877    
   2  alpha         2.0634        .18824        .50543E-03   -.17553    
   3  Normalizat    1.3044        .24889        .25514E-03   -.83435    
   4  Prefactor     .76056        .19532        .25940E-03   -1.0120    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.41955e-10
Minuit parameter uncertainties:
  1  3.16561
  2  0.18842
  3  0.249116
  4  0.195493
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/357616': 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) = 4983.69161901
delta logL = 0.668613088944

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  1.726e+01  3.166e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.063e+00  1.884e-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.606e-01  1.955e-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.304e+00  2.491e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 117.63
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.06 +/- 0.19
Photon Flux (Free Index): 4.09e-07 +/- 9.00e-08
Energy Flux (Free Index): 1.79e-04 +/- 4.09e-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/357616/cmap_HighResolution_403401601_403660801_4FGL_J0108.6+0134_daily_bin633.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.65e-07', energy_flux2='1.79e-04', photon_flux_error='8.29e-08', dlogl='6.69e-01', energy_flux='1.56e-04', photon_flux2='4.09e-07', job_status='DONE', time_completed='2021-08-13 13:16:34.398211', photon_index_error2='0.19', photon_index2='2.06', ts='116.99', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='4.09e-05', EG='1.25', time_epoch_completed='1628885794.4', return_code='0', job_id='357616', GAL2='0.76', EG2='1.30', return_code2='0', energy_flux_error='2.79e-05', photon_flux_error2='9.00e-08', ts2='117.63', photon_index='2.28' WHERE bin_id='633' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:16:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 357616: <4FGL_J0108.6+0134_daily_bin633> in cluster <slac> Done

Job <4FGL_J0108.6+0134_daily_bin633> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Aug 13 13:00:58 2021
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 13:01:08 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:08 2021
Terminated at Fri Aug 13 13:16:36 2021
Results reported at Fri Aug 13 13:16:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin633 17.1695 1.5819 403401601 403660801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0108.6+0134 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   778.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             217.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   927 sec.
    Turnaround time :                            938 sec.

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

