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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin775
RA = 17.1695, Dec = 1.5819
tmin = 440208001, tmax = 440467201
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='357794', job_status='RUN', time_executed='2021-08-13 13:05:38.854502', time_epoch_executed='1628885138.85' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='775'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/357794

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/357794/ft1_4FGL_J0108.6+0134_daily_bin775.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/357794/ft2_4FGL_J0108.6+0134_daily_bin775.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/357794/ft1_4FGL_J0108.6+0134_daily_bin775.fits outfile=/scratch/kocevski/357794/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin775.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=440208001.0 tmax=440467201.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 3.26
user 2.53
sys 0.66

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/357794/ft2_4FGL_J0108.6+0134_daily_bin775.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/357794/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin775.fits evtable="EVENTS" outfile="/scratch/kocevski/357794/ft1_filtered_4FGL_J0108.6+0134_daily_bin775.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 2.31
user 0.30
sys 0.61

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/357794/ft1_filtered_4FGL_J0108.6+0134_daily_bin775.fits" evtable="EVENTS" scfile=/scratch/kocevski/357794/ft2_4FGL_J0108.6+0134_daily_bin775.fits sctable="SC_DATA" outfile=/scratch/kocevski/357794/ltcube_440208001_440467201_4FGL_J0108.6+0134_daily_bin775.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/357794/ft2_4FGL_J0108.6+0134_daily_bin775.fits
.....................!
real 12.72
user 10.99
sys 0.85

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/357794/ft1_filtered_4FGL_J0108.6+0134_daily_bin775.fits evtable="EVENTS" scfile=/scratch/kocevski/357794/ft2_4FGL_J0108.6+0134_daily_bin775.fits sctable="SC_DATA" expcube=/scratch/kocevski/357794/ltcube_440208001_440467201_4FGL_J0108.6+0134_daily_bin775.fits outfile=/scratch/kocevski/357794/expmap_440208001_440467201_4FGL_J0108.6+0134_daily_bin775.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/357794/ltcube_440208001_440467201_4FGL_J0108.6+0134_daily_bin775.fits
.....................!
real 158.16
user 150.06
sys 4.39

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/357794/ft1_filtered_4FGL_J0108.6+0134_daily_bin775.fits scfile=/scratch/kocevski/357794/ft2_4FGL_J0108.6+0134_daily_bin775.fits outfile=/scratch/kocevski/357794/cmap_440208001_440467201_4FGL_J0108.6+0134_daily_bin775.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 1.07
user 0.31
sys 0.60

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/357794/ft1_filtered_4FGL_J0108.6+0134_daily_bin775.fits scfile=/scratch/kocevski/357794/ft2_4FGL_J0108.6+0134_daily_bin775.fits outfile=/scratch/kocevski/357794/cmap_HighResolution_440208001_440467201_4FGL_J0108.6+0134_daily_bin775.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 0.94
user 0.33
sys 0.59

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    17.703       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10444E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .16602       1.0000         .10000E-03   10000.    
     7 'Prefactor '    49.439       1.0000         .10000E-03   10000.    
     8 'Prefactor '    70.462       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.211       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.3167       1.0000         .10000E-03   10000.    
    12 'norm      '    15.588       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .15826       1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.757       1.0000         .10000E-03   10000.    
    17 'Prefactor '    21.318       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.8551       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1611       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .85470       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=   5344.982     FROM MIGRAD    STATUS=CONVERGED    507 CALLS     2114 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.7146       -.46533E-06** at limit **
   2  norm          17.702        11.533        .18495E-06    .95560E-04
   3  Prefactor     .10000E-03    .76623       -.17567E-06** at limit **
   4  Prefactor     .10000E-03    2.7920       -.18015E-05** at limit **
   5  norm          .10000E-03    2.1073       -.66571E-07** at limit **
   6  norm          .16568        5.1426       -.56104E-06   -.30171E-04
   7  Prefactor     49.439        42.914        .15341E-06    .49262E-05
   8  Prefactor     70.455        39.618        .40516E-05    .27786E-03
   9  norm          .10000E-03    4.5951       -.74983E-07** at limit **
  10  Prefactor     17.213        66.791       -.76375E-06    .92645E-06
  11  Prefactor     1.1283        733.67       -.32482E-04    .12181E-04
  12  norm          15.590        2.9096        .21813E-06    .10296E-02
  13  Prefactor     .10000E-03    27.133       -.52352E-06** at limit **
  14  Prefactor     .10000E-03    20.362       -.12647E-06** at limit **
  15  Prefactor     .15360        51.017       -.14466E-04    .58230E-04
  16  Prefactor     11.655        96.527        .10195E-04    .21694E-04
  17  Prefactor     21.325        14.016       -.26516E-06   -.73620E-04
  18  Prefactor     .10000E-03    16.630       -.21037E-06** at limit **
  19  Prefactor     .10000E-03    74.941       -.72608E-06** at limit **
  20  Prefactor     1.8550        2.9965       -.58138E-06    .15383E-03
  21  Normalizat    1.1611        .21375        .92851E-06    .45462E-03
  22  Prefactor     .85476        .16766        .17850E-05    .15729E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 17.7024
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 0.0001
  norm       = 0.165677
  Prefactor  = 49.4386
  Prefactor  = 70.4547
  norm       = 0.0001
  Prefactor  = 17.2133
  Prefactor  = 1.12826
  norm       = 15.5897
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.153604
  Prefactor  = 11.6548
  Prefactor  = 21.3246
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.85503
  Normalizat = 1.16108
  Prefactor  = 0.854755
 **********
 **   18 **HESSE 
 **********

 FCN=   5344.982     FROM HESSE     STATUS=OK           344 CALLS     2458 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.7605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          17.702        11.545        .95191E-04   -1.4866    
   3  Prefactor     .10000E-03    .77007        .62499E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.9942        .22475E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.1085        .10364E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .16568        30.348        .31335E-02   -1.5627    
   7  Prefactor     49.439        42.916        .57033E-04   -1.4301    
   8  Prefactor     70.455        40.287        .47822E-04   -1.4027    
   9  norm          .10000E-03    4.5958        .15306E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     17.213        66.914        .96543E-04   -1.4878    
  11  Prefactor     1.1283        737.89        .38376E-03   -1.5496    
  12  norm          15.590        2.8745        .48462E-04   -1.4918    
  13  Prefactor     .10000E-03    27.178        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    20.468        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .15360        50.593        .34032E-02   -1.5630    
  16  Prefactor     11.655        98.301        .11683E-03   -1.5025    
  17  Prefactor     21.325        14.036        .86750E-04   -1.4784    
  18  Prefactor     .10000E-03    16.636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    74.988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.8550        2.9698        .15664E-03   -1.5436    
  21  Normalizat    1.1611        .24823        .26865E-03   -.87814    
  22  Prefactor     .85476        .19350        .24863E-03   -.97740    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.62226e-08
