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 139 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-4733_daily_bin1769
RA = 352.339, Dec = -47.5558
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='447686', job_status='RUN', time_executed='2023-02-15 01:43:03.917355', time_epoch_executed='1676454183.92' WHERE source_name='4FGL J2329.3-4733' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/447686

Creating custom pfile directory:
/scratch/kocevski/447686/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/447686/ft1_4FGL_J2329.3-4733_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/447686/ft2_4FGL_J2329.3-4733_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/447686/ft1_4FGL_J2329.3-4733_daily_bin1769.fits outfile=/scratch/kocevski/447686/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1769.fits ra=352.339 dec=-47.5558 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.39
user 4.15
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/447686/ft2_4FGL_J2329.3-4733_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/447686/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/447686/ft1_filtered_4FGL_J2329.3-4733_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.48
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 531

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/447686/ft1_filtered_4FGL_J2329.3-4733_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/447686/ft2_4FGL_J2329.3-4733_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/447686/ltcube_697852801_698112001_4FGL_J2329.3-4733_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/447686/ft2_4FGL_J2329.3-4733_daily_bin1769.fits
.....................!
real 11.94
user 11.64
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/447686/ft1_filtered_4FGL_J2329.3-4733_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/447686/ft2_4FGL_J2329.3-4733_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/447686/ltcube_697852801_698112001_4FGL_J2329.3-4733_daily_bin1769.fits outfile=/scratch/kocevski/447686/expmap_697852801_698112001_4FGL_J2329.3-4733_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/447686/ltcube_697852801_698112001_4FGL_J2329.3-4733_daily_bin1769.fits
.....................!
real 189.81
user 185.44
sys 4.05

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/447686/ft1_filtered_4FGL_J2329.3-4733_daily_bin1769.fits scfile=/scratch/kocevski/447686/ft2_4FGL_J2329.3-4733_daily_bin1769.fits outfile=/scratch/kocevski/447686/cmap_697852801_698112001_4FGL_J2329.3-4733_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.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/447686/ft1_filtered_4FGL_J2329.3-4733_daily_bin1769.fits scfile=/scratch/kocevski/447686/ft2_4FGL_J2329.3-4733_daily_bin1769.fits outfile=/scratch/kocevski/447686/cmap_HighResolution_697852801_698112001_4FGL_J2329.3-4733_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.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.53
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/447686/ft1_filtered_4FGL_J2329.3-4733_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/447686/ft2_4FGL_J2329.3-4733_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/447686/Model_4FGL_J2329.3-4733_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/447686/ft1_filtered_4FGL_J2329.3-4733_daily_bin1769.fits.....................!
real 41.84
user 40.64
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.021       1.0000          .0000       .10000E+07
     2 'Prefactor '    23.398       1.0000          .0000       .10000E+07
     3 'Prefactor '    33.811       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.3833       1.0000          .0000       .10000E+07
     5 'Prefactor '    .52253E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .94369E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    13.052       1.0000          .0000       .10000E+07
     8 'norm      '    5.0959       1.0000          .0000       .10000E+07
     9 'Prefactor '    .34972E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .19207E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    .47184E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    28.098       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23537E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    .13778E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    5.1389       1.0000          .0000       .10000E+07
    16 'norm      '    5.2262       1.0000          .0000       .10000E+07
    17 'norm      '    .55511E-09   1.0000          .0000       .10000E+07
    18 'norm      '    .89373E-08   1.0000          .0000       .10000E+07
    19 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    20 'Prefactor '    2.2235       1.0000          .0000       .10000E+07
    21 'Prefactor '    17.036       1.0000          .0000       .10000E+07
    22 'norm      '    6.7049       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.2697       1.0000          .0000       .10000E+07
    24 'norm      '    .86001       1.0000          .0000       .10000E+07
    25 'norm      '    2.7320       1.0000          .0000       .10000E+07
    26 'Prefactor '    19.472       1.0000          .0000       .10000E+07
    27 'Prefactor '    .26917E-06   1.0000          .0000       .10000E+07
    28 'Prefactor '    8.7289       1.0000          .0000       .10000E+07
    29 'norm      '    .16653E-09   1.0000          .0000       .10000E+07
    30 'Prefactor '    .15155E-07   1.0000          .0000       .10000E+07
    31 'Prefactor '    .24647E-07   1.0000          .0000       .10000E+07
    32 'Normalizat'    .93083       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .71643       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=   5795.521     FROM MIGRAD    STATUS=CONVERGED    121 CALLS     3852 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.022        1.0523       -.57588E-07    .66655E-02
   2  Prefactor     23.402        1.2835       -.66048E-07    .11231E-01
   3  Prefactor     33.773        2.0617        .32940E-06   -.13987    
   4  Prefactor     6.3840        1.0070       -.51484E-08   -.11639E-02
   5  Prefactor     .25535E-08    3.6939        .35878E-05** at limit **
   6  Prefactor     .61062E-07    1.0646       -.85319E-06** at limit **
   7  Prefactor     13.054        1.3517       -.13929E-06   -.18335E-01
   8  norm          5.0962        1.0338        .11690E-06    .96141E-02
   9  Prefactor     .13933E-07    .82874        .92930E-06** at limit **
  10  Prefactor     .11102E-09    20.447        .71568E-06** at limit **
  11  Prefactor     .16653E-08    1.6102       -.26783E-06** at limit **
  12  Prefactor     28.095        1.0521        .69508E-07   -.18739E-01
  13  Prefactor     .69389E-08    3.1909       -.18031E-05** at limit **
  14  Prefactor     .29976E-08    11.077        .10003E-05** at limit **
  15  Prefactor     5.1416        1.0176       -.49267E-07    .14484E-02
  16  norm          5.2262        1.0435        .12687E-07    .30521E-02
  17  norm          .15765E-07    1.8556        .82686E-07** at limit **
  18  norm          .10270E-07    1.5621        .11932E-05** at limit **
  19  norm          .24980E-07    1.3449        .13267E-06** at limit **
  20  Prefactor     2.2231        4.4234       -.42577E-06   -.11961E-02
  21  Prefactor     17.038        1.0654       -.53608E-07    .11056E-01
  22  norm          6.7045        3.6057        .31389E-07   -.31092E-02
  23  Prefactor     2.2708        1.5368       -.21703E-06    .14042E-06
  24  norm          .85997        .83286        .33958E-07    .65850E-03
  25  norm          2.7323        2.7561       -.13807E-06    .87458E-03
  26  Prefactor     19.476        1.1490       -.14112E-06    .17776E-01
  27  Prefactor     .48295E-08    .42411       -.25644E-06** at limit **
  28  Prefactor     8.7544        2.1389       -.57203E-06    .46659E-01
  29  norm          .55511E-10    4.6247       -.11774E-05** at limit **
  30  Prefactor      .0000        1.3839       -.14889E-06** at limit **
  31  Prefactor      .0000        .95866       -.70230E-07** at limit **
  32  Normalizat    .93055        .17511        .10248E-04   -.12293E-03
  33  Prefactor     .71671        .19090       -.11353E-04   -.49671E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.022
  Prefactor  = 23.4022
  Prefactor  = 33.7729
  Prefactor  = 6.38395
  Prefactor  = 2.55351e-09
  Prefactor  = 6.10623e-08
  Prefactor  = 13.0539
  norm       = 5.09615
  Prefactor  = 1.39333e-08
  Prefactor  = 1.11022e-10
  Prefactor  = 1.66533e-09
  Prefactor  = 28.0953
  Prefactor  = 6.93889e-09
  Prefactor  = 2.9976e-09
  Prefactor  = 5.14158
  norm       = 5.22621
  norm       = 1.57652e-08
  norm       = 1.02696e-08
  norm       = 2.498e-08
  Prefactor  = 2.22305
  Prefactor  = 17.038
  norm       = 6.70453
  Prefactor  = 2.27084
  norm       = 0.859974
  norm       = 2.73233
  Prefactor  = 19.4757
  Prefactor  = 4.82947e-09
  Prefactor  = 8.75435
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 0.930553
  Prefactor  = 0.716706
 **********
 **   18 **HESSE 
 **********

 FCN=   5795.521     FROM HESSE     STATUS=OK           763 CALLS     4615 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.022        23.543        .31630E-03   -1.5645    
   2  Prefactor     23.402        16.842        .20678E-03   -1.5611    
   3  Prefactor     33.773        37.372        .17200E-03   -1.5592    
   4  Prefactor     6.3840        6.5694        .39703E-03   -1.5657    
   5  Prefactor     .25535E-08    4.0557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .61062E-07    1.9071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.054        7.4248        .27700E-03   -1.5636    
   8  norm          5.0962        5.7790        .44515E-03   -1.5663    
   9  Prefactor     .13933E-07    2.4893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    20.555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .16653E-08    1.6259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     28.095        24.310        .18869E-03   -1.5602    
  13  Prefactor     .69389E-08    3.4862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .29976E-08    11.119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.1416        11.741        .44325E-03   -1.5663    
  16  norm          5.2262        6.7069        .43946E-03   -1.5662    
  17  norm          .15765E-07    2.4800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10270E-07    1.7351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .24980E-07    2.0236        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.2231        5.6011        .68929E-03   -1.5678    
  21  Prefactor     17.038        25.685        .24238E-03   -1.5625    
  22  norm          6.7045        3.8875        .38728E-03   -1.5656    
  23  Prefactor     2.2708        16.165        .68143E-03   -1.5678    
  24  norm          .85997        .87211        .48565E-03   -1.5689    
  25  norm          2.7323        2.7811        .61579E-03   -1.5675    
  26  Prefactor     19.476        12.597        .22670E-03   -1.5620    
  27  Prefactor     .48295E-08    5.4795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     8.7544        19.823        .33903E-03   -1.5649    
  29  norm          .55511E-10    4.9191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor      .0000        1.3869        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor      .0000        .95939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .93055        .15923        .45294E-01   -.95395    
  33  Prefactor     .71671        .16339        .42619E-01   -1.0288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2365e-06
