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


Performing analysis on: 4FGL_J2329.3-4733_daily_bin1744
RA = 352.339, Dec = -47.5558
tmin = 691372801, tmax = 691632001
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='598994', job_status='RUN', time_executed='2022-12-02 02:05:50.474103', time_epoch_executed='1669975550.47' WHERE source_name='4FGL J2329.3-4733' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/598994

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/598994/ft1_4FGL_J2329.3-4733_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/598994/ft2_4FGL_J2329.3-4733_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/598994/ft1_4FGL_J2329.3-4733_daily_bin1744.fits outfile=/scratch/kocevski/598994/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1744.fits ra=352.339 dec=-47.5558 rad=12.0 tmin=691372801.0 tmax=691632001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.51
user 2.31
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/598994/ft1_filtered_4FGL_J2329.3-4733_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/598994/ft2_4FGL_J2329.3-4733_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/598994/ltcube_691372801_691632001_4FGL_J2329.3-4733_daily_bin1744.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/598994/ft2_4FGL_J2329.3-4733_daily_bin1744.fits
.....................!
real 13.01
user 12.65
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/598994/ft1_filtered_4FGL_J2329.3-4733_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/598994/ft2_4FGL_J2329.3-4733_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/598994/ltcube_691372801_691632001_4FGL_J2329.3-4733_daily_bin1744.fits outfile=/scratch/kocevski/598994/expmap_691372801_691632001_4FGL_J2329.3-4733_daily_bin1744.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/598994/ltcube_691372801_691632001_4FGL_J2329.3-4733_daily_bin1744.fits
.....................!
real 190.04
user 185.05
sys 4.64

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/598994/ft1_filtered_4FGL_J2329.3-4733_daily_bin1744.fits scfile=/scratch/kocevski/598994/ft2_4FGL_J2329.3-4733_daily_bin1744.fits outfile=/scratch/kocevski/598994/cmap_691372801_691632001_4FGL_J2329.3-4733_daily_bin1744.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/598994/ft1_filtered_4FGL_J2329.3-4733_daily_bin1744.fits scfile=/scratch/kocevski/598994/ft2_4FGL_J2329.3-4733_daily_bin1744.fits outfile=/scratch/kocevski/598994/cmap_HighResolution_691372801_691632001_4FGL_J2329.3-4733_daily_bin1744.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.55
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/598994/ft1_filtered_4FGL_J2329.3-4733_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/598994/ft2_4FGL_J2329.3-4733_daily_bin1744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/598994/Model_4FGL_J2329.3-4733_daily_bin1744.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/598994/ft1_filtered_4FGL_J2329.3-4733_daily_bin1744.fits.....................!
real 47.16
user 45.83
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/598994/ft1_filtered_4FGL_J2329.3-4733_daily_bin1744.fits', '/scratch/kocevski/598994/ft2_4FGL_J2329.3-4733_daily_bin1744.fits', expMap='/scratch/kocevski/598994/expmap_691372801_691632001_4FGL_J2329.3-4733_daily_bin1744.fits', expCube='/scratch/kocevski/598994/ltcube_691372801_691632001_4FGL_J2329.3-4733_daily_bin1744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/598994/Model_4FGL_J2329.3-4733_daily_bin1744.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/598994/ft1_filtered_4FGL_J2329.3-4733_daily_bin1744.fits
Spacecraft file(s): /scratch/kocevski/598994/ft2_4FGL_J2329.3-4733_daily_bin1744.fits
Exposure map: /scratch/kocevski/598994/expmap_691372801_691632001_4FGL_J2329.3-4733_daily_bin1744.fits
Exposure cube: /scratch/kocevski/598994/ltcube_691372801_691632001_4FGL_J2329.3-4733_daily_bin1744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/598994/Model_4FGL_J2329.3-4733_daily_bin1744.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) = 6597.93859209

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    54.173       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.5133       1.0000          .0000       .10000E+07
     3 'Prefactor '    33.714       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.3748       1.0000          .0000       .10000E+07
     5 'Prefactor '    14.081       1.0000          .0000       .10000E+07
     6 'Prefactor '    .22204E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    .10376E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .27674E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .79831E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .10073E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .29214E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    15.542       1.0000          .0000       .10000E+07
    13 'Prefactor '    .91668E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.5935       1.0000          .0000       .10000E+07
    15 'Prefactor '    .13706E-06   1.0000          .0000       .10000E+07
    16 'norm      '    .22935E-05   1.0000          .0000       .10000E+07
    17 'norm      '    3.0823       1.0000          .0000       .10000E+07
    18 'norm      '    .68726E-05   1.0000          .0000       .10000E+07
    19 'norm      '    1.7663       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.8589       1.0000          .0000       .10000E+07
    21 'Prefactor '    13.670       1.0000          .0000       .10000E+07
    22 'norm      '    10.375       1.0000          .0000       .10000E+07
    23 'Prefactor '    .45266E-04   1.0000          .0000       .10000E+07
    24 'norm      '    .89599       1.0000          .0000       .10000E+07
    25 'norm      '    .75823E-06   1.0000          .0000       .10000E+07
    26 'Prefactor '    .20026       1.0000          .0000       .10000E+07
    27 'Prefactor '    .99646       1.0000          .0000       .10000E+07
    28 'Prefactor '    8.6144       1.0000          .0000       .10000E+07
    29 'norm      '    .46575E-03   1.0000          .0000       .10000E+07
    30 'Prefactor '    .61410E-04   1.0000          .0000       .10000E+07
    31 'Prefactor '    7.7489       1.0000          .0000       .10000E+07
    32 'Normalizat'    1.1139       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .93914       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=   6597.916     FROM MIGRAD    STATUS=CONVERGED    217 CALLS     3297 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.796        71.930        .63209E-06    .77310E-02
   2  Prefactor     4.5324        3.3018        .13520E-07   -.18653E-01
   3  Prefactor     33.090        25.328        .20000E-06   -.69387E-01
   4  Prefactor     6.3694        2.3901       -.17778E-07    .10724    
   5  Prefactor     14.087        8.7297        .18800E-07   -.18328E-01
   6  Prefactor     .33307E-09    3.8271       -.30061E-07** at limit **
   7  Prefactor     .55511E-10    9.9797       -.19533E-07** at limit **
   8  norm          .34972E-08    4.2575       -.19674E-07** at limit **
   9  Prefactor     .66613E-09    3.0185        .34471E-07** at limit **
  10  Prefactor     .16098E-08    24.160       -.29290E-06** at limit **
  11  Prefactor     .82157E-08    15.261        .31501E-06** at limit **
  12  Prefactor     15.282        2.1306        .35190E-07   -.62285E-02
  13  Prefactor     .16653E-09    2.2176        .42993E-07** at limit **
  14  Prefactor     5.3106        8.2801        .18682E-06   -.25426E-02
  15  Prefactor      .0000        6.8316       -.12589E-07** at limit **
  16  norm          .27756E-09    2.6172       -.16110E-07** at limit **
  17  norm          3.0832        3.1370       -.41965E-08   -.43633E-03
  18  norm          .11102E-09    2.2402        .28957E-07** at limit **
  19  norm          1.7635        8.5305        .30280E-07    .30762E-02
  20  Prefactor     8.8121        4.8549       -.16332E-07   -.14393E-02
  21  Prefactor     12.922        21.519        .24610E-06    .12792E-01
  22  norm          10.438        5.0841        .42046E-07    .91111E-02
  23  Prefactor     .13323E-08    2.8246        .56532E-07** at limit **
  24  norm          .89616        .83084       -.16773E-07   -.66248E-02
  25  norm          .11350E-05    30.570        .62550E-09** at limit **
  26  Prefactor     .49592E-04    134.04        .72977E-06** at limit **
  27  Prefactor     1.0004        3.0504       -.16596E-07   -.10883E-04
  28  Prefactor     8.4840        2.3860       -.40043E-08    .13601E-01
  29  norm          .55511E-10    9.0315        .22575E-07** at limit **
  30  Prefactor     .27756E-09    4.2146       -.99515E-07** at limit **
  31  Prefactor     7.7229        4.9504        .54578E-07    .63390E-02
  32  Normalizat    1.1170        .21804       -.21370E-05   -.12350E-03
  33  Prefactor     .93811        .22726        .60359E-06   -.86769E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.7958
  Prefactor  = 4.53244
  Prefactor  = 33.0895
  Prefactor  = 6.36941
  Prefactor  = 14.0875
  Prefactor  = 3.33067e-10
  Prefactor  = 5.55112e-11
  norm       = 3.4972e-09
  Prefactor  = 6.66134e-10
  Prefactor  = 1.60982e-09
  Prefactor  = 8.21565e-09
  Prefactor  = 15.2816
  Prefactor  = 1.66533e-10
  Prefactor  = 5.31062
  Prefactor  = 0
  norm       = 2.77556e-10
  norm       = 3.0832
  norm       = 1.11022e-10
  norm       = 1.7635
  Prefactor  = 8.81211
  Prefactor  = 12.9222
  norm       = 10.4375
  Prefactor  = 1.33227e-09
  norm       = 0.896163
  norm       = 1.13504e-06
  Prefactor  = 4.95921e-05
  Prefactor  = 1.00041
  Prefactor  = 8.48398
  norm       = 5.55112e-11
  Prefactor  = 2.77556e-10
  Prefactor  = 7.72287
  Normalizat = 1.11696
  Prefactor  = 0.938109
 **********
 **   18 **HESSE 
 **********

 FCN=   6597.916     FROM HESSE     STATUS=OK           771 CALLS     4068 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.796        72.192        .13587E-03   -1.5564    
   2  Prefactor     4.5324        16.827        .47366E-03   -1.5665    
   3  Prefactor     33.090        39.406        .17225E-03   -1.5593    
   4  Prefactor     6.3694        8.6443        .39730E-03   -1.5657    
   5  Prefactor     14.087        8.9483        .26666E-03   -1.5633    
   6  Prefactor     .33307E-09    3.8245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    10.198        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .34972E-08    10.982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .66613E-09    3.0018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .16098E-08    24.449        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .82157E-08    15.050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.282        24.384        .25379E-03   -1.5630    
  13  Prefactor     .16653E-09    2.2168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.3106        59.410        .42454E-03   -1.5662    
  15  Prefactor      .0000        10.825        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .27756E-09    2.6168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.0832        3.1286        .57746E-03   -1.5673    
  18  norm          .11102E-09    2.2380        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.7635        8.5734        .78784E-03   -1.5681    
  20  Prefactor     8.8121        4.8558        .33652E-03   -1.5649    
  21  Prefactor     12.922        34.955        .27065E-03   -1.5636    
  22  norm          10.438        5.9308        .31082E-03   -1.5643    
  23  Prefactor     .13323E-08    2.8325        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .89616        .83757        .46038E-03   -1.5689    
  25  norm          .11350E-05    3.0656        .50271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .49592E-04    9.1124        .11771E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.0004        3.3459        .43640E-03   -1.5688    
  28  Prefactor     8.4840        21.950        .34129E-03   -1.5650    
  29  norm          .55511E-10    9.0466        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .27756E-09    4.1937        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     7.7229        5.0894        .35999E-03   -1.5652    
  32  Normalizat    1.1170        .18824        .37462E-01   -.89209    
  33  Prefactor     .93811        .19343        .45502E-01   -.94822    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.16541e-07
