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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1443
RA = 352.329, Dec = -49.9324
tmin = 613353601, tmax = 613612801
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='972649', job_status='RUN', time_executed='2021-09-29 21:36:09.771573', time_epoch_executed='1632976569.77' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1443'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/972649

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/972649/ft1_4FGL_J2329.3-4955_daily_bin1443.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/972649/ft2_4FGL_J2329.3-4955_daily_bin1443.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/972649/ft1_4FGL_J2329.3-4955_daily_bin1443.fits outfile=/scratch/kocevski/972649/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1443.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=613353601.0 tmax=613612801.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 2.69
user 2.49
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/972649/ft1_filtered_4FGL_J2329.3-4955_daily_bin1443.fits" evtable="EVENTS" scfile=/scratch/kocevski/972649/ft2_4FGL_J2329.3-4955_daily_bin1443.fits sctable="SC_DATA" outfile=/scratch/kocevski/972649/ltcube_613353601_613612801_4FGL_J2329.3-4955_daily_bin1443.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/972649/ft2_4FGL_J2329.3-4955_daily_bin1443.fits
.....................!
real 13.01
user 12.66
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/972649/ft1_filtered_4FGL_J2329.3-4955_daily_bin1443.fits evtable="EVENTS" scfile=/scratch/kocevski/972649/ft2_4FGL_J2329.3-4955_daily_bin1443.fits sctable="SC_DATA" expcube=/scratch/kocevski/972649/ltcube_613353601_613612801_4FGL_J2329.3-4955_daily_bin1443.fits outfile=/scratch/kocevski/972649/expmap_613353601_613612801_4FGL_J2329.3-4955_daily_bin1443.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/972649/ltcube_613353601_613612801_4FGL_J2329.3-4955_daily_bin1443.fits
.....................!
real 191.05
user 185.60
sys 5.14

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/972649/ft1_filtered_4FGL_J2329.3-4955_daily_bin1443.fits scfile=/scratch/kocevski/972649/ft2_4FGL_J2329.3-4955_daily_bin1443.fits outfile=/scratch/kocevski/972649/cmap_613353601_613612801_4FGL_J2329.3-4955_daily_bin1443.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/972649/ft1_filtered_4FGL_J2329.3-4955_daily_bin1443.fits scfile=/scratch/kocevski/972649/ft2_4FGL_J2329.3-4955_daily_bin1443.fits outfile=/scratch/kocevski/972649/cmap_HighResolution_613353601_613612801_4FGL_J2329.3-4955_daily_bin1443.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    45.476       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.0091       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .37095E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.5045       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.2529       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.9601       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.3100       1.0000         .10000E-03   10000.    
    11 'Prefactor '    38.048       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.3404       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10483E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.1545       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.9625       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.8418       1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.673       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10810E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    1.7373       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .25592       1.0000         .10000E-03   10000.    
    25 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    9.1235       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    3.6692       1.0000         .10000E-03   10000.    
    29 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    3.8234       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.0132       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .97182       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=   5566.981     FROM MIGRAD    STATUS=CONVERGED    886 CALLS     4634 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 12.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     45.526        53.691        .44224E-05   -.27302E-04
   2  Prefactor     6.0073        27.448        .22883E-05   -.14747E-04
   3  Prefactor     .10000E-03    270.04       -.47072E-04** at limit **
   4  Prefactor     5.5045        8.4092       -.50290E-06   -.58693E-04
   5  Prefactor     .10000E-03    2.4249        .17097E-07** at limit **
   6  Prefactor     .10000E-03    4.8435        .83205E-07** at limit **
   7  norm          .10000E-03    7.6543        .13607E-06** at limit **
   8  norm          3.2530        4.7208       -.22541E-06   -.61586E-04
   9  Prefactor     2.9600        3.4384       -.17612E-07   -.21284E-04
  10  Prefactor     3.3094        4.8817        .60365E-07   -.68668E-04
  11  Prefactor     38.091        39.675       -.20995E-05   -.13609E-03
  12  Prefactor     2.3328        28.531        .45688E-05   -.52200E-04
  13  Prefactor     .10000E-03    45.480       -.60301E-06** at limit **
  14  Prefactor     4.1545        7.4305       -.63164E-06   -.59020E-04
  15  Prefactor     .10000E-03    17.898        .10462E-06** at limit **
  16  Prefactor     2.9603        12.863       -.33983E-07    .71123E-07
  17  norm          .10000E-03    8.6401       -.22954E-06** at limit **
  18  norm          .10000E-03    4.5945        .13574E-07** at limit **
  19  norm          3.8422        3.8138        .68026E-07   -.77878E-04
  20  Prefactor     15.672        8.8515        .10694E-06    .10043E-04
  21  Prefactor     .10000E-03    91.067        .97352E-06** at limit **
  22  norm          1.7365        3.6890       -.89559E-07   -.23361E-03
  23  Prefactor     .10000E-03    5.9420       -.22601E-07** at limit **
  24  norm          .25628        1.1436       -.47455E-07    .15218E-03
  25  norm          .10000E-03    1.4893       -.28739E-07** at limit **
  26  Prefactor     9.1271        15.246       -.20587E-06   -.22246E-04
  27  Prefactor     .10000E-03    1.6986       -.26679E-08** at limit **
  28  Prefactor     3.6702        26.899       -.11109E-05   -.16313E-04
  29  norm          .10000E-03    9.1620        .16971E-06** at limit **
  30  Prefactor     .10000E-03    2.5968        .30778E-07** at limit **
  31  Prefactor     3.8236        6.2441       -.14263E-05   -.23661E-03
  32  Normalizat    1.0131        .19776        .70577E-07   -.29253E-03
  33  Prefactor     .97184        .19715       -.42671E-06   -.92136E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 45.5257
  Prefactor  = 6.00735
  Prefactor  = 0.000100002
  Prefactor  = 5.50454
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.25298
  Prefactor  = 2.95999
  Prefactor  = 3.30944
  Prefactor  = 38.0908
  Prefactor  = 2.33283
  Prefactor  = 0.0001
  Prefactor  = 4.15448
  Prefactor  = 0.0001
  Prefactor  = 2.96031
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.84222
  Prefactor  = 15.6725
  Prefactor  = 0.0001
  norm       = 1.73654
  Prefactor  = 0.0001
  norm       = 0.256276
  norm       = 0.0001
  Prefactor  = 9.12708
  Prefactor  = 0.0001
  Prefactor  = 3.67018
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.82364
  Normalizat = 1.01313
  Prefactor  = 0.971843
 **********
 **   18 **HESSE 
 **********

 FCN=   5566.981     FROM HESSE     STATUS=OK           697 CALLS     5331 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     45.526        53.801        .59455E-04   -1.4357    
   2  Prefactor     6.0073        27.182        .16380E-03   -1.5218    
   3  Prefactor     .10000E-03    258.76        .68546E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.5045        8.3940        .85627E-03   -1.5239    
   5  Prefactor     .10000E-03    2.4321        .11346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.9408        .16034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    7.6557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.2530        4.7153        .95253E-03   -1.5347    
   9  Prefactor     2.9600        3.4307        .14459E-03   -1.5364    
  10  Prefactor     3.3094        4.8652        .19017E-03   -1.5344    
  11  Prefactor     38.091        39.945        .64977E-04   -1.4473    
  12  Prefactor     2.3328        28.860        .26800E-03   -1.5402    
  13  Prefactor     .10000E-03    45.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.1545        7.4212        .98874E-03   -1.5300    
  15  Prefactor     .10000E-03    17.909        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.9603        12.390        .23592E-03   -1.5364    
  17  norm          .10000E-03    8.6718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.6194        .15604E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.8422        3.8128        .13792E-03   -1.5316    
  20  Prefactor     15.672        8.7043        .10117E-03   -1.4916    
  21  Prefactor     .10000E-03    91.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.7365        3.6426        .19439E-03   -1.5444    
  23  Prefactor     .10000E-03    5.9491        .17754E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .25628        1.0651        .13849E-03   -1.5607    
  25  norm          .10000E-03    1.4953        .88859E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     9.1271        15.273        .66344E-03   -1.5104    
  27  Prefactor     .10000E-03    1.7187        .94675E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     3.6702        26.019        .10543E-02   -1.5325    
  29  norm          .10000E-03    9.1717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    2.6222        .11733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     3.8236        6.2433        .93513E-03   -1.5317    
  32  Normalizat    1.0131        .22933        .23210E-03   -.92592    
  33  Prefactor     .97184        .23272        .25545E-03   -.93674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.15992e-10
