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


Performing analysis on: 4FGL_J0108.6+0134_daily_bin1774
RA = 17.1695, Dec = 1.5819
tmin = 699148801, tmax = 699408001
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='672357', job_status='RUN', time_executed='2023-03-02 00:05:23.484068', time_epoch_executed='1677744323.48' WHERE source_name='4FGL J0108.6+0134' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/672357

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/672357/ft1_4FGL_J0108.6+0134_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/672357/ft2_4FGL_J0108.6+0134_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/672357/ft1_4FGL_J0108.6+0134_daily_bin1774.fits outfile=/scratch/kocevski/672357/ft1_filteredMKT_4FGL_J0108.6+0134_daily_bin1774.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=699148801.0 tmax=699408001.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 2.83
user 2.62
sys 0.18

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

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

Number of photons that the gtmktime cut: 798

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/672357/ft1_filtered_4FGL_J0108.6+0134_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/672357/ft2_4FGL_J0108.6+0134_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/672357/ltcube_699148801_699408001_4FGL_J0108.6+0134_daily_bin1774.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/672357/ft2_4FGL_J0108.6+0134_daily_bin1774.fits
.....................!
real 12.76
user 12.41
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/672357/ft1_filtered_4FGL_J0108.6+0134_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/672357/ft2_4FGL_J0108.6+0134_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/672357/ltcube_699148801_699408001_4FGL_J0108.6+0134_daily_bin1774.fits outfile=/scratch/kocevski/672357/expmap_699148801_699408001_4FGL_J0108.6+0134_daily_bin1774.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/672357/ltcube_699148801_699408001_4FGL_J0108.6+0134_daily_bin1774.fits
.....................!
real 191.85
user 186.58
sys 4.80

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/672357/ft1_filtered_4FGL_J0108.6+0134_daily_bin1774.fits scfile=/scratch/kocevski/672357/ft2_4FGL_J0108.6+0134_daily_bin1774.fits outfile=/scratch/kocevski/672357/cmap_699148801_699408001_4FGL_J0108.6+0134_daily_bin1774.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/672357/ft1_filtered_4FGL_J0108.6+0134_daily_bin1774.fits scfile=/scratch/kocevski/672357/ft2_4FGL_J0108.6+0134_daily_bin1774.fits outfile=/scratch/kocevski/672357/cmap_HighResolution_699148801_699408001_4FGL_J0108.6+0134_daily_bin1774.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.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11213E-07   1.0000          .0000       .10000E+07
     2 'norm      '    5.1451       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.6525       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16386E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .37831E-06   1.0000          .0000       .10000E+07
     6 'norm      '    2.0824       1.0000          .0000       .10000E+07
     7 'Prefactor '    63.955       1.0000          .0000       .10000E+07
     8 'Prefactor '    46.593       1.0000          .0000       .10000E+07
     9 'norm      '    .16622E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .40413E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .18253E-01   1.0000          .0000       .10000E+07
    12 'norm      '    30.254       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.115       1.0000          .0000       .10000E+07
    14 'Prefactor '    8.4209       1.0000          .0000       .10000E+07
    15 'Prefactor '    17.597       1.0000          .0000       .10000E+07
    16 'Prefactor '    .16815E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .51177E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.4528       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.3502       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .79130       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=   8549.026     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1521 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.9957        .16454E-06** at limit **
   2  norm          5.1008        12.915        .89914E-07   -.46022E-02
   3  Prefactor     6.6547        3.5605        .24602E-07   -.27671E-04
   4  Prefactor      .0000        3.5407        .40005E-07** at limit **
   5  norm           .0000        1.9284       -.23145E-06** at limit **
   6  norm          2.0740        4.4113       -.95462E-09   -.52707E-03
   7  Prefactor     65.696        47.641       -.22356E-08   -.49643E-02
   8  Prefactor     46.683        2.9341       -.97147E-08    .10732    
   9  norm           .0000        3.6430       -.41594E-08** at limit **
  10  Prefactor     .27211E-05    5.7560        .36129E-07** at limit **
  11  Prefactor      .0000        35.108        .55753E-06** at limit **
  12  norm          30.249        3.2525       -.34404E-07    .88826E-03
  13  Prefactor     24.116        18.328        .14887E-07   -.18667E-02
  14  Prefactor     8.4884        6.4901       -.78318E-07   -.11811E-03
  15  Prefactor     17.561        2.5022        .77151E-09   -.24496E-01
  16  Prefactor     .77716E-09    4.3444        .49183E-07** at limit **
  17  Prefactor     .15543E-07    51.732        .26121E-06** at limit **
  18  Prefactor     2.4528        2.5988       -.59196E-07    .19428E-03
  19  Normalizat    1.3500        .22993        .16670E-05   -.74184E-05
  20  Prefactor     .79120        .17278       -.21213E-07   -.72204E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 5.10079
  Prefactor  = 6.65465
  Prefactor  = 0
  norm       = 0
  norm       = 2.074
  Prefactor  = 65.6959
  Prefactor  = 46.6827
  norm       = 0
  Prefactor  = 2.7211e-06
  Prefactor  = 0
  norm       = 30.2485
  Prefactor  = 24.1158
  Prefactor  = 8.48842
  Prefactor  = 17.5611
  Prefactor  = 7.77156e-10
  Prefactor  = 1.55431e-08
  Prefactor  = 2.45278
  Normalizat = 1.34995
  Prefactor  = 0.791202
 **********
 **   18 **HESSE 
 **********

 FCN=   8549.026     FROM HESSE     STATUS=OK           335 CALLS     1856 TOTAL
                     EDM=   .68E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.9904        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.1008        13.391        .44298E-03   -1.5663    
   3  Prefactor     6.6547        3.5601        .38882E-03   -1.5656    
   4  Prefactor      .0000        3.5220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        1.9273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.0740        4.6098        .71529E-03   -1.5679    
   7  Prefactor     65.696        47.868        .12505E-03   -1.5546    
   8  Prefactor     46.683        42.986        .14651E-03   -1.5571    
   9  norm           .0000        3.6434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .27211E-05    60.540        .15945E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        35.064        .17154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          30.249        3.2451        .18183E-03   -1.5598    
  13  Prefactor     24.116        18.412        .20368E-03   -1.5610    
  14  Prefactor     8.4884        6.4958        .34522E-03   -1.5650    
  15  Prefactor     17.561        32.010        .23848E-03   -1.5624    
  16  Prefactor     .77716E-09    4.3507        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .15543E-07    51.787        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.4528        2.5968        .65285E-03   -1.5677    
  19  Normalizat    1.3500        .19330        .65366E-01   -.82087    
  20  Prefactor     .79120        .14522        .64490E-01   -1.0005    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.78128e-07
