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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin869
RA = 352.329, Dec = -49.9324
tmin = 464572801, tmax = 464832001
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='964445', job_status='RUN', time_executed='2021-09-29 21:29:14.338838', time_epoch_executed='1632976154.34' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='869'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/964445

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/964445/ft1_4FGL_J2329.3-4955_daily_bin869.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/964445/ft2_4FGL_J2329.3-4955_daily_bin869.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/964445/ft1_4FGL_J2329.3-4955_daily_bin869.fits outfile=/scratch/kocevski/964445/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin869.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=464572801.0 tmax=464832001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.38
user 3.14
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/964445/ft1_filtered_4FGL_J2329.3-4955_daily_bin869.fits" evtable="EVENTS" scfile=/scratch/kocevski/964445/ft2_4FGL_J2329.3-4955_daily_bin869.fits sctable="SC_DATA" outfile=/scratch/kocevski/964445/ltcube_464572801_464832001_4FGL_J2329.3-4955_daily_bin869.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/964445/ft2_4FGL_J2329.3-4955_daily_bin869.fits
.....................!
real 11.63
user 11.29
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/964445/ft1_filtered_4FGL_J2329.3-4955_daily_bin869.fits evtable="EVENTS" scfile=/scratch/kocevski/964445/ft2_4FGL_J2329.3-4955_daily_bin869.fits sctable="SC_DATA" expcube=/scratch/kocevski/964445/ltcube_464572801_464832001_4FGL_J2329.3-4955_daily_bin869.fits outfile=/scratch/kocevski/964445/expmap_464572801_464832001_4FGL_J2329.3-4955_daily_bin869.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/964445/ltcube_464572801_464832001_4FGL_J2329.3-4955_daily_bin869.fits
.....................!
real 191.06
user 186.19
sys 4.47

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/964445/ft1_filtered_4FGL_J2329.3-4955_daily_bin869.fits scfile=/scratch/kocevski/964445/ft2_4FGL_J2329.3-4955_daily_bin869.fits outfile=/scratch/kocevski/964445/cmap_464572801_464832001_4FGL_J2329.3-4955_daily_bin869.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/964445/ft1_filtered_4FGL_J2329.3-4955_daily_bin869.fits scfile=/scratch/kocevski/964445/ft2_4FGL_J2329.3-4955_daily_bin869.fits outfile=/scratch/kocevski/964445/cmap_HighResolution_464572801_464832001_4FGL_J2329.3-4955_daily_bin869.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/964445/ft1_filtered_4FGL_J2329.3-4955_daily_bin869.fits evtable="EVENTS" scfile=/scratch/kocevski/964445/ft2_4FGL_J2329.3-4955_daily_bin869.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/964445/Model_4FGL_J2329.3-4955_daily_bin869.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/964445/ft1_filtered_4FGL_J2329.3-4955_daily_bin869.fits.....................!
real 42.80
user 40.86
sys 1.70

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/964445/ft1_filtered_4FGL_J2329.3-4955_daily_bin869.fits', '/scratch/kocevski/964445/ft2_4FGL_J2329.3-4955_daily_bin869.fits', expMap='/scratch/kocevski/964445/expmap_464572801_464832001_4FGL_J2329.3-4955_daily_bin869.fits', expCube='/scratch/kocevski/964445/ltcube_464572801_464832001_4FGL_J2329.3-4955_daily_bin869.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/964445/Model_4FGL_J2329.3-4955_daily_bin869.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/964445/ft1_filtered_4FGL_J2329.3-4955_daily_bin869.fits
Spacecraft file(s): /scratch/kocevski/964445/ft2_4FGL_J2329.3-4955_daily_bin869.fits
Exposure map: /scratch/kocevski/964445/expmap_464572801_464832001_4FGL_J2329.3-4955_daily_bin869.fits
Exposure cube: /scratch/kocevski/964445/ltcube_464572801_464832001_4FGL_J2329.3-4955_daily_bin869.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/964445/Model_4FGL_J2329.3-4955_daily_bin869.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) = 5734.65564995

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1452       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.385       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.0890       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    26.042       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .46845       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.633       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.8410       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.0453       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.8981       1.0000         .10000E-03   10000.    
    18 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.0668       1.0000         .10000E-03   10000.    
    20 'Prefactor '    16.708       1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.416       1.0000         .10000E-03   10000.    
    22 'norm      '    4.6442       1.0000         .10000E-03   10000.    
    23 'Prefactor '    31.031       1.0000         .10000E-03   10000.    
    24 'norm      '    2.6285       1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    2.0413       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    2.1919       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .85710       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .85699       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=   5734.589     FROM MIGRAD    STATUS=CONVERGED    887 CALLS     3896 TOTAL
                     EDM=   .33E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9780        239.73       -.13486E-05   -.47726E-05
   2  Prefactor     .10000E-03    13.040       -.21089E-07** at limit **
   3  Prefactor     17.377        30.058        .61422E-06    .81825E-05
   4  Prefactor     .10000E-03    1.9042        .38458E-07** at limit **
   5  Prefactor     9.0883        6.8145        .36768E-08   -.11455E-04
   6  Prefactor     .10000E-03    2.6642        .20212E-07** at limit **
   7  norm          26.030        27.970        .13121E-05    .54193E-04
   8  norm          .10000E-03    2.1581       -.11632E-07** at limit **
   9  Prefactor     .46883        3.3512        .16249E-05   -.13531E-03
  10  Prefactor     10.631        6.0926        .33866E-07   -.44909E-04
  11  Prefactor     8.8435        22.480       -.13600E-05   -.52645E-04
  12  Prefactor     5.0409        9.6756        .56539E-06    .88916E-05
  13  Prefactor     .10000E-03    30.744       -.11200E-06** at limit **
  14  Prefactor     .10000E-03    11.498       -.26209E-06** at limit **
  15  Prefactor     .10000E-03    11.236       -.79481E-07** at limit **
  16  Prefactor     .10000E-03    9.3001       -.15346E-06** at limit **
  17  norm          4.8982        9.1611        .13991E-06   -.72848E-05
  18  norm          .10000E-03    7.0700       -.85682E-07** at limit **
  19  norm          3.0672        4.6151        .10794E-06   -.17477E-04
  20  Prefactor     16.710        10.962       -.44754E-06   -.25562E-04
  21  Prefactor     13.410        29.362        .64467E-06    .10535E-04
  22  norm          4.6441        4.7168       -.64794E-08   -.30219E-04
  23  Prefactor     31.024        22.276        .98202E-06    .61614E-04
  24  norm          2.6288        1.3093        .19267E-07   -.59532E-04
  25  norm          .10000E-03    1.1380        .78204E-08** at limit **
  26  Prefactor     .10000E-03    6.3584        .28020E-07** at limit **
  27  Prefactor     2.0409        2.5747        .13334E-06   -.57958E-04
  28  Prefactor     .10000E-03    10.131        .32878E-06** at limit **
  29  norm          .10000E-03    17.547        .91753E-07** at limit **
  30  Prefactor     .10000E-03    2.3982        .56015E-07** at limit **
  31  Prefactor     2.1893        3.8937        .49144E-06   -.53339E-04
  32  Normalizat    .85729        .16834       -.77412E-06   -.23871E-04
  33  Prefactor     .85681        .17226       -.18017E-07   -.59990E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.97803
  Prefactor  = 0.0001
  Prefactor  = 17.3765
  Prefactor  = 0.0001
  Prefactor  = 9.08826
  Prefactor  = 0.0001
  norm       = 26.0302
  norm       = 0.0001
  Prefactor  = 0.468827
  Prefactor  = 10.631
  Prefactor  = 8.84353
  Prefactor  = 5.04087
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.89818
  norm       = 0.0001
  norm       = 3.06718
  Prefactor  = 16.7104
  Prefactor  = 13.4101
  norm       = 4.64406
  Prefactor  = 31.0242
  norm       = 2.62878
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.04088
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.18934
  Normalizat = 0.85729
  Prefactor  = 0.85681
 **********
 **   18 **HESSE 
 **********

 FCN=   5734.589     FROM HESSE     STATUS=OK           697 CALLS     4593 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9780        243.63        .28137E-03   -1.5427    
   2  Prefactor     .10000E-03    13.068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.377        30.068        .96057E-04   -1.4874    
   4  Prefactor     .10000E-03    1.9078        .10205E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.0883        6.8117        .13294E-03   -1.5105    
   6  Prefactor     .10000E-03    2.6781        .12070E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          26.030        28.258        .78500E-04   -1.4687    
   8  norm          .10000E-03    2.1589        .10864E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .46883        3.6018        .27514E-03   -1.5571    
  10  Prefactor     10.631        6.0881        .12287E-03   -1.5056    
  11  Prefactor     8.8435        22.717        .13480E-03   -1.5113    
  12  Prefactor     5.0409        9.6353        .17902E-03   -1.5259    
  13  Prefactor     .10000E-03    30.747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.788        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.237        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.3388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.8982        9.1544        .18174E-03   -1.5265    
  18  norm          .10000E-03    7.2292        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.0672        4.6453        .17625E-03   -1.5358    
  20  Prefactor     16.710        11.049        .97983E-04   -1.4890    
  21  Prefactor     13.410        29.351        .10936E-03   -1.4975    
  22  norm          4.6441        4.7437        .13191E-03   -1.5277    
  23  Prefactor     31.024        22.585        .71927E-04   -1.4593    
  24  norm          2.6288        1.3013        .56690E-04   -1.5384    
  25  norm          .10000E-03    1.1456        .78847E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    6.3875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     2.0409        2.5511        .12991E-03   -1.5422    
  28  Prefactor     .10000E-03    10.152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .10000E-03    17.647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    2.4420        .11443E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     2.1893        3.8951        .18739E-03   -1.5412    
  32  Normalizat    .85729        .19870        .22908E-03   -.97978    
  33  Prefactor     .85681        .20373        .24720E-03   -.97667    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.441e-11
