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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin695
RA = 17.1695, Dec = 1.5819
tmin = 419472001, tmax = 419731201
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='357684', job_status='RUN', time_executed='2021-08-13 13:06:34.838324', time_epoch_executed='1628885194.84' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='695'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/357684

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/357684/ft1_4FGL_J0108.6+0134_daily_bin695.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/357684/ft2_4FGL_J0108.6+0134_daily_bin695.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/357684/ft1_4FGL_J0108.6+0134_daily_bin695.fits outfile=/scratch/kocevski/357684/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin695.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=419472001.0 tmax=419731201.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 13.25
user 5.46
sys 2.42

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/357684/ft1_filtered_4FGL_J0108.6+0134_daily_bin695.fits" evtable="EVENTS" scfile=/scratch/kocevski/357684/ft2_4FGL_J0108.6+0134_daily_bin695.fits sctable="SC_DATA" outfile=/scratch/kocevski/357684/ltcube_419472001_419731201_4FGL_J0108.6+0134_daily_bin695.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/357684/ft2_4FGL_J0108.6+0134_daily_bin695.fits
.....................!
real 19.58
user 11.89
sys 2.82

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/357684/ft1_filtered_4FGL_J0108.6+0134_daily_bin695.fits evtable="EVENTS" scfile=/scratch/kocevski/357684/ft2_4FGL_J0108.6+0134_daily_bin695.fits sctable="SC_DATA" expcube=/scratch/kocevski/357684/ltcube_419472001_419731201_4FGL_J0108.6+0134_daily_bin695.fits outfile=/scratch/kocevski/357684/expmap_419472001_419731201_4FGL_J0108.6+0134_daily_bin695.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/357684/ltcube_419472001_419731201_4FGL_J0108.6+0134_daily_bin695.fits
.....................!
real 201.58
user 185.39
sys 7.86

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/357684/ft1_filtered_4FGL_J0108.6+0134_daily_bin695.fits scfile=/scratch/kocevski/357684/ft2_4FGL_J0108.6+0134_daily_bin695.fits outfile=/scratch/kocevski/357684/cmap_419472001_419731201_4FGL_J0108.6+0134_daily_bin695.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 3.09
user 0.38
sys 2.47

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/357684/ft1_filtered_4FGL_J0108.6+0134_daily_bin695.fits scfile=/scratch/kocevski/357684/ft2_4FGL_J0108.6+0134_daily_bin695.fits outfile=/scratch/kocevski/357684/cmap_HighResolution_419472001_419731201_4FGL_J0108.6+0134_daily_bin695.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.47
user 0.39
sys 2.51

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.352       1.0000         .10000E-03   10000.    
     2 'norm      '    18.795       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.2820       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.5213       1.0000         .10000E-03   10000.    
     5 'norm      '    6.9409       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.696       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.235       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.2951       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.9065       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .69044       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1994       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=   4920.912     FROM MIGRAD    STATUS=CONVERGED    476 CALLS     2046 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.352        15.093       -.60896E-06   -.44234E-03
   2  norm          18.795        12.175       -.37352E-06   -.46928E-03
   3  Prefactor     8.2820        3.8784       -.23983E-07   -.68515E-04
   4  Prefactor     2.5211        3.2563       -.32191E-06   -.31243E-03
   5  norm          6.9408        5.0823        .26790E-05    .34968E-04
   6  norm          .10000E-03    3.3726       -.39068E-06** at limit **
   7  Prefactor     .10000E-03    14.186       -.10489E-05** at limit **
   8  Prefactor     15.695        36.892       -.14259E-05   -.12438E-04
   9  norm          .10000E-03    19.027       -.26743E-05** at limit **
  10  Prefactor     12.236        33.005        .96565E-07   -.29125E-05
  11  Prefactor     .10000E-03    34.395       -.96093E-05** at limit **
  12  norm          6.2950        1.9261        .10808E-07    .71786E-05
  13  Prefactor     .10000E-03    16.146        .40458E-05** at limit **
  14  Prefactor     .10000E-03    10.719       -.35059E-05** at limit **
  15  Prefactor     .10000E-03    9.4600        .23543E-05** at limit **
  16  Prefactor     .10000E-03    14.611        .66234E-06** at limit **
  17  Prefactor     .10000E-03    7.2564       -.56998E-06** at limit **
  18  Prefactor     .10000E-03    67.183       -.17627E-04** at limit **
  19  Prefactor     .10000E-03    46.788        .22684E-04** at limit **
  20  Prefactor     3.9065        3.6617        .16034E-06    .10955E-03
  21  Normalizat    .69046        .20550       -.33327E-07   -.19748E-04
  22  Prefactor     1.1994        .17204        .34273E-06    .14013E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.3517
  norm       = 18.7949
  Prefactor  = 8.282
  Prefactor  = 2.52109
  norm       = 6.94085
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.6949
  norm       = 0.0001
  Prefactor  = 12.2355
  Prefactor  = 0.0001
  norm       = 6.29501
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.90653
  Normalizat = 0.690461
  Prefactor  = 1.1994
 **********
 **   18 **HESSE 
 **********

 FCN=   4920.912     FROM HESSE     STATUS=OK           340 CALLS     2386 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.352        15.170        .49522E-03   -1.4899    
   2  norm          18.795        12.218        .46193E-03   -1.4841    
   3  Prefactor     8.2820        3.8792        .90145E-04   -1.5132    
   4  Prefactor     2.5211        3.2317        .13305E-03   -1.5390    
   5  norm          6.9408        5.0794        .13169E-03   -1.5181    
   6  norm          .10000E-03    3.4127        .12573E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    14.192        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.695        36.708        .10109E-03   -1.4915    
   9  norm          .10000E-03    19.150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.236        33.010        .11452E-03   -1.5008    
  11  Prefactor     .10000E-03    34.368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.2950        1.9268        .51625E-04   -1.5206    
  13  Prefactor     .10000E-03    16.148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.734        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.7593        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    14.617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.3142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    67.183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    46.545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.9065        3.6700        .12638E-03   -1.5313    
  21  Normalizat    .69046        .22937        .31408E-03   -1.0427    
  22  Prefactor     1.1994        .19300        .20940E-03   -.86350    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.85314e-10
