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


Performing analysis on: 4FGL_J2329.3-4733_daily_bin1773
RA = 352.339, Dec = -47.5558
tmin = 698889601, tmax = 699148801
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='807275', job_status='RUN', time_executed='2023-02-27 10:41:58.247218', time_epoch_executed='1677523318.25' WHERE source_name='4FGL J2329.3-4733' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/807275

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/807275/ft1_4FGL_J2329.3-4733_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/807275/ft2_4FGL_J2329.3-4733_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/807275/ft1_4FGL_J2329.3-4733_daily_bin1773.fits outfile=/scratch/kocevski/807275/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1773.fits ra=352.339 dec=-47.5558 rad=12.0 tmin=698889601.0 tmax=699148801.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.95
user 2.73
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/807275/ft2_4FGL_J2329.3-4733_daily_bin1773.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/807275/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1773.fits evtable="EVENTS" outfile="/scratch/kocevski/807275/ft1_filtered_4FGL_J2329.3-4733_daily_bin1773.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 176

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/807275/ft1_filtered_4FGL_J2329.3-4733_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/807275/ft2_4FGL_J2329.3-4733_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/807275/ltcube_698889601_699148801_4FGL_J2329.3-4733_daily_bin1773.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/807275/ft2_4FGL_J2329.3-4733_daily_bin1773.fits
.....................!
real 14.34
user 14.00
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/807275/ft1_filtered_4FGL_J2329.3-4733_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/807275/ft2_4FGL_J2329.3-4733_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/807275/ltcube_698889601_699148801_4FGL_J2329.3-4733_daily_bin1773.fits outfile=/scratch/kocevski/807275/expmap_698889601_699148801_4FGL_J2329.3-4733_daily_bin1773.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/807275/ltcube_698889601_699148801_4FGL_J2329.3-4733_daily_bin1773.fits
.....................!
real 191.20
user 186.14
sys 4.67

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/807275/ft1_filtered_4FGL_J2329.3-4733_daily_bin1773.fits scfile=/scratch/kocevski/807275/ft2_4FGL_J2329.3-4733_daily_bin1773.fits outfile=/scratch/kocevski/807275/cmap_698889601_699148801_4FGL_J2329.3-4733_daily_bin1773.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/807275/ft1_filtered_4FGL_J2329.3-4733_daily_bin1773.fits scfile=/scratch/kocevski/807275/ft2_4FGL_J2329.3-4733_daily_bin1773.fits outfile=/scratch/kocevski/807275/cmap_HighResolution_698889601_699148801_4FGL_J2329.3-4733_daily_bin1773.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/807275/ft1_filtered_4FGL_J2329.3-4733_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/807275/ft2_4FGL_J2329.3-4733_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/807275/Model_4FGL_J2329.3-4733_daily_bin1773.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/807275/ft1_filtered_4FGL_J2329.3-4733_daily_bin1773.fits......................!
real 23.57
user 22.39
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    179.28       1.0000          .0000       .10000E+07
     2 'Prefactor '    43.203       1.0000          .0000       .10000E+07
     3 'Prefactor '    .22981E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    16.822       1.0000          .0000       .10000E+07
     5 'Prefactor '    18.690       1.0000          .0000       .10000E+07
     6 'Prefactor '    .82584E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    9.7549       1.0000          .0000       .10000E+07
     8 'norm      '    .31459       1.0000          .0000       .10000E+07
     9 'Prefactor '    1768.2       1.0000          .0000       .10000E+07
    10 'Prefactor '    .86069       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11289       1.0000          .0000       .10000E+07
    12 'Prefactor '    88.364       1.0000          .0000       .10000E+07
    13 'Prefactor '    .22520E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .48103E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    39.859       1.0000          .0000       .10000E+07
    16 'norm      '    .30717E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .53972E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .57393E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .96488E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .57325E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .87962E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .35648E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    .54752E-02   1.0000          .0000       .10000E+07
    24 'norm      '    1.6869       1.0000          .0000       .10000E+07
    25 'norm      '    .12216E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .35245E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    7.9433       1.0000          .0000       .10000E+07
    28 'Prefactor '    .97297E-02   1.0000          .0000       .10000E+07
    29 'norm      '    .34033E-02   1.0000          .0000       .10000E+07
    30 'Prefactor '    .19911E-02   1.0000          .0000       .10000E+07
    31 'Prefactor '    1.9387       1.0000          .0000       .10000E+07
    32 'Normalizat'    .10121       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.5090       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=   1940.726     FROM MIGRAD    STATUS=CONVERGED    340 CALLS     4801 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     185.12        112.78        .13109E-05   -.36884E-02
   2  Prefactor     43.270        14.158        .51377E-05   -.13700    
   3  Prefactor     .66613E-09    36.410       -.34515E-06** at limit **
   4  Prefactor     16.831        21.758        .25654E-05   -.66366E-04
   5  Prefactor     18.897        14.620        .62734E-06    .25043E-02
   6  Prefactor      .0000        2.7234       -.73242E-07** at limit **
   7  Prefactor     9.8048        9.1009        .33124E-06    .12584E-02
   8  norm          .61062E-09    136.83        .14251E-05** at limit **
   9  Prefactor     1817.9        724.35        .83386E-05   -.18071E-01
  10  Prefactor     .44703E-02    307.13       -.89292E-08** at limit **
  11  Prefactor     .11102E-09    77.773        .13302E-05** at limit **
  12  Prefactor     91.785        143.32       -.16838E-05   -.58417E-01
  13  Prefactor      .0000        19.066       -.20908E-07** at limit **
  14  Prefactor     .89928E-08    74.569        .69674E-06** at limit **
  15  Prefactor     39.775        36.542        .12007E-04    .53752E-01
  16  norm          .17764E-08    42.971        .70531E-05** at limit **
  17  norm           .0000        5.2257        .13862E-07** at limit **
  18  norm           .0000        5.1170        .40679E-07** at limit **
  19  norm          .29393E-06    49.762        .10666E-04** at limit **
  20  Prefactor      .0000        5.0353        .61712E-07** at limit **
  21  Prefactor     .55511E-10    23.605        .86724E-07** at limit **
  22  norm           .0000        4.5225       -.80687E-07** at limit **
  23  Prefactor      .0000        9.1371        .23663E-06** at limit **
  24  norm          1.6805        2.0873       -.89692E-06    .12323E-02
  25  norm           .0000        4.0483       -.11187E-06** at limit **
  26  Prefactor      .0000        16.811        .62203E-07** at limit **
  27  Prefactor     7.9418        7.1071        .11294E-05   -.85390E-03
  28  Prefactor     .34850E-06    46.885       -.63069E-05** at limit **
  29  norm           .0000        16.378        .95060E-07** at limit **
  30  Prefactor     .22204E-09    7.2448       -.58116E-06** at limit **
  31  Prefactor     1.9573        6.8200        .57442E-06    .55895E-03
  32  Normalizat    .91195E-01    .45008       -.33470E-03    .39866E-04
  33  Prefactor     1.5134        .39513        .64451E-04    .15570E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 185.117
  Prefactor  = 43.2699
  Prefactor  = 6.66134e-10
  Prefactor  = 16.8308
  Prefactor  = 18.8973
  Prefactor  = 0
  Prefactor  = 9.80481
  norm       = 6.10623e-10
  Prefactor  = 1817.95
  Prefactor  = 0.00447027
  Prefactor  = 1.11022e-10
  Prefactor  = 91.7855
  Prefactor  = 0
  Prefactor  = 8.99281e-09
  Prefactor  = 39.775
  norm       = 1.77636e-09
  norm       = 0
  norm       = 0
  norm       = 2.93932e-07
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 0
  norm       = 1.68054
  norm       = 0
  Prefactor  = 0
  Prefactor  = 7.94181
  Prefactor  = 3.48499e-07
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.95731
  Normalizat = 0.091195
  Prefactor  = 1.51343
 **********
 **   18 **HESSE 
 **********

 FCN=   1940.726     FROM HESSE     STATUS=NOT POSDEF   747 CALLS     5548 TOTAL
                     EDM=   .64E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     185.12        189.60        .74692E-04   -1.5436    
   2  Prefactor     43.270        48.813        .15215E-03   -1.5576    
   3  Prefactor     .66613E-09    32.462        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.831        53.920        .24392E-03   -1.5626    
   5  Prefactor     18.897        27.857        .23139E-03   -1.5621    
   6  Prefactor      .0000        2.4267        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.8048        12.645        .32060E-03   -1.5645    
   8  norm          .61062E-09    121.99        .10013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1817.9        1362.4        .23803E-04   -1.4855    
  10  Prefactor     .44703E-02    1207.9        .48516E-03   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-09    67.430        .13595E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     91.785        171.06        .10639E-03   -1.5516    
  13  Prefactor      .0000        16.896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .89928E-08    65.869        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     39.775        44.381        .15841E-03   -1.5582    
  16  norm          .17764E-08    37.644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        4.6506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        4.5500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .29393E-06    44.310        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        4.4634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .55511E-10    20.940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        4.0264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        8.0922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          1.6805        2.3222        .81039E-03   -1.5682    
  25  norm           .0000        3.6118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        15.095        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     7.9418        14.222        .35552E-03   -1.5652    
  28  Prefactor     .34850E-06    42.080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm           .0000        14.575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .22204E-09    6.5125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     1.9573        22.621        .74539E-03   -1.5680    
  32  Normalizat    .91195E-01    8.6853        .16745       -1.3902    
  33  Prefactor     1.5134        1.7096        .48558E-01   -.77164    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.39089e-06
