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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin878
RA = 352.329, Dec = -49.9324
tmin = 466905601, tmax = 467164801
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='964468', job_status='RUN', time_executed='2021-09-29 21:29:30.351556', time_epoch_executed='1632976170.35' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='878'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/964468

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/964468/ft1_4FGL_J2329.3-4955_daily_bin878.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/964468/ft2_4FGL_J2329.3-4955_daily_bin878.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/964468/ft1_4FGL_J2329.3-4955_daily_bin878.fits outfile=/scratch/kocevski/964468/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin878.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=466905601.0 tmax=467164801.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.66
user 3.36
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/964468/ft1_filtered_4FGL_J2329.3-4955_daily_bin878.fits" evtable="EVENTS" scfile=/scratch/kocevski/964468/ft2_4FGL_J2329.3-4955_daily_bin878.fits sctable="SC_DATA" outfile=/scratch/kocevski/964468/ltcube_466905601_467164801_4FGL_J2329.3-4955_daily_bin878.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/964468/ft2_4FGL_J2329.3-4955_daily_bin878.fits
.....................!
real 14.40
user 14.01
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/964468/ft1_filtered_4FGL_J2329.3-4955_daily_bin878.fits evtable="EVENTS" scfile=/scratch/kocevski/964468/ft2_4FGL_J2329.3-4955_daily_bin878.fits sctable="SC_DATA" expcube=/scratch/kocevski/964468/ltcube_466905601_467164801_4FGL_J2329.3-4955_daily_bin878.fits outfile=/scratch/kocevski/964468/expmap_466905601_467164801_4FGL_J2329.3-4955_daily_bin878.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/964468/ltcube_466905601_467164801_4FGL_J2329.3-4955_daily_bin878.fits
.....................!
real 189.58
user 185.48
sys 3.72

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/964468/ft1_filtered_4FGL_J2329.3-4955_daily_bin878.fits scfile=/scratch/kocevski/964468/ft2_4FGL_J2329.3-4955_daily_bin878.fits outfile=/scratch/kocevski/964468/cmap_466905601_467164801_4FGL_J2329.3-4955_daily_bin878.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=352.329 yref=-49.9324 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/964468/ft1_filtered_4FGL_J2329.3-4955_daily_bin878.fits evtable="EVENTS" scfile=/scratch/kocevski/964468/ft2_4FGL_J2329.3-4955_daily_bin878.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/964468/Model_4FGL_J2329.3-4955_daily_bin878.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/964468/ft1_filtered_4FGL_J2329.3-4955_daily_bin878.fits.....................!
real 40.64
user 39.35
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1338       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .20614       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.5433       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.9938       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.4795       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.9924       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    53.626       1.0000         .10000E-03   10000.    
    22 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.9955       1.0000         .10000E-03   10000.    
    24 'norm      '    2.8463       1.0000         .10000E-03   10000.    
    25 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    2.6751       1.0000         .10000E-03   10000.    
    28 'Prefactor '    24.023       1.0000         .10000E-03   10000.    
    29 'norm      '    8.9862       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .81231       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .97009       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .93621       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=   5375.229     FROM MIGRAD    STATUS=CONVERGED    859 CALLS     4581 TOTAL
                     EDM=   .70E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0715        304.53       -.49761E-05   -.16244E-04
   2  Prefactor     .10000E-03    6.9796       -.34371E-07** at limit **
   3  Prefactor     .10000E-03    43.950       -.27999E-06** at limit **
   4  Prefactor     .10000E-03    4.0487        .87425E-07** at limit **
   5  Prefactor     .10000E-03    2.4260        .38623E-07** at limit **
   6  Prefactor     .20659        7.4156        .16598E-07    .38767E-04
   7  norm          .10000E-03    8.7875        .35942E-07** at limit **
   8  norm          .10000E-03    2.9618        .16565E-07** at limit **
   9  Prefactor     1.5430        2.7694        .38045E-06   -.34398E-04
  10  Prefactor     2.9935        5.0330        .49818E-06   -.30080E-04
  11  Prefactor     6.4795        21.988        .59328E-06   -.10413E-04
  12  Prefactor     .10000E-03    9.6544        .19501E-06** at limit **
  13  Prefactor     .10000E-03    35.870        .29122E-06** at limit **
  14  Prefactor     .10000E-03    4.2264        .63267E-06** at limit **
  15  Prefactor     .10000E-03    16.614        .96914E-08** at limit **
  16  Prefactor     .10000E-03    7.0821        .75468E-07** at limit **
  17  norm          .10000E-03    5.0266        .37966E-07** at limit **
  18  norm          .10000E-03    3.8897        .12853E-07** at limit **
  19  norm          1.9928        3.3781        .28348E-06    .63938E-05
  20  Prefactor     .10000E-03    2.7673       -.99321E-08** at limit **
  21  Prefactor     53.623        37.889        .42989E-06   -.15199E-04
  22  norm          .10000E-03    3.1889       -.98643E-07** at limit **
  23  Prefactor     2.9958        11.794        .11935E-05   -.17829E-04
  24  norm          2.8465        1.4123       -.50642E-07   -.24113E-03
  25  norm          .10000E-03    3.7610       -.20078E-06** at limit **
  26  Prefactor     .10000E-03    9.1445        .20653E-06** at limit **
  27  Prefactor     2.6734        5.5231        .16691E-05    .13616E-04
  28  Prefactor     24.036        33.360       -.28679E-05   -.45118E-04
  29  norm          8.9854        17.832       -.11243E-06   -.14876E-04
  30  Prefactor     .10000E-03    4.8100        .91800E-07** at limit **
  31  Prefactor     .81162        4.2382        .20742E-05   -.30285E-04
  32  Normalizat    .97003        .18713       -.24094E-06   -.21470E-03
  33  Prefactor     .93634        .19239       -.15214E-05   -.12629E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.07153
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.206594
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.54304
  Prefactor  = 2.99355
  Prefactor  = 6.47949
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.99278
  Prefactor  = 0.0001
  Prefactor  = 53.623
  norm       = 0.0001
  Prefactor  = 2.99577
  norm       = 2.84649
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.67343
  Prefactor  = 24.0358
  norm       = 8.9854
  Prefactor  = 0.0001
  Prefactor  = 0.811623
  Normalizat = 0.970026
  Prefactor  = 0.936337
 **********
 **   18 **HESSE 
 **********

 FCN=   5375.229     FROM HESSE     STATUS=OK           693 CALLS     5274 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0715        311.96        .22901E-03   -1.5357    
   2  Prefactor     .10000E-03    6.9848        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    44.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.0732        .14408E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.4312        .11153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .20659        73.067        .38119E-02   -1.5617    
   7  norm          .10000E-03    8.7886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.9733        .12323E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.5430        2.7396        .15786E-03   -1.5460    
  10  Prefactor     2.9935        5.0087        .19580E-03   -1.5362    
  11  Prefactor     6.4795        21.855        .15767E-03   -1.5199    
  12  Prefactor     .10000E-03    9.8049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    35.893        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.8570        .28984E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    16.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.1029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    5.0350        .16054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.9099        .14116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.9928        3.3529        .16859E-03   -1.5426    
  20  Prefactor     .10000E-03    2.7769        .11890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     53.623        38.164        .54772E-04   -1.4242    
  22  norm          .10000E-03    3.2080        .12707E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.9958        11.749        .23454E-03   -1.5362    
  24  norm          2.8465        1.4028        .56306E-04   -1.5371    
  25  norm          .10000E-03    3.8368        .27673E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    9.1924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     2.6734        5.4648        .18055E-03   -1.5381    
  28  Prefactor     24.036        33.008        .81727E-04   -1.4727    
  29  norm          8.9854        17.697        .13370E-03   -1.5108    
  30  Prefactor     .10000E-03    4.9466        .31141E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .81162        4.3167        .28392E-03   -1.5528    
  32  Normalizat    .97003        .23312        .22562E-03   -.94041    
  33  Prefactor     .93634        .23479        .24685E-03   -.94883    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.32195e-10
