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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1348
RA = 352.329, Dec = -49.9324
tmin = 588729601, tmax = 588988801
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='968905', job_status='RUN', time_executed='2021-09-29 21:31:25.904986', time_epoch_executed='1632976285.91' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1348'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/968905

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/968905/ft1_4FGL_J2329.3-4955_daily_bin1348.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/968905/ft2_4FGL_J2329.3-4955_daily_bin1348.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/968905/ft1_4FGL_J2329.3-4955_daily_bin1348.fits outfile=/scratch/kocevski/968905/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1348.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=588729601.0 tmax=588988801.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.14
user 2.90
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/968905/ft1_filtered_4FGL_J2329.3-4955_daily_bin1348.fits" evtable="EVENTS" scfile=/scratch/kocevski/968905/ft2_4FGL_J2329.3-4955_daily_bin1348.fits sctable="SC_DATA" outfile=/scratch/kocevski/968905/ltcube_588729601_588988801_4FGL_J2329.3-4955_daily_bin1348.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/968905/ft2_4FGL_J2329.3-4955_daily_bin1348.fits
.....................!
real 12.40
user 12.03
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/968905/ft1_filtered_4FGL_J2329.3-4955_daily_bin1348.fits evtable="EVENTS" scfile=/scratch/kocevski/968905/ft2_4FGL_J2329.3-4955_daily_bin1348.fits sctable="SC_DATA" expcube=/scratch/kocevski/968905/ltcube_588729601_588988801_4FGL_J2329.3-4955_daily_bin1348.fits outfile=/scratch/kocevski/968905/expmap_588729601_588988801_4FGL_J2329.3-4955_daily_bin1348.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/968905/ltcube_588729601_588988801_4FGL_J2329.3-4955_daily_bin1348.fits
.....................!
real 190.03
user 184.97
sys 4.65

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/968905/ft1_filtered_4FGL_J2329.3-4955_daily_bin1348.fits scfile=/scratch/kocevski/968905/ft2_4FGL_J2329.3-4955_daily_bin1348.fits outfile=/scratch/kocevski/968905/cmap_588729601_588988801_4FGL_J2329.3-4955_daily_bin1348.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/968905/ft1_filtered_4FGL_J2329.3-4955_daily_bin1348.fits scfile=/scratch/kocevski/968905/ft2_4FGL_J2329.3-4955_daily_bin1348.fits outfile=/scratch/kocevski/968905/cmap_HighResolution_588729601_588988801_4FGL_J2329.3-4955_daily_bin1348.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/968905/ft1_filtered_4FGL_J2329.3-4955_daily_bin1348.fits evtable="EVENTS" scfile=/scratch/kocevski/968905/ft2_4FGL_J2329.3-4955_daily_bin1348.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/968905/Model_4FGL_J2329.3-4955_daily_bin1348.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/968905/ft1_filtered_4FGL_J2329.3-4955_daily_bin1348.fits...........!
real 14.18
user 12.94
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/968905/ft1_filtered_4FGL_J2329.3-4955_daily_bin1348.fits', '/scratch/kocevski/968905/ft2_4FGL_J2329.3-4955_daily_bin1348.fits', expMap='/scratch/kocevski/968905/expmap_588729601_588988801_4FGL_J2329.3-4955_daily_bin1348.fits', expCube='/scratch/kocevski/968905/ltcube_588729601_588988801_4FGL_J2329.3-4955_daily_bin1348.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/968905/Model_4FGL_J2329.3-4955_daily_bin1348.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/968905/ft1_filtered_4FGL_J2329.3-4955_daily_bin1348.fits
Spacecraft file(s): /scratch/kocevski/968905/ft2_4FGL_J2329.3-4955_daily_bin1348.fits
Exposure map: /scratch/kocevski/968905/expmap_588729601_588988801_4FGL_J2329.3-4955_daily_bin1348.fits
Exposure cube: /scratch/kocevski/968905/ltcube_588729601_588988801_4FGL_J2329.3-4955_daily_bin1348.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/968905/Model_4FGL_J2329.3-4955_daily_bin1348.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 135.302849086

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 119.664603649

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14779E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .16366E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .75051E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .97934E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .14172E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .19061E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .16819E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    .11828E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13735E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .15699E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .57919E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    84.013       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .88142E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10991       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .73810E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .39242       1.0000         .10000E-03   10000.    
    17 'norm      '    9922.5       1.0000         .10000E-03   10000.    
    18 'norm      '    9951.7       1.0000         .10000E-03   10000.    
    19 'norm      '    1.3757       1.0000         .10000E-03   10000.    
    20 'Prefactor '    9999.7       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.5623       1.0000         .10000E-03   10000.    
    22 'norm      '    4.9807       1.0000         .10000E-03   10000.    
    23 'Prefactor '    9995.8       1.0000         .10000E-03   10000.    
    24 'norm      '    9999.7       1.0000         .10000E-03   10000.    
    25 'norm      '    1.8078       1.0000         .10000E-03   10000.    
    26 'Prefactor '    2507.2       1.0000         .10000E-03   10000.    
    27 'Prefactor '    9998.3       1.0000         .10000E-03   10000.    
    28 'Prefactor '    9999.8       1.0000         .10000E-03   10000.    
    29 'norm      '    9997.9       1.0000         .10000E-03   10000.    
    30 'Prefactor '    9999.2       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .62325E-01   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    33 'Prefactor '    .33618E-04   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   119.6642     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      669 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11163E-02    54.076       -.58884E-05** at limit **
   2  Prefactor     .16112E-03    21.036       -.97233E-05** at limit **
   3  Prefactor     .19451E-03    21.910       -.74476E-05** at limit **
   4  Prefactor     .81095E-03    94.712        .21954E-04** at limit **
   5  Prefactor     .10000E-03    132.31       -.15086E-04** at limit **
   6  Prefactor     .10000E-03    53.395       -.17192E-05** at limit **
   7  norm          .11682E-03    353.31        .43869E-05** at limit **
   8  norm          .10000E-03    23.756        .39236E-06** at limit **
   9  Prefactor     .10000E-03    79.952        .47798E-06** at limit **
  10  Prefactor     .10000E-03    49.561        .21266E-05** at limit **
  11  Prefactor     .10010E-03    177.97       -.23941E-04** at limit **
  12  Prefactor     84.071        4.4261       -.50417E-06    .13304E-02
  13  Prefactor     .10806E-03    88.305        .27217E-04** at limit **
  14  Prefactor     .35951E-01    64.467       -.21920E-04    .45759E-03
  15  Prefactor     .27936E-02    543.11       -.73729E-04   -.39516E-02
  16  Prefactor     .14733E-01    680.01       -.61440E-04    .49801E-03
  17  norm          9922.7        8.9099        .14994E-05   -.29173E-02
  18  norm          9951.9        12.576        .26863E-05   -.32694E-02
  19  norm          1.3757        1.0889         .0000         .0000    
  20  Prefactor    10000.0        268.73        .42578E-04   -.63411E-03
  21  Prefactor     7.5626        1.0024        .90386E-08   -.17221E-05
  22  norm          4.9807        1.0051         .0000         .0000    
  23  Prefactor     9996.2        29.349        .15972E-04   -.16294E-02
  24  norm         10000.0        1070.0       -.31248E-04** at limit **
  25  norm          1.8078        1.0445         .0000         .0000    
  26  Prefactor     2507.4        12.739        .43418E-06   -.20605E-01
  27  Prefactor     9999.9        6339.0        .12606E-03   -.17690E-02
  28  Prefactor     9999.9        5.6667        .68141E-05   -.17175E-03
  29  norm          9998.3        80.445        .26232E-04   -.12688E-02
  30  Prefactor     9999.9        6378.8        .25378E-04    .20343E-02
  31  Prefactor     .73976E-02    278.57        .12972E-05   -.13015E-02
  32  Normalizat    .10000E-01    .23480        .39356E-06** at limit **
  33  Prefactor     .41078E-13    1.1750        .19356E-05** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00111631
  Prefactor  = 0.000161125
  Prefactor  = 0.000194505
  Prefactor  = 0.000810947
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000116817
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100104
  Prefactor  = 84.0713
  Prefactor  = 0.000108061
  Prefactor  = 0.0359507
  Prefactor  = 0.00279357
  Prefactor  = 0.0147326
  norm       = 9922.68
  norm       = 9951.86
  norm       = 1.37575
  Prefactor  = 9999.96
  Prefactor  = 7.56259
  norm       = 4.98067
  Prefactor  = 9996.18
  norm       = 10000
  norm       = 1.80785
  Prefactor  = 2507.44
  Prefactor  = 9999.94
  Prefactor  = 9999.87
  norm       = 9998.28
  Prefactor  = 9999.93
  Prefactor  = 0.0073976
  Normalizat = 0.01
  Prefactor  = 4.10783e-14
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   119.6642     FROM HESSE     STATUS=FAILED        81 CALLS      750 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11163E-02    6707.7        .90967E-02   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .16112E-03    7773.9        .90712E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .19451E-03    7244.9        .92926E-02   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .81095E-03    1692.9        .90720E-02   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    132.33        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    53.398        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .11682E-03    355.10        .10189E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    23.756        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    79.960        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    49.567        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10010E-03    178.10        .94963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     84.071        95.684        .10956E-02   -1.3872    
  13  Prefactor     .10806E-03    1124.3        .91532E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .35951E-01    9910.3        .95584E-02   -1.5670    
  15  Prefactor     .27936E-02    642.44        .93065E-02   -1.5718    
  16  Prefactor     .14733E-01    8974.6        .10823E-01   -1.5684    
  17  norm          9922.7        7788.9        .11406E-02    1.3947    
  18  norm          9951.9        5158.3        .14417E-02    1.4319    
  19  norm          580.22        578.63         .0000       -1.5473    
  20  Prefactor    10000.0        .26117        .42578E-04    1.5667    
  21  Prefactor     7.5626        1.0022        .90386E-08   -1.5158    
  22  norm          4.9807        1.0051         .0000       -1.5262    
  23  Prefactor     9996.2        .96306        .15972E-04    1.5317    
  24  norm         10000.0        .27054       -.31248E-04    1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.8078        1.0445         .0000       -1.5439    
  26  Prefactor     2507.4        1.0000        .43418E-06   -.52188    
  27  Prefactor     9999.9        .20309        .12606E-03    1.5659    
  28  Prefactor     9999.9        .34974        .68141E-05    1.5636    
  29  norm          9998.3        .92446        .26232E-04    1.5446    
  30  Prefactor     9999.9        .38108        .25378E-04    1.5761    
  31  Prefactor     .73976E-02    .21762        .12972E-05   -1.5725    
  32  Normalizat    .10000E-01    .25764        .39356E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .41078E-13    .25505        .19356E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.90047e-09
