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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1576
RA = 352.329, Dec = -49.9324
tmin = 647827201, tmax = 648086401
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='972982', job_status='RUN', time_executed='2021-09-29 21:36:43.484773', time_epoch_executed='1632976603.48' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1576'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/972982

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/972982/ft1_4FGL_J2329.3-4955_daily_bin1576.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/972982/ft2_4FGL_J2329.3-4955_daily_bin1576.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/972982/ft1_4FGL_J2329.3-4955_daily_bin1576.fits outfile=/scratch/kocevski/972982/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1576.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=647827201.0 tmax=648086401.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.01
user 3.80
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/972982/ft1_filtered_4FGL_J2329.3-4955_daily_bin1576.fits" evtable="EVENTS" scfile=/scratch/kocevski/972982/ft2_4FGL_J2329.3-4955_daily_bin1576.fits sctable="SC_DATA" outfile=/scratch/kocevski/972982/ltcube_647827201_648086401_4FGL_J2329.3-4955_daily_bin1576.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/972982/ft2_4FGL_J2329.3-4955_daily_bin1576.fits
.....................!
real 11.64
user 11.30
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/972982/ft1_filtered_4FGL_J2329.3-4955_daily_bin1576.fits evtable="EVENTS" scfile=/scratch/kocevski/972982/ft2_4FGL_J2329.3-4955_daily_bin1576.fits sctable="SC_DATA" expcube=/scratch/kocevski/972982/ltcube_647827201_648086401_4FGL_J2329.3-4955_daily_bin1576.fits outfile=/scratch/kocevski/972982/expmap_647827201_648086401_4FGL_J2329.3-4955_daily_bin1576.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/972982/ltcube_647827201_648086401_4FGL_J2329.3-4955_daily_bin1576.fits
.....................!
real 191.34
user 186.03
sys 4.98

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/972982/ft1_filtered_4FGL_J2329.3-4955_daily_bin1576.fits scfile=/scratch/kocevski/972982/ft2_4FGL_J2329.3-4955_daily_bin1576.fits outfile=/scratch/kocevski/972982/cmap_647827201_648086401_4FGL_J2329.3-4955_daily_bin1576.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/972982/ft1_filtered_4FGL_J2329.3-4955_daily_bin1576.fits scfile=/scratch/kocevski/972982/ft2_4FGL_J2329.3-4955_daily_bin1576.fits outfile=/scratch/kocevski/972982/cmap_HighResolution_647827201_648086401_4FGL_J2329.3-4955_daily_bin1576.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/972982/ft1_filtered_4FGL_J2329.3-4955_daily_bin1576.fits evtable="EVENTS" scfile=/scratch/kocevski/972982/ft2_4FGL_J2329.3-4955_daily_bin1576.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/972982/Model_4FGL_J2329.3-4955_daily_bin1576.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/972982/ft1_filtered_4FGL_J2329.3-4955_daily_bin1576.fits.....................!
real 41.18
user 39.88
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10562E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11536E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11690E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.0926       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10571E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.3562       1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.604       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .56851E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.039       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10292E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.126       1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.715       1.0000         .10000E-03   10000.    
    17 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.4278       1.0000         .10000E-03   10000.    
    20 'Prefactor '    13.329       1.0000         .10000E-03   10000.    
    21 'Prefactor '    33.368       1.0000         .10000E-03   10000.    
    22 'norm      '    .10707E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    26.784       1.0000         .10000E-03   10000.    
    24 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    10.839       1.0000         .10000E-03   10000.    
    27 'Prefactor '    1.3806       1.0000         .10000E-03   10000.    
    28 'Prefactor '    9.6767       1.0000         .10000E-03   10000.    
    29 'norm      '    3.8833       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10188E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .76856       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .89525       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=   5598.468     FROM MIGRAD    STATUS=CONVERGED    925 CALLS     4790 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.343       -.24564E-06** at limit **
   2  Prefactor     .10000E-03    9.5764       -.15607E-06** at limit **
   3  Prefactor     .10000E-03    11.215       -.43081E-07** at limit **
   4  Prefactor     .98442E-02    7.5211       -.31751E-05    .77753E-03
   5  Prefactor     .10000E-03    9.5322       -.27175E-07** at limit **
   6  Prefactor     .10000E-03    2.5352       -.13942E-07** at limit **
   7  norm          .10000E-03    15.799        .25910E-06** at limit **
   8  norm          1.0911        10.278        .66987E-05    .22948E-03
   9  Prefactor     .10000E-03    2.1271       -.21328E-06** at limit **
  10  Prefactor     3.3529        5.3420       -.40758E-06   -.62662E-04
  11  Prefactor     23.649        26.701        .67745E-05    .24069E-03
  12  Prefactor     .10025E-03    7.3305       -.33688E-05** at limit **
  13  Prefactor     10.167        112.36        .74909E-05   -.53868E-04
  14  Prefactor     .10000E-03    10.432       -.19339E-06** at limit **
  15  Prefactor     14.101        23.089        .60041E-07    .30523E-04
  16  Prefactor     18.713        14.928        .17700E-06    .78859E-04
  17  norm          .10000E-03    4.8639       -.13455E-07** at limit **
  18  norm          .10000E-03    2.0266        .15520E-07** at limit **
  19  norm          3.4258        3.7910        .19025E-06    .23895E-03
  20  Prefactor     13.326        7.9648        .42273E-07    .92013E-04
  21  Prefactor     33.352        30.235        .14506E-05    .23139E-03
  22  norm          .10000E-03    2.4859       -.80218E-06** at limit **
  23  Prefactor     26.783        18.271       -.30384E-06    .61131E-04
  24  norm          .10000E-03    .42413       -.63221E-07** at limit **
  25  norm          .10000E-03    2.0662       -.12602E-06** at limit **
  26  Prefactor     10.839        13.437       -.75359E-09    .96597E-04
  27  Prefactor     1.3743        4.7468       -.19874E-05   -.42648E-04
  28  Prefactor     9.7332        35.121        .43845E-05    .40275E-04
  29  norm          3.8681        11.992       -.54922E-06   -.37647E-04
  30  Prefactor     .10000E-03    3.8305        .15462E-05** at limit **
  31  Prefactor     .10000E-03    1.9231       -.23138E-06** at limit **
  32  Normalizat    .76849        .16364        .10165E-05    .57344E-03
  33  Prefactor     .89537        .16671       -.39817E-06    .56225E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00984421
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.09107
  Prefactor  = 0.0001
  Prefactor  = 3.35287
  Prefactor  = 23.6491
  Prefactor  = 0.000100247
  Prefactor  = 10.1665
  Prefactor  = 0.0001
  Prefactor  = 14.1013
  Prefactor  = 18.713
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.42579
  Prefactor  = 13.3264
  Prefactor  = 33.3524
  norm       = 0.0001
  Prefactor  = 26.7827
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 10.839
  Prefactor  = 1.37426
  Prefactor  = 9.73319
  norm       = 3.86812
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.768488
  Prefactor  = 0.895374
 **********
 **   18 **HESSE 
 **********

 FCN=   5598.468     FROM HESSE     STATUS=OK           701 CALLS     5491 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.5968        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .98442E-02    9.1714        .55632E-01   -1.5688    
   5  Prefactor     .10000E-03    9.9195        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.5488        .11633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    15.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.0911        10.284        .22848E-02   -1.5499    
   9  Prefactor     .10000E-03    9.0293        .20894E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.3529        5.3025        .20088E-03   -1.5342    
  11  Prefactor     23.649        26.176        .82448E-04   -1.4735    
  12  Prefactor     .10025E-03    133.32        .35627E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.167        110.46        .12647E-03   -1.5070    
  14  Prefactor     .10000E-03    10.846        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.101        23.081        .10657E-03   -1.4957    
  16  Prefactor     18.713        14.908        .92583E-04   -1.4843    
  17  norm          .10000E-03    4.8715        .16116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.0308        .10401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.4258        3.7697        .72266E-03   -1.5338    
  20  Prefactor     13.326        7.9622        .10971E-03   -1.4978    
  21  Prefactor     33.352        28.059        .69370E-04   -1.4552    
  22  norm          .10000E-03    3.6421        .20733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     26.783        18.266        .77407E-04   -1.4672    
  24  norm          .10000E-03    .43494        .94596E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    2.1290        .20976E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     10.839        13.458        .12169E-03   -1.5049    
  27  Prefactor     1.3743        4.3052        .19670E-03   -1.5474    
  28  Prefactor     9.7332        32.033        .12882E-03   -1.5084    
  29  norm          3.8681        11.813        .20476E-03   -1.5315    
  30  Prefactor     .10000E-03    3.8685        .28071E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    1.9554        .10122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .76849        .19636        .22527E-03   -1.0125    
  33  Prefactor     .89537        .19979        .22893E-03   -.96303    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.41274e-09
