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


Performing analysis on: 4FGL_J2329.3-4733_daily_bin1719
RA = 352.339, Dec = -47.5558
tmin = 684892801, tmax = 685152001
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='668344', job_status='RUN', time_executed='2022-09-18 01:23:18.679627', time_epoch_executed='1663489398.68' WHERE source_name='4FGL J2329.3-4733' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/668344

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/668344/ft1_4FGL_J2329.3-4733_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/668344/ft2_4FGL_J2329.3-4733_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/668344/ft1_4FGL_J2329.3-4733_daily_bin1719.fits outfile=/scratch/kocevski/668344/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1719.fits ra=352.339 dec=-47.5558 rad=12.0 tmin=684892801.0 tmax=685152001.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.14
user 2.94
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/668344/ft2_4FGL_J2329.3-4733_daily_bin1719.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/668344/ft2_4FGL_J2329.3-4733_daily_bin1719.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/668344/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1719.fits evtable="EVENTS" outfile="/scratch/kocevski/668344/ft1_filtered_4FGL_J2329.3-4733_daily_bin1719.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.33
sys 0.17

Number of photons that the gtmktime cut: 11

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/668344/ft1_filtered_4FGL_J2329.3-4733_daily_bin1719.fits" evtable="EVENTS" scfile=/scratch/kocevski/668344/ft2_4FGL_J2329.3-4733_daily_bin1719.fits sctable="SC_DATA" outfile=/scratch/kocevski/668344/ltcube_684892801_685152001_4FGL_J2329.3-4733_daily_bin1719.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/668344/ft2_4FGL_J2329.3-4733_daily_bin1719.fits
.....................!
real 14.83
user 14.40
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/668344/ft1_filtered_4FGL_J2329.3-4733_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/668344/ft2_4FGL_J2329.3-4733_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/668344/ltcube_684892801_685152001_4FGL_J2329.3-4733_daily_bin1719.fits outfile=/scratch/kocevski/668344/expmap_684892801_685152001_4FGL_J2329.3-4733_daily_bin1719.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/668344/ltcube_684892801_685152001_4FGL_J2329.3-4733_daily_bin1719.fits
.....................!
real 191.94
user 186.22
sys 4.63

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

