aklog: Couldn't determine realm of user:aklog: No credentials cache found  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 61 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin1748
RA = 17.1695, Dec = 1.5819
tmin = 692409601, tmax = 692668801
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='875533', job_status='RUN', time_executed='2022-12-14 00:05:57.597105', time_epoch_executed='1671005157.6' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/875533

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/875533/ft1_4FGL_J0108.6+0134_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/875533/ft2_4FGL_J0108.6+0134_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/875533/ft1_4FGL_J0108.6+0134_daily_bin1748.fits outfile=/scratch/kocevski/875533/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin1748.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=692409601.0 tmax=692668801.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 3.64
user 3.34
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/875533/ft2_4FGL_J0108.6+0134_daily_bin1748.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/875533/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/875533/ft1_filtered_4FGL_J0108.6+0134_daily_bin1748.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.54
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 561

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/875533/ft1_filtered_4FGL_J0108.6+0134_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/875533/ft2_4FGL_J0108.6+0134_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/875533/ltcube_692409601_692668801_4FGL_J0108.6+0134_daily_bin1748.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/875533/ft2_4FGL_J0108.6+0134_daily_bin1748.fits
.....................!
real 19.26
user 18.81
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/875533/ft1_filtered_4FGL_J0108.6+0134_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/875533/ft2_4FGL_J0108.6+0134_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/875533/ltcube_692409601_692668801_4FGL_J0108.6+0134_daily_bin1748.fits outfile=/scratch/kocevski/875533/expmap_692409601_692668801_4FGL_J0108.6+0134_daily_bin1748.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/875533/ltcube_692409601_692668801_4FGL_J0108.6+0134_daily_bin1748.fits
.....................!
real 191.28
user 185.29
sys 5.65

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/875533/ft1_filtered_4FGL_J0108.6+0134_daily_bin1748.fits scfile=/scratch/kocevski/875533/ft2_4FGL_J0108.6+0134_daily_bin1748.fits outfile=/scratch/kocevski/875533/cmap_692409601_692668801_4FGL_J0108.6+0134_daily_bin1748.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/875533/ft1_filtered_4FGL_J0108.6+0134_daily_bin1748.fits scfile=/scratch/kocevski/875533/ft2_4FGL_J0108.6+0134_daily_bin1748.fits outfile=/scratch/kocevski/875533/cmap_HighResolution_692409601_692668801_4FGL_J0108.6+0134_daily_bin1748.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.55
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/875533/ft1_filtered_4FGL_J0108.6+0134_daily_bin1748.fits', '/scratch/kocevski/875533/ft2_4FGL_J0108.6+0134_daily_bin1748.fits', expMap='/scratch/kocevski/875533/expmap_692409601_692668801_4FGL_J0108.6+0134_daily_bin1748.fits', expCube='/scratch/kocevski/875533/ltcube_692409601_692668801_4FGL_J0108.6+0134_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/875533/Model_4FGL_J0108.6+0134_daily_bin1748.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  0.000e+00  1.000e+06 ( 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 -5.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/875533/ft1_filtered_4FGL_J0108.6+0134_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/875533/ft2_4FGL_J0108.6+0134_daily_bin1748.fits
Exposure map: /scratch/kocevski/875533/expmap_692409601_692668801_4FGL_J0108.6+0134_daily_bin1748.fits
Exposure cube: /scratch/kocevski/875533/ltcube_692409601_692668801_4FGL_J0108.6+0134_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/875533/Model_4FGL_J0108.6+0134_daily_bin1748.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) = 6099.77341608

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18710E-02   1.0000          .0000       .10000E+07
     2 'norm      '    12.186       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.3282       1.0000          .0000       .10000E+07
     4 'Prefactor '    .85273E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .67415E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .41996E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    43.409       1.0000          .0000       .10000E+07
     8 'Prefactor '    6.3198       1.0000          .0000       .10000E+07
     9 'norm      '    9.0243       1.0000          .0000       .10000E+07
    10 'Prefactor '    .23337E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .25197E-01   1.0000          .0000       .10000E+07
    12 'norm      '    39.918       1.0000          .0000       .10000E+07
    13 'Prefactor '    .28967E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .16830E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    39.325       1.0000          .0000       .10000E+07
    16 'Prefactor '    .48384E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .49147       1.0000          .0000       .10000E+07
    18 'Prefactor '    9.1636       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0097       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .70423       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6099.772     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1585 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .34417E-08    6.0195       -.80085E-06** at limit **
   2  norm          12.198        9.2599        .12665E-05    .11441E-01
   3  Prefactor     2.3279        2.5278        .12544E-07    .59738E-02
   4  Prefactor     .44409E-09    10.222        .63197E-06** at limit **
   5  norm          .16653E-08    9.7314       -.13047E-06** at limit **
   6  norm          .49960E-09    3.9619       -.51698E-07** at limit **
   7  Prefactor     43.778        23.505        .32286E-06   -.18989E-01
   8  Prefactor     6.4733        28.810        .34457E-06    .19219E-01
   9  norm          9.0334        5.1373        .77470E-06    .25197E-02
  10  Prefactor      .0000        33.421       -.32283E-07** at limit **
  11  Prefactor     .55511E-10    33.788        .42946E-07** at limit **
  12  norm          39.919        3.9871        .92508E-08   -.37139E-01
  13  Prefactor     .55511E-09    5.7935        .57023E-06** at limit **
  14  Prefactor     .39413E-08    9.9429       -.15519E-07** at limit **
  15  Prefactor     39.582        14.979        .39469E-06   -.64695E-01
  16  Prefactor      .0000        2.5890       -.19650E-07** at limit **
  17  Prefactor     .29682E-06    137.88        .52892E-06** at limit **
  18  Prefactor     9.1533        5.5958        .27695E-07   -.58466E-02
  19  Normalizat    1.0096        .23639       -.42564E-05   -.41321E-03
  20  Prefactor     .70416        .17592       -.14502E-06   -.56643E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.44169e-09
  norm       = 12.1976
  Prefactor  = 2.32786
  Prefactor  = 4.44089e-10
  norm       = 1.66533e-09
  norm       = 4.996e-10
  Prefactor  = 43.7776
  Prefactor  = 6.47332
  norm       = 9.03344
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 39.9191
  Prefactor  = 5.55112e-10
  Prefactor  = 3.94129e-09
  Prefactor  = 39.5816
  Prefactor  = 0
  Prefactor  = 2.96818e-07
  Prefactor  = 9.15333
  Normalizat = 1.0096
  Prefactor  = 0.704161
 **********
 **   18 **HESSE 
 **********

 FCN=   6099.772     FROM HESSE     STATUS=OK           335 CALLS     1920 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .34417E-08    6.0133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          12.198        10.479        .28671E-03   -1.5638    
   3  Prefactor     2.3279        2.5417        .67185E-03   -1.5677    
   4  Prefactor     .44409E-09    9.9980        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .16653E-08    9.6190        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .49960E-09    3.9386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     43.778        41.942        .15179E-03   -1.5576    
   8  Prefactor     6.4733        57.642        .39904E-03   -1.5657    
   9  norm          9.0334        10.605        .33340E-03   -1.5648    
  10  Prefactor      .0000        33.365        .16826E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    33.754        .16716E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          39.919        4.0241        .15829E-03   -1.5582    
  13  Prefactor     .55511E-09    5.7893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .39413E-08    5.5426        .64756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     39.582        45.401        .15948E-03   -1.5582    
  16  Prefactor      .0000        2.5874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .29682E-06    137.40        .79573E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.1533        5.5987        .33084E-03   -1.5647    
  19  Normalizat    1.0096        .20797        .46288E-01   -.92709    
  20  Prefactor     .70416        .15415        .42457E-01   -1.0336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.31342e-07
