/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 222 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_bin899
RA = 352.329, Dec = -49.9324
tmin = 472348801, tmax = 472608001
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='964521', job_status='RUN', time_executed='2021-09-29 21:29:21.475464', time_epoch_executed='1632976161.48' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='899'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/964521

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/964521/ft1_4FGL_J2329.3-4955_daily_bin899.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/964521/ft2_4FGL_J2329.3-4955_daily_bin899.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/964521/ft1_4FGL_J2329.3-4955_daily_bin899.fits outfile=/scratch/kocevski/964521/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin899.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=472348801.0 tmax=472608001.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.85
user 3.60
sys 0.23

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/964521/ft1_filtered_4FGL_J2329.3-4955_daily_bin899.fits" evtable="EVENTS" scfile=/scratch/kocevski/964521/ft2_4FGL_J2329.3-4955_daily_bin899.fits sctable="SC_DATA" outfile=/scratch/kocevski/964521/ltcube_472348801_472608001_4FGL_J2329.3-4955_daily_bin899.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/964521/ft2_4FGL_J2329.3-4955_daily_bin899.fits
.....................!
real 12.85
user 12.51
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/964521/ft1_filtered_4FGL_J2329.3-4955_daily_bin899.fits evtable="EVENTS" scfile=/scratch/kocevski/964521/ft2_4FGL_J2329.3-4955_daily_bin899.fits sctable="SC_DATA" expcube=/scratch/kocevski/964521/ltcube_472348801_472608001_4FGL_J2329.3-4955_daily_bin899.fits outfile=/scratch/kocevski/964521/expmap_472348801_472608001_4FGL_J2329.3-4955_daily_bin899.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/964521/ltcube_472348801_472608001_4FGL_J2329.3-4955_daily_bin899.fits
.....................!
real 190.16
user 185.36
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/964521/ft1_filtered_4FGL_J2329.3-4955_daily_bin899.fits scfile=/scratch/kocevski/964521/ft2_4FGL_J2329.3-4955_daily_bin899.fits outfile=/scratch/kocevski/964521/cmap_472348801_472608001_4FGL_J2329.3-4955_daily_bin899.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/964521/ft1_filtered_4FGL_J2329.3-4955_daily_bin899.fits scfile=/scratch/kocevski/964521/ft2_4FGL_J2329.3-4955_daily_bin899.fits outfile=/scratch/kocevski/964521/cmap_HighResolution_472348801_472608001_4FGL_J2329.3-4955_daily_bin899.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.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/964521/ft1_filtered_4FGL_J2329.3-4955_daily_bin899.fits evtable="EVENTS" scfile=/scratch/kocevski/964521/ft2_4FGL_J2329.3-4955_daily_bin899.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/964521/Model_4FGL_J2329.3-4955_daily_bin899.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/964521/ft1_filtered_4FGL_J2329.3-4955_daily_bin899.fits.....................!
real 35.02
user 33.80
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10466E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.4435       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    12.681       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.9565       1.0000         .10000E-03   10000.    
    17 'norm      '    19.787       1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.5962       1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.9604       1.0000         .10000E-03   10000.    
    21 'Prefactor '    24.292       1.0000         .10000E-03   10000.    
    22 'norm      '    14.834       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.6071       1.0000         .10000E-03   10000.    
    24 'norm      '    .74622       1.0000         .10000E-03   10000.    
    25 'norm      '    .10631E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10215E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    8.6238       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .32935       1.0000         .10000E-03   10000.    
    31 'Prefactor '    4.2305       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.2853       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .62659       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=   4041.600     FROM MIGRAD    STATUS=CONVERGED    891 CALLS     4588 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    72.624        .14706E-06** at limit **
   2  Prefactor     .10000E-03    15.793       -.17436E-06** at limit **
   3  Prefactor     .10000E-03    156.58       -.12900E-05** at limit **
   4  Prefactor     .10000E-03    2.9511       -.64955E-08** at limit **
   5  Prefactor     4.4422        6.0458       -.50510E-08    .47651E-04
   6  Prefactor     .10000E-03    2.5427        .25653E-08** at limit **
   7  norm          .10000E-03    15.409        .18761E-07** at limit **
   8  norm          12.682        9.4953        .30335E-07    .52075E-05
   9  Prefactor     .10000E-03    5.7330       -.34795E-08** at limit **
  10  Prefactor     .10000E-03    2.6733        .21496E-08** at limit **
  11  Prefactor     .10000E-03    12.421       -.21890E-06** at limit **
  12  Prefactor     .10000E-03    5.2864        .76340E-08** at limit **
  13  Prefactor     .10000E-03    44.558       -.86995E-08** at limit **
  14  Prefactor     .10000E-03    3.0642       -.25287E-07** at limit **
  15  Prefactor     .10000E-03    11.705        .86417E-07** at limit **
  16  Prefactor     8.9418        22.888       -.95981E-06   -.80985E-05
  17  norm          19.787        20.785        .28165E-07    .14102E-04
  18  norm          .10000E-03    3.8462       -.88571E-07** at limit **
  19  norm          5.5953        5.5528       -.85308E-07   -.38945E-04
  20  Prefactor     8.9568        10.640        .21107E-06    .12818E-03
  21  Prefactor     24.177        69.779        .85726E-05    .10407E-03
  22  norm          14.836        9.4830       -.88820E-06    .89878E-05
  23  Prefactor     2.5989        68.148       -.32815E-06    .53889E-04
  24  norm          .74691        1.7767        .47682E-06    .53915E-03
  25  norm          .10000E-03    2.9680       -.28511E-06** at limit **
  26  Prefactor     .10000E-03    9.2323        .14685E-07** at limit **
  27  Prefactor     8.6197        5.2604       -.76491E-07    .23497E-03
  28  Prefactor     .10000E-03    14.945        .23573E-06** at limit **
  29  norm          .10000E-03    14.839        .16533E-06** at limit **
  30  Prefactor     .33833        7.4238       -.18582E-05    .66212E-03
  31  Prefactor     4.2271        6.2035       -.24536E-06    .51207E-05
  32  Normalizat    1.2860        .22760        .92071E-06    .17682E-03
  33  Prefactor     .62589        .22048       -.14549E-05    .84896E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.44225
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 12.682
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.94182
  norm       = 19.7874
  norm       = 0.0001
  norm       = 5.59528
  Prefactor  = 8.95682
  Prefactor  = 24.1775
  norm       = 14.8362
  Prefactor  = 2.59894
  norm       = 0.746912
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.6197
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.338329
  Prefactor  = 4.2271
  Normalizat = 1.28602
  Prefactor  = 0.625891
 **********
 **   18 **HESSE 
 **********

 FCN=   4041.600     FROM HESSE     STATUS=OK           689 CALLS     5277 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    72.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    159.82        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.9527        .10666E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.4422        6.0382        .17727E-03   -1.5286    
   6  Prefactor     .10000E-03    2.5441        .99006E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    15.415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          12.682        9.4965        .11248E-03   -1.4996    
   9  Prefactor     .10000E-03    5.9207        .29712E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.6869        .10149E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    12.435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.3017        .14275E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    44.566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.0684        .10869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.9418        22.342        .13393E-03   -1.5110    
  17  norm          19.787        20.791        .90042E-04   -1.4818    
  18  norm          .10000E-03    3.8528        .12174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.5953        5.5577        .14402E-03   -1.5235    
  20  Prefactor     8.9568        10.666        .13390E-03   -1.5109    
  21  Prefactor     24.177        71.699        .81274E-04   -1.4724    
  22  norm          14.836        9.5037        .10399E-03   -1.4937    
  23  Prefactor     2.5989        71.673        .12632E-02   -1.5386    
  24  norm          .74691        1.6877        .10715E-03   -1.5535    
  25  norm          .10000E-03    2.9920        .10707E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    9.2531        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     8.6197        5.2505        .10480E-03   -1.5121    
  28  Prefactor     .10000E-03    14.976        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .10000E-03    14.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .33833        26.711        .24423E-02   -1.5592    
  31  Prefactor     4.2271        6.2114        .18108E-03   -1.5297    
  32  Normalizat    1.2860        .27189        .21413E-03   -.83985    
  33  Prefactor     .62589        .25972        .30324E-03   -1.0651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.40495e-09
