aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/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 1 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 = 17100
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0108.6+0134_weekly_bin251
RA = 17.1695, Dec = 1.5819
tmin = 390787201, tmax = 391392001
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='72952', job_status='RUN', time_executed='2021-07-03 16:18:02.408098', time_epoch_executed='1625354282.41' WHERE source_name='4FGL J0108.6+0134' and cadence='weekly' and bin_id='251'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/72952

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

Retrieving the FT1 file...

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

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

Retrieving 111 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/72952/ft1_4FGL_J0108.6+0134_weekly_bin251.fits


Retrieving the FT1 file...

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

Retrieving 111 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/72952/ft2_4FGL_J0108.6+0134_weekly_bin251.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/72952/ft1_4FGL_J0108.6+0134_weekly_bin251.fits outfile=/scratch/kocevski/72952/ft1_filteredMKT_4FGL_J0108.6+0134_weekly_bin251.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=390787201.0 tmax=391392001.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.89
user 10.92
sys 0.33

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/72952/ft2_4FGL_J0108.6+0134_weekly_bin251.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/72952/ft1_filteredMKT_4FGL_J0108.6+0134_weekly_bin251.fits evtable="EVENTS" outfile="/scratch/kocevski/72952/ft1_filtered_4FGL_J0108.6+0134_weekly_bin251.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.89
user 0.38
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/72952/ft1_filtered_4FGL_J0108.6+0134_weekly_bin251.fits" evtable="EVENTS" scfile=/scratch/kocevski/72952/ft2_4FGL_J0108.6+0134_weekly_bin251.fits sctable="SC_DATA" outfile=/scratch/kocevski/72952/ltcube_390787201_391392001_4FGL_J0108.6+0134_weekly_bin251.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/72952/ft2_4FGL_J0108.6+0134_weekly_bin251.fits
.....................!
real 27.11
user 25.84
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/72952/ft1_filtered_4FGL_J0108.6+0134_weekly_bin251.fits evtable="EVENTS" scfile=/scratch/kocevski/72952/ft2_4FGL_J0108.6+0134_weekly_bin251.fits sctable="SC_DATA" expcube=/scratch/kocevski/72952/ltcube_390787201_391392001_4FGL_J0108.6+0134_weekly_bin251.fits outfile=/scratch/kocevski/72952/expmap_390787201_391392001_4FGL_J0108.6+0134_weekly_bin251.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/72952/ltcube_390787201_391392001_4FGL_J0108.6+0134_weekly_bin251.fits
.....................!
real 199.41
user 186.66
sys 5.21

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/72952/ft1_filtered_4FGL_J0108.6+0134_weekly_bin251.fits scfile=/scratch/kocevski/72952/ft2_4FGL_J0108.6+0134_weekly_bin251.fits outfile=/scratch/kocevski/72952/cmap_390787201_391392001_4FGL_J0108.6+0134_weekly_bin251.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.90
user 0.42
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/72952/ft1_filtered_4FGL_J0108.6+0134_weekly_bin251.fits scfile=/scratch/kocevski/72952/ft2_4FGL_J0108.6+0134_weekly_bin251.fits outfile=/scratch/kocevski/72952/cmap_HighResolution_390787201_391392001_4FGL_J0108.6+0134_weekly_bin251.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.95
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2579       1.0000         .10000E-03   10000.    
     2 'norm      '    1.1904       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.0895       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.2405       1.0000         .10000E-03   10000.    
     5 'norm      '    1.8986       1.0000         .10000E-03   10000.    
     6 'norm      '    3.5913       1.0000         .10000E-03   10000.    
     7 'Prefactor '    36.286       1.0000         .10000E-03   10000.    
     8 'Prefactor '    56.175       1.0000         .10000E-03   10000.    
     9 'norm      '    1.7299       1.0000         .10000E-03   10000.    
    10 'Prefactor '    51.318       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    8.0376       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.9097       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10516E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .99680       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .85036       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=   12701.04     FROM MIGRAD    STATUS=CONVERGED    468 CALLS     2034 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2579        8.5588       -.25859E-06   -.75187E-04
   2  norm          1.1911        7.4564        .97187E-05   -.15581E-03
   3  Prefactor     1.0894        1.4166        .76019E-07   -.25585E-03
   4  Prefactor     3.2407        2.6409       -.36378E-06   -.39602E-03
   5  norm          1.8989        2.2390        .16659E-07   -.24185E-04
   6  norm          3.5897        3.6077       -.96986E-08   -.21514E-02
   7  Prefactor     36.287        21.058        .19179E-06   -.55416E-05
   8  Prefactor     56.180        23.605        .23358E-05   -.33097E-04
   9  norm          1.7295        3.1244       -.13550E-06   -.19581E-02
  10  Prefactor     51.316        30.726       -.13190E-05   -.62911E-04
  11  Prefactor     .10000E-03    30.509        .53959E-05** at limit **
  12  norm          8.0375        1.3894        .11647E-07   -.42458E-03
  13  Prefactor     .10000E-03    31.411        .72948E-05** at limit **
  14  Prefactor     .10000E-03    13.127        .95307E-05** at limit **
  15  Prefactor     .10000E-03    1.5636       -.52672E-07** at limit **
  16  Prefactor     7.9094        16.692       -.11841E-06   -.21522E-04
  17  Prefactor     .10000E-03    2.0567        .25869E-06** at limit **
  18  Prefactor     .10000E-03    13.733       -.10639E-04** at limit **
  19  Prefactor     .10000E-03    38.548       -.12045E-04** at limit **
  20  Prefactor     .10000E-03    .69473        .13908E-07** at limit **
  21  Normalizat    .99679        .13167       -.11340E-05   -.42905E-03
  22  Prefactor     .85037        .10189       -.42226E-06   -.51249E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.25787
  norm       = 1.19107
  Prefactor  = 1.08945
  Prefactor  = 3.24067
  norm       = 1.89888
  norm       = 3.58969
  Prefactor  = 36.2872
  Prefactor  = 56.1796
  norm       = 1.72953
  Prefactor  = 51.3157
  Prefactor  = 0.0001
  norm       = 8.03749
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.90938
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.996788
  Prefactor  = 0.850369
 **********
 **   18 **HESSE 
 **********

 FCN=   12701.04     FROM HESSE     STATUS=OK           346 CALLS     2380 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2579        8.5639        .13951E-03   -1.5133    
   2  norm          1.1911        7.5736        .41750E-03   -1.5490    
   3  Prefactor     1.0894        1.3858        .14642E-03   -1.5499    
   4  Prefactor     3.2407        2.6238        .14847E-03   -1.5348    
   5  norm          1.8989        2.2326        .17724E-03   -1.5432    
   6  norm          3.5897        3.9408        .10662E-02   -1.5329    
   7  Prefactor     36.287        21.055        .66530E-04   -1.4502    
   8  Prefactor     56.180        23.592        .53522E-04   -1.4207    
   9  norm          1.7295        6.1122        .15960E-02   -1.5445    
  10  Prefactor     51.316        30.741        .55984E-04   -1.4274    
  11  Prefactor     .10000E-03    30.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          8.0375        1.3923        .52355E-04   -1.5141    
  13  Prefactor     .10000E-03    31.905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.421        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.5748        .13754E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.9094        16.662        .14257E-03   -1.5145    
  17  Prefactor     .10000E-03    6.0134        .31306E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    38.611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    .69788        .91729E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .99679        .15248        .26547E-03   -.93138    
  22  Prefactor     .85037        .11898        .22828E-03   -.97898    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.92919e-09
