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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin1589
RA = 17.1695, Dec = 1.5819
tmin = 651196801, tmax = 651456001
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='880316', job_status='RUN', time_executed='2021-08-24 00:00:59.210310', time_epoch_executed='1629788459.21' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='1589'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/880316

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/880316/ft1_4FGL_J0108.6+0134_daily_bin1589.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/880316/ft2_4FGL_J0108.6+0134_daily_bin1589.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/880316/ft1_4FGL_J0108.6+0134_daily_bin1589.fits outfile=/scratch/kocevski/880316/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin1589.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=651196801.0 tmax=651456001.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 4.61
user 3.34
sys 0.40

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/880316/ft1_filtered_4FGL_J0108.6+0134_daily_bin1589.fits" evtable="EVENTS" scfile=/scratch/kocevski/880316/ft2_4FGL_J0108.6+0134_daily_bin1589.fits sctable="SC_DATA" outfile=/scratch/kocevski/880316/ltcube_651196801_651456001_4FGL_J0108.6+0134_daily_bin1589.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/880316/ft2_4FGL_J0108.6+0134_daily_bin1589.fits
.....................!
real 12.58
user 11.98
sys 0.57

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/880316/ft1_filtered_4FGL_J0108.6+0134_daily_bin1589.fits evtable="EVENTS" scfile=/scratch/kocevski/880316/ft2_4FGL_J0108.6+0134_daily_bin1589.fits sctable="SC_DATA" expcube=/scratch/kocevski/880316/ltcube_651196801_651456001_4FGL_J0108.6+0134_daily_bin1589.fits outfile=/scratch/kocevski/880316/expmap_651196801_651456001_4FGL_J0108.6+0134_daily_bin1589.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/880316/ltcube_651196801_651456001_4FGL_J0108.6+0134_daily_bin1589.fits
.....................!
real 190.89
user 185.48
sys 5.02

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/880316/ft1_filtered_4FGL_J0108.6+0134_daily_bin1589.fits scfile=/scratch/kocevski/880316/ft2_4FGL_J0108.6+0134_daily_bin1589.fits outfile=/scratch/kocevski/880316/cmap_651196801_651456001_4FGL_J0108.6+0134_daily_bin1589.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 0.74
user 0.35
sys 0.37

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/880316/ft1_filtered_4FGL_J0108.6+0134_daily_bin1589.fits scfile=/scratch/kocevski/880316/ft2_4FGL_J0108.6+0134_daily_bin1589.fits outfile=/scratch/kocevski/880316/cmap_HighResolution_651196801_651456001_4FGL_J0108.6+0134_daily_bin1589.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.75
user 0.37
sys 0.37

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0777       1.0000         .10000E-03   10000.    
     2 'norm      '    7.0438       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.0762       1.0000         .10000E-03   10000.    
     5 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.9403       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10876E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    16.994       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .31239E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.5768       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11422E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.416       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.8456       1.0000         .10000E-03   10000.    
    16 'Prefactor '    61.832       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    26.064       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10953E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3220       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81023       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=   6157.089     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     2325 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0789        11.319       -.19847E-06   -.10167E-04
   2  norm          7.0460        8.8601        .42379E-06   -.14806E-05
   3  Prefactor     .10000E-03    1.1331        .10869E-07** at limit **
   4  Prefactor     2.0774        3.3807        .13481E-06   -.44410E-04
   5  norm          .10000E-03    1.4327       -.11806E-07** at limit **
   6  norm          4.9408        5.7126        .31561E-06   -.90854E-05
   7  Prefactor     .10000E-03    12.107        .33225E-08** at limit **
   8  Prefactor     .10000E-03    16.405       -.53262E-07** at limit **
   9  norm          16.995        14.451        .59688E-07   -.15891E-04
  10  Prefactor     .10000E-03    360.97        .44882E-04** at limit **
  11  Prefactor     .10000E-03    88.750       -.81361E-05** at limit **
  12  norm          6.5781        2.1227       -.16762E-06    .19668E-04
  13  Prefactor     .10000E-03    69.454        .87542E-05** at limit **
  14  Prefactor     20.390        17.854       -.21162E-06   -.24209E-03
  15  Prefactor     1.8472        9.1698        .10689E-04   -.74271E-04
  16  Prefactor     61.802        44.561        .25152E-05    .95040E-05
  17  Prefactor     .10000E-03    4.3658       -.61748E-07** at limit **
  18  Prefactor     26.015        49.367        .73452E-05    .20283E-04
  19  Prefactor     .10000E-03    83.564       -.58899E-05** at limit **
  20  Prefactor     .10000E-03    1.2623       -.90159E-08** at limit **
  21  Normalizat    1.3219        .20089       -.15457E-05   -.18310E-03
  22  Prefactor     .81017        .15682       -.11201E-05   -.26855E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.07888
  norm       = 7.04603
  Prefactor  = 0.0001
  Prefactor  = 2.07745
  norm       = 0.0001
  norm       = 4.94084
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 16.9948
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.5781
  Prefactor  = 0.0001
  Prefactor  = 20.3895
  Prefactor  = 1.84721
  Prefactor  = 61.8017
  Prefactor  = 0.0001
  Prefactor  = 26.0153
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.32189
  Prefactor  = 0.810169
 **********
 **   18 **HESSE 
 **********

 FCN=   6157.089     FROM HESSE     STATUS=OK           340 CALLS     2665 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0789        11.318        .19966E-03   -1.5304    
   2  norm          7.0460        8.8580        .15115E-03   -1.5177    
   3  Prefactor     .10000E-03    1.1578        .81524E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.0774        3.3448        .16933E-03   -1.5420    
   5  norm          .10000E-03    1.4332        .91721E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.9408        5.6762        .18095E-03   -1.5263    
   7  Prefactor     .10000E-03    12.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    16.428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          16.995        14.457        .97155E-04   -1.4883    
  10  Prefactor     .10000E-03    362.79        .19784E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    88.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.5781        2.1300        .60403E-04   -1.5195    
  13  Prefactor     .10000E-03    69.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     20.390        17.849        .88644E-04   -1.4805    
  15  Prefactor     1.8472        9.2282        .15348E-02   -1.5436    
  16  Prefactor     61.802        44.605        .25514E-03   -1.4134    
  17  Prefactor     .10000E-03    4.3777        .16010E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     26.015        49.525        .78467E-04   -1.4687    
  19  Prefactor     .10000E-03    83.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.2649        .86094E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3219        .23519        .25581E-03   -.82915    
  22  Prefactor     .81017        .18294        .25396E-03   -.99355    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87858e-10
