/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 41 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1315
RA = 352.329, Dec = -49.9324
tmin = 580176001, tmax = 580435201
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='968828', job_status='RUN', time_executed='2021-09-29 21:31:34.981020', time_epoch_executed='1632976294.98' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1315'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/968828

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/968828/ft1_4FGL_J2329.3-4955_daily_bin1315.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/968828/ft2_4FGL_J2329.3-4955_daily_bin1315.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/968828/ft1_4FGL_J2329.3-4955_daily_bin1315.fits outfile=/scratch/kocevski/968828/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1315.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=580176001.0 tmax=580435201.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.65
user 4.40
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/968828/ft2_4FGL_J2329.3-4955_daily_bin1315.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/968828/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1315.fits evtable="EVENTS" outfile="/scratch/kocevski/968828/ft1_filtered_4FGL_J2329.3-4955_daily_bin1315.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.52
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/968828/ft1_filtered_4FGL_J2329.3-4955_daily_bin1315.fits" evtable="EVENTS" scfile=/scratch/kocevski/968828/ft2_4FGL_J2329.3-4955_daily_bin1315.fits sctable="SC_DATA" outfile=/scratch/kocevski/968828/ltcube_580176001_580435201_4FGL_J2329.3-4955_daily_bin1315.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/968828/ft2_4FGL_J2329.3-4955_daily_bin1315.fits
.....................!
real 11.64
user 11.29
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/968828/ft1_filtered_4FGL_J2329.3-4955_daily_bin1315.fits evtable="EVENTS" scfile=/scratch/kocevski/968828/ft2_4FGL_J2329.3-4955_daily_bin1315.fits sctable="SC_DATA" expcube=/scratch/kocevski/968828/ltcube_580176001_580435201_4FGL_J2329.3-4955_daily_bin1315.fits outfile=/scratch/kocevski/968828/expmap_580176001_580435201_4FGL_J2329.3-4955_daily_bin1315.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/968828/ltcube_580176001_580435201_4FGL_J2329.3-4955_daily_bin1315.fits
.....................!
real 190.72
user 185.25
sys 5.16

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 183 point sources and 0 extended sources

