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


Performing analysis on: 4FGL_J2159.8-4751_daily_bin1746
RA = 329.962, Dec = -47.8518
tmin = 691891201, tmax = 692150401
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='740622', job_status='RUN', time_executed='2022-12-08 01:47:58.291092', time_epoch_executed='1670492878.29' WHERE source_name='4FGL J2159.8-4751' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/740622

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/740622/ft1_4FGL_J2159.8-4751_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/740622/ft2_4FGL_J2159.8-4751_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/740622/ft1_4FGL_J2159.8-4751_daily_bin1746.fits outfile=/scratch/kocevski/740622/ft1_filteredMKT_4FGL_J2159.8-4751_daily_bin1746.fits ra=329.962 dec=-47.8518 rad=12.0 tmin=691891201.0 tmax=692150401.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 4.77
user 4.49
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/740622/ft2_4FGL_J2159.8-4751_daily_bin1746.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/740622/ft2_4FGL_J2159.8-4751_daily_bin1746.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/740622/ft1_filteredMKT_4FGL_J2159.8-4751_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/740622/ft1_filtered_4FGL_J2159.8-4751_daily_bin1746.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.56
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 458

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/740622/ft1_filtered_4FGL_J2159.8-4751_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/740622/ft2_4FGL_J2159.8-4751_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/740622/ltcube_691891201_692150401_4FGL_J2159.8-4751_daily_bin1746.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/740622/ft2_4FGL_J2159.8-4751_daily_bin1746.fits
.....................!
real 11.73
user 11.36
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/740622/ft1_filtered_4FGL_J2159.8-4751_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/740622/ft2_4FGL_J2159.8-4751_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/740622/ltcube_691891201_692150401_4FGL_J2159.8-4751_daily_bin1746.fits outfile=/scratch/kocevski/740622/expmap_691891201_692150401_4FGL_J2159.8-4751_daily_bin1746.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/740622/ltcube_691891201_692150401_4FGL_J2159.8-4751_daily_bin1746.fits
.....................!
real 190.45
user 185.78
sys 4.34

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 177 point sources and 0 extended sources

Setting source of interest to:
4FGL J2159.8-4751 @ 329.962 -47.8518

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/740622/ft1_filtered_4FGL_J2159.8-4751_daily_bin1746.fits scfile=/scratch/kocevski/740622/ft2_4FGL_J2159.8-4751_daily_bin1746.fits outfile=/scratch/kocevski/740622/cmap_691891201_692150401_4FGL_J2159.8-4751_daily_bin1746.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=329.962 yref=-47.8518 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/740622/ft1_filtered_4FGL_J2159.8-4751_daily_bin1746.fits scfile=/scratch/kocevski/740622/ft2_4FGL_J2159.8-4751_daily_bin1746.fits outfile=/scratch/kocevski/740622/cmap_HighResolution_691891201_692150401_4FGL_J2159.8-4751_daily_bin1746.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=329.962 yref=-47.8518 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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/740622/ft1_filtered_4FGL_J2159.8-4751_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/740622/ft2_4FGL_J2159.8-4751_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/740622/Model_4FGL_J2159.8-4751_daily_bin1746.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/740622/ft1_filtered_4FGL_J2159.8-4751_daily_bin1746.fits.....................!
real 43.97
user 41.95
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/740622/ft1_filtered_4FGL_J2159.8-4751_daily_bin1746.fits', '/scratch/kocevski/740622/ft2_4FGL_J2159.8-4751_daily_bin1746.fits', expMap='/scratch/kocevski/740622/expmap_691891201_692150401_4FGL_J2159.8-4751_daily_bin1746.fits', expCube='/scratch/kocevski/740622/ltcube_691891201_692150401_4FGL_J2159.8-4751_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/740622/Model_4FGL_J2159.8-4751_daily_bin1746.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2159.8-4751'

4FGL J2159.8-4751
   Spectrum: PowerLaw
