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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin748
RA = 17.1695, Dec = 1.5819
tmin = 433209601, tmax = 433468801
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='357757', job_status='RUN', time_executed='2021-08-13 13:06:44.910769', time_epoch_executed='1628885204.91' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/357757

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/357757/ft1_4FGL_J0108.6+0134_daily_bin748.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/357757/ft2_4FGL_J0108.6+0134_daily_bin748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/357757/ft1_4FGL_J0108.6+0134_daily_bin748.fits outfile=/scratch/kocevski/357757/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin748.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=433209601.0 tmax=433468801.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 11.09
user 5.72
sys 5.03

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/357757/ft1_filtered_4FGL_J0108.6+0134_daily_bin748.fits" evtable="EVENTS" scfile=/scratch/kocevski/357757/ft2_4FGL_J0108.6+0134_daily_bin748.fits sctable="SC_DATA" outfile=/scratch/kocevski/357757/ltcube_433209601_433468801_4FGL_J0108.6+0134_daily_bin748.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/357757/ft2_4FGL_J0108.6+0134_daily_bin748.fits
.....................!
real 19.52
user 13.44
sys 5.69

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/357757/ft1_filtered_4FGL_J0108.6+0134_daily_bin748.fits evtable="EVENTS" scfile=/scratch/kocevski/357757/ft2_4FGL_J0108.6+0134_daily_bin748.fits sctable="SC_DATA" expcube=/scratch/kocevski/357757/ltcube_433209601_433468801_4FGL_J0108.6+0134_daily_bin748.fits outfile=/scratch/kocevski/357757/expmap_433209601_433468801_4FGL_J0108.6+0134_daily_bin748.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/357757/ltcube_433209601_433468801_4FGL_J0108.6+0134_daily_bin748.fits
.....................!
real 198.65
user 185.68
sys 11.74

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/357757/ft1_filtered_4FGL_J0108.6+0134_daily_bin748.fits scfile=/scratch/kocevski/357757/ft2_4FGL_J0108.6+0134_daily_bin748.fits outfile=/scratch/kocevski/357757/cmap_433209601_433468801_4FGL_J0108.6+0134_daily_bin748.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 5.08
user 0.36
sys 4.42

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/357757/ft1_filtered_4FGL_J0108.6+0134_daily_bin748.fits scfile=/scratch/kocevski/357757/ft2_4FGL_J0108.6+0134_daily_bin748.fits outfile=/scratch/kocevski/357757/cmap_HighResolution_433209601_433468801_4FGL_J0108.6+0134_daily_bin748.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 5.30
user 0.36
sys 4.86

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0114       1.0000         .10000E-03   10000.    
     2 'norm      '    13.795       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    23.591       1.0000         .10000E-03   10000.    
     6 'norm      '    5.4976       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .25256E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.0572       1.0000         .10000E-03   10000.    
     9 'norm      '    21.355       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10212E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .60315       1.0000         .10000E-03   10000.    
    12 'norm      '    1.9855       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    32.186       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0761       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .61864       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=   3965.681     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2063 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0044        30.599       -.24630E-04   -.88723E-04
   2  norm          13.792        11.239       -.14004E-06    .62006E-05
   3  Prefactor     .10000E-03    1.0408        .62114E-07** at limit **
   4  Prefactor     .10000E-03    2.4459       -.69254E-06** at limit **
   5  norm          23.575        9.9616        .73562E-05    .16439E-02
   6  norm          5.4978        7.0139       -.79664E-05   -.24065E-03
   7  Prefactor     .10501E-03    55.818       -.17123E-04** at limit **
   8  Prefactor     3.0461        62.555        .76889E-04    .56108E-04
   9  norm          21.352        22.603        .26326E-05   -.45742E-04
  10  Prefactor     .10000E-03    27.589        .22219E-05** at limit **
  11  Prefactor     .70294        132.23        .67882E-05   -.15481E-03
  12  norm          1.9849        1.4312       -.77517E-07   -.96250E-03
  13  Prefactor     .10000E-03    14.667       -.26897E-07** at limit **
  14  Prefactor     32.186        24.358        .24029E-05   -.16227E-04
  15  Prefactor     .10000E-03    2.9387       -.11680E-06** at limit **
  16  Prefactor     .10000E-03    13.236        .11937E-07** at limit **
  17  Prefactor     .10000E-03    4.0976       -.20727E-07** at limit **
  18  Prefactor     .10000E-03    21.715       -.31277E-05** at limit **
  19  Prefactor     .10000E-03    98.952       -.14168E-05** at limit **
  20  Prefactor     .10000E-03    1.9471        .13919E-06** at limit **
  21  Normalizat    1.0759        .20980       -.11453E-06   -.31494E-06
  22  Prefactor     .61866        .16765       -.30684E-05    .11308E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.00445
  norm       = 13.792
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 23.5748
  norm       = 5.49785
  Prefactor  = 0.000105006
  Prefactor  = 3.0461
  norm       = 21.3521
  Prefactor  = 0.0001
  Prefactor  = 0.702945
  norm       = 1.9849
  Prefactor  = 0.0001
  Prefactor  = 32.1862
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.07589
  Prefactor  = 0.61866
 **********
 **   18 **HESSE 
 **********

 FCN=   3965.681     FROM HESSE     STATUS=OK           358 CALLS     2421 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0044        31.071        .29190E-03   -1.5425    
   2  norm          13.792        11.239        .10784E-03   -1.4965    
   3  Prefactor     .10000E-03    1.0480        .62722E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.4830        .95891E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          23.575        10.153        .41236E-03   -1.4737    
   6  norm          5.4978        6.9932        .17099E-03   -1.5239    
   7  Prefactor     .10501E-03    56.941        .13299       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.0461        60.845        .23202E-03   -1.5359    
   9  norm          21.352        22.658        .86676E-04   -1.4783    
  10  Prefactor     .10000E-03    27.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .70294        122.06        .16719       -1.5540    
  12  norm          1.9849        1.4258        .58871E-04   -1.5426    
  13  Prefactor     .10000E-03    14.678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     32.186        24.352        .70629E-04   -1.4573    
  15  Prefactor     .10000E-03    2.9550        .10539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.1190        .12448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    21.719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    99.128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.9542        .85813E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0759        .24341        .22318E-03   -.90530    
  22  Prefactor     .61866        .19389        .23432E-03   -1.0681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27126e-09
