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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1769
RA = 352.329, Dec = -49.9324
tmin = 697852801, tmax = 698112001
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='447688', job_status='RUN', time_executed='2023-02-15 01:42:10.654226', time_epoch_executed='1676454130.65' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/447688

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/447688/ft1_4FGL_J2329.3-4955_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/447688/ft2_4FGL_J2329.3-4955_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/447688/ft1_4FGL_J2329.3-4955_daily_bin1769.fits outfile=/scratch/kocevski/447688/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1769.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=697852801.0 tmax=698112001.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.40
user 4.17
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/447688/ft2_4FGL_J2329.3-4955_daily_bin1769.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/447688/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/447688/ft1_filtered_4FGL_J2329.3-4955_daily_bin1769.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.49
user 0.34
sys 0.13

Number of photons that the gtmktime cut: 532

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/447688/ft1_filtered_4FGL_J2329.3-4955_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/447688/ft2_4FGL_J2329.3-4955_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/447688/ltcube_697852801_698112001_4FGL_J2329.3-4955_daily_bin1769.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/447688/ft2_4FGL_J2329.3-4955_daily_bin1769.fits
.....................!
real 11.84
user 11.52
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/447688/ft1_filtered_4FGL_J2329.3-4955_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/447688/ft2_4FGL_J2329.3-4955_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/447688/ltcube_697852801_698112001_4FGL_J2329.3-4955_daily_bin1769.fits outfile=/scratch/kocevski/447688/expmap_697852801_698112001_4FGL_J2329.3-4955_daily_bin1769.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/447688/ltcube_697852801_698112001_4FGL_J2329.3-4955_daily_bin1769.fits
.....................!
real 190.11
user 185.47
sys 4.29

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/447688/ft1_filtered_4FGL_J2329.3-4955_daily_bin1769.fits scfile=/scratch/kocevski/447688/ft2_4FGL_J2329.3-4955_daily_bin1769.fits outfile=/scratch/kocevski/447688/cmap_697852801_698112001_4FGL_J2329.3-4955_daily_bin1769.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/447688/ft1_filtered_4FGL_J2329.3-4955_daily_bin1769.fits scfile=/scratch/kocevski/447688/ft2_4FGL_J2329.3-4955_daily_bin1769.fits outfile=/scratch/kocevski/447688/cmap_HighResolution_697852801_698112001_4FGL_J2329.3-4955_daily_bin1769.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/447688/ft1_filtered_4FGL_J2329.3-4955_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/447688/ft2_4FGL_J2329.3-4955_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/447688/Model_4FGL_J2329.3-4955_daily_bin1769.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/447688/ft1_filtered_4FGL_J2329.3-4955_daily_bin1769.fits.....................!
real 41.55
user 40.34
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/447688/ft1_filtered_4FGL_J2329.3-4955_daily_bin1769.fits', '/scratch/kocevski/447688/ft2_4FGL_J2329.3-4955_daily_bin1769.fits', expMap='/scratch/kocevski/447688/expmap_697852801_698112001_4FGL_J2329.3-4955_daily_bin1769.fits', expCube='/scratch/kocevski/447688/ltcube_697852801_698112001_4FGL_J2329.3-4955_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/447688/Model_4FGL_J2329.3-4955_daily_bin1769.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/447688/ft1_filtered_4FGL_J2329.3-4955_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/447688/ft2_4FGL_J2329.3-4955_daily_bin1769.fits
Exposure map: /scratch/kocevski/447688/expmap_697852801_698112001_4FGL_J2329.3-4955_daily_bin1769.fits
Exposure cube: /scratch/kocevski/447688/ltcube_697852801_698112001_4FGL_J2329.3-4955_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/447688/Model_4FGL_J2329.3-4955_daily_bin1769.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) = 5809.40007344

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.982       1.0000          .0000       .10000E+07
     2 'Prefactor '    23.041       1.0000          .0000       .10000E+07
     3 'Prefactor '    31.783       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.8142       1.0000          .0000       .10000E+07
     5 'Prefactor '    .71898E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10436E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .11102E-08   1.0000          .0000       .10000E+07
     8 'norm      '    4.1759       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11324E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .54179E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    26.144       1.0000          .0000       .10000E+07
    12 'Prefactor '    .34639E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .16764E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    4.3606       1.0000          .0000       .10000E+07
    15 'norm      '    5.0449       1.0000          .0000       .10000E+07
    16 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
    17 'norm      '    .11102E-08   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.0321       1.0000          .0000       .10000E+07
    19 'Prefactor '    15.236       1.0000          .0000       .10000E+07
    20 'norm      '    6.6720       1.0000          .0000       .10000E+07
    21 'Prefactor '    1.8780       1.0000          .0000       .10000E+07
    22 'norm      '    .83846       1.0000          .0000       .10000E+07
    23 'norm      '    2.6790       1.0000          .0000       .10000E+07
    24 'Prefactor '    17.706       1.0000          .0000       .10000E+07
    25 'Prefactor '    .26956E-06   1.0000          .0000       .10000E+07
    26 'Prefactor '    7.9160       1.0000          .0000       .10000E+07
    27 'norm      '    .61062E-09   1.0000          .0000       .10000E+07
    28 'Prefactor '    .51403E-07   1.0000          .0000       .10000E+07
    29 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
    30 'Normalizat'    .92917       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .76851       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=   5809.361     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     3492 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.989        1.6246       -.16418E-06    .23010E-01
   2  Prefactor     23.051        2.3025       -.20051E-06    .31121E-01
   3  Prefactor     31.742        6.1088        .56026E-06   -.16860    
   4  Prefactor     2.8145        3.2027        .21960E-07   -.23240E-03
   5  Prefactor     .83822E-07    2.5890        .51757E-06** at limit **
   6  Prefactor     .44409E-08    1.8925       -.59484E-06** at limit **
   7  norm          .15854E-06    13.004       -.14410E-06** at limit **
   8  norm          4.1756        4.5748       -.10886E-06   -.25729E-02
   9  Prefactor     .55511E-10    1.3012        .26530E-06** at limit **
  10  Prefactor     .49960E-09    1.5781       -.17378E-06** at limit **
  11  Prefactor     26.146        1.1674        .64573E-07   -.16366E-01
  12  Prefactor     .63893E-07    3.0292       -.12854E-05** at limit **
  13  Prefactor     .91316E-07    10.627        .86284E-06** at limit **
  14  Prefactor     4.3635        1.0187        .97076E-08   -.17809E-03
  15  norm          5.0445        1.0448       -.13493E-07    .35140E-03
  16  norm          .45519E-08    2.4372        .59076E-06** at limit **
  17  norm          .37748E-08    1.7065        .45740E-06** at limit **
  18  Prefactor     2.0320        4.3788       -.91811E-07    .66240E-03
  19  Prefactor     15.243        1.3868       -.11295E-06    .12644E-01
  20  norm          6.6718        3.6177        .63295E-08   -.74243E-03
  21  Prefactor     1.8801        1.6120       -.18485E-06    .10171E-02
  22  norm          .83857        .82569       -.72489E-07    .51954E-02
  23  norm          2.6791        2.7600        .13947E-06   -.21185E-02
  24  Prefactor     17.710        1.2523       -.74665E-07    .30024E-02
  25  Prefactor     .46074E-08    1.3784        .85999E-06** at limit **
  26  Prefactor     7.9291        4.7171        .59080E-06   -.24474E-01
  27  norm          .13267E-07    3.9765       -.44288E-06** at limit **
  28  Prefactor      .0000        1.3404       -.17731E-06** at limit **
  29  Prefactor      .0000        .95005       -.51800E-07** at limit **
  30  Normalizat    .92859        .17848       -.10158E-04    .13231E-03
  31  Prefactor     .76912        .19276        .10528E-04    .16904E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.989
  Prefactor  = 23.0508
  Prefactor  = 31.7423
  Prefactor  = 2.81447
  Prefactor  = 8.38218e-08
  Prefactor  = 4.44089e-09
  norm       = 1.5854e-07
  norm       = 4.17557
  Prefactor  = 5.55112e-11
  Prefactor  = 4.996e-10
  Prefactor  = 26.1465
  Prefactor  = 6.38933e-08
  Prefactor  = 9.13158e-08
  Prefactor  = 4.36349
  norm       = 5.04452
  norm       = 4.55191e-09
  norm       = 3.77476e-09
  Prefactor  = 2.03201
  Prefactor  = 15.2432
  norm       = 6.67177
  Prefactor  = 1.88012
  norm       = 0.838569
  norm       = 2.67907
  Prefactor  = 17.7104
  Prefactor  = 4.60743e-09
  Prefactor  = 7.92905
  norm       = 1.32672e-08
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 0.928592
  Prefactor  = 0.769116
 **********
 **   18 **HESSE 
 **********

 FCN=   5809.361     FROM HESSE     STATUS=OK           686 CALLS     4178 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.989        29.913        .25027E-03   -1.5628    
   2  Prefactor     23.051        16.843        .20838E-03   -1.5612    
   3  Prefactor     31.742        37.090        .17740E-03   -1.5595    
   4  Prefactor     2.8145        3.2076        .60607E-03   -1.5674    
   5  Prefactor     .83822E-07    3.6488        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .44409E-08    1.8968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .15854E-06    13.499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.1756        4.5773        .49296E-03   -1.5667    
   9  Prefactor     .55511E-10    4.8896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .49960E-09    1.5794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     26.146        24.082        .19561E-03   -1.5606    
  12  Prefactor     .63893E-07    3.2212        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .91316E-07    10.868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.3635        11.677        .48210E-03   -1.5666    
  15  norm          5.0445        6.6045        .44744E-03   -1.5663    
  16  norm          .45519E-08    2.4719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .37748E-08    1.7237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.0320        5.6264        .72536E-03   -1.5679    
  19  Prefactor     15.243        24.867        .25633E-03   -1.5630    
  20  norm          6.6718        3.8875        .38824E-03   -1.5656    
  21  Prefactor     1.8801        19.345        .75945E-03   -1.5681    
  22  norm          .83857        .86544        .50111E-03   -1.5690    
  23  norm          2.6791        2.7850        .62232E-03   -1.5675    
  24  Prefactor     17.710        11.905        .23775E-03   -1.5624    
  25  Prefactor     .46074E-08    4.8652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     7.9291        19.721        .35614E-03   -1.5652    
  27  norm          .13267E-07    4.8611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor      .0000        1.3415        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor      .0000        .95062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .92859        .15928        .45273E-01   -.95463    
  31  Prefactor     .76912        .16322        .43306E-01   -1.0088    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40569e-06