Setting source of interest to:
4FGL J2329.3-4733 @ 352.339 -47.5558

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/668344/ft1_filtered_4FGL_J2329.3-4733_daily_bin1719.fits scfile=/scratch/kocevski/668344/ft2_4FGL_J2329.3-4733_daily_bin1719.fits outfile=/scratch/kocevski/668344/cmap_684892801_685152001_4FGL_J2329.3-4733_daily_bin1719.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.339 yref=-47.5558 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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/668344/ft1_filtered_4FGL_J2329.3-4733_daily_bin1719.fits scfile=/scratch/kocevski/668344/ft2_4FGL_J2329.3-4733_daily_bin1719.fits outfile=/scratch/kocevski/668344/cmap_HighResolution_684892801_685152001_4FGL_J2329.3-4733_daily_bin1719.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.339 yref=-47.5558 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.56
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/668344/ft1_filtered_4FGL_J2329.3-4733_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/668344/ft2_4FGL_J2329.3-4733_daily_bin1719.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/668344/Model_4FGL_J2329.3-4733_daily_bin1719.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/668344/ft1_filtered_4FGL_J2329.3-4733_daily_bin1719.fits...........!
real 14.56
user 13.23
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/668344/ft1_filtered_4FGL_J2329.3-4733_daily_bin1719.fits', '/scratch/kocevski/668344/ft2_4FGL_J2329.3-4733_daily_bin1719.fits', expMap='/scratch/kocevski/668344/expmap_684892801_685152001_4FGL_J2329.3-4733_daily_bin1719.fits', expCube='/scratch/kocevski/668344/ltcube_684892801_685152001_4FGL_J2329.3-4733_daily_bin1719.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/668344/Model_4FGL_J2329.3-4733_daily_bin1719.xml', optimizer='MINUIT')

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

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  3.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
461        Index:  2.507e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
462        Scale:  1.077e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/668344/ft1_filtered_4FGL_J2329.3-4733_daily_bin1719.fits
Spacecraft file(s): /scratch/kocevski/668344/ft2_4FGL_J2329.3-4733_daily_bin1719.fits
Exposure map: /scratch/kocevski/668344/expmap_684892801_685152001_4FGL_J2329.3-4733_daily_bin1719.fits
Exposure cube: /scratch/kocevski/668344/ltcube_684892801_685152001_4FGL_J2329.3-4733_daily_bin1719.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/668344/Model_4FGL_J2329.3-4733_daily_bin1719.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) = 125.332775968

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24733       1.0000          .0000       .10000E+07
     2 'Prefactor '    .86057E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .77547E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .16102E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    51.236       1.0000          .0000       .10000E+07
     6 'Prefactor '    .14367E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .50533E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .12269E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.8593       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24756       1.0000          .0000       .10000E+07
    11 'Prefactor '    42.224       1.0000          .0000       .10000E+07
    12 'Prefactor '    105.28       1.0000          .0000       .10000E+07
    13 'Prefactor '    .27756E-09   1.0000          .0000       .10000E+07
    14 'Prefactor '    .23769       1.0000          .0000       .10000E+07
    15 'Prefactor '    .24946       1.0000          .0000       .10000E+07
    16 'norm      '    .10019       1.0000          .0000       .10000E+07
    17 'norm      '    .39951E-01   1.0000          .0000       .10000E+07
    18 'norm      '    .10816E-01   1.0000          .0000       .10000E+07
    19 'norm      '    4.2118       1.0000          .0000       .10000E+07
    20 'Prefactor '    .76527E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    5.6644       1.0000          .0000       .10000E+07
    22 'norm      '    .46008       1.0000          .0000       .10000E+07
    23 'Prefactor '    3.9383       1.0000          .0000       .10000E+07
    24 'norm      '    .71326E-01   1.0000          .0000       .10000E+07
    25 'norm      '    4.2308       1.0000          .0000       .10000E+07
    26 'Prefactor '    4.2882       1.0000          .0000       .10000E+07
    27 'Prefactor '    6055.8       1.0000          .0000       .10000E+07
    28 'Prefactor '    12.095       1.0000          .0000       .10000E+07
    29 'norm      '    1.2611       1.0000          .0000       .10000E+07
    30 'Prefactor '    2.8255       1.0000          .0000       .10000E+07
    31 'Prefactor '    .17297E-03   1.0000          .0000       .10000E+07
    32 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    33 'Prefactor '    .75616E-07   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   113.6624     FROM MIGRAD    STATUS=CONVERGED    675 CALLS     4551 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88629E-06    93952.        .31886E-05** at limit **
   2  Prefactor     .27200E-08    1501.6        .47017E-06** at limit **
   3  Prefactor     .11102E-09    617.49       -.45307E-06** at limit **
   4  Prefactor      .0000        31.325        .12338E-08** at limit **
   5  Prefactor     61.717        72.569       -.15520E-05   -.86016E-03
   6  Prefactor      .0000        50.145       -.13144E-07** at limit **
   7  Prefactor      .0000        58.628        .25915E-07** at limit **
   8  norm           .0000        13.880       -.31387E-08** at limit **
   9  Prefactor     11.720        15.452       -.14737E-07    .66143E-03
  10  Prefactor      .0000        173.85       -.12331E-07** at limit **
  11  Prefactor     33.000        32.500        .94839E-06   -.18470E-02
  12  Prefactor      .0000        147.21       -.21012E-06** at limit **
  13  Prefactor      .0000        57.746       -.73968E-07** at limit **
  14  Prefactor      .0000        147.89        .13842E-08** at limit **
  15  Prefactor     .77716E-09    276.18        .13522E-06** at limit **
  16  norm           .0000        731.89       -.76754E-08** at limit **
  17  norm           .0000        375.31       -.70412E-09** at limit **
  18  norm          .16376E-07    3586.1        .59010E-06** at limit **
  19  norm          .13156E-07    31435.        .77369E-05** at limit **
  20  Prefactor     .13878E-08    563.64       -.15592E-06** at limit **
  21  Prefactor     .49072E-05    43993.        .18733E-04** at limit **
  22  norm          .21377E-06    8096.7        .14034E-04** at limit **
  23  Prefactor     .17013E-05    6846.6        .15496E-04** at limit **
  24  norm          .49960E-09    127.12        .34843E-06** at limit **
  25  norm          .10000E+07    95865.        .78022E-04** at limit **
  26  Prefactor     .25535E-08    799.82       -.53621E-06** at limit **
  27  Prefactor     .11924E-06    1670.0        .33666E-05** at limit **
  28  Prefactor     19184.        51086.        .66288E-04   -.25614E-04
  29  norm          .55511E-10    1215.7        .17046E-05** at limit **
  30  Prefactor     .22204E-09    240.61        .18486E-06** at limit **
  31  Prefactor     .36871E-06    2917.5       -.36695E-05** at limit **
  32  Normalizat    .10000E-01    .89558E-01    .10882E-04** at limit **
  33  Prefactor     .72164E-14    .10180       -.27131E-06** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.86291e-07
  Prefactor  = 2.72005e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 61.7173
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 11.7198
  Prefactor  = 0
  Prefactor  = 33.0005
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 7.77156e-10
  norm       = 0
  norm       = 0
  norm       = 1.63758e-08
  norm       = 1.31561e-08
  Prefactor  = 1.38778e-09
  Prefactor  = 4.90719e-06
  norm       = 2.13773e-07
  Prefactor  = 1.70131e-06
  norm       = 4.996e-10
  norm       = 1e+06
  Prefactor  = 2.55351e-09
  Prefactor  = 1.19238e-07
  Prefactor  = 19184.4
  norm       = 5.55112e-11
  Prefactor  = 2.22045e-10
  Prefactor  = 3.68705e-07
  Normalizat = 0.01
  Prefactor  = 7.21645e-15
 **********
 **   18 **HESSE 
 **********

 FCN=   113.6624     FROM HESSE     STATUS=OK           733 CALLS     5284 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .88629E-06    94317.        .10988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .27200E-08    1453.6        .14320E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-09    617.00        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        31.062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     61.717        71.769        .13972E-03   -1.5865    
   6  Prefactor      .0000        50.044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        58.426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        14.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.720        16.045        .31889E-03   -1.5639    
  10  Prefactor      .0000        174.37        .10984E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     33.000        32.973        .15391E-03   -1.5593    
  12  Prefactor      .0000        200.92        .97468E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        57.903        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        144.86        .11140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .77716E-09    292.57        .10954E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        726.35        .13924E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        370.40        .15966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .16376E-07    3659.2        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .13156E-07    32331.        .49079E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .13878E-08    603.71        .14609E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .49072E-05    43750.        .42183E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .21377E-06    10285.        .82832E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .17013E-05    9047.9        .50808E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .49960E-09    140.23        .14775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E+07    94487.        .48965E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .25535E-08    846.62        .48627E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .11924E-06    1780.5        .12889E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     19184.        52645.        .28779E-03   -1.8487    
  29  norm          .55511E-10    1200.0        .99272E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .22204E-09    249.77        .60478E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .36871E-06    2987.3        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .10000E-01    .91411E-01    .32094E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .72164E-14    .99852E-01    .47257E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.58414e-10
