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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1736
RA = 352.329, Dec = -49.9324
tmin = 689299201, tmax = 689558401
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='963486', job_status='RUN', time_executed='2022-11-08 00:44:20.796334', time_epoch_executed='1667897060.8' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/963486

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/963486/ft1_4FGL_J2329.3-4955_daily_bin1736.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/963486/ft2_4FGL_J2329.3-4955_daily_bin1736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/963486/ft1_4FGL_J2329.3-4955_daily_bin1736.fits outfile=/scratch/kocevski/963486/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1736.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=689299201.0 tmax=689558401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.59
user 3.36
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/963486/ft2_4FGL_J2329.3-4955_daily_bin1736.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/963486/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1736.fits evtable="EVENTS" outfile="/scratch/kocevski/963486/ft1_filtered_4FGL_J2329.3-4955_daily_bin1736.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.50
user 0.35
sys 0.14

Number of photons that the gtmktime cut: 592

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/963486/ft1_filtered_4FGL_J2329.3-4955_daily_bin1736.fits" evtable="EVENTS" scfile=/scratch/kocevski/963486/ft2_4FGL_J2329.3-4955_daily_bin1736.fits sctable="SC_DATA" outfile=/scratch/kocevski/963486/ltcube_689299201_689558401_4FGL_J2329.3-4955_daily_bin1736.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/963486/ft2_4FGL_J2329.3-4955_daily_bin1736.fits
.....................!
real 15.08
user 14.67
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/963486/ft1_filtered_4FGL_J2329.3-4955_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/963486/ft2_4FGL_J2329.3-4955_daily_bin1736.fits sctable="SC_DATA" expcube=/scratch/kocevski/963486/ltcube_689299201_689558401_4FGL_J2329.3-4955_daily_bin1736.fits outfile=/scratch/kocevski/963486/expmap_689299201_689558401_4FGL_J2329.3-4955_daily_bin1736.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/963486/ltcube_689299201_689558401_4FGL_J2329.3-4955_daily_bin1736.fits
.....................!
real 191.81
user 186.01
sys 5.47

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/963486/ft1_filtered_4FGL_J2329.3-4955_daily_bin1736.fits scfile=/scratch/kocevski/963486/ft2_4FGL_J2329.3-4955_daily_bin1736.fits outfile=/scratch/kocevski/963486/cmap_689299201_689558401_4FGL_J2329.3-4955_daily_bin1736.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/963486/ft1_filtered_4FGL_J2329.3-4955_daily_bin1736.fits scfile=/scratch/kocevski/963486/ft2_4FGL_J2329.3-4955_daily_bin1736.fits outfile=/scratch/kocevski/963486/cmap_HighResolution_689299201_689558401_4FGL_J2329.3-4955_daily_bin1736.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.57
user 0.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/963486/ft1_filtered_4FGL_J2329.3-4955_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/963486/ft2_4FGL_J2329.3-4955_daily_bin1736.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/963486/Model_4FGL_J2329.3-4955_daily_bin1736.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/963486/ft1_filtered_4FGL_J2329.3-4955_daily_bin1736.fits.....................!
real 46.53
user 45.13
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/963486/ft1_filtered_4FGL_J2329.3-4955_daily_bin1736.fits', '/scratch/kocevski/963486/ft2_4FGL_J2329.3-4955_daily_bin1736.fits', expMap='/scratch/kocevski/963486/expmap_689299201_689558401_4FGL_J2329.3-4955_daily_bin1736.fits', expCube='/scratch/kocevski/963486/ltcube_689299201_689558401_4FGL_J2329.3-4955_daily_bin1736.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/963486/Model_4FGL_J2329.3-4955_daily_bin1736.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  0.000e+00  1.000e+06 ( 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 -5.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/963486/ft1_filtered_4FGL_J2329.3-4955_daily_bin1736.fits
Spacecraft file(s): /scratch/kocevski/963486/ft2_4FGL_J2329.3-4955_daily_bin1736.fits
Exposure map: /scratch/kocevski/963486/expmap_689299201_689558401_4FGL_J2329.3-4955_daily_bin1736.fits
Exposure cube: /scratch/kocevski/963486/ltcube_689299201_689558401_4FGL_J2329.3-4955_daily_bin1736.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/963486/Model_4FGL_J2329.3-4955_daily_bin1736.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) = 6414.85940999

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    40.828       1.0000          .0000       .10000E+07
     2 'Prefactor '    35.664       1.0000          .0000       .10000E+07
     3 'Prefactor '    .90021E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .35903E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    15.102       1.0000          .0000       .10000E+07
     6 'Prefactor '    .17673E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .74072E-02   1.0000          .0000       .10000E+07
     8 'norm      '    2.6961       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20680E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .19990E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .16054E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.5070       1.0000          .0000       .10000E+07
    13 'Prefactor '    .86606E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    7.6991       1.0000          .0000       .10000E+07
    15 'norm      '    .19453E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .31908E-04   1.0000          .0000       .10000E+07
    17 'norm      '    4.5031       1.0000          .0000       .10000E+07
    18 'Prefactor '    7.7614       1.0000          .0000       .10000E+07
    19 'Prefactor '    12.112       1.0000          .0000       .10000E+07
    20 'norm      '    .71537E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    .12205E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .67962       1.0000          .0000       .10000E+07
    23 'norm      '    .49415E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    9.6699       1.0000          .0000       .10000E+07
    25 'Prefactor '    1.5818       1.0000          .0000       .10000E+07
    26 'Prefactor '    4.4153       1.0000          .0000       .10000E+07
    27 'norm      '    19.877       1.0000          .0000       .10000E+07
    28 'Prefactor '    .71297E-04   1.0000          .0000       .10000E+07
    29 'Prefactor '    .11793E-04   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.0673       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .56706       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6414.678     FROM MIGRAD    STATUS=CONVERGED    186 CALLS     2932 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     43.098        36.589        .13847E-06   -.29928E-01
   2  Prefactor     35.593        1.6668       -.84530E-08    .16003E-01
   3  Prefactor     .42732E-06    8.8326        .58073E-06** at limit **
   4  Prefactor     .12768E-08    3.7756       -.21962E-06** at limit **
   5  Prefactor     15.118        7.2830       -.19629E-08   -.25679E-02
   6  Prefactor     .12768E-08    2.6063       -.88740E-07** at limit **
   7  norm          .97994E-06    21.315       -.29329E-06** at limit **
   8  norm          2.7028        3.2876       -.27345E-06   -.49133E-03
   9  Prefactor     .55511E-10    1.4950       -.64917E-07** at limit **
  10  Prefactor     .12286E-05    14.818        .30927E-06** at limit **
  11  Prefactor     .20872E-07    4.3815        .75383E-07** at limit **
  12  Prefactor     1.5071        2.8666        .11780E-06    .24955E-03
  13  Prefactor     .32863E-07    9.2535       -.44602E-06** at limit **
  14  Prefactor     7.7119        2.3981       -.77845E-07   -.15422E-02
  15  norm          .33307E-09    2.4987       -.28501E-06** at limit **
  16  norm          .16653E-09    2.0659       -.20633E-06** at limit **
  17  norm          4.5014        3.2408        .61354E-07    .28432E-02
  18  Prefactor     7.7489        5.3149       -.38141E-06   -.15590E-02
  19  Prefactor     12.250        9.0670        .53589E-07   -.58367E-02
  20  norm          .14009E-04    11.516        .29666E-06** at limit **
  21  Prefactor     .24591E-07    4.4146        .45129E-06** at limit **
  22  norm          .68017        .63445       -.97043E-07   -.17490E-02
  23  norm          .11102E-09    1.8547       -.35545E-06** at limit **
  24  Prefactor     9.6432        2.2057       -.18274E-07   -.16185E-01
  25  Prefactor     1.5820        1.7286       -.74712E-09   -.13907E-03
  26  Prefactor     4.4989        4.7393        .20542E-06    .24179E-01
  27  norm          19.657        4.3001       -.12924E-06   -.11715E-01
  28  Prefactor     .12546E-07    3.3452       -.11978E-06** at limit **
  29  Prefactor     .55511E-10    1.3812       -.10076E-06** at limit **
  30  Normalizat    1.0668        .16867        .35833E-05   -.45048E-04
  31  Prefactor     .56715        .17833       -.43800E-05   -.38574E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 43.098
  Prefactor  = 35.5932
  Prefactor  = 4.27325e-07
  Prefactor  = 1.27676e-09
  Prefactor  = 15.1176
  Prefactor  = 1.27676e-09
  norm       = 9.79938e-07
  norm       = 2.70276
  Prefactor  = 5.55112e-11
  Prefactor  = 1.22863e-06
  Prefactor  = 2.08722e-08
  Prefactor  = 1.50712
  Prefactor  = 3.28626e-08
  Prefactor  = 7.71188
  norm       = 3.33067e-10
  norm       = 1.66533e-10
  norm       = 4.50142
  Prefactor  = 7.74889
  Prefactor  = 12.2503
  norm       = 1.40087e-05
  Prefactor  = 2.45914e-08
  norm       = 0.680174
  norm       = 1.11022e-10
  Prefactor  = 9.64323
  Prefactor  = 1.58199
  Prefactor  = 4.49888
  norm       = 19.6566
  Prefactor  = 1.25455e-08
  Prefactor  = 5.55112e-11
  Normalizat = 1.0668
  Prefactor  = 0.567146
 **********
 **   18 **HESSE 
 **********

 FCN=   6414.678     FROM HESSE     STATUS=OK           688 CALLS     3620 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     43.098        37.522        .15652E-03   -1.5577    
   2  Prefactor     35.593        21.688        .16747E-03   -1.5589    
   3  Prefactor     .42732E-06    10.906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .12768E-08    3.7705        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.118        7.2947        .25747E-03   -1.5630    
   6  Prefactor     .12768E-08    5.0440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .97994E-06    24.905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.7028        3.2908        .62019E-03   -1.5675    
   9  Prefactor     .55511E-10    1.4880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .12286E-05    17.409        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .20872E-07    5.2700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.5071        2.9058        .87129E-03   -1.5683    
  13  Prefactor     .32863E-07    10.269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.7119        10.509        .36116E-03   -1.5652    
  15  norm          .33307E-09    2.4984        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .16653E-09    2.0681        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.5014        3.3073        .47421E-03   -1.5666    
  18  Prefactor     7.7489        5.3716        .35970E-03   -1.5652    
  19  Prefactor     12.250        26.240        .28758E-03   -1.5638    
  20  norm          .14009E-04    3.7874        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .24591E-07    4.6483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .68017        .63763        .62378E-03   -1.5691    
  23  norm          .11102E-09    1.8468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9.6432        13.293        .32201E-03   -1.5646    
  25  Prefactor     1.5820        1.7798        .84405E-03   -1.5683    
  26  Prefactor     4.4989        14.140        .47903E-03   -1.5666    
  27  norm          19.657        15.637        .22437E-03   -1.5619    
  28  Prefactor     .12546E-07    5.1389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .55511E-10    1.3776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.0668        .14595        .39524E-01   -.90825    
  31  Prefactor     .56715        .15099        .62001E-01   -1.0899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.64444e-07