Minuit parameter uncertainties:
  1  72.1936
  2  16.8275
  3  39.4064
  4  8.6443
  5  8.94835
  6  7.41579e-05
  7  3.95988e-05
  8  0.000390474
  9  9.12135e-05
  10  0.000393661
  11  0.000704316
  12  24.3837
  13  4.01424e-05
  14  35.5253
  15  2.04217e-05
  16  5.28399e-05
  17  3.12857
  18  2.9276e-05
  19  7.77671
  20  4.85576
  21  34.9551
  22  5.93075
  23  0.000124095
  24  0.837575
  25  0.00373066
  26  0.0425161
  27  3.34587
  28  21.9501
  29  3.46393e-05
  30  6.57533e-05
  31  5.08941
  32  0.188358
  33  0.193571
Done.

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

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.332e-09  1.241e-04  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:  9.381e-01  1.936e-01  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.117e+00  1.884e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 352.339 -47.556
Photon Flux Upper Limit: 4.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/598994/likelihoodResults_691372801_691632001_4FGL_J2329.3-4733_daily_bin1744.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) = 6597.91723393
delta logL = -0.000852568035043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6597.91638141
delta logL = -4.67516656499e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6597.916     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      262 TOTAL
                     EDM=   .25E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .74188E-02    .42118E-03** at limit **
   2  Index         2.9192        8.0354        .40687        .83826E-10
   3  Normalizat    1.1170        .27155E-03    .37349E-01   -.13012E-04
   4  Prefactor     .93811        .29512E-03    .45489E-01    .43324E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.91916
  Normalizat = 1.11696
  Prefactor  = 0.93811
 **********
 **   18 **HESSE 
 **********

 FCN=   6597.916     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      295 TOTAL
                     EDM=   .83E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .24039E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9192        7.5818        .50000       -.42923    
   3  Normalizat    1.1170        .48849E-03    .23441E-03   -.89209    
   4  Prefactor     .93811        .53073E-03    .27399E-03   -.94822    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.27629e-13