311    Prefactor:  6.682e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
312        Index:  2.524e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
313        Scale:  7.450e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/740622/ft1_filtered_4FGL_J2159.8-4751_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/740622/ft2_4FGL_J2159.8-4751_daily_bin1746.fits
Exposure map: /scratch/kocevski/740622/expmap_691891201_692150401_4FGL_J2159.8-4751_daily_bin1746.fits
Exposure cube: /scratch/kocevski/740622/ltcube_691891201_692150401_4FGL_J2159.8-4751_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/740622/Model_4FGL_J2159.8-4751_daily_bin1746.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) = 5152.23919116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22414E-01   1.0000          .0000       .10000E+07
     2 'norm      '    5.5033       1.0000          .0000       .10000E+07
     3 'Prefactor '    .63302E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    147.11       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.0097       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.7831       1.0000          .0000       .10000E+07
     7 'norm      '    28.412       1.0000          .0000       .10000E+07
     8 'Prefactor '    .24654E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    13.559       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.8792       1.0000          .0000       .10000E+07
    11 'Prefactor '    .49036E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    15.169       1.0000          .0000       .10000E+07
    13 'Prefactor '    22.375       1.0000          .0000       .10000E+07
    14 'norm      '    2.3991       1.0000          .0000       .10000E+07
    15 'Prefactor '    .92017E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    45.493       1.0000          .0000       .10000E+07
    17 'Prefactor '    .31555E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .57153E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    10.723       1.0000          .0000       .10000E+07
    20 'Prefactor '    .70574E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    32.515       1.0000          .0000       .10000E+07
    22 'Normalizat'    .66493       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1930       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5152.239     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1968 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59242E-02    165.62       -.36555E-04** at limit **
   2  norm          5.5050        2.8412       -.74545E-07    .67620E-02
   3  Prefactor     .58842E-08    31.276       -.95089E-06** at limit **
   4  Prefactor     146.79        43.308       -.45040E-05    .66236E-01
   5  Prefactor     7.9605        26.409        .15790E-04    .48142E-01
   6  Prefactor     3.7663        5.9217       -.45307E-06   -.89071E-03
   7  norm          28.422        9.7239        .77803E-06   -.10322E-01
   8  Prefactor     .11102E-09    12.688        .19057E-05** at limit **
   9  Prefactor     13.555        11.518        .14867E-05    .21035E-03
  10  Prefactor     5.0199        41.862        .46236E-05    .39790E-01
  11  Prefactor     .44409E-09    18.361       -.33271E-05** at limit **
  12  Prefactor     15.194        7.1093       -.41101E-06    .31829E-02
  13  Prefactor     22.467        27.242        .82921E-05   -.75690E-01
  14  norm          2.4022        5.9217       -.44993E-07    .29904E-02
  15  Prefactor     .27756E-09    2.8658        .75228E-07** at limit **
  16  Prefactor     45.353        12.080       -.61079E-06   -.59248E-01
  17  Prefactor     .27756E-09    4.4533       -.71857E-07** at limit **
  18  Prefactor     .55511E-10    11.261       -.14371E-05** at limit **
  19  Prefactor     10.701        1.2411        .21634E-06   -.34201E-02
  20  Prefactor     .27756E-09    2.1077        .60521E-06** at limit **
  21  Prefactor     32.392        13.032        .65084E-06   -.65669E-01
  22  Normalizat    .66512        .27436        .69661E-06   -.17483E-03
  23  Prefactor     1.1932        .20673       -.42226E-06   -.17250E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00592418
  norm       = 5.50498
  Prefactor  = 5.88418e-09
  Prefactor  = 146.79
  Prefactor  = 7.96048
  Prefactor  = 3.76628
  norm       = 28.4224
  Prefactor  = 1.11022e-10
  Prefactor  = 13.5552
  Prefactor  = 5.01986
  Prefactor  = 4.44089e-10
  Prefactor  = 15.1939
  Prefactor  = 22.4667
  norm       = 2.40219
  Prefactor  = 2.77556e-10
  Prefactor  = 45.3525
  Prefactor  = 2.77556e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 10.701
  Prefactor  = 2.77556e-10
  Prefactor  = 32.3921
  Normalizat = 0.665125
  Prefactor  = 1.19315
 **********
 **   18 **HESSE 
 **********

 FCN=   5152.239     FROM HESSE     STATUS=OK           430 CALLS     2398 TOTAL
                     EDM=   .52E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59242E-02    18.966        .16883E-01   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.5050        2.8565        .42806E-03   -1.5661    
   3  Prefactor     .58842E-08    6.0422        .10144E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     146.79        65.961        .82454E-04   -1.5466    
   5  Prefactor     7.9605        28.107        .35403E-03   -1.5652    
   6  Prefactor     3.7663        5.9863        .51876E-03   -1.5669    
   7  norm          28.422        10.100        .18764E-03   -1.5601    
   8  Prefactor     .11102E-09    12.671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.555        11.543        .27176E-03   -1.5634    
  10  Prefactor     5.0199        127.66        .45514E-03   -1.5663    
  11  Prefactor     .44409E-09    18.286        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.194        7.1419        .25690E-03   -1.5630    
  13  Prefactor     22.467        138.04        .21146E-03   -1.5613    
  14  norm          2.4022        5.9525        .66083E-03   -1.5677    
  15  Prefactor     .27756E-09    2.8541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     45.353        45.611        .14827E-03   -1.5573    
  17  Prefactor     .27756E-09    4.4308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55511E-10    11.260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.701        30.584        .30571E-03   -1.5643    
  20  Prefactor     .27756E-09    2.1086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     32.392        41.144        .17539E-03   -1.5594    
  22  Normalizat    .66512        .26358        .81259E-01   -1.0529    
  23  Prefactor     1.1932        .18449        .34799E-01   -.86542    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.21982e-06