Minuit parameter uncertainties:
  1  0.000288278
  2  10.479
  3  2.54171
  4  0.000129875
  5  0.000255034
  6  9.07348e-05
  7  41.9423
  8  38.634
  9  10.605
  10  2.74859e-05
  11  7.42758e-05
  12  4.0241
  13  0.000111827
  14  0.000295947
  15  45.4013
  16  1.64268e-05
  17  0.0127727
  18  5.59871
  19  0.208142
  20  0.154239
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  3.992e+01  4.024e+00  0.000e+00  1.000e+06 ( 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 -5.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.042e-01  1.542e-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.010e+00  2.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 359.78
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 1.12e-06 +/- 1.13e-07
Energy Flux (Fixed Index): 3.77e-04 +/- 3.80e-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) = 6099.32020849
delta logL = 0.451917168389

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6099.24101851
delta logL = 0.531107142644

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    38.224       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4022       1.0000          .0000       5.0000    
     3 'Normalizat'    .95714       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73261       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=   6099.241     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      201 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          38.224        4.6562        .16176E-03    .81788E-01
   2  alpha         2.4022        .12680        .68026E-01    .25426E-04
   3  Normalizat    .95713        .20010        .66680E-01    .11707E-04
   4  Prefactor     .73261        .15196        .42834E-01    .14992E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 38.2241
  alpha      = 2.40219
  Normalizat = 0.957129
  Prefactor  = 0.732611
 **********
 **   18 **HESSE 
 **********

 FCN=   6099.241     FROM HESSE     STATUS=OK            29 CALLS      230 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          38.224        4.2163        .44757E-05   -1.5584    
   2  alpha         2.4022        .11573        .30011E-03   -.39133E-01
   3  Normalizat    .95713        .23562        .29495E-03   -.94481    
   4  Prefactor     .73261        .17840        .25750E-03   -1.0226    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.12867e-09