Minuit parameter uncertainties:
  1  3.97751
  2  1.31403
  3  1.42746
  4  2.26134
  5  4.37139e-05
  6  8.26037e-05
  7  0.155484
  8  1.26174e-05
  9  1.58133e-05
  10  9.87769e-05
  11  0.00863164
  12  95.8603
  13  0.194163
  14  54.469
  15  2.65997
  16  26.6614
  17  6840.25
  18  4518.91
  19  1.08891
  20  0.207033
  21  1.00222
  22  1.00513
  23  0.963062
  24  0.0298532
  25  1.04454
  26  1.00003
  27  0.203091
  28  0.34975
  29  0.924472
  30  0.328149
  31  0.0797029
  32  4.19556e-08
  33  2.0529e-07
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 119.664221567

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.000e+04  2.985e-02  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:  4.108e-14  2.053e-07  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:  1.000e-02  4.196e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.88
Ra Dec: 352.329 -49.932
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 2.71e-04 +/- 8.08e-10
Energy Flux (Fixed Index): 1.03e-01 +/- 3.07e-07

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) = 114.192861809
delta logL = 5.47135975828

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 114.192849105
delta logL = 5.47137246249

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.5505       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .39731E-05   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=   114.1913     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      231 TOTAL
                     EDM=   .73E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm         10000.0        1922.4        .10407E-01** at limit **
   2  alpha         4.5512        .42487        .56760E-01   -.30143E-05
   3  Normalizat    .10000E-01    .21643        .69770E-01** at limit **
   4  Prefactor     .18907E-01    1.0476        .14117        .38583E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 10000
  alpha      = 4.55125
  Normalizat = 0.01
  Prefactor  = 0.0189073
 **********
 **   18 **HESSE 
 **********

 FCN=   114.1913     FROM HESSE     STATUS=OK            29 CALLS      260 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm         10000.0        1922.4        .20815E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.5512        .42419        .31552E-03    .96228    
   3  Normalizat    .10000E-01    .21578        .15383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .18907E-01    1.4876        .68742E-02   -1.4838    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6481e-10
