/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 177 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 = 7683
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2329.3-4955_daily_bin378
RA = 352.329, Dec = -49.9324
tmin = 337305601, tmax = 337564801
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='957370', job_status='RUN', time_executed='2021-09-29 21:18:39.043426', time_epoch_executed='1632975519.04' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='378'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/957370

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/957370/ft1_4FGL_J2329.3-4955_daily_bin378.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/957370/ft2_4FGL_J2329.3-4955_daily_bin378.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/957370/ft1_4FGL_J2329.3-4955_daily_bin378.fits outfile=/scratch/kocevski/957370/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin378.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=337305601.0 tmax=337564801.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 7.50
user 7.17
sys 0.30

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/957370/ft1_filtered_4FGL_J2329.3-4955_daily_bin378.fits" evtable="EVENTS" scfile=/scratch/kocevski/957370/ft2_4FGL_J2329.3-4955_daily_bin378.fits sctable="SC_DATA" outfile=/scratch/kocevski/957370/ltcube_337305601_337564801_4FGL_J2329.3-4955_daily_bin378.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/957370/ft2_4FGL_J2329.3-4955_daily_bin378.fits
.....................!
real 11.30
user 10.94
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/957370/ft1_filtered_4FGL_J2329.3-4955_daily_bin378.fits evtable="EVENTS" scfile=/scratch/kocevski/957370/ft2_4FGL_J2329.3-4955_daily_bin378.fits sctable="SC_DATA" expcube=/scratch/kocevski/957370/ltcube_337305601_337564801_4FGL_J2329.3-4955_daily_bin378.fits outfile=/scratch/kocevski/957370/expmap_337305601_337564801_4FGL_J2329.3-4955_daily_bin378.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/957370/ltcube_337305601_337564801_4FGL_J2329.3-4955_daily_bin378.fits
.....................!
real 191.02
user 184.98
sys 5.68

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/957370/ft1_filtered_4FGL_J2329.3-4955_daily_bin378.fits scfile=/scratch/kocevski/957370/ft2_4FGL_J2329.3-4955_daily_bin378.fits outfile=/scratch/kocevski/957370/cmap_337305601_337564801_4FGL_J2329.3-4955_daily_bin378.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.58
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/957370/ft1_filtered_4FGL_J2329.3-4955_daily_bin378.fits scfile=/scratch/kocevski/957370/ft2_4FGL_J2329.3-4955_daily_bin378.fits outfile=/scratch/kocevski/957370/cmap_HighResolution_337305601_337564801_4FGL_J2329.3-4955_daily_bin378.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/957370/ft1_filtered_4FGL_J2329.3-4955_daily_bin378.fits evtable="EVENTS" scfile=/scratch/kocevski/957370/ft2_4FGL_J2329.3-4955_daily_bin378.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/957370/Model_4FGL_J2329.3-4955_daily_bin378.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/957370/ft1_filtered_4FGL_J2329.3-4955_daily_bin378.fits.....................!
real 37.85
user 36.49
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12415E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.870       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10705E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.7003       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.2151       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.5932       1.0000         .10000E-03   10000.    
     7 'norm      '    .10227E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.7413       1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.293       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    23.321       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    18.217       1.0000         .10000E-03   10000.    
    18 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .14425       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .47671E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    11.036       1.0000         .10000E-03   10000.    
    23 'Prefactor '    23.713       1.0000         .10000E-03   10000.    
    24 'norm      '    16.395       1.0000         .10000E-03   10000.    
    25 'norm      '    .36172       1.0000         .10000E-03   10000.    
    26 'Prefactor '    10.549       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    13.095       1.0000         .10000E-03   10000.    
    29 'norm      '    53.027       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .75962       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .96759       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=   4820.727     FROM MIGRAD    STATUS=CONVERGED    867 CALLS     4603 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    63.609       -.52857E-06** at limit **
   2  Prefactor     24.868        20.876        .19774E-06    .19032E-04
   3  Prefactor     .10000E-03    49.212        .72223E-06** at limit **
   4  Prefactor     3.6961        7.5079        .63857E-06    .11250E-03
   5  Prefactor     5.2141        5.6985        .30878E-07    .13451E-05
   6  Prefactor     4.5869        7.1773        .49528E-06    .12460E-03
   7  norm          .10000E-03    20.377        .15991E-06** at limit **
   8  norm          .10000E-03    4.1790        .22400E-09** at limit **
   9  Prefactor     .10000E-03    1.5016        .27052E-07** at limit **
  10  Prefactor     1.7392        4.2122        .86596E-06    .22163E-03
  11  Prefactor     19.289        21.609       -.34600E-07   -.31765E-04
  12  Prefactor     .10000E-03    5.4284       -.49884E-07** at limit **
  13  Prefactor     .10000E-03    27.323       -.39306E-06** at limit **
  14  Prefactor     .10000E-03    2.3026        .29432E-07** at limit **
  15  Prefactor     23.315        32.364       -.12767E-06   -.36873E-04
  16  Prefactor     .10000E-03    7.6248       -.79078E-08** at limit **
  17  norm          18.216        12.670       -.19245E-07   -.38312E-04
  18  norm          .10000E-03    2.9802        .98802E-08** at limit **
  19  norm          .10831        9.7522        .35226E-05   -.86318E-03
  20  Prefactor     .10000E-03    7.5495        .20512E-06** at limit **
  21  Prefactor     .10000E-03    165.27       -.30173E-05** at limit **
  22  norm          11.076        6.0542       -.10985E-05   -.19987E-02
  23  Prefactor     23.716        20.729       -.32827E-07   -.54054E-04
  24  norm          16.394        2.8279        .18943E-07    .81073E-05
  25  norm          .31784        3.6462        .81676E-06   -.15366E-03
  26  Prefactor     10.545        13.811        .24227E-06    .22830E-04
  27  Prefactor     .10000E-03    3.7864       -.72458E-06** at limit **
  28  Prefactor     13.088        27.844        .11636E-05    .48943E-04
  29  norm          53.011        34.696       -.50244E-07   -.75916E-04
  30  Prefactor     .10000E-03    3.2484       -.37380E-06** at limit **
  31  Prefactor     .10000E-03    1.9495        .51585E-08** at limit **
  32  Normalizat    .75964        .19956       -.92953E-06   -.31226E-03
  33  Prefactor     .96785        .21045       -.89278E-07   -.29799E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 24.8683
  Prefactor  = 0.000100001
  Prefactor  = 3.69608
  Prefactor  = 5.21412
  Prefactor  = 4.58693
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.73918
  Prefactor  = 19.2889
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.315
  Prefactor  = 0.0001
  norm       = 18.2164
  norm       = 0.0001
  norm       = 0.108314
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 11.0758
  Prefactor  = 23.716
  norm       = 16.3936
  norm       = 0.317839
  Prefactor  = 10.5451
  Prefactor  = 0.0001
  Prefactor  = 13.0884
  norm       = 53.0105
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.75964
  Prefactor  = 0.967847
 **********
 **   18 **HESSE 
 **********

 FCN=   4820.727     FROM HESSE     STATUS=OK           691 CALLS     5294 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    63.828        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     24.868        20.867        .80325E-04   -1.4710    
   3  Prefactor     .10000E-03    49.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.6961        7.4986        .20995E-03   -1.5323    
   5  Prefactor     5.2141        5.6993        .16855E-03   -1.5251    
   6  Prefactor     4.5869        7.1691        .18781E-03   -1.5280    
   7  norm          .10000E-03    20.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.2088        .13861E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.5149        .83074E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.7392        4.1859        .21067E-03   -1.5444    
  11  Prefactor     19.289        21.577        .91185E-04   -1.4829    
  12  Prefactor     .10000E-03    5.4624        .15788E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    27.385        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.3117        .10290E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     23.315        32.369        .82946E-04   -1.4742    
  16  Prefactor     .10000E-03    7.6338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          18.216        12.671        .93840E-04   -1.4854    
  18  norm          .10000E-03    2.9812        .11706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10831        49.191        .30637E-02   -1.5642    
  20  Prefactor     .10000E-03    7.6664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    165.51        .42362E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          11.076        6.5040        .11098E-03   -1.5042    
  23  Prefactor     23.716        20.688        .82259E-04   -1.4734    
  24  norm          16.394        2.8318        .43742E-04   -1.4898    
  25  norm          .31784        28.302        .23053E-02   -1.5595    
  26  Prefactor     10.545        13.820        .12336E-03   -1.5058    
  27  Prefactor     .10000E-03    3.8372        .26206E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     13.088        27.808        .11069E-03   -1.4984    
  29  norm          53.011        34.774        .27539E-03   -1.4251    
  30  Prefactor     .10000E-03    3.2662        .12198E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    1.9612        .94610E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .75964        .23723        .26003E-03   -1.0158    
  33  Prefactor     .96785        .25115        .25301E-03   -.93809    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18165e-08