Minuit parameter uncertainties:
  1  4.21629
  2  0.115768
  3  0.235879
  4  0.17854
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/875533': 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) = 6099.2410185
delta logL = 0.531107152205

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  3.822e+01  4.216e+00  0.000e+00  1.000e+06 ( 1.000e-11)
270        alpha:  2.402e+00  1.158e-01  0.000e+00  5.000e+00 ( 1.000e+00)
271         beta:  1.018e-01  0.000e+00 -5.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.326e-01  1.785e-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.571e-01  2.359e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 358.42
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.40 +/- 0.12
Photon Flux (Free Index): 1.19e-06 +/- 1.33e-07
Energy Flux (Free Index): 3.56e-04 +/- 3.96e-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/875533/cmap_HighResolution_692409601_692668801_4FGL_J0108.6+0134_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.12e-06', energy_flux2='3.56e-04', photon_flux_error='1.13e-07', dlogl='5.31e-01', energy_flux='3.77e-04', photon_flux2='1.19e-06', job_status='DONE', time_completed='2022-12-14 00:14:46.301895', photon_index_error2='0.12', photon_index2='2.40', ts='359.78', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', energy_flux_error2='3.96e-05', EG='1.01', time_epoch_completed='1671005686.3', return_code='0', job_id='875533', GAL2='0.73', EG2='0.96', return_code2='0', energy_flux_error='3.80e-05', photon_flux_error2='1.33e-07', ts2='358.42', photon_index='2.28' WHERE bin_id='1748' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:14:46 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 875533: <4FGL_J0108.6+0134_daily_bin1748> in cluster <slac> Done

Job <4FGL_J0108.6+0134_daily_bin1748> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Dec 14 00:04:46 2022
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:04:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:04:47 2022
Terminated at Wed Dec 14 00:14:47 2022
Results reported at Wed Dec 14 00:14:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin1748 17.1695 1.5819 692409601 692668801 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 :                                   523.23 sec.
    Max Memory :                                 1192 MB
    Average Memory :                             333.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   599 sec.
    Turnaround time :                            601 sec.

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