Minuit parameter uncertainties:
  1  62.2444
  2  1.40184e-05
  3  0.00011685
  4  1.23538e-06
  5  1.4753e-06
  6  7.77819
  7  5.13218e-06
  8  1.38242e-06
  9  2.73983
  10  5.00936
  11  21.8818
  12  7.78068e-06
  13  0.000146543
  14  0.000162933
  15  1.33098e-05
  16  9.42888e-07
  17  3.20105e-06
  18  2.41041e-06
  19  3.35326
  20  1.135e-07
  21  38.1817
  22  1.33504e-07
  23  11.7583
  24  1.40283
  25  4.09108e-06
  26  1.21031e-05
  27  5.46583
  28  33.0332
  29  17.7077
  30  3.5622e-06
  31  3.74373
  32  0.233364
  33  0.235044
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  2.846e+00  1.403e+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:  9.363e-01  2.350e-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:  9.700e-01  2.334e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.78
Ra Dec: 352.329 -49.932
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 7.71e-08 +/- 3.80e-08
Energy Flux (Fixed Index): 2.93e-05 +/- 1.44e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5375.03746115
delta logL = 0.191636700493

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5375.03519077
delta logL = 0.193907082221

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6299       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4725       1.0000          .0000       5.0000    
     3 'Normalizat'    .94676       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95457       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=   5375.035     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      255 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6291        23.579        .62865E-02    .26361E-03
   2  alpha         2.4723        3.5358        .27599        .27972E-04
   3  Normalizat    .94636        .98606E-01    .45496E-01    .77873E-05
   4  Prefactor     .95518        .11253        .45697E-01   -.24094E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.62908
  alpha      = 2.47233
  Normalizat = 0.946355
  Prefactor  = 0.955182
 **********
 **   18 **HESSE 
 **********

 FCN=   5375.035     FROM HESSE     STATUS=OK            33 CALLS      288 TOTAL
                     EDM=   .75E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6291        1.3662        .51538E-04   -1.5384    
   2  alpha         2.4723        .49973        .11312E-01   -.11069E-01
   3  Normalizat    .94636        .21813        .22798E-03   -.94850    
   4  Prefactor     .95518        .23354        .24466E-03   -.94239    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.49762e-12