Setting source of interest to:
4FGL J2329.3-4955 @ 352.329 -49.9324

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/968828/ft1_filtered_4FGL_J2329.3-4955_daily_bin1315.fits scfile=/scratch/kocevski/968828/ft2_4FGL_J2329.3-4955_daily_bin1315.fits outfile=/scratch/kocevski/968828/cmap_580176001_580435201_4FGL_J2329.3-4955_daily_bin1315.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=352.329 yref=-49.9324 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/968828/ft1_filtered_4FGL_J2329.3-4955_daily_bin1315.fits scfile=/scratch/kocevski/968828/ft2_4FGL_J2329.3-4955_daily_bin1315.fits outfile=/scratch/kocevski/968828/cmap_HighResolution_580176001_580435201_4FGL_J2329.3-4955_daily_bin1315.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.329 yref=-49.9324 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/968828/ft1_filtered_4FGL_J2329.3-4955_daily_bin1315.fits evtable="EVENTS" scfile=/scratch/kocevski/968828/ft2_4FGL_J2329.3-4955_daily_bin1315.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/968828/Model_4FGL_J2329.3-4955_daily_bin1315.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/968828/ft1_filtered_4FGL_J2329.3-4955_daily_bin1315.fits.....................!
real 42.09
user 40.75
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/968828/ft1_filtered_4FGL_J2329.3-4955_daily_bin1315.fits', '/scratch/kocevski/968828/ft2_4FGL_J2329.3-4955_daily_bin1315.fits', expMap='/scratch/kocevski/968828/expmap_580176001_580435201_4FGL_J2329.3-4955_daily_bin1315.fits', expCube='/scratch/kocevski/968828/ltcube_580176001_580435201_4FGL_J2329.3-4955_daily_bin1315.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/968828/Model_4FGL_J2329.3-4955_daily_bin1315.xml', optimizer='MINUIT')

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

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  7.291e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  2.177e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
478         beta:  1.055e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
479           Eb:  5.219e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/968828/ft1_filtered_4FGL_J2329.3-4955_daily_bin1315.fits
Spacecraft file(s): /scratch/kocevski/968828/ft2_4FGL_J2329.3-4955_daily_bin1315.fits
Exposure map: /scratch/kocevski/968828/expmap_580176001_580435201_4FGL_J2329.3-4955_daily_bin1315.fits
Exposure cube: /scratch/kocevski/968828/ltcube_580176001_580435201_4FGL_J2329.3-4955_daily_bin1315.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/968828/Model_4FGL_J2329.3-4955_daily_bin1315.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) = 5920.76152417

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.136       1.0000         .10000E-03   10000.    
     3 'Prefactor '    60.246       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .89632       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10359E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.7243       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.1606       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.5395       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.1919       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.3112       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.239       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.0004       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    24.644       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    11.950       1.0000         .10000E-03   10000.    
    24 'norm      '    .10362E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    1.2913       1.0000         .10000E-03   10000.    
    26 'Prefactor '    6.3036       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .11234E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    5.7372       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .26458E-02   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .42309       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.2340       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5920.750     FROM MIGRAD    STATUS=CONVERGED    886 CALLS     4648 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.592       -.94330E-05** at limit **
   2  Prefactor     24.137        22.416        .16865E-05    .32056E-03
   3  Prefactor     60.250        37.407        .26676E-05    .11830E-03
   4  Prefactor     .88994        5.7916        .29143E-06    .32997E-05
   5  Prefactor     .10000E-03    16.478       -.28919E-05** at limit **
   6  Prefactor     1.7244        3.2824        .31482E-06   -.17187E-02
   7  norm          .10000E-03    15.446        .92163E-05** at limit **
   8  norm          .10000E-03    1.9358       -.15868E-06** at limit **
   9  Prefactor     4.1607        3.2894        .11714E-06   -.36240E-04
  10  Prefactor     9.5399        4.9018        .94292E-06   -.10850E-04
  11  Prefactor     .10000E-03    7.9777        .92036E-06** at limit **
  12  Prefactor     2.1924        6.7604        .30268E-06   -.94052E-03
  13  Prefactor     .10000E-03    29.697        .21397E-04** at limit **
  14  Prefactor     2.3112        3.3159        .68626E-06    .77223E-05
  15  Prefactor     18.238        25.589       -.44073E-06   -.10548E-04
  16  Prefactor     .10000E-03    6.4318        .54205E-06** at limit **
  17  norm          3.0002        7.8353        .26727E-07   -.19700E-04
  18  norm          .10000E-03    2.1734       -.26337E-06** at limit **
  19  norm          .10000E-03    1.2490       -.72329E-07** at limit **
  20  Prefactor     .10000E-03    2.1788       -.12088E-06** at limit **
  21  Prefactor     24.651        21.699        .30265E-05    .67873E-04
  22  norm          .10000E-03    1.3243       -.11462E-06** at limit **
  23  Prefactor     11.943        10.702        .53398E-07    .10476E-03
  24  norm          .10000E-03    .59081        .41663E-07** at limit **
  25  norm          1.2912        2.8964       -.50680E-06   -.12086E-03
  26  Prefactor     6.3031        12.527        .44347E-06   -.53160E-05
  27  Prefactor     .10000E-03    1.3456        .18473E-06** at limit **
  28  Prefactor     .10000E-03    22.008       -.62324E-05** at limit **
  29  norm          .10000E-03    7.7590       -.23213E-05** at limit **
  30  Prefactor     5.7375        5.2620       -.12909E-05   -.32479E-05
  31  Prefactor     .10227E-03    1.6679       -.95294E-06** at limit **
  32  Normalizat    .42308        .16332       -.10121E-05    .19501E-03
  33  Prefactor     1.2341        .17479       -.59297E-07    .24261E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 24.1366
  Prefactor  = 60.2495
  Prefactor  = 0.88994
  Prefactor  = 0.0001
  Prefactor  = 1.72444
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 4.16071
  Prefactor  = 9.53988
  Prefactor  = 0.0001
  Prefactor  = 2.19239
  Prefactor  = 0.0001
  Prefactor  = 2.31115
  Prefactor  = 18.2384
  Prefactor  = 0.0001
  norm       = 3.00016
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.6512
  norm       = 0.0001
  Prefactor  = 11.9428
  norm       = 0.0001
  norm       = 1.29118
  Prefactor  = 6.30313
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.73754
  Prefactor  = 0.000102267
  Normalizat = 0.42308
  Prefactor  = 1.23406
 **********
 **   18 **HESSE 
 **********

 FCN=   5920.750     FROM HESSE     STATUS=OK           705 CALLS     5353 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     24.137        22.688        .81535E-04   -1.4725    
   3  Prefactor     60.250        37.413        .51692E-04   -1.4154    
   4  Prefactor     .88994        30.307        .34448E-02   -1.5519    
   5  Prefactor     .10000E-03    16.994        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.7244        5.3772        .15099E-02   -1.5445    
   7  norm          .10000E-03    15.449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.9389        .10455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.1607        3.2850        .11921E-03   -1.5300    
  10  Prefactor     9.5399        4.8937        .11595E-03   -1.5090    
  11  Prefactor     .10000E-03    7.9847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.1924        8.0794        .13899E-02   -1.5412    
  13  Prefactor     .10000E-03    29.646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.3112        3.3008        .16300E-03   -1.5404    
  15  Prefactor     18.238        25.583        .93783E-04   -1.4854    
  16  Prefactor     .10000E-03    6.4636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.0002        7.8331        .23434E-03   -1.5362    
  18  norm          .10000E-03    2.1801        .11076E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.2501        .83975E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.1839        .11069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     24.651        21.532        .80692E-04   -1.4715    
  22  norm          .10000E-03    1.3325        .86215E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     11.943        10.560        .11588E-03   -1.5017    
  24  norm          .10000E-03    1.2143        .11194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.2912        2.8410        .18303E-03   -1.5481    
  26  Prefactor     6.3031        12.513        .15988E-03   -1.5206    
  27  Prefactor     .10000E-03    6.4937        .16938E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    22.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .10000E-03    7.7549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     5.7375        5.2045        .15500E-03   -1.5229    
  31  Prefactor     .10227E-03    4.4695        .32251E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .42308        .18331        .28992E-03   -1.1612    
  33  Prefactor     1.2341        .19902        .20019E-03   -.85290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.97274e-09