Minuit parameter uncertainties:
  1  0.000432598
  2  20.8735
  3  0.000491427
  4  7.50051
  5  5.69985
  6  7.17043
  7  5.83797e-05
  8  1.21178e-06
  9  1.50483e-06
  10  4.18663
  11  21.5856
  12  5.14375e-07
  13  0.000196696
  14  2.38908e-06
  15  32.3936
  16  3.48718e-06
  17  12.6729
  18  6.76601e-07
  19  4.6182
  20  2.18815e-05
  21  0.00167801
  22  6.50437
  23  20.6943
  24  2.83187
  25  6.00044
  26  13.8238
  27  4.31461e-05
  28  27.8358
  29  34.7877
  30  1.85571e-05
  31  8.6844e-07
  32  0.237552
  33  0.251449
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.639e+01  2.832e+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.678e-01  2.514e-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.596e-01  2.376e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 133.09
Ra Dec: 352.329 -49.932
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 4.44e-07 +/- 7.66e-08
Energy Flux (Fixed Index): 1.69e-04 +/- 2.92e-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) = 4820.55610106
delta logL = 0.170579948816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4820.52415727
delta logL = 0.202523736039

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.752       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2907       1.0000          .0000       5.0000    
     3 'Normalizat'    .73174       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98891       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=   4820.524     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      189 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.752        3.3795        .25229E-02    .79044E-02
   2  alpha         2.2904        .21613        .97357E-01    .19654E-04
   3  Normalizat    .73191        .19434        .42713E-01    .18882E-04
   4  Prefactor     .98890        .20941        .46128E-01    .10016E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 15.7519
  alpha      = 2.29041
  Normalizat = 0.731914
  Prefactor  = 0.988898
 **********
 **   18 **HESSE 
 **********

 FCN=   4820.524     FROM HESSE     STATUS=OK            29 CALLS      218 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.752        2.8081        .42290E-04   -1.4914    
   2  alpha         2.2904        .18130        .42743E-03   -.83935E-01
   3  Normalizat    .73191        .22960        .26411E-03   -1.0265    
   4  Prefactor     .98890        .24697        .25057E-03   -.93100    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.14244e-09