Minuit parameter uncertainties:
  1  1.36622
  2  0.503115
  3  0.218332
  4  0.233782
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/964468': 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) = 5375.03518639
delta logL = 0.193911457819

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  2.629e+00  1.366e+00  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  2.472e+00  5.031e-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:  9.552e-01  2.338e-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:  9.464e-01  2.183e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.21
Ra Dec: 352.329 -49.932
Photon Index (Free Index): 2.47 +/- 0.50
Photon Flux (Free Index): 9.20e-08 +/- 4.64e-08
Energy Flux (Free Index): 2.61e-05 +/- 1.29e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/964468/cmap_HighResolution_466905601_467164801_4FGL_J2329.3-4955_daily_bin878.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.71e-08', energy_flux2='2.61e-05', photon_flux_error='3.80e-08', dlogl='1.94e-01', energy_flux='2.93e-05', photon_flux2='9.20e-08', job_status='DONE', time_completed='2021-09-29 21:41:58.555230', photon_index_error2='0.50', photon_index2='2.47', ts='8.78', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='1.29e-05', EG='0.97', time_epoch_completed='1632976918.56', return_code='0', job_id='964468', GAL2='0.96', EG2='0.95', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='4.64e-08', ts2='9.21', photon_index='2.18' WHERE bin_id='878' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:41:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 964468: <4FGL_J2329.3-4955_daily_bin878> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin878 352.329 -49.9324 466905601 467164801 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 :                                   745.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             236.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   989 sec.
    Turnaround time :                            991 sec.

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