Minuit parameter uncertainties:
  1  11.3241
  2  8.8596
  3  2.22047e-06
  4  3.34507
  5  4.69854e-07
  6  5.67681
  7  1.08004e-06
  8  8.87798e-06
  9  14.4599
  10  0.000799978
  11  0.000294262
  12  2.12999
  13  7.79742e-05
  14  17.8536
  15  8.25929
  16  44.6291
  17  8.13289e-06
  18  49.6037
  19  0.000149149
  20  1.64898e-07
  21  0.235378
  22  0.18308
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  6.578e+00  2.130e+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.102e-01  1.831e-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.322e+00  2.354e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 25.04
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 1.85e-07 +/- 5.98e-08
Energy Flux (Fixed Index): 6.21e-05 +/- 2.01e-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) = 6156.93758211
delta logL = 0.151671600615

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6156.92456777
delta logL = 0.164685948463

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.3451       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4823       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2883       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82836       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6156.925     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      239 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.3451        2.0846        .57083E-04    .22093E-02
   2  alpha         2.4821        .35194        .91369E-02    .12506E-03
   3  Normalizat    1.2883        .23779        .25841E-03   -.33480E-04
   4  Prefactor     .82840        .18541        .25145E-03   -.39562E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.34506
  alpha      = 2.48214
  Normalizat = 1.28832
  Prefactor  = 0.828403
 **********
 **   18 **HESSE 
 **********

 FCN=   6156.925     FROM HESSE     STATUS=OK            23 CALLS      262 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.3451        2.0678        .11417E-04   -1.5204    
   2  alpha         2.4821        .34884        .36548E-03   -.71457E-02
   3  Normalizat    1.2883        .23798        .10336E-04   -.83916    
   4  Prefactor     .82840        .18553        .10058E-04   -.98690    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.26037e-10
Minuit parameter uncertainties:
  1  2.06783
  2  0.349986
  3  0.238178
  4  0.185671
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/880316': 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) = 6156.92456754
delta logL = 0.164686173943

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  6.345e+00  2.068e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.482e+00  3.500e-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.284e-01  1.857e-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.288e+00  2.382e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 25.37
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.48 +/- 0.35
Photon Flux (Free Index): 2.12e-07 +/- 7.93e-08
Energy Flux (Free Index): 5.94e-05 +/- 1.87e-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/880316/cmap_HighResolution_651196801_651456001_4FGL_J0108.6+0134_daily_bin1589.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.85e-07', energy_flux2='5.94e-05', photon_flux_error='5.98e-08', dlogl='1.65e-01', energy_flux='6.21e-05', photon_flux2='2.12e-07', job_status='DONE', time_completed='2021-08-24 00:10:33.174418', photon_index_error2='0.35', photon_index2='2.48', ts='25.04', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='1.87e-05', EG='1.32', time_epoch_completed='1629789033.17', return_code='0', job_id='880316', GAL2='0.83', EG2='1.29', return_code2='0', energy_flux_error='2.01e-05', photon_flux_error2='7.93e-08', ts2='25.37', photon_index='2.28' WHERE bin_id='1589' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 00:10:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 880316: <4FGL_J0108.6+0134_daily_bin1589> in cluster <slac> Done

Job <4FGL_J0108.6+0134_daily_bin1589> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 24 00:00:35 2021
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 00:00:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 24 00:00:37 2021
Terminated at Tue Aug 24 00:10:34 2021
Results reported at Tue Aug 24 00:10:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin1589 17.1695 1.5819 651196801 651456001 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 :                                   570.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             372.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   596 sec.
    Turnaround time :                            599 sec.

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