Minuit parameter uncertainties:
  1  3.31894e-06
  2  13.3912
  3  3.56007
  4  1.98596e-06
  5  1.03648e-07
  6  4.60976
  7  47.8681
  8  42.9863
  9  6.09463e-06
  10  0.02567
  11  3.51842e-05
  12  3.24512
  13  18.4116
  14  6.49579
  15  32.0104
  16  0.000117551
  17  0.00179506
  18  2.59676
  19  0.193407
  20  0.145286
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  3.025e+01  3.245e+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.912e-01  1.453e-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.350e+00  1.934e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 276.46
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 8.49e-07 +/- 9.11e-08
Energy Flux (Fixed Index): 2.86e-04 +/- 3.07e-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) = 8547.42555653
delta logL = 1.6001549481

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8547.0727614
delta logL = 1.95295007407

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    27.429       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5273       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2523       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84603       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=   8547.073     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      206 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          27.430        4.1350        .19097E-03   -.12511E-02
   2  alpha         2.5273        .15387        .82774E-01    .56680E-04
   3  Normalizat    1.2525        .19373        .67157E-01    .19586E-04
   4  Prefactor     .84596        .14916        .44313E-01    .34291E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 27.4296
  alpha      = 2.52725
  Normalizat = 1.25247
  Prefactor  = 0.845958
 **********
 **   18 **HESSE 
 **********

 FCN=   8547.073     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          27.430        3.3618        .47079E-05   -1.5603    
   2  alpha         2.5273        .12620        .36463E-03    .10902E-01
   3  Normalizat    1.2525        .22913        .29710E-03   -.84996    
   4  Prefactor     .84596        .17573        .27663E-03   -.98056    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.27269e-12
Minuit parameter uncertainties:
  1  3.3618
  2  0.126258
  3  0.229313
  4  0.175848
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/672357': 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) = 8547.07276107
delta logL = 1.95295039898

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  2.743e+01  3.362e+00  0.000e+00  1.000e+06 ( 1.000e-11)
270        alpha:  2.527e+00  1.263e-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:  8.460e-01  1.758e-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.252e+00  2.293e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 282.17
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.53 +/- 0.13
Photon Flux (Free Index): 9.55e-07 +/- 1.11e-07
Energy Flux (Free Index): 2.58e-04 +/- 2.91e-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/672357/cmap_HighResolution_699148801_699408001_4FGL_J0108.6+0134_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.49e-07', energy_flux2='2.58e-04', photon_flux_error='9.11e-08', dlogl='1.95e+00', energy_flux='2.86e-04', photon_flux2='9.55e-07', job_status='DONE', time_completed='2023-03-02 00:15:15.117885', photon_index_error2='0.13', photon_index2='2.53', ts='276.46', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='2.91e-05', EG='1.35', time_epoch_completed='1677744915.12', return_code='0', job_id='672357', GAL2='0.85', EG2='1.25', return_code2='0', energy_flux_error='3.07e-05', photon_flux_error2='1.11e-07', ts2='282.17', photon_index='2.28' WHERE bin_id='1774' AND source_name='4FGL J0108.6+0134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 00:15:15 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0015>
Subject: Job 672357: <4FGL_J0108.6+0134_daily_bin1774> in cluster <slac> Done

Job <4FGL_J0108.6+0134_daily_bin1774> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Mar  2 00:04:56 2023
Job was executed on host(s) <bullet0015>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 00:04:57 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 00:04:57 2023
Terminated at Thu Mar  2 00:15:16 2023
Results reported at Thu Mar  2 00:15:16 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_daily_bin1774 17.1695 1.5819 699148801 699408001 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 :                                   587.19 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             369.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   618 sec.
    Turnaround time :                            620 sec.

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