Minuit parameter uncertainties:
  1  8.56522
  2  6.00774
  3  1.38583
  4  2.62393
  5  2.23269
  6  3.94109
  7  21.0598
  8  23.5956
  9  6.11438
  10  30.7503
  11  5.60011e-05
  12  1.39228
  13  1.36813e-05
  14  2.72186e-06
  15  2.22867e-06
  16  16.6718
  17  1.45175e-05
  18  2.68685e-05
  19  2.25378e-05
  20  1.04524e-06
  21  0.152545
  22  0.119016
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  8.037e+00  1.392e+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.504e-01  1.190e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  9.968e-01  1.525e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 112.18
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 2.26e-07 +/- 3.91e-08
Energy Flux (Fixed Index): 7.59e-05 +/- 1.32e-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) = 12701.0372805
delta logL = 0.00553418827985

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12701.0369214
delta logL = 0.00589332017444

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.0212       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3052       1.0000          .0000       5.0000    
     3 'Normalizat'    .99278       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85245       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=   12701.04     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      200 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.0212        1.7420        .35392E-02   -.65759E-03
   2  alpha         2.3052        .23199        .18137        .54571E-04
   3  Normalizat    .99278        .13057        .46076E-01    .64645E-06
   4  Prefactor     .85245        .10273        .44396E-01   -.14355E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.02122
  alpha      = 2.30518
  Normalizat = 0.99278
  Prefactor  = 0.852448
 **********
 **   18 **HESSE 
 **********

 FCN=   12701.04     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.0212        1.3940        .52067E-04   -1.5141    
   2  alpha         2.3052        .19177        .77636E-02   -.78008E-01
   3  Normalizat    .99278        .15306        .26590E-03   -.93273    
   4  Prefactor     .85245        .11964        .22802E-03   -.97823    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01604e-11
Minuit parameter uncertainties:
  1  1.39405
  2  0.191959
  3  0.15313
  4  0.119677
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/72952': 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) = 12701.0369214
delta logL = 0.00589332017989

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  8.021e+00  1.394e+00  1.000e-04  1.000e+04 ( 1.000e-11)
270        alpha:  2.305e+00  1.920e-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.524e-01  1.197e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  9.928e-01  1.531e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 111.81
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.31 +/- 0.19
Photon Flux (Free Index): 2.29e-07 +/- 5.03e-08
Energy Flux (Free Index): 7.55e-05 +/- 1.37e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/72952/cmap_HighResolution_390787201_391392001_4FGL_J0108.6+0134_weekly_bin251.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.26e-07', energy_flux2='7.55e-05', photon_flux_error='3.91e-08', dlogl='5.89e-03', energy_flux='7.59e-05', photon_flux2='2.29e-07', job_status='DONE', time_completed='2021-07-03 16:32:39.180289', photon_index_error2='0.19', photon_index2='2.31', ts='112.18', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='1.37e-05', EG='1.00', time_epoch_completed='1625355159.18', return_code='0', job_id='72952', GAL2='0.85', EG2='0.99', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='5.03e-08', ts2='111.81', photon_index='2.28' WHERE bin_id='251' AND source_name='4FGL J0108.6+0134' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 16:32:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 72952: <4FGL_J0108.6+0134_weekly_bin251> in cluster <slac> Done

Job <4FGL_J0108.6+0134_weekly_bin251> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Jul  3 16:16:55 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 16:16:56 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul  3 16:16:56 2021
Terminated at Sat Jul  3 16:32:42 2021
Results reported at Sat Jul  3 16:32:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_weekly_bin251 17.1695 1.5819 390787201 391392001 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 :                                   843.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             310.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   946 sec.
    Turnaround time :                            947 sec.

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