Minuit parameter uncertainties:
  1  2.49245e-06
  2  7507.92
  3  0.000488488
  4  0.000530727
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/598994': 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): 102
logL (Free Index) = 6597.91638136
delta logL = 2.20097717829e-10

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  5.551e-11  2.492e-06  0.000e+00  1.000e+06 ( 1.000e-13)
461        Index:  2.919e+00  7.508e+03  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:  9.381e-01  5.307e-04  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.117e+00  4.885e-04  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/598994/cmap_HighResolution_691372801_691632001_4FGL_J2329.3-4733_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.14e-03', job_status='DONE', photon_flux_upper_limit='4.03e-08', time_completed='2022-12-02 02:19:21.324789', job_id='598994', GAL2='0.94', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1669976361.32', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='2.20e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1744' AND source_name='4FGL J2329.3-4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 02:19:21 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 598994: <4FGL_J2329.3-4733_daily_bin1744> in cluster <slac> Done

Job <4FGL_J2329.3-4733_daily_bin1744> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Dec  2 02:05:23 2022
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 02:05:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 02:05:24 2022
Terminated at Fri Dec  2 02:19:22 2022
Results reported at Fri Dec  2 02:19:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4733_daily_bin1744 352.339 -47.5558 691372801 691632001 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 :                                   812.54 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             347.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   837 sec.
    Turnaround time :                            839 sec.

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