Minuit parameter uncertainties:
  1  2.4817e-05
  2  7.11585e-06
  3  6.05838e-05
  4  1.16319e-06
  5  6.03899
  6  6.39299e-07
  7  4.10971e-06
  8  9.4976
  9  1.27035e-06
  10  9.51155e-08
  11  1.76809e-05
  12  1.49077e-06
  13  8.87824e-07
  14  2.01869e-06
  15  6.86373e-06
  16  22.3629
  17  20.7987
  18  8.87382e-06
  19  5.55824
  20  10.6678
  21  71.9559
  22  9.50464
  23  27.3321
  24  1.68786
  25  2.5493e-05
  26  9.14658e-06
  27  5.25082
  28  2.55716e-05
  29  3.13232e-05
  30  6.01423
  31  6.21233
  32  0.272194
  33  0.260215
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  7.469e-01  1.688e+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:  6.259e-01  2.602e-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.286e+00  2.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.28
Ra Dec: 352.329 -49.932
Photon Flux Upper Limit: 1.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.50e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/964521/likelihoodResults_472348801_472608001_4FGL_J2329.3-4955_daily_bin899.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): 0
logL (Free Index) = 4041.55388775
delta logL = 0.0464697223956

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4041.55244538
delta logL = 0.0479120862474

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .77181       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6780       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2705       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63597       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=   4041.552     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      231 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .77227        46.659        .12334E-01    .71075E-03
   2  alpha         2.6791        3.6510        .41284        .44786E-05
   3  Normalizat    1.2702        .53671E-01    .48676E-01   -.69777E-04
   4  Prefactor     .63630        .57433E-01    .67994E-01   -.34747E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.772273
  alpha      = 2.67911
  Normalizat = 1.27017
  Prefactor  = 0.636296
 **********
 **   18 **HESSE 
 **********

 FCN=   4041.552     FROM HESSE     STATUS=OK            31 CALLS      262 TOTAL
                     EDM=   .80E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .77227        1.5680        .91747E-04   -1.5532    
   2  alpha         2.6791        1.7463        .31292E-01    .71705E-01
   3  Normalizat    1.2702        .25599        .21519E-03   -.84461    
   4  Prefactor     .63630        .25761        .30090E-03   -1.0608    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.03896e-12
Minuit parameter uncertainties:
  1  1.56811
  2  1.93465
  3  0.25624
  4  0.258091
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/964521': 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) = 4041.5524443
delta logL = 0.0479131734328

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  7.723e-01  1.568e+00  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  2.679e+00  1.935e+00  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:  6.363e-01  2.581e-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.270e+00  2.562e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.28
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/964521/cmap_HighResolution_472348801_472608001_4FGL_J2329.3-4955_daily_bin899.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.50e-05', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2021-09-29 21:41:21.491925', job_id='964521', GAL2='0.64', fit_tolerance='1e-08', EG2='1.27', EG='1.29', time_epoch_completed='1632976881.49', return_code2='0', ts='0.28', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='4.79e-02', ts2='0.38', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='899' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:41:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 964521: <4FGL_J2329.3-4955_daily_bin899> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin899 352.329 -49.9324 472348801 472608001 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 :                                   718.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   950 sec.
    Turnaround time :                            953 sec.

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

