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


Performing analysis on: 4FGL_J0108.6+0134_weekly_bin762
RA = 17.1695, Dec = 1.5819
tmin = 699840001, tmax = 700444801
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='958625', job_status='RUN', time_executed='2023-03-14 00:42:10.100343', time_epoch_executed='1678779730.1' WHERE source_name='4FGL J0108.6+0134' and cadence='weekly' and bin_id='762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/958625

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/958625/ft1_4FGL_J0108.6+0134_weekly_bin762.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/958625/ft2_4FGL_J0108.6+0134_weekly_bin762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/958625/ft1_4FGL_J0108.6+0134_weekly_bin762.fits outfile=/scratch/kocevski/958625/ft1_filteredMKT_4FGL_J0108.6+0134_weekly_bin762.fits ra=17.1695 dec=1.5819 rad=12.0 tmin=699840001.0 tmax=700444801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 8.15
user 7.82
sys 0.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/958625/ft2_4FGL_J0108.6+0134_weekly_bin762.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/958625/ft1_filteredMKT_4FGL_J0108.6+0134_weekly_bin762.fits evtable="EVENTS" outfile="/scratch/kocevski/958625/ft1_filtered_4FGL_J0108.6+0134_weekly_bin762.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.55
user 0.37
sys 0.16

Number of photons that the gtmktime cut: 1285

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/958625/ft1_filtered_4FGL_J0108.6+0134_weekly_bin762.fits" evtable="EVENTS" scfile=/scratch/kocevski/958625/ft2_4FGL_J0108.6+0134_weekly_bin762.fits sctable="SC_DATA" outfile=/scratch/kocevski/958625/ltcube_699840001_700444801_4FGL_J0108.6+0134_weekly_bin762.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/958625/ft2_4FGL_J0108.6+0134_weekly_bin762.fits
.....................!
real 27.76
user 27.28
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/958625/ft1_filtered_4FGL_J0108.6+0134_weekly_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/958625/ft2_4FGL_J0108.6+0134_weekly_bin762.fits sctable="SC_DATA" expcube=/scratch/kocevski/958625/ltcube_699840001_700444801_4FGL_J0108.6+0134_weekly_bin762.fits outfile=/scratch/kocevski/958625/expmap_699840001_700444801_4FGL_J0108.6+0134_weekly_bin762.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/958625/ltcube_699840001_700444801_4FGL_J0108.6+0134_weekly_bin762.fits
.....................!
real 191.65
user 185.96
sys 5.30

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/958625/ft1_filtered_4FGL_J0108.6+0134_weekly_bin762.fits scfile=/scratch/kocevski/958625/ft2_4FGL_J0108.6+0134_weekly_bin762.fits outfile=/scratch/kocevski/958625/cmap_699840001_700444801_4FGL_J0108.6+0134_weekly_bin762.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/958625/ft1_filtered_4FGL_J0108.6+0134_weekly_bin762.fits scfile=/scratch/kocevski/958625/ft2_4FGL_J0108.6+0134_weekly_bin762.fits outfile=/scratch/kocevski/958625/cmap_HighResolution_699840001_700444801_4FGL_J0108.6+0134_weekly_bin762.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.60
user 0.43
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9790       1.0000          .0000       .10000E+07
     2 'norm      '    8.4073       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.5552       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.8550       1.0000          .0000       .10000E+07
     5 'norm      '    5.1825       1.0000          .0000       .10000E+07
     6 'norm      '    1.3206       1.0000          .0000       .10000E+07
     7 'Prefactor '    .18874E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89373E-08   1.0000          .0000       .10000E+07
     9 'norm      '    .41633E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    18.306       1.0000          .0000       .10000E+07
    11 'Prefactor '    62.795       1.0000          .0000       .10000E+07
    12 'norm      '    20.188       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.4532       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.8847       1.0000          .0000       .10000E+07
    15 'Prefactor '    34.629       1.0000          .0000       .10000E+07
    16 'Prefactor '    .24647E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .25975E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .23213       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0890       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96830       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=   14029.13     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1560 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9799        8.2483        .19762E-07    .35325E-03
   2  norm          8.4010        7.7222       -.33365E-06    .22921E-03
   3  Prefactor     4.5555        2.0173        .23438E-06   -.14869E-03
   4  Prefactor     1.8562        2.3898       -.20881E-06   -.97319E-04
   5  norm          5.1825        3.2105       -.19170E-06    .23712E-03
   6  norm          1.3209        3.4289       -.21472E-07   -.49429E-03
   7  Prefactor     .26645E-08    6.8390        .74081E-06** at limit **
   8  Prefactor     .29976E-08    6.8464       -.55672E-06** at limit **
   9  norm           .0000        2.4564       -.13968E-06** at limit **
  10  Prefactor     18.379        9.4688        .36590E-06    .73745E-01
  11  Prefactor     63.365        52.988        .83984E-06   -.13405E-01
  12  norm          20.182        2.1318        .71867E-07    .42179E-02
  13  Prefactor     4.4584        9.3626        .12452E-06   -.58150E-03
  14  Prefactor     3.8833        4.0616       -.15150E-06   -.69842E-04
  15  Prefactor     34.951        33.486       -.77805E-06    .24911E-01
  16  Prefactor      .0000        4.9787       -.25259E-07** at limit **
  17  Prefactor     .41633E-08    35.244       -.15524E-05** at limit **
  18  Prefactor     .23400        6.5680       -.14848E-05** at limit **
  19  Normalizat    1.0888        .16671       -.13471E-04    .97739E-04
  20  Prefactor     .96825        .13039        .13301E-04    .11252E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.97995
  norm       = 8.40101
  Prefactor  = 4.55552
  Prefactor  = 1.85616
  norm       = 5.18249
  norm       = 1.32086
  Prefactor  = 2.66454e-09
  Prefactor  = 2.9976e-09
  norm       = 0
  Prefactor  = 18.3789
  Prefactor  = 63.3649
  norm       = 20.1824
  Prefactor  = 4.45842
  Prefactor  = 3.88334
  Prefactor  = 34.951
  Prefactor  = 0
  Prefactor  = 4.16334e-09
  Prefactor  = 0.234001
  Normalizat = 1.08881
  Prefactor  = 0.968246
 **********
 **   18 **HESSE 
 **********

 FCN=   14029.13     FROM HESSE     STATUS=OK           345 CALLS     1905 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9799        8.2537        .50539E-03   -1.5668    
   2  norm          8.4010        7.7066        .34550E-03   -1.5650    
   3  Prefactor     4.5555        2.0171        .47142E-03   -1.5665    
   4  Prefactor     1.8562        2.4457        .76500E-03   -1.5681    
   5  norm          5.1825        3.2175        .44135E-03   -1.5662    
   6  norm          1.3209        3.5090        .95715E-03   -1.5685    
   7  Prefactor     .26645E-08    6.8568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .29976E-08    6.8629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        2.4612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.379        25.240        .23381E-03   -1.5622    
  11  Prefactor     63.365        53.808        .12620E-03   -1.5549    
  12  norm          20.182        2.1365        .22264E-03   -1.5618    
  13  Prefactor     4.4584        9.3913        .47693E-03   -1.5666    
  14  Prefactor     3.8833        4.0692        .51170E-03   -1.5669    
  15  Prefactor     34.951        35.431        .16996E-03   -1.5590    
  16  Prefactor      .0000        4.9606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .41633E-08    35.139        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .23400        1.2102        .69790E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0888        .14214        .66570E-01   -.90112    
  20  Prefactor     .96825        .11116        .45870E-01   -.93796    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.31924e-07