Minuit parameter uncertainties:
  1  37.5226
  2  21.6876
  3  0.00431761
  4  0.000139896
  5  7.29475
  6  0.000162199
  7  0.00988027
  8  3.29077
  9  1.98073e-05
  10  0.00924951
  11  0.0006636
  12  2.90582
  13  0.00116136
  14  10.5085
  15  5.66751e-05
  16  3.77258e-05
  17  3.30731
  18  5.37156
  19  26.2399
  20  0.0145681
  21  0.000676503
  22  0.63763
  23  2.55754e-05
  24  13.2934
  25  1.77979
  26  14.1404
  27  15.6366
  28  0.000507684
  29  1.7252e-05
  30  0.146004
  31  0.151097
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  6.802e-01  6.376e-01  0.000e+00  1.000e+06 ( 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 -5.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:  5.671e-01  1.511e-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:  1.067e+00  1.460e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.04
Ra Dec: 352.329 -49.932
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 1.84e-08 +/- 1.73e-08
Energy Flux (Fixed Index): 7.01e-06 +/- 6.57e-06

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) = 6414.64836402
delta logL = 0.0294114959415

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6414.64458038
delta logL = 0.0331951364415

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .62348       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9430       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0715       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .56455       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=   6414.645     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      200 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .62322        .65944        .67151E-03   -.12174E-02
   2  alpha         1.9424        .75523        .42523       -.22746E-04
   3  Normalizat    1.0715        .14103        .39301E-01    .33900E-05
   4  Prefactor     .56456        .15047        .62139E-01    .29627E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.623218
  alpha      = 1.94244
  Normalizat = 1.07146
  Prefactor  = 0.564565
 **********
 **   18 **HESSE 
 **********

 FCN=   6414.645     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .62322        .66386        .58239E-05   -1.5692    
   2  alpha         1.9424        .87950        .21950E-01   -.22491    
   3  Normalizat    1.0715        .16710        .19263E-03   -.90673    
   4  Prefactor     .56456        .17765        .27493E-03   -1.0910    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15245e-09
