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 180 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7485
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1702
RA = 352.329, Dec = -49.9324
tmin = 680486401, tmax = 680745601
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='259083', job_status='RUN', time_executed='2022-07-29 01:40:23.810099', time_epoch_executed='1659084023.81' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/259083

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/259083/ft1_4FGL_J2329.3-4955_daily_bin1702.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/259083/ft2_4FGL_J2329.3-4955_daily_bin1702.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/259083/ft1_4FGL_J2329.3-4955_daily_bin1702.fits outfile=/scratch/kocevski/259083/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1702.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=680486401.0 tmax=680745601.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.95
user 2.73
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/259083/ft2_4FGL_J2329.3-4955_daily_bin1702.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/259083/ft2_4FGL_J2329.3-4955_daily_bin1702.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/259083/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1702.fits evtable="EVENTS" outfile="/scratch/kocevski/259083/ft1_filtered_4FGL_J2329.3-4955_daily_bin1702.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.51
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 224

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/259083/ft1_filtered_4FGL_J2329.3-4955_daily_bin1702.fits" evtable="EVENTS" scfile=/scratch/kocevski/259083/ft2_4FGL_J2329.3-4955_daily_bin1702.fits sctable="SC_DATA" outfile=/scratch/kocevski/259083/ltcube_680486401_680745601_4FGL_J2329.3-4955_daily_bin1702.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/259083/ft2_4FGL_J2329.3-4955_daily_bin1702.fits
.....................!
real 14.95
user 14.46
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/259083/ft1_filtered_4FGL_J2329.3-4955_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/259083/ft2_4FGL_J2329.3-4955_daily_bin1702.fits sctable="SC_DATA" expcube=/scratch/kocevski/259083/ltcube_680486401_680745601_4FGL_J2329.3-4955_daily_bin1702.fits outfile=/scratch/kocevski/259083/expmap_680486401_680745601_4FGL_J2329.3-4955_daily_bin1702.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/259083/ltcube_680486401_680745601_4FGL_J2329.3-4955_daily_bin1702.fits
.....................!
real 191.99
user 185.95
sys 5.00

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