Minuit parameter uncertainties:
  1  8.25376
  2  7.70665
  3  2.01713
  4  2.44575
  5  3.21747
  6  3.509
  7  0.000269881
  8  0.000287877
  9  1.20405e-05
  10  25.24
  11  53.8082
  12  2.13654
  13  9.39129
  14  4.06916
  15  35.4308
  16  7.74594e-06
  17  0.000765009
  18  1.06432
  19  0.142186
  20  0.111182
Done.

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

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  2.018e+01  2.137e+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:  9.682e-01  1.112e-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.089e+00  1.422e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 299.31
Ra Dec: 17.169 1.582
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 5.67e-07 +/- 6.00e-08
Energy Flux (Fixed Index): 1.91e-04 +/- 2.02e-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) = 14028.8094126
delta logL = 0.321520376379

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14028.7855941
delta logL = 0.345338921425

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    20.653       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1927       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1174       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95206       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=   14028.79     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      199 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          20.653        2.3560        .22011E-03    .35973E-01
   2  alpha         2.1928        .11768        .10868        .31891E-04
   3  Normalizat    1.1173        .13958        .65897E-01    .24890E-04
   4  Prefactor     .95214        .11079        .45665E-01    .20442E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 20.6528
  alpha      = 2.19281
  Normalizat = 1.11735
  Prefactor  = 0.952135
 **********
 **   18 **HESSE 
 **********

 FCN=   14028.79     FROM HESSE     STATUS=OK            29 CALLS      228 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          20.653        2.1609        .52289E-05   -1.5617    
   2  alpha         2.1928        .10928        .47604E-03   -.12319    
   3  Normalizat    1.1173        .16480        .29152E-03   -.89197    
   4  Prefactor     .95214        .13038        .25195E-03   -.94342    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.90937e-10