Minuit parameter uncertainties:
  1  53.8583
  2  25.5763
  3  0.00134077
  4  8.39581
  5  5.0897e-06
  6  1.99612e-05
  7  1.51783e-06
  8  4.7158
  9  3.43094
  10  4.86577
  11  39.9728
  12  16.42
  13  9.09704e-05
  14  7.42284
  15  1.94461e-06
  16  12.1165
  17  1.97572e-05
  18  1.04412e-05
  19  3.81308
  20  8.70497
  21  0.000175732
  22  3.64302
  23  8.75984e-06
  24  1.04472
  25  2.07345e-06
  26  15.2795
  27  8.38354e-06
  28  19.5561
  29  8.86748e-06
  30  1.14063e-05
  31  6.24439
  32  0.229549
  33  0.232962
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  2.563e-01  1.045e+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.718e-01  2.330e-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.013e+00  2.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 352.329 -49.932
Photon Flux Upper Limit: 7.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.97e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/972649/likelihoodResults_613353601_613612801_4FGL_J2329.3-4955_daily_bin1443.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) = 5566.94087157
delta logL = 0.0396426176039

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5566.93746348
delta logL = 0.0430507150377

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32791       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7036       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0048       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97618       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=   5566.937     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      254 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32747        .99033        .10513E-03   -.30172E-04
   2  alpha         2.7038        1.7395        .41058E-01    .63056E-04
   3  Normalizat    1.0048        .21273        .23293E-03   -.21475E-05
   4  Prefactor     .97617        .22853        .25492E-03   -.27205E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.327475
  alpha      = 2.70381
  Normalizat = 1.0048
  Prefactor  = 0.976168
 **********
 **   18 **HESSE 
 **********

 FCN=   5566.937     FROM HESSE     STATUS=OK            25 CALLS      279 TOTAL
                     EDM=   .26E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32747        .93123        .42050E-05   -1.5594    
   2  alpha         2.7038        1.6560        .82115E-02    .81614E-01
   3  Normalizat    1.0048        .21306        .93174E-05   -.92870    
   4  Prefactor     .97617        .22868        .10197E-04   -.93528    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55646e-13