Minuit parameter uncertainties:
  1  3.30388e-05
  2  1.92169e-06
  3  1.6964e-06
  4  0.597981
  5  3.09918e-05
  6  3.87103e-06
  7  1.67456e-05
  8  6.70067
  9  1.83027e-06
  10  5.30327
  11  26.1888
  12  0.0115065
  13  67.1814
  14  4.19253e-05
  15  23.0954
  16  14.9106
  17  2.4603e-06
  18  1.81873e-06
  19  3.76993
  20  7.96282
  21  28.0696
  22  3.55315e-06
  23  18.2697
  24  9.56002e-09
  25  4.47702e-06
  26  13.462
  27  4.30621
  28  32.0891
  29  11.82
  30  8.50533e-05
  31  1.87302e-06
  32  0.196545
  33  0.199949
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.000e-04  9.560e-09  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.954e-01  1.999e-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:  7.685e-01  1.965e-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: 4.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.88e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/972982/likelihoodResults_647827201_648086401_4FGL_J2329.3-4955_daily_bin1576.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) = 5598.4790083
delta logL = -0.0107828629798

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5598.01991536
delta logL = 0.448310074167

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .63982E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .70971       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93545       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5598.020     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      325 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .64021E-01    .80237E-01    .19769E-04    .11933E-02
   2  alpha         5.0000        3.5149        .50000    ** at limit **
   3  Normalizat    .70972        .18954        .23307E-03   -.63362E-04
   4  Prefactor     .93544        .20072        .22429E-03   -.11106E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0640208
  alpha      = 5
  Normalizat = 0.709716
  Prefactor  = 0.935444
 **********
 **   18 **HESSE 
 **********

 FCN=   5598.020     FROM HESSE     STATUS=OK            29 CALLS      354 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .64021E-01    .79991E-01    .79078E-06   -1.5657    
   2  alpha         5.0000        3.5099        .50000        1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .70972        .18982        .93228E-05   -1.0351    
   4  Prefactor     .93544        .20100        .89714E-05   -.94913    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.66821e-09