Minuit parameter uncertainties:
  1  23.5432
  2  16.8417
  3  37.3725
  4  6.56944
  5  0.000203276
  6  0.00068261
  7  7.42477
  8  5.77896
  9  0.000372219
  10  8.44957e-05
  11  0.000103475
  12  24.3104
  13  0.000310989
  14  0.000366666
  15  11.7414
  16  6.70689
  17  0.000395763
  18  0.000266734
  19  0.000449672
  20  5.60113
  21  25.6849
  22  3.88746
  23  12.1176
  24  0.872114
  25  2.78111
  26  12.5971
  27  0.00032508
  28  19.8232
  29  3.10977e-05
  30  9.03895e-06
  31  9.34285e-06
  32  0.159308
  33  0.163504
Done.

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

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  2.271e+00  1.212e+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.167e-01  1.635e-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:  9.306e-01  1.593e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/447686/likelihoodResults_697852801_698112001_4FGL_J2329.3-4733_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) = 5795.50467663
delta logL = 0.0164359757637

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5795.02040623
delta logL = 0.500706374526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42963E-03   1.0000          .0000       .10000E+07
     2 'Index     '    7.5450       1.0000          .0000       10.000    
     3 'Normalizat'    .87888       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75658       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=   5795.020     FROM MIGRAD    STATUS=CONVERGED    236 CALLS      503 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41498E-03    .46675E-03    .42118E-04** at limit **
   2  Index         7.5605        .38858        .13110       -.25939E-04
   3  Normalizat    .87932        .25510        .44631E-01    .63174E-03
   4  Prefactor     .75649        .27528        .43149E-01    .36366E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000414977
  Index      = 7.5605
  Normalizat = 0.879315
  Prefactor  = 0.756486
 **********
 **   18 **HESSE 
 **********

 FCN=   5795.020     FROM HESSE     STATUS=OK            31 CALLS      534 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .41498E-03    .81083E-03    .16252E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.5605        .85174        .64777E-02   -1002.7    
   3  Normalizat    .87932        .18251        .21410E-03    293.14    
   4  Prefactor     .75649        .19599        .25066E-03   -165.49    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.21181e-10
