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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1045
RA = 352.329, Dec = -49.9324
tmin = 510192001, tmax = 510451201
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='968176', job_status='RUN', time_executed='2021-09-29 21:31:49.193153', time_epoch_executed='1632976309.19' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1045'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/968176

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/968176/ft1_4FGL_J2329.3-4955_daily_bin1045.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/968176/ft2_4FGL_J2329.3-4955_daily_bin1045.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/968176/ft1_4FGL_J2329.3-4955_daily_bin1045.fits outfile=/scratch/kocevski/968176/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1045.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=510192001.0 tmax=510451201.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.32
user 4.11
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/968176/ft1_filtered_4FGL_J2329.3-4955_daily_bin1045.fits" evtable="EVENTS" scfile=/scratch/kocevski/968176/ft2_4FGL_J2329.3-4955_daily_bin1045.fits sctable="SC_DATA" outfile=/scratch/kocevski/968176/ltcube_510192001_510451201_4FGL_J2329.3-4955_daily_bin1045.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/968176/ft2_4FGL_J2329.3-4955_daily_bin1045.fits
.....................!
real 13.43
user 13.09
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/968176/ft1_filtered_4FGL_J2329.3-4955_daily_bin1045.fits evtable="EVENTS" scfile=/scratch/kocevski/968176/ft2_4FGL_J2329.3-4955_daily_bin1045.fits sctable="SC_DATA" expcube=/scratch/kocevski/968176/ltcube_510192001_510451201_4FGL_J2329.3-4955_daily_bin1045.fits outfile=/scratch/kocevski/968176/expmap_510192001_510451201_4FGL_J2329.3-4955_daily_bin1045.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/968176/ltcube_510192001_510451201_4FGL_J2329.3-4955_daily_bin1045.fits
.....................!
real 191.82
user 186.67
sys 4.80

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/968176/ft1_filtered_4FGL_J2329.3-4955_daily_bin1045.fits scfile=/scratch/kocevski/968176/ft2_4FGL_J2329.3-4955_daily_bin1045.fits outfile=/scratch/kocevski/968176/cmap_510192001_510451201_4FGL_J2329.3-4955_daily_bin1045.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/968176/ft1_filtered_4FGL_J2329.3-4955_daily_bin1045.fits scfile=/scratch/kocevski/968176/ft2_4FGL_J2329.3-4955_daily_bin1045.fits outfile=/scratch/kocevski/968176/cmap_HighResolution_510192001_510451201_4FGL_J2329.3-4955_daily_bin1045.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.329 yref=-49.9324 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/968176/ft1_filtered_4FGL_J2329.3-4955_daily_bin1045.fits evtable="EVENTS" scfile=/scratch/kocevski/968176/ft2_4FGL_J2329.3-4955_daily_bin1045.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/968176/Model_4FGL_J2329.3-4955_daily_bin1045.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/968176/ft1_filtered_4FGL_J2329.3-4955_daily_bin1045.fits.....................!
real 41.79
user 40.55
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    53.116       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.5913       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10780E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.043       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.7634       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.4424       1.0000         .10000E-03   10000.    
    17 'norm      '    7.7385       1.0000         .10000E-03   10000.    
    18 'norm      '    3.0608       1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.1166       1.0000         .10000E-03   10000.    
    21 'Prefactor '    23.760       1.0000         .10000E-03   10000.    
    22 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    2.6656       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    11.141       1.0000         .10000E-03   10000.    
    29 'norm      '    15.304       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .72633       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.1751       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=   5748.826     FROM MIGRAD    STATUS=CONVERGED    865 CALLS     4523 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     53.109        54.683       -.70459E-05    .17318E-05
   2  Prefactor     6.5909        9.3802       -.70099E-06   -.55764E-03
   3  Prefactor     .10000E-03    87.417       -.17870E-04** at limit **
   4  Prefactor     .10000E-03    5.5232        .50212E-05** at limit **
   5  Prefactor     .10000E-03    4.1329       -.86972E-07** at limit **
   6  Prefactor     .10000E-03    11.791       -.28811E-05** at limit **
   7  norm          .10000E-03    7.9862       -.69476E-06** at limit **
   8  norm          .10000E-03    2.1291        .23450E-07** at limit **
   9  Prefactor     .10000E-03    1.3807        .46770E-07** at limit **
  10  Prefactor     17.042        7.9351       -.71622E-06   -.34802E-03
  11  Prefactor     4.7724        45.038        .92439E-05   -.80227E-04
  12  Prefactor     .10000E-03    10.903        .49470E-05** at limit **
  13  Prefactor     .10000E-03    47.021       -.20549E-04** at limit **
  14  Prefactor     .10000E-03    1.8998        .20899E-06** at limit **
  15  Prefactor     .10000E-03    53.902        .30634E-04** at limit **
  16  Prefactor     9.4432        11.645        .39084E-06   -.50990E-04
  17  norm          7.7393        12.185        .32909E-06   -.24496E-04
  18  norm          3.0608        4.0431       -.94005E-06   -.11456E-03
  19  norm          .10000E-03    1.8262       -.19407E-07** at limit **
  20  Prefactor     7.1175        4.9038       -.40045E-07    .10077E-03
  21  Prefactor     23.756        32.199       -.26318E-05   -.82187E-06
  22  norm          .10000E-03    2.4061       -.22667E-07** at limit **
  23  Prefactor     .10000E-03    9.7373       -.16660E-05** at limit **
  24  norm          .10000E-03    .30556        .58679E-08** at limit **
  25  norm          2.6656        2.8278        .89887E-07    .52624E-04
  26  Prefactor     .10000E-03    5.4838       -.47687E-05** at limit **
  27  Prefactor     .10000E-03    1.0712        .44552E-07** at limit **
  28  Prefactor     11.139        18.011       -.17225E-05   -.63206E-03
  29  norm          15.303        19.572       -.57729E-06   -.24445E-03
  30  Prefactor     .10000E-03    1.9544       -.23899E-06** at limit **
  31  Prefactor     .10000E-03    .92697        .63822E-07** at limit **
  32  Normalizat    .72625        .17091        .78071E-07   -.24373E-05
  33  Prefactor     1.1752        .18340        .43149E-06   -.35221E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 53.1085
  Prefactor  = 6.59093
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.0422
  Prefactor  = 4.77243
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.44322
  norm       = 7.73927
  norm       = 3.06078
  norm       = 0.0001
  Prefactor  = 7.11746
  Prefactor  = 23.7555
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.66558
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.1391
  norm       = 15.3027
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.726248
  Prefactor  = 1.17517
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.826     FROM HESSE     STATUS=OK           687 CALLS     5210 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     53.109        54.721        .55033E-04   -1.4249    
   2  Prefactor     6.5909        9.4170        .78154E-03   -1.5194    
   3  Prefactor     .10000E-03    88.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.5996        .17355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.1585        .15050E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.129        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    7.9882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.1298        .10805E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.3903        .86994E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     17.042        7.8877        .97016E-04   -1.4882    
  11  Prefactor     4.7724        43.872        .18435E-03   -1.5271    
  12  Prefactor     .10000E-03    11.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    46.984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.9024        .10206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    53.680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.4432        11.635        .13042E-03   -1.5093    
  17  norm          7.7393        12.178        .14415E-03   -1.5152    
  18  norm          3.0608        4.0384        .17061E-03   -1.5358    
  19  norm          .10000E-03    1.8275        .10004E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.1175        4.9011        .13443E-03   -1.5174    
  21  Prefactor     23.756        32.096        .82178E-04   -1.4733    
  22  norm          .10000E-03    2.4248        .11443E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    9.8041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    .31068        .40834E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          2.6656        2.8211        .12455E-03   -1.5381    
  26  Prefactor     .10000E-03    5.4984        .17329E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    1.0787        .76472E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     11.139        18.216        .60014E-03   -1.5040    
  29  norm          15.303        19.600        .51191E-03   -1.4925    
  30  Prefactor     .10000E-03    1.9693        .10330E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    .93064        .71277E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .72625        .20777        .25111E-03   -1.0287    
  33  Prefactor     1.1752        .22370        .22491E-03   -.87099    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96539e-09