Minuit parameter uncertainties:
  1  3.01293e-05
  2  22.6961
  3  37.4271
  4  10.3919
  5  1.16547e-05
  6  5.3787
  7  3.28704e-05
  8  2.77656e-07
  9  3.28513
  10  4.89393
  11  9.62406e-06
  12  8.08342
  13  9.55011e-05
  14  3.30104
  15  25.5986
  16  4.69636e-06
  17  7.83574
  18  2.49708e-07
  19  2.35866e-06
  20  9.86742e-07
  21  21.5383
  22  1.13061e-05
  23  10.5615
  24  1.18258e-05
  25  2.84128
  26  12.5177
  27  0.000104585
  28  2.59038e-05
  29  7.66251e-06
  30  5.20493
  31  0.00636691
  32  0.183572
  33  0.199143
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.000e-04  1.183e-05  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  2.177e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
478         beta:  1.055e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
479           Eb:  5.219e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
580    Prefactor:  1.234e+00  1.991e-01  0.000e+00  1.000e+01 ( 1.000e+00)
581        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
582        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
579   Normalization:  4.231e-01  1.836e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/968828/likelihoodResults_580176001_580435201_4FGL_J2329.3-4955_daily_bin1315.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) = 5920.75419841
delta logL = -0.00395397093962

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5920.67243645
delta logL = 0.0778079900683

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .79719E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.9143       1.0000          .0000       5.0000    
     3 'Normalizat'    .40342       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2462       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5920.672     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      299 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .79454E-01    3.5662        .94141E-02    .34529E-02
   2  alpha         3.9163        2.8940        .50000        .42596E-04
   3  Normalizat    .40332        .21252E-01    .67054E-01    .29460E-04
   4  Prefactor     1.2463        .24274E-01    .33621E-01   -.34149E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0794544
  alpha      = 3.91627
  Normalizat = 0.403321
  Prefactor  = 1.24627
 **********
 **   18 **HESSE 
 **********

 FCN=   5920.672     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      332 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .79454E-01    23.164        .47844E-03   -1.5652    
   2  alpha         3.9163        3.0418        .61108E-01    .60226    
   3  Normalizat    .40332        .94170E-01    .29682E-03   -1.1713    
   4  Prefactor     1.2463        .10926        .19934E-03   -.84919    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.56571e-07
Minuit parameter uncertainties:
  1  2.71265
  2  23.8758
  3  0.0942069
  4  0.109277
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/968828': 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) = 5920.67243601
delta logL = 0.0778084213653

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  7.945e-02  2.713e+00  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  3.916e+00  2.388e+01  0.000e+00  5.000e+00 ( 1.000e+00)
478         beta:  1.055e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
479           Eb:  5.219e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
580    Prefactor:  1.246e+00  1.093e-01  0.000e+00  1.000e+01 ( 1.000e+00)
581        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
582        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
579   Normalization:  4.033e-01  9.421e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 352.329 -49.932

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/968828/cmap_HighResolution_580176001_580435201_4FGL_J2329.3-4955_daily_bin1315.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.03e-05', job_status='DONE', photon_flux_upper_limit='5.32e-08', time_completed='2021-09-29 21:46:41.087053', job_id='968828', GAL2='1.25', fit_tolerance='1e-08', EG2='0.40', EG='0.42', time_epoch_completed='1632977201.09', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='7.78e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1315' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:46:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 968828: <4FGL_J2329.3-4955_daily_bin1315> in cluster <slac> Done

Job <4FGL_J2329.3-4955_daily_bin1315> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 21:30:44 2021
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 21:30:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 21:30:45 2021
Terminated at Wed Sep 29 21:46:41 2021
Results reported at Wed Sep 29 21:46:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1315 352.329 -49.9324 580176001 580435201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2329.3-4955 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   904.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             303.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   956 sec.
    Turnaround time :                            957 sec.

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