Minuit parameter uncertainties:
  1  0.000810827
  2  0.857428
  3  0.182635
  4  0.196174
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/447686': 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) = 5795.02039178
delta logL = 0.50072082857

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  4.150e-04  8.108e-04  0.000e+00  1.000e+06 ( 1.000e-13)
461        Index:  7.561e+00  8.574e-01  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:  7.565e-01  1.962e-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:  8.793e-01  1.826e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.14
Ra Dec: 352.339 -47.556
Photon Index (Free Index): 7.56 +/- 0.86
Photon Flux (Free Index): 4.10e-08 +/- 4.47e-08
Energy Flux (Free Index): 4.81e-06 +/- 5.24e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/447686/cmap_HighResolution_697852801_698112001_4FGL_J2329.3-4733_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.97e-03', comment='SUCCESS', energy_flux2='4.81e-06', dlogl='5.01e-01', photon_flux2='4.10e-08', job_status='DONE', time_completed='2023-02-15 01:56:30.389819', photon_index_error2='0.86', photon_index2='7.56', ts='0.06', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', photon_flux_upper_limit='7.67e-08', energy_flux_error2='5.24e-06', EG='0.93', time_epoch_completed='1676454990.39', return_code='0', job_id='447686', GAL2='0.76', EG2='0.88', return_code2='0', photon_flux_error2='4.47e-08', ts2='1.14', photon_index='2.51' WHERE bin_id='1769' AND source_name='4FGL J2329.3-4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:56:30 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 447686: <4FGL_J2329.3-4733_daily_bin1769> in cluster <slac> Done

Job <4FGL_J2329.3-4733_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) <bullet0210>, 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:56:31 2023
Results reported at Wed Feb 15 01:56:31 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4733_daily_bin1769 352.339 -47.5558 697852801 698112001 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 :                                   808.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   955 sec.
    Turnaround time :                            958 sec.

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