Minuit parameter uncertainties:
  1  44.088
  2  1.86611e-05
  3  30.0941
  4  2.94983e-07
  5  6.81228
  6  4.38796e-07
  7  28.2726
  8  6.27573e-07
  9  2.59887
  10  6.08849
  11  22.7395
  12  9.63824
  13  1.85647e-06
  14  1.54766e-06
  15  1.21594e-06
  16  2.18926e-07
  17  9.15699
  18  5.40566e-06
  19  4.64586
  20  11.0501
  21  29.3824
  22  4.74409
  23  22.5914
  24  1.3013
  25  2.51578e-07
  26  4.03009e-06
  27  2.55127
  28  4.59808e-06
  29  5.30122e-06
  30  3.69809e-07
  31  3.89552
  32  0.198873
  33  0.203906
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  2.629e+00  1.301e+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

GAL_V02
   Spectrum: PowerLaw
580    Prefactor:  8.568e-01  2.039e-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:  8.573e-01  1.989e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.80
Ra Dec: 352.329 -49.932
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 7.12e-08 +/- 3.52e-08
Energy Flux (Fixed Index): 2.71e-05 +/- 1.34e-05

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) = 5734.56213397
delta logL = 0.0265336586635

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5734.56065522
delta logL = 0.028012415577

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6159       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0270       1.0000          .0000       5.0000    
     3 'Normalizat'    .86740       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84944       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=   5734.561     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      202 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6140        1.8925        .63047E-02    .18072E-03
   2  alpha         2.0259        .74249        .30223       -.30084E-04
   3  Normalizat    .86785        .16170        .44484E-01    .13816E-04
   4  Prefactor     .84904        .17331        .44357E-01    .20247E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.61396
  alpha      = 2.02594
  Normalizat = 0.867846
  Prefactor  = 0.84904
 **********
 **   18 **HESSE 
 **********

 FCN=   5734.561     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6140        1.2893        .57509E-04   -1.5385    
   2  alpha         2.0259        .60404        .14873E-01   -.19078    
   3  Normalizat    .86785        .18959        .22789E-03   -.97599    
   4  Prefactor     .84904        .20210        .24820E-03   -.97945    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51205e-12
