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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin580
RA = 17.1695, Dec = 1.5819
tmin = 389664001, tmax = 389923201
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='356196', job_status='RUN', time_executed='2021-08-13 13:01:58.320472', time_epoch_executed='1628884918.32' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='580'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/356196

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/356196/ft1_4FGL_J0108.6+0134_daily_bin580.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/356196/ft2_4FGL_J0108.6+0134_daily_bin580.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/356196/ft1_4FGL_J0108.6+0134_daily_bin580.fits outfile=/scratch/kocevski/356196/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin580.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=389664001.0 tmax=389923201.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 5.90
user 4.60
sys 1.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/356196/ft1_filtered_4FGL_J0108.6+0134_daily_bin580.fits" evtable="EVENTS" scfile=/scratch/kocevski/356196/ft2_4FGL_J0108.6+0134_daily_bin580.fits sctable="SC_DATA" outfile=/scratch/kocevski/356196/ltcube_389664001_389923201_4FGL_J0108.6+0134_daily_bin580.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/356196/ft2_4FGL_J0108.6+0134_daily_bin580.fits
.....................!
real 15.08
user 13.16
sys 1.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/356196/ft1_filtered_4FGL_J0108.6+0134_daily_bin580.fits evtable="EVENTS" scfile=/scratch/kocevski/356196/ft2_4FGL_J0108.6+0134_daily_bin580.fits sctable="SC_DATA" expcube=/scratch/kocevski/356196/ltcube_389664001_389923201_4FGL_J0108.6+0134_daily_bin580.fits outfile=/scratch/kocevski/356196/expmap_389664001_389923201_4FGL_J0108.6+0134_daily_bin580.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/356196/ltcube_389664001_389923201_4FGL_J0108.6+0134_daily_bin580.fits
.....................!
real 192.95
user 185.65
sys 6.59

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/356196/ft1_filtered_4FGL_J0108.6+0134_daily_bin580.fits scfile=/scratch/kocevski/356196/ft2_4FGL_J0108.6+0134_daily_bin580.fits outfile=/scratch/kocevski/356196/cmap_389664001_389923201_4FGL_J0108.6+0134_daily_bin580.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.49
user 0.39
sys 1.04

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/356196/ft1_filtered_4FGL_J0108.6+0134_daily_bin580.fits scfile=/scratch/kocevski/356196/ft2_4FGL_J0108.6+0134_daily_bin580.fits outfile=/scratch/kocevski/356196/cmap_HighResolution_389664001_389923201_4FGL_J0108.6+0134_daily_bin580.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 1.48
user 0.38
sys 1.09

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    21.243       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.4745       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.1196       1.0000         .10000E-03   10000.    
     5 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.8791       1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.870       1.0000         .10000E-03   10000.    
     9 'norm      '    8.6309       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.819       1.0000         .10000E-03   10000.    
    12 'norm      '    8.2219       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.002       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.100       1.0000         .10000E-03   10000.    
    16 'Prefactor '    33.228       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    56.533       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .49338       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0239       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95466       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=   5353.768     FROM MIGRAD    STATUS=CONVERGED    470 CALLS     2312 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.0621        .90712E-02** at limit **
   2  norm          21.244        10.586        .21726E-02    .24596E-03
   3  Prefactor     1.4745        2.3873        .88431E-02    .53490E-03
   4  Prefactor     5.1198        3.4768        .44422E-02    .45799E-04
   5  norm          .10000E-03    1.9716        .90712E-02** at limit **
   6  norm          .10000E-03    1.7281        .90712E-02** at limit **
   7  Prefactor     4.8767        38.145        .45526E-02    .30662E-03
   8  Prefactor     16.866        28.226        .24378E-02    .10533E-02
   9  norm          8.6323        18.167        .34111E-02    .89440E-04
  10  Prefactor     .10000E-03    70.718        .90712E-02** at limit **
  11  Prefactor     16.819        49.107        .24415E-02   -.61018E-04
  12  norm          8.2220        2.3654        .34954E-02    .93522E-04
  13  Prefactor     .10000E-03    23.513        .90712E-02** at limit **
  14  Prefactor     13.999        16.129        .26760E-02   -.16652E-03
  15  Prefactor     14.098        9.3484        .26667E-02   -.19608E-02
  16  Prefactor     33.227        40.829        .17379E-02    .40637E-03
  17  Prefactor     .10000E-03    5.0953        .90712E-02** at limit **
  18  Prefactor     56.532        67.155        .13338E-02    .50443E-03
  19  Prefactor     .10000E-03    32.901        .90712E-02** at limit **
  20  Prefactor     .49380        3.7499        .11244E-01    .13934E-02
  21  Normalizat    1.0240        .20881        .63267E-01    .12335E-04
  22  Prefactor     .95456        .16709        .45698E-01    .82821E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 21.2436
  Prefactor  = 1.47452
  Prefactor  = 5.11984
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 4.87671
  Prefactor  = 16.8655
  norm       = 8.63232
  Prefactor  = 0.0001
  Prefactor  = 16.8195
  norm       = 8.22196
  Prefactor  = 0.0001
  Prefactor  = 13.9989
  Prefactor  = 14.098
  Prefactor  = 33.2271
  Prefactor  = 0.0001
  Prefactor  = 56.5321
  Prefactor  = 0.0001
  Prefactor  = 0.493805
  Normalizat = 1.02401
  Prefactor  = 0.954558
 **********
 **   18 **HESSE 
 **********

 FCN=   5353.768     FROM HESSE     STATUS=OK           338 CALLS     2650 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.0852        .17594E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          21.244        10.587        .86903E-04   -1.4786    
   3  Prefactor     1.4745        2.3568        .13744E-03   -1.5465    
   4  Prefactor     5.1198        3.4741        .10618E-03   -1.5255    
   5  norm          .10000E-03    1.9736        .10031E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.7312        .93913E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.8767        38.103        .18210E-03   -1.5266    
   8  Prefactor     16.866        28.205        .97514E-04   -1.4886    
   9  norm          8.6323        18.205        .13644E-03   -1.5120    
  10  Prefactor     .10000E-03    70.839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.819        49.132        .97660E-04   -1.4888    
  12  norm          8.2220        2.3684        .55671E-04   -1.5134    
  13  Prefactor     .10000E-03    23.533        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.999        16.131        .10704E-03   -1.4959    
  15  Prefactor     14.098        9.3744        .10667E-03   -1.4957    
  16  Prefactor     33.227        40.858        .69516E-04   -1.4554    
  17  Prefactor     .10000E-03    5.1242        .16129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     56.532        67.218        .53353E-04   -1.4203    
  19  Prefactor     .10000E-03    32.904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .49380        3.6977        .27548E-03   -1.5567    
  21  Normalizat    1.0240        .24296        .27982E-03   -.92230    
  22  Prefactor     .95456        .19432        .23654E-03   -.94260    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22748e-08