Minuit parameter uncertainties:
  1  54.7727
  2  9.41912
  3  0.000456314
  4  2.4103e-05
  5  3.71128e-06
  6  3.95379e-05
  7  1.84635e-06
  8  1.97054e-06
  9  2.58212e-07
  10  7.88821
  11  28.9676
  12  0.000143942
  13  4.81057e-05
  14  1.60973e-07
  15  0.000263957
  16  11.6377
  17  12.1819
  18  4.03873
  19  3.52967e-06
  20  4.90141
  21  32.119
  22  1.63545e-05
  23  1.39699e-05
  24  4.99486e-07
  25  2.82126
  26  2.01437e-06
  27  4.86563e-06
  28  18.2249
  29  19.6078
  30  4.66028e-06
  31  1.49623e-06
  32  0.207992
  33  0.223881
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.000e-04  4.995e-07  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:  1.175e+00  2.239e-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.262e-01  2.080e-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.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.58e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/968176/likelihoodResults_510192001_510451201_4FGL_J2329.3-4955_daily_bin1045.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) = 5748.82591628
delta logL = -9.53858416324e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5748.61678135
delta logL = 0.209039541283

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30433E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .68928       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2022       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5748.617     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      300 TOTAL
                     EDM=   .65E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .30414E-01    .51153E-01    .21171E-04   -.16701E-03
   2  alpha         5.0000        3.4523        .94649E-01** at limit **
   3  Normalizat    .68934        .20484        .12858E-02   -.20654E-04
   4  Prefactor     1.2021        .22466        .22268E-03   -.17971E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0304142
  alpha      = 5
  Normalizat = 0.689344
  Prefactor  = 1.20207
 **********
 **   18 **HESSE 
 **********

 FCN=   5748.617     FROM HESSE     STATUS=OK            23 CALLS      323 TOTAL
                     EDM=   .72E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .30414E-01    .51007E-01    .84683E-06   -1.5673    
   2  alpha         5.0000        3.4520        .18930E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .68934        .20545        .51432E-04   -1.0432    
   4  Prefactor     1.2021        .22535        .89074E-05   -.86268    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.15571e-13