Minuit parameter uncertainties:
  1  29.9129
  2  16.8428
  3  37.0903
  4  3.2076
  5  0.00110596
  6  0.00018393
  7  0.00292574
  8  4.57726
  9  3.57399e-05
  10  5.6143e-05
  11  24.082
  12  0.000907363
  13  0.00199247
  14  11.6766
  15  6.60454
  16  0.000212178
  17  0.00016175
  18  5.62644
  19  24.8668
  20  3.88753
  21  12.0616
  22  0.865441
  23  2.78504
  24  11.9048
  25  0.000299016
  26  19.7215
  27  0.000507555
  28  9.54902e-06
  29  1.91314e-07
  30  0.159364
  31  0.16332
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  8.386e-01  8.654e-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:  7.691e-01  1.633e-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:  9.286e-01  1.594e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.26
Ra Dec: 352.329 -49.932
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 2.27e-08 +/- 2.34e-08
Energy Flux (Fixed Index): 8.64e-06 +/- 8.91e-06

TS (Fixed Index): 2.26
Ra Dec: 352.329 -49.932
Photon Flux Upper Limit: 7.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.94e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/447688/likelihoodResults_697852801_698112001_4FGL_J2329.3-4955_daily_bin1769.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): 102
logL (Free Index) = 5809.34756517
delta logL = 0.0129822915469

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5809.23388567
delta logL = 0.126661789603

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30979       1.0000          .0000       .10000E+07
     2 'alpha     '    1.2566       1.0000          .0000       5.0000    
     3 'Normalizat'    .95021       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75763       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=   5809.234     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      209 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .30960        .41772        .10079E-02   -.37582E-02
   2  alpha         1.2561        .59597        .47607       -.39396E-04
   3  Normalizat    .95020        .14888        .45540E-01    .21923E-04
   4  Prefactor     .75762        .16169        .43163E-01    .26635E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.309598
  alpha      = 1.25612
  Normalizat = 0.950204
  Prefactor  = 0.757617
 **********
 **   18 **HESSE 
 **********

 FCN=   5809.234     FROM HESSE     STATUS=OK            35 CALLS      244 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .30960        .61388        .48551E-04   -1.5697    
   2  alpha         1.2561        1.0421        .18022E-01   -.52077    
   3  Normalizat    .95020        .17667        .20847E-03   -.94718    
   4  Prefactor     .75762        .19183        .24980E-03   -1.0131    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.90456e-10