Minuit parameter uncertainties:
  1  1.28929
  2  0.610311
  3  0.189731
  4  0.202276
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/964445': 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) = 5734.56065118
delta logL = 0.0280164535261

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  2.614e+00  1.289e+00  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  2.026e+00  6.103e-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:  8.490e-01  2.023e-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:  8.678e-01  1.897e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.94
Ra Dec: 352.329 -49.932
Photon Index (Free Index): 2.03 +/- 0.61
Photon Flux (Free Index): 6.33e-08 +/- 4.41e-08
Energy Flux (Free Index): 2.93e-05 +/- 1.78e-05

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/964445/cmap_HighResolution_464572801_464832001_4FGL_J2329.3-4955_daily_bin869.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.12e-08', energy_flux2='2.93e-05', photon_flux_error='3.52e-08', dlogl='2.80e-02', energy_flux='2.71e-05', photon_flux2='6.33e-08', job_status='DONE', time_completed='2021-09-29 21:41:17.444454', photon_index_error2='0.61', photon_index2='2.03', ts='8.80', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.78e-05', EG='0.86', time_epoch_completed='1632976877.44', return_code='0', job_id='964445', GAL2='0.85', EG2='0.87', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='4.41e-08', ts2='8.94', photon_index='2.18' WHERE bin_id='869' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:41:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 964445: <4FGL_J2329.3-4955_daily_bin869> in cluster <slac> Done

Job <4FGL_J2329.3-4955_daily_bin869> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 21:25:26 2021
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 21:25:28 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:25:28 2021
Terminated at Wed Sep 29 21:41:17 2021
Results reported at Wed Sep 29 21:41:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin869 352.329 -49.9324 464572801 464832001 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 :                                   723.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             281.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   949 sec.
    Turnaround time :                            951 sec.

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