Minuit parameter uncertainties:
  1  0.0510074
  2  3.65183e-07
  3  0.205675
  4  0.225531
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/968176': 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) = 5748.61678089
delta logL = 0.209040000189

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  3.041e-02  5.101e-02  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  5.000e+00  3.652e-07  0.000e+00  5.000e+00 ( 1.000e+00)
478         beta:  1.055e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
479           Eb:  5.219e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
580    Prefactor:  1.202e+00  2.255e-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:  6.893e-01  2.057e-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/968176/cmap_HighResolution_510192001_510451201_4FGL_J2329.3-4955_daily_bin1045.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.58e-05', job_status='DONE', photon_flux_upper_limit='4.15e-08', time_completed='2021-09-29 21:46:51.762139', job_id='968176', GAL2='1.20', fit_tolerance='1e-08', EG2='0.69', EG='0.73', time_epoch_completed='1632977211.76', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='2.09e-01', ts2='0.45', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1045' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:46:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 968176: <4FGL_J2329.3-4955_daily_bin1045> in cluster <slac> Done

Job <4FGL_J2329.3-4955_daily_bin1045> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 21:30:17 2021
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 21:30:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 21:30:19 2021
Terminated at Wed Sep 29 21:46:52 2021
Results reported at Wed Sep 29 21:46:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1045 352.329 -49.9324 510192001 510451201 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 :                                   897.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   993 sec.
    Turnaround time :                            995 sec.

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