Minuit parameter uncertainties:
  1  0.0799907
  2  0.000456727
  3  0.189999
  4  0.201155
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/972982': 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) = 5598.01991518
delta logL = 0.448310253552

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  6.402e-02  7.999e-02  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  5.000e+00  4.567e-04  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:  9.354e-01  2.012e-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:  7.097e-01  1.900e-01  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/972982/cmap_HighResolution_647827201_648086401_4FGL_J2329.3-4955_daily_bin1576.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.88e-05', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2021-09-29 21:51:46.370421', job_id='972982', GAL2='0.94', fit_tolerance='1e-08', EG2='0.71', EG='0.77', time_epoch_completed='1632977506.37', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='4.48e-01', ts2='0.98', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1576' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:51:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0012>
Subject: Job 972982: <4FGL_J2329.3-4955_daily_bin1576> in cluster <slac> Done

Job <4FGL_J2329.3-4955_daily_bin1576> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 21:35:33 2021
Job was executed on host(s) <bullet0012>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 21:35:34 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:35:34 2021
Terminated at Wed Sep 29 21:51:46 2021
Results reported at Wed Sep 29 21:51:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1576 352.329 -49.9324 647827201 648086401 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 :                                   898.25 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             348.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   972 sec.
    Turnaround time :                            973 sec.

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