Minuit parameter uncertainties:
  1  0.6704
  2  2.85647
  3  0.000377394
  4  65.9612
  5  28.1075
  6  5.98633
  7  10.1004
  8  7.26725e-05
  9  11.5435
  10  50.6314
  11  0.000176075
  12  7.14186
  13  111.382
  14  5.95248
  15  5.71256e-05
  16  45.6113
  17  6.99689e-05
  18  5.19884e-05
  19  30.5842
  20  4.86007e-05
  21  41.1445
  22  0.264081
  23  0.184594
Done.

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

Extracting fit parameters...

4FGL J2159.8-4751
   Spectrum: PowerLaw
311    Prefactor:  5.020e+00  5.063e+01  0.000e+00  1.000e+06 ( 1.000e-13)
312        Index:  2.524e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
313        Scale:  7.450e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  1.193e+00  1.846e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  6.651e-01  2.641e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 329.962 -47.852
Photon Flux Upper Limit: 1.33e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/740622/likelihoodResults_691891201_692150401_4FGL_J2159.8-4751_daily_bin1746.txt

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) = 5152.17657882
delta logL = 0.0624040778875

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5152.16567381
delta logL = 0.0733090915937

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.4705       1.0000          .0000       .10000E+07
     2 'Index     '    3.2779       1.0000          .0000       10.000    
     3 'Normalizat'    .64062       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2020       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5152.166     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      210 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.4706        985.20        .34420E-03    .13435E-02
   2  Index         3.2817        6.4752        .21539        .97439E-04
   3  Normalizat    .64090        .55346E-01    .82682E-01    .60359E-04
   4  Prefactor     1.2019        .42468E-01    .34584E-01   -.72918E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.47065
  Index      = 3.28171
  Normalizat = 0.640902
  Prefactor  = 1.20191
 **********
 **   18 **HESSE 
 **********

 FCN=   5152.166     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.4706        46.430        .13768E-04   -1.5650    
   2  Index         3.2817        2.3437        .12703E-01   -.35081    
   3  Normalizat    .64090        .27362        .36618E-03   -1.0627    
   4  Prefactor     1.2019        .20567        .21092E-03   -.86272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36078e-10
Minuit parameter uncertainties:
  1  39.6636
  2  2.45385
  3  0.274201
  4  0.205808
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/740622': 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) = 5152.16566741
delta logL = 0.0733154851514

Extracting fit parameters...

4FGL J2159.8-4751
   Spectrum: PowerLaw
311    Prefactor:  8.471e+00  3.966e+01  0.000e+00  1.000e+06 ( 1.000e-13)
312        Index:  3.282e+00  2.454e+00  0.000e+00  1.000e+01 (-1.000e+00)
313        Scale:  7.450e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  1.202e+00  2.058e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  6.409e-01  2.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 329.962 -47.852

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/740622/cmap_HighResolution_691891201_692150401_4FGL_J2159.8-4751_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', job_status='DONE', photon_flux_upper_limit='1.33e-07', time_completed='2022-12-08 01:57:19.414723', job_id='740622', GAL2='1.20', fit_tolerance='1e-08', EG2='0.64', EG='0.67', time_epoch_completed='1670493439.41', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='7.33e-02', ts2='0.18', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1746' AND source_name='4FGL J2159.8-4751' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:57:19 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0011>
Subject: Job 740622: <4FGL_J2159.8-4751_daily_bin1746> in cluster <slac> Done

Job <4FGL_J2159.8-4751_daily_bin1746> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Dec  8 01:45:24 2022
Job was executed on host(s) <bullet0011>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 01:45:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 01:45:25 2022
Terminated at Thu Dec  8 01:57:20 2022
Results reported at Thu Dec  8 01:57:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2159.8-4751_daily_bin1746 329.962 -47.8518 691891201 692150401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2159.8-4751 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   563.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             252.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   714 sec.
    Turnaround time :                            716 sec.

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