Setting source of interest to:
4FGL J2329.3-4955 @ 352.329 -49.9324

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/259083/ft1_filtered_4FGL_J2329.3-4955_daily_bin1702.fits scfile=/scratch/kocevski/259083/ft2_4FGL_J2329.3-4955_daily_bin1702.fits outfile=/scratch/kocevski/259083/cmap_680486401_680745601_4FGL_J2329.3-4955_daily_bin1702.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=352.329 yref=-49.9324 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/259083/ft1_filtered_4FGL_J2329.3-4955_daily_bin1702.fits scfile=/scratch/kocevski/259083/ft2_4FGL_J2329.3-4955_daily_bin1702.fits outfile=/scratch/kocevski/259083/cmap_HighResolution_680486401_680745601_4FGL_J2329.3-4955_daily_bin1702.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=352.329 yref=-49.9324 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/259083/ft1_filtered_4FGL_J2329.3-4955_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/259083/ft2_4FGL_J2329.3-4955_daily_bin1702.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/259083/Model_4FGL_J2329.3-4955_daily_bin1702.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/259083/ft1_filtered_4FGL_J2329.3-4955_daily_bin1702.fits.....................!
real 26.38
user 25.11
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/259083/ft1_filtered_4FGL_J2329.3-4955_daily_bin1702.fits', '/scratch/kocevski/259083/ft2_4FGL_J2329.3-4955_daily_bin1702.fits', expMap='/scratch/kocevski/259083/expmap_680486401_680745601_4FGL_J2329.3-4955_daily_bin1702.fits', expCube='/scratch/kocevski/259083/ltcube_680486401_680745601_4FGL_J2329.3-4955_daily_bin1702.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/259083/Model_4FGL_J2329.3-4955_daily_bin1702.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2329.3-4955'

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  7.291e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  2.177e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
478         beta:  1.055e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
479           Eb:  5.219e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/259083/ft1_filtered_4FGL_J2329.3-4955_daily_bin1702.fits
Spacecraft file(s): /scratch/kocevski/259083/ft2_4FGL_J2329.3-4955_daily_bin1702.fits
Exposure map: /scratch/kocevski/259083/expmap_680486401_680745601_4FGL_J2329.3-4955_daily_bin1702.fits
Exposure cube: /scratch/kocevski/259083/ltcube_680486401_680745601_4FGL_J2329.3-4955_daily_bin1702.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/259083/Model_4FGL_J2329.3-4955_daily_bin1702.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) = 2521.83394702

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    44.238       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11614E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.5575       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.2544       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    50.657       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    38.010       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .73181E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    5.0906       1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    22.975       1.0000         .10000E-03   10000.    
    22 'norm      '    .10070E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    1.6464       1.0000         .10000E-03   10000.    
    25 'norm      '    10.367       1.0000         .10000E-03   10000.    
    26 'Prefactor '    29.457       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    39.181       1.0000         .10000E-03   10000.    
    29 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    8.8462       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .63844       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .89525       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .68850       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2521.826     FROM MIGRAD    STATUS=CONVERGED    887 CALLS     5650 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     44.242        68.505        .40379E-06   -.20729E-05
   2  Prefactor     .10000E-03    23.041       -.37539E-07** at limit **
   3  Prefactor     .10000E-03    464.60       -.26820E-04** at limit **
   4  Prefactor     4.5578        8.9126       -.60314E-06   -.78076E-04
   5  Prefactor     6.2534        7.4131       -.29853E-06   -.13537E-03
   6  Prefactor     .10000E-03    13.274        .13239E-05** at limit **
   7  norm          50.667        44.247        .85749E-06   -.12256E-04
   8  norm          .10000E-03    64.602       -.44261E-07** at limit **
   9  Prefactor     .10000E-03    24.111        .51210E-06** at limit **
  10  Prefactor     .10000E-03    40.454        .48157E-06** at limit **
  11  Prefactor     .10000E-03    193.19        .28890E-05** at limit **
  12  Prefactor     38.062        61.562        .43257E-05    .39722E-05
  13  Prefactor     .10034E-03    6293.9       -.59544E-04** at limit **
  14  Prefactor     .10000E-03    11.306        .11092E-06** at limit **
  15  Prefactor     .10000E-03    64.675        .38542E-07** at limit **
  16  Prefactor     .10000E-03    12.579       -.16654E-06** at limit **
  17  norm          5.0917        31.027       -.38804E-06   -.69068E-05
  18  norm          .10000E-03    4.6943        .25100E-07** at limit **
  19  norm          .10000E-03    3.6516        .32724E-07** at limit **
  20  Prefactor     .10000E-03    5.9638        .23441E-07** at limit **
  21  Prefactor     22.974        74.222        .86795E-06    .28868E-06
  22  norm          .10000E-03    6.7208        .19248E-06** at limit **
  23  Prefactor     .10000E-03    16.298       -.50330E-07** at limit **
  24  norm          1.6464        1.5506        .56493E-07    .73041E-05
  25  norm          10.365        8.9568        .58185E-07   -.32859E-06
  26  Prefactor     29.459        26.713        .71152E-06   -.10574E-04
  27  Prefactor     .10000E-03    2.4888        .27093E-06** at limit **
  28  Prefactor     39.176        32.525       -.11655E-05   -.81199E-04
  29  norm          .10000E-03    11.259        .18110E-06** at limit **
  30  Prefactor     8.8424        9.2455       -.57188E-06   -.21686E-03
  31  Prefactor     .63453        8.1253        .68495E-06    .17696E-03
  32  Normalizat    .89532        .27272       -.26606E-05   -.12269E-03
  33  Prefactor     .68838        .26084       -.13069E-05   -.88328E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 44.2417
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 4.55782
  Prefactor  = 6.2534
  Prefactor  = 0.0001
  norm       = 50.6674
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 38.0621
  Prefactor  = 0.000100336
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.09172
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.9744
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.64638
  norm       = 10.3645
  Prefactor  = 29.4589
  Prefactor  = 0.0001
  Prefactor  = 39.1756
  norm       = 0.0001
  Prefactor  = 8.84242
  Prefactor  = 0.634534
  Normalizat = 0.89532
  Prefactor  = 0.688382
 **********
 **   18 **HESSE 
 **********

 FCN=   2521.826     FROM HESSE     STATUS=OK           693 CALLS     6343 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     44.242        68.555        .60277E-04   -1.4377    
   2  Prefactor     .10000E-03    23.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    451.43        .74238E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.5578        8.8913        .94283E-03   -1.5281    
   5  Prefactor     6.2534        7.3660        .14109E-03   -1.5208    
   6  Prefactor     .10000E-03    13.932        .35755E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          50.667        44.235        .56346E-04   -1.4283    
   8  norm          .10000E-03    64.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    24.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    40.640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    192.39        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     38.062        62.021        .65010E-04   -1.4473    
  13  Prefactor     .10034E-03    6246.1        .18627E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.326        .16494E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    64.674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.583        .17394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.0917        31.007        .89102E-03   -1.5257    
  18  norm          .10000E-03    4.6967        .10627E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.6524        .93707E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.9791        .11973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     22.974        74.256        .83566E-04   -1.4749    
  22  norm          .10000E-03    6.7513        .12635E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    16.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          1.6464        1.5391        .58041E-04   -1.5451    
  25  norm          10.365        8.9526        .11581E-03   -1.5064    
  26  Prefactor     29.459        26.773        .73819E-04   -1.4622    
  27  Prefactor     .10000E-03    2.5066        .77303E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     39.176        32.424        .64034E-04   -1.4455    
  29  norm          .10000E-03    11.262        .16459E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     8.8424        9.1937        .13476E-03   -1.5113    
  31  Prefactor     .63453        14.541        .24488E-02   -1.5549    
  32  Normalizat    .89532        .32926        .22624E-03   -.96625    
  33  Prefactor     .68838        .31371        .27100E-03   -1.0398    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.64254e-10