Minuit parameter uncertainties:
  1  0.58774
  2  0.00398428
  3  0.000553473
  4  9.61076e-08
  5  71.7701
  6  4.05865e-05
  7  6.25665e-05
  8  2.32671e-06
  9  16.0447
  10  8.7892e-05
  11  32.9736
  12  9.29404e-05
  13  5.00847e-05
  14  7.08156e-05
  15  0.000947641
  16  0.000180404
  17  1.38212e-05
  18  0.0154931
  19  0.0414777
  20  0.00184415
  21  0.933588
  22  0.0939442
  23  0.248517
  24  0.000529502
  25  0.559787
  26  0.00294685
  27  0.0291501
  28  54031.6
  29  0.000388859
  30  0.000497318
  31  0.0664095
  32  1.6806e-06
  33  5.35643e-08
Done.

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

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.701e-06  2.485e-01  0.000e+00  1.000e+06 ( 1.000e-13)
461        Index:  2.507e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
462        Scale:  1.077e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  7.216e-15  5.356e-08  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  1.000e-02  1.681e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 352.339 -47.556
Photon Flux Upper Limit: 6.95e-05 ph cm-2 s-1
Energy Flux Upper Limit: 5.41e+00 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/668344/likelihoodResults_684892801_685152001_4FGL_J2329.3-4733_daily_bin1719.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) = 113.662435476
delta logL = -5.27376299146e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 113.66238286
delta logL = -1.22123765323e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53930E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.4621       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .13567E-07   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   113.6624     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      221 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9127.6        .42118E-03** at limit **
   2  Index         2.5152        1.0175         .0000         .0000    
   3  Normalizat    .10000E-01    .25505         .0000    ** at limit **
   4  Prefactor     .55511E-15    .25504         .0000    ** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.51517
  Normalizat = 0.01
  Prefactor  = 5.55112e-16
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   113.6624     FROM HESSE     STATUS=FAILED         9 CALLS      230 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9127.6        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .71325        1.8712         .0000       -.52010    
   3  Normalizat    .10000E-01    .25505         .0000       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-15    .25504         .0000       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.08034e-10
Minuit parameter uncertainties:
  1  0.000954439
  2  1.02705
  3  1.87004e-06
  4  2.42409e-08
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/668344': 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): 101
logL (Free Index) = 113.662382738
delta logL = 9.37632194109e-11

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  0.000e+00  9.544e-04  0.000e+00  1.000e+06 ( 1.000e-13)
461        Index:  2.515e+00  1.027e+00  0.000e+00  1.000e+01 (-1.000e+00)
462        Scale:  1.077e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  5.551e-16  2.424e-08  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  1.000e-02  1.870e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 352.339 -47.556

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/668344/cmap_HighResolution_684892801_685152001_4FGL_J2329.3-4733_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.41e+00', job_status='DONE', photon_flux_upper_limit='6.95e-05', time_completed='2022-09-18 01:29:02.377598', job_id='668344', GAL2='0.00', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1663489742.38', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.00', dlogl='9.38e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1719' AND source_name='4FGL J2329.3-4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 01:29:02 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0195>
Subject: Job 668344: <4FGL_J2329.3-4733_daily_bin1719> in cluster <slac> Done

Job <4FGL_J2329.3-4733_daily_bin1719> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 18 01:20:27 2022
Job was executed on host(s) <bullet0195>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 01:21:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 01:21:23 2022
Terminated at Sun Sep 18 01:29:03 2022
Results reported at Sun Sep 18 01:29:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4733_daily_bin1719 352.339 -47.5558 684892801 685152001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2329.3-4733 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   345.22 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             274.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   459 sec.
    Turnaround time :                            516 sec.

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