Minuit parameter uncertainties:
  1  0.663856
  2  0.89981
  3  0.167184
  4  0.177823
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/963486': 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) = 6414.64458016
delta logL = 0.0331953611267

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  6.232e-01  6.639e-01  0.000e+00  1.000e+06 ( 1.000e-11)
477        alpha:  1.942e+00  8.998e-01  0.000e+00  5.000e+00 ( 1.000e+00)
478         beta:  1.055e-01  0.000e+00 -5.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:  5.646e-01  1.778e-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:  1.071e+00  1.672e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.12
Ra Dec: 352.329 -49.932
Photon Index (Free Index): 1.94 +/- 0.90
Photon Flux (Free Index): 1.43e-08 +/- 2.01e-08
Energy Flux (Free Index): 7.48e-06 +/- 7.67e-06

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/963486/cmap_HighResolution_689299201_689558401_4FGL_J2329.3-4955_daily_bin1736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.84e-08', energy_flux2='7.48e-06', photon_flux_error='1.73e-08', dlogl='3.32e-02', energy_flux='7.01e-06', photon_flux2='1.43e-08', job_status='DONE', time_completed='2022-11-08 00:55:45.869746', photon_index_error2='0.90', photon_index2='1.94', ts='4.04', fit_tolerance='1e-08', GAL='0.57', photon_index_error='0.00', energy_flux_error2='7.67e-06', EG='1.07', time_epoch_completed='1667897745.87', return_code='0', job_id='963486', GAL2='0.56', EG2='1.07', return_code2='0', energy_flux_error='6.57e-06', photon_flux_error2='2.01e-08', ts2='4.12', photon_index='2.18' WHERE bin_id='1736' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov  8 00:55:45 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 963486: <4FGL_J2329.3-4955_daily_bin1736> in cluster <slac> Done

Job <4FGL_J2329.3-4955_daily_bin1736> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Nov  8 00:40:27 2022
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 00:40:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 00:40:29 2022
Terminated at Tue Nov  8 00:55:46 2022
Results reported at Tue Nov  8 00:55:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1736 352.329 -49.9324 689299201 689558401 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 :                                   687.54 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             272.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   917 sec.
    Turnaround time :                            919 sec.

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