Minuit parameter uncertainties:
  1  0.00165613
  2  0.430684
  3  2.99471e-08
  4  0.34471
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/968905': 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) = 114.19131161
delta logL = 5.47290995745

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.000e+04  1.656e-03  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  4.551e+00  4.307e-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.891e-02  3.447e-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:  1.000e-02  2.995e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 24.73
Ra Dec: 352.329 -49.932
Photon Index (Free Index): 4.55 +/- 0.43
Photon Flux (Free Index): 4.25e-03 +/- 2.47e-03
Energy Flux (Free Index): 6.05e-01 +/- 3.20e-01

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/968905/cmap_HighResolution_588729601_588988801_4FGL_J2329.3-4955_daily_bin1348.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.71e-04', energy_flux2='6.05e-01', photon_flux_error='8.08e-10', dlogl='5.47e+00', energy_flux='1.03e-01', photon_flux2='4.25e-03', job_status='DONE', time_completed='2021-09-29 21:36:48.733578', photon_index_error2='0.43', photon_index2='4.55', ts='13.88', fit_tolerance='1e-08', GAL='0.00', photon_index_error='0.00', energy_flux_error2='3.20e-01', EG='0.01', time_epoch_completed='1632976608.73', return_code='101', job_id='968905', GAL2='0.02', EG2='0.01', return_code2='0', energy_flux_error='3.07e-07', photon_flux_error2='2.47e-03', ts2='24.73', photon_index='2.18' WHERE bin_id='1348' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:36:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 968905: <4FGL_J2329.3-4955_daily_bin1348> in cluster <slac> Done

Job <4FGL_J2329.3-4955_daily_bin1348> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 21:30:47 2021
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 21:30:48 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:48 2021
Terminated at Wed Sep 29 21:36:49 2021
Results reported at Wed Sep 29 21:36:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1348 352.329 -49.9324 588729601 588988801 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 :                                   321.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             251.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   360 sec.
    Turnaround time :                            362 sec.

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