Minuit parameter uncertainties:
  1  2.80815
  2  0.18146
  3  0.229905
  4  0.24725
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/957370': 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) = 4820.52415496
delta logL = 0.202526041991

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.575e+01  2.808e+00  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  2.290e+00  1.815e-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.889e-01  2.473e-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.319e-01  2.299e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 134.03
Ra Dec: 352.329 -49.932
Photon Index (Free Index): 2.29 +/- 0.18
Photon Flux (Free Index): 4.68e-07 +/- 8.42e-08
Energy Flux (Free Index): 1.57e-04 +/- 3.05e-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/957370/cmap_HighResolution_337305601_337564801_4FGL_J2329.3-4955_daily_bin378.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.44e-07', energy_flux2='1.57e-04', photon_flux_error='7.66e-08', dlogl='2.03e-01', energy_flux='1.69e-04', photon_flux2='4.68e-07', job_status='DONE', time_completed='2021-09-29 21:30:46.038722', photon_index_error2='0.18', photon_index2='2.29', ts='133.09', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='3.05e-05', EG='0.76', time_epoch_completed='1632976246.04', return_code='0', job_id='957370', GAL2='0.99', EG2='0.73', return_code2='0', energy_flux_error='2.92e-05', photon_flux_error2='8.42e-08', ts2='134.03', photon_index='2.18' WHERE bin_id='378' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:30:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 957370: <4FGL_J2329.3-4955_daily_bin378> in cluster <slac> Done

Job <4FGL_J2329.3-4955_daily_bin378> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 21:15:28 2021
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 21:15:32 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:15:32 2021
Terminated at Wed Sep 29 21:30:46 2021
Results reported at Wed Sep 29 21:30:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin378 352.329 -49.9324 337305601 337564801 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 :                                   725.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             273.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   914 sec.
    Turnaround time :                            918 sec.

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

