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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin922
RA = 17.1695, Dec = 1.5819
tmin = 478310401, tmax = 478569601
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='358016', job_status='RUN', time_executed='2021-08-13 13:08:12.282180', time_epoch_executed='1628885292.28' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='922'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/358016

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/358016/ft1_4FGL_J0108.6+0134_daily_bin922.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/358016/ft2_4FGL_J0108.6+0134_daily_bin922.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/358016/ft1_4FGL_J0108.6+0134_daily_bin922.fits outfile=/scratch/kocevski/358016/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin922.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=478310401.0 tmax=478569601.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 8.15
user 2.66
sys 1.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/358016/ft2_4FGL_J0108.6+0134_daily_bin922.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/358016/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin922.fits evtable="EVENTS" outfile="/scratch/kocevski/358016/ft1_filtered_4FGL_J0108.6+0134_daily_bin922.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.87
user 0.31
sys 1.03

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/358016/ft1_filtered_4FGL_J0108.6+0134_daily_bin922.fits" evtable="EVENTS" scfile=/scratch/kocevski/358016/ft2_4FGL_J0108.6+0134_daily_bin922.fits sctable="SC_DATA" outfile=/scratch/kocevski/358016/ltcube_478310401_478569601_4FGL_J0108.6+0134_daily_bin922.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/358016/ft2_4FGL_J0108.6+0134_daily_bin922.fits
.....................!
real 12.39
user 9.52
sys 1.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/358016/ft1_filtered_4FGL_J0108.6+0134_daily_bin922.fits evtable="EVENTS" scfile=/scratch/kocevski/358016/ft2_4FGL_J0108.6+0134_daily_bin922.fits sctable="SC_DATA" expcube=/scratch/kocevski/358016/ltcube_478310401_478569601_4FGL_J0108.6+0134_daily_bin922.fits outfile=/scratch/kocevski/358016/expmap_478310401_478569601_4FGL_J0108.6+0134_daily_bin922.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/358016/ltcube_478310401_478569601_4FGL_J0108.6+0134_daily_bin922.fits
.....................!
real 156.52
user 149.06
sys 4.88

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/358016/ft1_filtered_4FGL_J0108.6+0134_daily_bin922.fits scfile=/scratch/kocevski/358016/ft2_4FGL_J0108.6+0134_daily_bin922.fits outfile=/scratch/kocevski/358016/cmap_478310401_478569601_4FGL_J0108.6+0134_daily_bin922.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 2.15
user 0.32
sys 1.04

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/358016/ft1_filtered_4FGL_J0108.6+0134_daily_bin922.fits scfile=/scratch/kocevski/358016/ft2_4FGL_J0108.6+0134_daily_bin922.fits outfile=/scratch/kocevski/358016/cmap_HighResolution_478310401_478569601_4FGL_J0108.6+0134_daily_bin922.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.75
user 0.31
sys 1.01

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7729       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.3883       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.4847       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10444E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.9825       1.0000         .10000E-03   10000.    
     9 'norm      '    8.6669       1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.481       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.4051       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    28.847       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.1119       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    25.535       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.8407       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .19182E-01   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2377       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .74006       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=   6253.584     FROM MIGRAD    STATUS=CONVERGED    488 CALLS     2355 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7773        11.719        .69578E-05   -.64831E-04
   2  norm          .10000E-03    9.7087        .24056E-06** at limit **
   3  Prefactor     5.3886        3.2473        .39476E-07   -.55602E-04
   4  Prefactor     2.4857        2.3575        .26812E-07   -.21594E-04
   5  norm          .10000E-03    2.9574        .70286E-07** at limit **
   6  norm          .10000E-03    4.0098        .12023E-06** at limit **
   7  Prefactor     .10000E-03    26.422       -.13255E-06** at limit **
   8  Prefactor     4.9843        30.589        .81673E-06   -.26306E-05
   9  norm          8.6630        13.448        .20596E-06   -.24189E-05
  10  Prefactor     23.472        58.645        .27584E-06   -.12912E-04
  11  Prefactor     .10000E-03    21.175        .18180E-06** at limit **
  12  norm          6.4050        1.9698        .49254E-07   -.78664E-04
  13  Prefactor     .10000E-03    10.862        .97909E-08** at limit **
  14  Prefactor     28.828        19.169        .90078E-07   -.22451E-04
  15  Prefactor     .10000E-03    2.6015        .69078E-07** at limit **
  16  Prefactor     5.1138        35.697        .68653E-06    .51384E-06
  17  Prefactor     .10000E-03    6.7689       -.78539E-07** at limit **
  18  Prefactor     25.575        34.644        .68828E-06    .99898E-04
  19  Prefactor     2.7652        275.92       -.84369E-05   -.35971E-04
  20  Prefactor     .10033E-03    5.0803        .13271E-05** at limit **
  21  Normalizat    1.2376        .19049       -.84652E-06   -.16769E-03
  22  Prefactor     .74006        .14605       -.43186E-06   -.17995E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.77731
  norm       = 0.0001
  Prefactor  = 5.3886
  Prefactor  = 2.48572
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.98434
  norm       = 8.66303
  Prefactor  = 23.4721
  Prefactor  = 0.0001
  norm       = 6.40497
  Prefactor  = 0.0001
  Prefactor  = 28.8279
  Prefactor  = 0.0001
  Prefactor  = 5.11384
  Prefactor  = 0.0001
  Prefactor  = 25.5753
  Prefactor  = 2.76516
  Prefactor  = 0.000100333
  Normalizat = 1.23762
  Prefactor  = 0.740059
 **********
 **   18 **HESSE 
 **********

 FCN=   6253.584     FROM HESSE     STATUS=OK           352 CALLS     2707 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7773        11.752        .92081E-03   -1.5271    
   2  norm          .10000E-03    9.8547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.3886        3.2558        .10468E-03   -1.5244    
   4  Prefactor     2.4857        2.3517        .11212E-03   -1.5393    
   5  norm          .10000E-03    2.9826        .13280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    4.0908        .15443E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    26.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.9843        30.347        .18016E-03   -1.5261    
   9  norm          8.6630        13.457        .13616E-03   -1.5119    
  10  Prefactor     23.472        58.674        .82663E-04   -1.4739    
  11  Prefactor     .10000E-03    21.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.4050        1.9761        .58168E-04   -1.5202    
  13  Prefactor     .10000E-03    10.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     28.828        19.185        .74593E-04   -1.4634    
  15  Prefactor     .10000E-03    2.6145        .12452E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.1138        35.696        .17782E-03   -1.5256    
  17  Prefactor     .10000E-03    6.9514        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     25.575        34.729        .79274E-04   -1.4696    
  19  Prefactor     2.7652        288.21        .24126E-03   -1.5375    
  20  Prefactor     .10033E-03    5.5579        .50554E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2376        .22320        .25094E-03   -.85448    
  22  Prefactor     .74006        .17014        .24896E-03   -1.0198    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.72524e-10