Minuit parameter uncertainties:
  1  15.7929
  2  11.2406
  3  4.75684e-06
  4  9.08643e-05
  5  10.1537
  6  6.99425
  7  0.0337972
  8  27.2593
  9  22.6667
  10  1.21662e-07
  11  18.563
  12  1.42578
  13  3.34797e-05
  14  24.3595
  15  7.08541e-06
  16  1.42193e-05
  17  2.32077e-06
  18  1.16357e-05
  19  8.20477e-05
  20  3.94462e-06
  21  0.243666
  22  0.194103
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  1.985e+00  1.426e+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:  6.187e-01  1.941e-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.076e+00  2.437e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.77
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 5.57e-08 +/- 4.00e-08
Energy Flux (Fixed Index): 1.87e-05 +/- 1.35e-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) = 3965.53121982
delta logL = 0.149360784039

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3965.49317306
delta logL = 0.187407545723

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5109       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7529       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1087       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .60373       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=   3965.493     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      200 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5104        1.1793        .86992E-02   -.60020E-05
   2  alpha         1.7522        .55123        .35845       -.25006E-04
   3  Normalizat    1.1087        .20287        .37657E-01    .57897E-05
   4  Prefactor     .60372        .16512        .41105E-01    .17192E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.51036
  alpha      = 1.75224
  Normalizat = 1.10872
  Prefactor  = 0.603721
 **********
 **   18 **HESSE 
 **********

 FCN=   3965.493     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5104        1.5667        .57771E-04   -1.5462    
   2  alpha         1.7522        .81260        .14034E-01   -.30375    
   3  Normalizat    1.1087        .23396        .22036E-03   -.89472    
   4  Prefactor     .60372        .18950        .23703E-03   -1.0743    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.53306e-12
Minuit parameter uncertainties:
  1  1.56675
  2  0.829198
  3  0.234182
  4  0.189696
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/357757': 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) = 3965.49317277
delta logL = 0.187407839537

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  1.510e+00  1.567e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  1.752e+00  8.292e-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:  6.037e-01  1.897e-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.109e+00  2.342e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.13
Ra Dec: 17.169 1.582
Photon Index (Free Index): 1.75 +/- 0.83
Photon Flux (Free Index): 3.00e-08 +/- 3.91e-08
Energy Flux (Free Index): 2.18e-05 +/- 2.05e-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/357757/cmap_HighResolution_433209601_433468801_4FGL_J0108.6+0134_daily_bin748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.57e-08', energy_flux2='2.18e-05', photon_flux_error='4.00e-08', dlogl='1.87e-01', energy_flux='1.87e-05', photon_flux2='3.00e-08', job_status='DONE', time_completed='2021-08-13 13:16:07.748077', photon_index_error2='0.83', photon_index2='1.75', ts='8.77', fit_tolerance='1e-08', GAL='0.62', photon_index_error='0.00', energy_flux_error2='2.05e-05', EG='1.08', time_epoch_completed='1628885767.75', return_code='0', job_id='357757', GAL2='0.60', EG2='1.11', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='3.91e-08', ts2='9.13', photon_index='2.28' WHERE bin_id='748' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 13:16:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 357757: <4FGL_J0108.6+0134_daily_bin748> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin748 17.1695 1.5819 433209601 433468801 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 :                                   630.19 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             281.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            902 sec.

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