Minuit parameter uncertainties:
  1  2.16089
  2  0.109311
  3  0.164881
  4  0.130423
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/958625': 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) = 14028.7855937
delta logL = 0.345339280973

Extracting fit parameters...

4FGL J0108.6+0134
   Spectrum: LogParabola
269         norm:  2.065e+01  2.161e+00  0.000e+00  1.000e+06 ( 1.000e-11)
270        alpha:  2.193e+00  1.093e-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:  9.521e-01  1.304e-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.117e+00  1.649e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 302.03
Ra Dec: 17.169 1.582
Photon Index (Free Index): 2.19 +/- 0.11
Photon Flux (Free Index): 5.39e-07 +/- 6.48e-08
Energy Flux (Free Index): 2.01e-04 +/- 2.42e-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/958625/cmap_HighResolution_699840001_700444801_4FGL_J0108.6+0134_weekly_bin762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.67e-07', energy_flux2='2.01e-04', photon_flux_error='6.00e-08', dlogl='3.45e-01', energy_flux='1.91e-04', photon_flux2='5.39e-07', job_status='DONE', time_completed='2023-03-14 00:55:59.702887', photon_index_error2='0.11', photon_index2='2.19', ts='299.31', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='2.42e-05', EG='1.09', time_epoch_completed='1678780559.7', return_code='0', job_id='958625', GAL2='0.95', EG2='1.12', return_code2='0', energy_flux_error='2.02e-05', photon_flux_error2='6.48e-08', ts2='302.03', photon_index='2.28' WHERE bin_id='762' AND source_name='4FGL J0108.6+0134' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Mar 14 00:55:59 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 958625: <4FGL_J0108.6+0134_weekly_bin762> in cluster <slac> Done

Job <4FGL_J0108.6+0134_weekly_bin762> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Mar 14 00:40:29 2023
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 00:40:30 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 00:40:30 2023
Terminated at Tue Mar 14 00:56:00 2023
Results reported at Tue Mar 14 00:56:00 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0108.6+0134_weekly_bin762 17.1695 1.5819 699840001 700444801 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 :                                   825.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             336.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   930 sec.
    Turnaround time :                            931 sec.

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