Minuit parameter uncertainties:
  1  11.7573
  2  9.96985e-06
  3  3.25587
  4  2.35175
  5  2.38233e-06
  6  3.22992e-06
  7  9.05493e-05
  8  24.6159
  9  13.4614
  10  58.819
  11  5.7976e-05
  12  1.9761
  13  5.7815e-06
  14  19.1886
  15  2.09579e-06
  16  27.0444
  17  1.23837e-05
  18  34.7559
  19  56.742
  20  0.00272275
  21  0.223371
  22  0.170262
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  6.405e+00  1.976e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.284e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  1.018e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  5.081e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  7.401e-01  1.703e-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.238e+00  2.234e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 21.11
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 1.80e-07 +/- 5.55e-08
Energy Flux (Fixed Index): 6.05e-05 +/- 1.87e-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) = 6251.16408479
delta logL = 2.41966411858

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6251.13140886
delta logL = 2.45234005262

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.6314       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0946       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1118       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80994       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=   6251.131     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      269 TOTAL
                     EDM=   .92E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.6313        1.9057        .42162E-04    .15796E-02
   2  alpha         3.0946        .39889        .75989E-03    .73040E-04
   3  Normalizat    1.1118        .22370        .26161E-03    .14123E-04
   4  Prefactor     .80994        .17323        .23904E-03   -.61400E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.63131
  alpha      = 3.09462
  Normalizat = 1.11176
  Prefactor  = 0.809941
 **********
 **   18 **HESSE 
 **********

 FCN=   6251.131     FROM HESSE     STATUS=OK            23 CALLS      292 TOTAL
                     EDM=   .92E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.6313        1.8951        .16865E-05   -1.5278    
   2  alpha         3.0946        .39669        .30395E-04    .24015    
   3  Normalizat    1.1118        .22389        .10465E-04   -.89375    
   4  Prefactor     .80994        .17337        .95615E-05   -.99363    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.19612e-11
Minuit parameter uncertainties:
  1  1.89516
  2  0.398478
  3  0.224079
  4  0.173482
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/358016': 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) = 6251.13140886
delta logL = 2.45234005314

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  4.631e+00  1.895e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  3.095e+00  3.985e-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.099e-01  1.735e-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.112e+00  2.241e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 26.73
Ra Dec: 17.169 1.582
Photon Index (Free Index): 3.09 +/- 0.40
Photon Flux (Free Index): 2.90e-07 +/- 8.63e-08
Energy Flux (Free Index): 5.71e-05 +/- 1.52e-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/358016/cmap_HighResolution_478310401_478569601_4FGL_J0108.6+0134_daily_bin922.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.80e-07', energy_flux2='5.71e-05', photon_flux_error='5.55e-08', dlogl='2.45e+00', energy_flux='6.05e-05', photon_flux2='2.90e-07', job_status='DONE', time_completed='2021-08-13 13:16:24.975529', photon_index_error2='0.40', photon_index2='3.09', ts='21.11', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', energy_flux_error2='1.52e-05', EG='1.24', time_epoch_completed='1628885784.98', return_code='0', job_id='358016', GAL2='0.81', EG2='1.11', return_code2='0', energy_flux_error='1.87e-05', photon_flux_error2='8.63e-08', ts2='26.73', photon_index='2.28' WHERE bin_id='922' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:16:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 358016: <4FGL_J0108.6+0134_daily_bin922> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin922 17.1695 1.5819 478310401 478569601 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 :                                   490.31 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             215.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   672 sec.
    Turnaround time :                            903 sec.

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