Minuit parameter uncertainties:
  1  68.6776
  2  6.82683e-05
  3  0.00270016
  4  8.89386
  5  7.3671
  6  3.17103e-05
  7  44.264
  8  3.61271e-05
  9  5.22483e-05
  10  0.000113186
  11  0.00193086
  12  62.1265
  13  0.0605889
  14  4.43145e-06
  15  3.28877e-05
  16  3.37138e-05
  17  25.1491
  18  2.1652e-06
  19  1.65998e-06
  20  2.02653e-05
  21  74.5568
  22  1.39188e-05
  23  7.74331e-05
  24  1.53912
  25  8.95371
  26  26.7838
  27  1.3501e-05
  28  32.439
  29  1.23273e-06
  30  9.19514
  31  6.07635
  32  0.329999
  33  0.314516
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.646e+00  1.539e+00  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  2.177e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
478         beta:  1.055e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
479           Eb:  5.219e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
580    Prefactor:  6.884e-01  3.145e-01  0.000e+00  1.000e+01 ( 1.000e+00)
581        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
582        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
579   Normalization:  8.953e-01  3.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.39
Ra Dec: 352.329 -49.932
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 4.46e-08 +/- 4.17e-08
Energy Flux (Fixed Index): 1.70e-05 +/- 1.59e-05

TS (Fixed Index): 2.39
Ra Dec: 352.329 -49.932
Photon Flux Upper Limit: 1.52e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.78e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/259083/likelihoodResults_680486401_680745601_4FGL_J2329.3-4955_daily_bin1702.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) = 2521.69865453
delta logL = 0.127203251496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2521.69574842
delta logL = 0.130109353609

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5706       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5816       1.0000          .0000       5.0000    
     3 'Normalizat'    .88181       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69586       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2521.696     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      197 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5706        53.578        .84803E-02    .92021E-04
   2  alpha         2.5819        3.1996        .32985        .88323E-05
   3  Normalizat    .88188        .12443        .44669E-01    .47097E-05
   4  Prefactor     .69581        .13894        .60939E-01    .82945E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.57056
  alpha      = 2.58195
  Normalizat = 0.881883
  Prefactor  = 0.695813
 **********
 **   18 **HESSE 
 **********

 FCN=   2521.696     FROM HESSE     STATUS=OK            33 CALLS      230 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5706        1.4721        .52714E-04   -1.5457    
   2  alpha         2.5819        .80003        .13714E-01    .32786E-01
   3  Normalizat    .88188        .28930        .22768E-03   -.97100    
   4  Prefactor     .69581        .30652        .26955E-03   -1.0369    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34389e-10
Minuit parameter uncertainties:
  1  1.47212
  2  0.814369
  3  0.289814
  4  0.307264
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/259083': 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) = 2521.69574822
delta logL = 0.130109555474

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.571e+00  1.472e+00  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  2.582e+00  8.144e-01  0.000e+00  5.000e+00 ( 1.000e+00)
478         beta:  1.055e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
479           Eb:  5.219e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
580    Prefactor:  6.958e-01  3.073e-01  0.000e+00  1.000e+01 ( 1.000e+00)
581        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
582        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
579   Normalization:  8.819e-01  2.898e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.64
Ra Dec: 352.329 -49.932
Photon Index (Free Index): 2.58 +/- 0.81
Photon Flux (Free Index): 6.11e-08 +/- 5.93e-08
Energy Flux (Free Index): 1.59e-05 +/- 1.40e-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/259083/cmap_HighResolution_680486401_680745601_4FGL_J2329.3-4955_daily_bin1702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.78e-05', comment='SUCCESS', photon_flux='4.46e-08', energy_flux2='1.59e-05', photon_flux_error='4.17e-08', dlogl='1.30e-01', energy_flux='1.70e-05', photon_flux2='6.11e-08', job_status='DONE', time_completed='2022-07-29 01:50:32.116923', photon_index_error2='0.81', photon_index2='2.58', ts='2.39', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', photon_flux_upper_limit='1.52e-07', energy_flux_error2='1.40e-05', EG='0.90', time_epoch_completed='1659084632.12', return_code='0', job_id='259083', GAL2='0.70', EG2='0.88', return_code2='0', energy_flux_error='1.59e-05', photon_flux_error2='5.93e-08', ts2='2.64', photon_index='2.18' WHERE bin_id='1702' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 29 01:50:32 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 259083: <4FGL_J2329.3-4955_daily_bin1702> in cluster <slac> Done

Job <4FGL_J2329.3-4955_daily_bin1702> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Jul 29 01:35:28 2022
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 29 01:37:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 29 01:37:15 2022
Terminated at Fri Jul 29 01:50:32 2022
Results reported at Fri Jul 29 01:50:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1702 352.329 -49.9324 680486401 680745601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2329.3-4955 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   609.43 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             263.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   797 sec.
    Turnaround time :                            904 sec.

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