Minuit parameter uncertainties:
  1  2.04043e-08
  2  11.5469
  3  5.02455e-07
  4  0.000253985
  5  3.06383e-06
  6  4.48556
  7  42.9428
  8  40.3027
  9  4.12389e-07
  10  67.2084
  11  58.4424
  12  2.87449
  13  7.4988e-05
  14  3.94612e-05
  15  5.57835
  16  67.8466
  17  14.0382
  18  1.98338e-06
  19  5.17788e-05
  20  2.97005
  21  0.24848
  22  0.193657
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  1.559e+01  2.874e+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:  8.548e-01  1.937e-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.161e+00  2.485e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 108.07
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 4.38e-07 +/- 8.07e-08
Energy Flux (Fixed Index): 1.47e-04 +/- 2.71e-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) = 5344.69554094
delta logL = 0.286882227068

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5344.66419584
delta logL = 0.318227323386

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.267       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1362       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1928       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83732       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=   5344.664     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      204 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.267        3.2092        .24826E-02   -.14274E-02
   2  alpha         2.1362        .19595        .11400        .12082E-04
   3  Normalizat    1.1928        .20675        .60100E-01    .13343E-04
   4  Prefactor     .83731        .16530        .44201E-01    .15879E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 16.2675
  alpha      = 2.13619
  Normalizat = 1.1928
  Prefactor  = 0.837313
 **********
 **   18 **HESSE 
 **********

 FCN=   5344.664     FROM HESSE     STATUS=OK            29 CALLS      233 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.267        2.9587        .50210E-04   -1.4901    
   2  alpha         2.1362        .18262        .49919E-03   -.14604    
   3  Normalizat    1.1928        .24084        .26581E-03   -.86826    
   4  Prefactor     .83731        .19204        .25091E-03   -.98367    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10651e-10
Minuit parameter uncertainties:
  1  2.95876
  2  0.182785
  3  0.241066
  4  0.192194
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/357794': 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) = 5344.66419583
delta logL = 0.318227337273

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  1.627e+01  2.959e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.136e+00  1.828e-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:  8.373e-01  1.922e-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.193e+00  2.411e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 107.97
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.14 +/- 0.18
Photon Flux (Free Index): 4.07e-07 +/- 8.27e-08
Energy Flux (Free Index): 1.62e-04 +/- 3.57e-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/357794/cmap_HighResolution_440208001_440467201_4FGL_J0108.6+0134_daily_bin775.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.38e-07', energy_flux2='1.62e-04', photon_flux_error='8.07e-08', dlogl='3.18e-01', energy_flux='1.47e-04', photon_flux2='4.07e-07', job_status='DONE', time_completed='2021-08-13 13:13:12.850735', photon_index_error2='0.18', photon_index2='2.14', ts='108.07', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='3.57e-05', EG='1.16', time_epoch_completed='1628885592.85', return_code='0', job_id='357794', GAL2='0.84', EG2='1.19', return_code2='0', energy_flux_error='2.71e-05', photon_flux_error2='8.27e-08', ts2='107.97', photon_index='2.28' WHERE bin_id='775' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:13:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 357794: <4FGL_J0108.6+0134_daily_bin775> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin775 17.1695 1.5819 440208001 440467201 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 :                                   444.09 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             316.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   592 sec.
    Turnaround time :                            724 sec.

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