Minuit parameter uncertainties:
  1  189.61
  2  48.8134
  3  0.000288329
  4  53.922
  5  27.8575
  6  5.73324e-06
  7  12.6449
  8  0.000539827
  9  1362.66
  10  4.64842
  11  0.000151738
  12  171.07
  13  2.06704e-05
  14  0.00153776
  15  44.3812
  16  0.000516306
  17  3.53255e-06
  18  6.61213e-06
  19  0.00721766
  20  7.23412e-06
  21  7.46493e-05
  22  7.54829e-06
  23  2.49077e-05
  24  2.32221
  25  9.80522e-06
  26  1.01205e-05
  27  14.2223
  28  0.00765922
  29  5.80019e-08
  30  7.60579e-05
  31  13.3081
  32  2.0342
  33  1.78219
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1940.72552252

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  0.000e+00  2.491e-05  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:  1.513e+00  1.782e+00  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.120e-02  2.034e+00  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/807275/likelihoodResults_698889601_699148801_4FGL_J2329.3-4733_daily_bin1773.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) = 1940.77771656
delta logL = -0.0521940413771

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1940.72552531
delta logL = -2.78244897345e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15771E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .44189       1.0000          .0000       10.000    
     3 'Normalizat'    .90408E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5142       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=   1940.726     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      225 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        11.529        .27910E-06** at limit **
   2  Index         2.2555        6.0846       -.20038E-04     .0000    
   3  Normalizat    .91195E-01    .34265       -.76838E-04    .10687E-04
   4  Prefactor     1.5134        .38887        .24565E-04    .34705E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.25546
  Normalizat = 0.0911953
  Prefactor  = 1.51343
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   1940.726     FROM HESSE     STATUS=FAILED        11 CALLS      236 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        11.531        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .56443        1.8956       -.20038E-04   -.58106    
   3  Normalizat    .91195E-01    .29415       -.76838E-04   -1.3902    
   4  Prefactor     1.5134        1.0471        .24565E-04   -.77164    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.21215e-12