Minuit parameter uncertainties:
  1  0.613884
  2  1.08702
  3  0.176775
  4  0.191996
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/447688': 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) = 5809.23388555
delta logL = 0.126661913482

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  3.096e-01  6.139e-01  0.000e+00  1.000e+06 ( 1.000e-11)
477        alpha:  1.256e+00  1.087e+00  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:  7.576e-01  1.920e-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:  9.502e-01  1.768e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.51
Ra Dec: 352.329 -49.932
Photon Index (Free Index): 1.26 +/- 1.09
Photon Flux (Free Index): 5.96e-09 +/- 1.06e-08
Energy Flux (Free Index): 1.33e-05 +/- 2.36e-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/447688/cmap_HighResolution_697852801_698112001_4FGL_J2329.3-4955_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.94e-05', comment='SUCCESS', photon_flux='2.27e-08', energy_flux2='1.33e-05', photon_flux_error='2.34e-08', dlogl='1.27e-01', energy_flux='8.64e-06', photon_flux2='5.96e-09', job_status='DONE', time_completed='2023-02-15 01:54:40.152701', photon_index_error2='1.09', photon_index2='1.26', ts='2.26', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', photon_flux_upper_limit='7.73e-08', energy_flux_error2='2.36e-05', EG='0.93', time_epoch_completed='1676454880.15', return_code='0', job_id='447688', GAL2='0.76', EG2='0.95', return_code2='0', energy_flux_error='8.91e-06', photon_flux_error2='1.06e-08', ts2='2.51', photon_index='2.18' WHERE bin_id='1769' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:54:40 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 447688: <4FGL_J2329.3-4955_daily_bin1769> in cluster <slac> Done

Job <4FGL_J2329.3-4955_daily_bin1769> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Feb 15 01:40:33 2023
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 01:40:35 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 01:40:35 2023
Terminated at Wed Feb 15 01:54:40 2023
Results reported at Wed Feb 15 01:54:40 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1769 352.329 -49.9324 697852801 698112001 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 :                                   751.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             308.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   845 sec.
    Turnaround time :                            847 sec.

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