Minuit parameter uncertainties:
  1  15.1732
  2  12.22
  3  3.87932
  4  3.23197
  5  5.07972
  6  7.60467e-06
  7  1.18651e-05
  8  36.7605
  9  2.52794e-06
  10  33.0594
  11  4.20609e-08
  12  1.92684
  13  4.40851e-06
  14  4.67909e-07
  15  3.39953e-05
  16  3.06082e-06
  17  4.47367e-06
  18  1.81334e-05
  19  1.6934e-05
  20  3.67022
  21  0.229693
  22  0.193113
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  6.295e+00  1.927e+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.199e+00  1.931e-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:  6.905e-01  2.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 37.47
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 1.77e-07 +/- 5.41e-08
Energy Flux (Fixed Index): 5.95e-05 +/- 1.82e-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) = 4919.63595055
delta logL = 1.27585721508

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4919.6276523
delta logL = 1.28415546389

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.1222       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7572       1.0000          .0000       5.0000    
     3 'Normalizat'    .74943       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1700       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=   4919.628     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      205 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.1222        2.0169        .40564E-02    .60306E-02
   2  alpha         1.7572        .28335        .18943       -.34348E-04
   3  Normalizat    .74943        .20000        .68515E-01    .55806E-04
   4  Prefactor     1.1700        .17018        .35382E-01   -.38217E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.12221
  alpha      = 1.75719
  Normalizat = 0.749431
  Prefactor  = 1.16999
 **********
 **   18 **HESSE 
 **********

 FCN=   4919.628     FROM HESSE     STATUS=OK            29 CALLS      234 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.1222        2.1930        .55138E-04   -1.5213    
   2  alpha         1.7572        .32016        .80560E-02   -.30168    
   3  Normalizat    .74943        .22620        .30317E-03   -1.0197    
   4  Prefactor     1.1700        .19217        .21179E-03   -.87260    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77028e-09
Minuit parameter uncertainties:
  1  2.19302
  2  0.321124
  3  0.226481
  4  0.192289
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/357684': 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) = 4919.6276523
delta logL = 1.28415546572

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  6.122e+00  2.193e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  1.757e+00  3.211e-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.170e+00  1.923e-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.494e-01  2.265e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 39.90
Ra Dec: 17.169 1.582
Photon Index (Free Index): 1.76 +/- 0.32
Photon Flux (Free Index): 1.22e-07 +/- 5.28e-08
Energy Flux (Free Index): 8.79e-05 +/- 4.08e-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/357684/cmap_HighResolution_419472001_419731201_4FGL_J0108.6+0134_daily_bin695.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.77e-07', energy_flux2='8.79e-05', photon_flux_error='5.41e-08', dlogl='1.28e+00', energy_flux='5.95e-05', photon_flux2='1.22e-07', job_status='DONE', time_completed='2021-08-13 13:16:03.199138', photon_index_error2='0.32', photon_index2='1.76', ts='37.47', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='4.08e-05', EG='0.69', time_epoch_completed='1628885763.2', return_code='0', job_id='357684', GAL2='1.17', EG2='0.75', return_code2='0', energy_flux_error='1.82e-05', photon_flux_error2='5.28e-08', ts2='39.90', photon_index='2.28' WHERE bin_id='695' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:16:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0146>
Subject: Job 357684: <4FGL_J0108.6+0134_daily_bin695> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin695 17.1695 1.5819 419472001 419731201 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 :                                   575.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             245.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   846 sec.
    Turnaround time :                            901 sec.

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