Minuit parameter uncertainties:
  1  1.81184e-05
  2  1.62378
  3  0.299694
  4  1.06256
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/807275': 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) = 1940.72552252
delta logL = 2.86490831058e-11

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  0.000e+00  1.812e-05  0.000e+00  1.000e+06 ( 1.000e-13)
461        Index:  2.255e+00  1.624e+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:  1.513e+00  1.063e+00  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.120e-02  2.997e-01  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/807275/cmap_HighResolution_698889601_699148801_4FGL_J2329.3-4733_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.21e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2023-02-27 10:50:42.941151', job_id='807275', GAL2='1.51', fit_tolerance='1e-08', EG2='0.09', EG='0.09', time_epoch_completed='1677523842.94', return_code2='101', ts='0.00', comment='SUCCESS', return_code='102', GAL='1.51', dlogl='2.86e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1773' AND source_name='4FGL J2329.3-4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:50:42 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 807275: <4FGL_J2329.3-4733_daily_bin1773> in cluster <slac> Done

Job <4FGL_J2329.3-4733_daily_bin1773> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Feb 27 10:40:21 2023
Job was executed on host(s) <bullet0152>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 10:40:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 10:40:22 2023
Terminated at Mon Feb 27 10:50:51 2023
Results reported at Mon Feb 27 10:50:51 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4733_daily_bin1773 352.339 -47.5558 698889601 699148801 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 :                                   527.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             257.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   628 sec.
    Turnaround time :                            630 sec.

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