Minuit parameter uncertainties:
  1  1.21945e-06
  2  10.5884
  3  2.35696
  4  3.47427
  5  3.35774e-08
  6  1.06471e-07
  7  27.2867
  8  28.2268
  9  18.2167
  10  0.000107281
  11  49.2509
  12  2.36838
  13  7.21987e-05
  14  16.1363
  15  9.37535
  16  40.8927
  17  1.75521e-07
  18  67.3083
  19  9.93169e-05
  20  2.70249
  21  0.243223
  22  0.19446
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  8.222e+00  2.368e+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:  9.546e-01  1.945e-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.024e+00  2.432e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 34.62
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 2.31e-07 +/- 6.65e-08
Energy Flux (Fixed Index): 7.77e-05 +/- 2.24e-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) = 5353.6503031
delta logL = 0.117447272593

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5353.64857953
delta logL = 0.119170838915

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.8992       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4635       1.0000          .0000       5.0000    
     3 'Normalizat'    .98915       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97406       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=   5353.649     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      223 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.8992        28.887        .35666E-02    .56814E-03
   2  alpha         2.4635        3.7161        .20268        .30594E-04
   3  Normalizat    .98915        .37038        .46031E-01    .50602E-04
   4  Prefactor     .97406        .24442        .45942E-01   -.24577E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.89918
  alpha      = 2.46348
  Normalizat = 0.989148
  Prefactor  = 0.974059
 **********
 **   18 **HESSE 
 **********

 FCN=   5353.649     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.8992        2.3658        .52633E-04   -1.5146    
   2  alpha         2.4635        .37136        .85145E-02   -.14608E-01
   3  Normalizat    .98915        .24528        .28353E-03   -.93395    
   4  Prefactor     .97406        .19538        .23443E-03   -.93599    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.12256e-10
Minuit parameter uncertainties:
  1  2.36578
  2  0.372743
  3  0.245559
  4  0.195521
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/356196': 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) = 5353.64857953
delta logL = 0.119170841182

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  7.899e+00  2.366e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.463e+00  3.727e-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:  9.741e-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:  9.891e-01  2.456e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 35.04
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.46 +/- 0.37
Photon Flux (Free Index): 2.59e-07 +/- 8.92e-08
Energy Flux (Free Index): 7.38e-05 +/- 2.13e-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/356196/cmap_HighResolution_389664001_389923201_4FGL_J0108.6+0134_daily_bin580.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.31e-07', energy_flux2='7.38e-05', photon_flux_error='6.65e-08', dlogl='1.19e-01', energy_flux='7.77e-05', photon_flux2='2.59e-07', job_status='DONE', time_completed='2021-08-13 13:11:20.040434', photon_index_error2='0.37', photon_index2='2.46', ts='34.62', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='2.13e-05', EG='1.02', time_epoch_completed='1628885480.04', return_code='0', job_id='356196', GAL2='0.97', EG2='0.99', return_code2='0', energy_flux_error='2.24e-05', photon_flux_error2='8.92e-08', ts2='35.04', photon_index='2.28' WHERE bin_id='580' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:11:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 356196: <4FGL_J0108.6+0134_daily_bin580> in cluster <slac> Done

Job <4FGL_J0108.6+0134_daily_bin580> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 12:55:31 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 12:59:10 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 12:59:10 2021
Terminated at Fri Aug 13 13:11:20 2021
Results reported at Fri Aug 13 13:11:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin580 17.1695 1.5819 389664001 389923201 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 :                                   572.28 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             269.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            949 sec.

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