Minuit parameter uncertainties:
  1  0.931268
  2  1.81145
  3  0.213241
  4  0.228907
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/972649': 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) = 5566.93746336
delta logL = 0.0430508297804

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  3.275e-01  9.313e-01  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  2.704e+00  1.811e+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:  9.762e-01  2.289e-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.005e+00  2.132e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
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/972649/cmap_HighResolution_613353601_613612801_4FGL_J2329.3-4955_daily_bin1443.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.97e-05', job_status='DONE', photon_flux_upper_limit='7.81e-08', time_completed='2021-09-29 21:50:48.355675', job_id='972649', GAL2='0.98', fit_tolerance='1e-08', EG2='1.00', EG='1.01', time_epoch_completed='1632977448.36', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='4.31e-02', ts2='0.16', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1443' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:50:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 972649: <4FGL_J2329.3-4955_daily_bin1443> in cluster <slac> Done

Job <4FGL_J2329.3-4955_daily_bin1443> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 21:35:19 2021
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 21:35:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 21:35:20 2021
Terminated at Wed Sep 29 21:50:49 2021
Results reported at Wed Sep 29 21:50:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1443 352.329 -49.9324 613353601 613612801 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 :                                   873.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             338.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   928 sec.
    Turnaround time :                            930 sec.

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

