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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1295
RA = 352.329, Dec = -49.9324
tmin = 574992001, tmax = 575251201
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='968780', job_status='RUN', time_executed='2021-09-29 21:32:11.050977', time_epoch_executed='1632976331.05' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1295'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/968780

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/968780/ft1_4FGL_J2329.3-4955_daily_bin1295.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/968780/ft2_4FGL_J2329.3-4955_daily_bin1295.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/968780/ft1_4FGL_J2329.3-4955_daily_bin1295.fits outfile=/scratch/kocevski/968780/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1295.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=574992001.0 tmax=575251201.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 5.50
user 5.21
sys 0.25

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/968780/ft1_filtered_4FGL_J2329.3-4955_daily_bin1295.fits" evtable="EVENTS" scfile=/scratch/kocevski/968780/ft2_4FGL_J2329.3-4955_daily_bin1295.fits sctable="SC_DATA" outfile=/scratch/kocevski/968780/ltcube_574992001_575251201_4FGL_J2329.3-4955_daily_bin1295.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/968780/ft2_4FGL_J2329.3-4955_daily_bin1295.fits
.....................!
real 15.87
user 15.48
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/968780/ft1_filtered_4FGL_J2329.3-4955_daily_bin1295.fits evtable="EVENTS" scfile=/scratch/kocevski/968780/ft2_4FGL_J2329.3-4955_daily_bin1295.fits sctable="SC_DATA" expcube=/scratch/kocevski/968780/ltcube_574992001_575251201_4FGL_J2329.3-4955_daily_bin1295.fits outfile=/scratch/kocevski/968780/expmap_574992001_575251201_4FGL_J2329.3-4955_daily_bin1295.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/968780/ltcube_574992001_575251201_4FGL_J2329.3-4955_daily_bin1295.fits
.....................!
real 191.60
user 185.87
sys 5.25

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/968780/ft1_filtered_4FGL_J2329.3-4955_daily_bin1295.fits scfile=/scratch/kocevski/968780/ft2_4FGL_J2329.3-4955_daily_bin1295.fits outfile=/scratch/kocevski/968780/cmap_574992001_575251201_4FGL_J2329.3-4955_daily_bin1295.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/968780/ft1_filtered_4FGL_J2329.3-4955_daily_bin1295.fits scfile=/scratch/kocevski/968780/ft2_4FGL_J2329.3-4955_daily_bin1295.fits outfile=/scratch/kocevski/968780/cmap_HighResolution_574992001_575251201_4FGL_J2329.3-4955_daily_bin1295.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.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    40.130       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.0676       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .29741       1.0000         .10000E-03   10000.    
     7 'norm      '    7.8185       1.0000         .10000E-03   10000.    
     8 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .75660       1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.836       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.9656       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.2948       1.0000         .10000E-03   10000.    
    22 'norm      '    3.5596       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    1.6783       1.0000         .10000E-03   10000.    
    25 'norm      '    1.8472       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .85441       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .71068       1.0000         .10000E-03   10000.    
    29 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    3.4437       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .33783       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .92312       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .83650       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=   6547.190     FROM MIGRAD    STATUS=CONVERGED    874 CALLS     4566 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     40.126        42.807       -.13483E-05   -.10142E-03
   2  Prefactor     .10000E-03    4.1067       -.59970E-07** at limit **
   3  Prefactor     .10000E-03    9.6929       -.10048E-05** at limit **
   4  Prefactor     .10000E-03    4.7055       -.48300E-06** at limit **
   5  Prefactor     2.0673        5.2527        .57884E-06   -.12935E-03
   6  Prefactor     .29922        4.2597        .15319E-06   -.14291E-03
   7  norm          7.8180        13.700       -.13961E-08   -.10644E-04
   8  norm          .10000E-03    6.9193        .16409E-06** at limit **
   9  Prefactor     .75621        3.8465        .13708E-05   -.37057E-03
  10  Prefactor     17.833        6.6095       -.63891E-07   -.15957E-03
  11  Prefactor     .10000E-03    12.976        .10615E-05** at limit **
  12  Prefactor     .10000E-03    4.4989        .33556E-06** at limit **
  13  Prefactor     .10000E-03    22.705        .24619E-05** at limit **
  14  Prefactor     .10000E-03    1.9346        .87085E-08** at limit **
  15  Prefactor     .10000E-03    11.600        .10934E-05** at limit **
  16  Prefactor     .10000E-03    14.411       -.26942E-06** at limit **
  17  norm          .10000E-03    3.2020        .45871E-06** at limit **
  18  norm          .10000E-03    3.1925       -.45114E-06** at limit **
  19  norm          .10000E-03    1.7719        .14231E-07** at limit **
  20  Prefactor     3.9666        4.2035        .15740E-06    .23214E-04
  21  Prefactor     4.2925        30.388       -.81568E-06   -.17907E-04
  22  norm          3.5588        3.9723        .31781E-06    .13002E-03
  23  Prefactor     .10000E-03    4.5859        .12142E-06** at limit **
  24  norm          1.6790        .99845        .63179E-08    .10003E-03
  25  norm          1.8471        3.0387        .47578E-07   -.26311E-03
  26  Prefactor     .10000E-03    5.7749        .24155E-06** at limit **
  27  Prefactor     .86122        2.5733        .68635E-06    .61171E-05
  28  Prefactor     .53286        12.779       -.69313E-06    .39531E-04
  29  norm          .10000E-03    18.326       -.30863E-05** at limit **
  30  Prefactor     3.4423        4.0999       -.26363E-06   -.91529E-04
  31  Prefactor     .33824        1.8170        .10336E-05   -.38129E-03
  32  Normalizat    .92330        .14899       -.37879E-06   -.33220E-04
  33  Prefactor     .83639        .15765       -.41400E-06   -.16564E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 40.1258
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.06725
  Prefactor  = 0.299224
  norm       = 7.81802
  norm       = 0.0001
  Prefactor  = 0.756212
  Prefactor  = 17.8332
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 3.96655
  Prefactor  = 4.2925
  norm       = 3.55881
  Prefactor  = 0.0001
  norm       = 1.67896
  norm       = 1.84708
  Prefactor  = 0.0001
  Prefactor  = 0.861221
  Prefactor  = 0.532863
  norm       = 0.000100002
  Prefactor  = 3.44232
  Prefactor  = 0.338237
  Normalizat = 0.923301
  Prefactor  = 0.836389
 **********
 **   18 **HESSE 
 **********

 FCN=   6547.190     FROM HESSE     STATUS=OK           697 CALLS     5263 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     40.126        43.216        .63275E-04   -1.4440    
   2  Prefactor     .10000E-03    4.1103        .16014E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.7834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.7925        .17164E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.0673        5.2550        .28569E-03   -1.5420    
   6  Prefactor     .29922        14.838        .32130E-02   -1.5599    
   7  norm          7.8180        13.696        .14341E-03   -1.5149    
   8  norm          .10000E-03    7.1365        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .75621        4.3585        .31345E-03   -1.5534    
  10  Prefactor     17.833        6.5974        .94836E-04   -1.4863    
  11  Prefactor     .10000E-03    13.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.5492        .16773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    23.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.9422        .10990E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    14.635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    3.2238        .14180E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.2311        .14153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.7758        .10497E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.9666        4.1866        .16323E-03   -1.5310    
  21  Prefactor     4.2925        30.018        .19440E-03   -1.5294    
  22  norm          3.5588        3.9385        .12527E-03   -1.5331    
  23  Prefactor     .10000E-03    4.5994        .16903E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          1.6790        .98705        .58269E-04   -1.5449    
  25  norm          1.8471        3.0320        .17028E-03   -1.5436    
  26  Prefactor     .10000E-03    5.7959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .86122        2.5315        .19439E-03   -1.5522    
  28  Prefactor     .53286        146.59        .50039E-02   -1.5562    
  29  norm          .10000E-03    19.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     3.4423        4.0381        .16415E-03   -1.5337    
  31  Prefactor     .33824        1.9074        .21736E-03   -1.5592    
  32  Normalizat    .92330        .17907        .21283E-03   -.95646    
  33  Prefactor     .83639        .18876        .24333E-03   -.98401    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.87997e-08
Minuit parameter uncertainties:
  1  43.2501
  2  3.60768e-06
  3  9.74345e-05
  4  3.06373e-05
  5  5.25618
  6  4.21455
  7  13.7012
  8  1.11778e-05
  9  3.63112
  10  6.59763
  11  0.000118245
  12  2.01948e-05
  13  0.000378005
  14  4.89153e-07
  15  0.000118985
  16  3.4378e-05
  17  2.59362e-05
  18  2.56169e-05
  19  2.47522e-06
  20  4.18696
  21  22.7186
  22  3.93883
  23  5.7973e-06
  24  0.987064
  25  3.03229
  26  1.92874e-05
  27  2.53183
  28  17.7185
  29  0.000380178
  30  4.03844
  31  1.60628
  32  0.179184
  33  0.188905
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.679e+00  9.871e-01  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:  8.364e-01  1.889e-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.233e-01  1.792e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.72
Ra Dec: 352.329 -49.932
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 4.55e-08 +/- 2.67e-08
Energy Flux (Fixed Index): 1.73e-05 +/- 1.02e-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) = 6547.17119088
delta logL = 0.0190390012312

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6547.16957155
delta logL = 0.0206583345753

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6270       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2870       1.0000          .0000       5.0000    
     3 'Normalizat'    .91840       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84047       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=   6547.170     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      198 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6270        22.402        .82907E-02    .75787E-03
   2  alpha         2.2870        3.1704        .36734        .13739E-04
   3  Normalizat    .91849        .70126E-01    .45136E-01    .24444E-04
   4  Prefactor     .84040        .84486E-01    .44242E-01    .41128E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.62705
  alpha      = 2.28696
  Normalizat = 0.918494
  Prefactor  = 0.840397
 **********
 **   18 **HESSE 
 **********

 FCN=   6547.170     FROM HESSE     STATUS=OK            33 CALLS      231 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6270        .99836        .56879E-04   -1.5453    
   2  alpha         2.2870        .55504        .14338E-01   -.85319E-01
   3  Normalizat    .91849        .17274        .21332E-03   -.95813    
   4  Prefactor     .84040        .18865        .24281E-03   -.98256    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45908e-10
Minuit parameter uncertainties:
  1  0.998373
  2  0.559736
  3  0.172845
  4  0.1888
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/968780': 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) = 6547.16957139
delta logL = 0.0206584916705

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.627e+00  9.984e-01  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  2.287e+00  5.597e-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:  8.404e-01  1.888e-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.185e-01  1.728e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.75
Ra Dec: 352.329 -49.932
Photon Index (Free Index): 2.29 +/- 0.56
Photon Flux (Free Index): 4.82e-08 +/- 3.01e-08
Energy Flux (Free Index): 1.62e-05 +/- 1.07e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/968780/cmap_HighResolution_574992001_575251201_4FGL_J2329.3-4955_daily_bin1295.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.55e-08', energy_flux2='1.62e-05', photon_flux_error='2.67e-08', dlogl='2.07e-02', energy_flux='1.73e-05', photon_flux2='4.82e-08', job_status='DONE', time_completed='2021-09-29 21:46:38.049436', photon_index_error2='0.56', photon_index2='2.29', ts='5.72', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='1.07e-05', EG='0.92', time_epoch_completed='1632977198.05', return_code='0', job_id='968780', GAL2='0.84', EG2='0.92', return_code2='0', energy_flux_error='1.02e-05', photon_flux_error2='3.01e-08', ts2='5.75', photon_index='2.18' WHERE bin_id='1295' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:46:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 968780: <4FGL_J2329.3-4955_daily_bin1295> in cluster <slac> Done

Job <4FGL_J2329.3-4955_daily_bin1295> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 21:30:41 2021
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 21:30:44 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:44 2021
Terminated at Wed Sep 29 21:46:39 2021
Results reported at Wed Sep 29 21:46:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1295 352.329 -49.9324 574992001 575251201 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 :                                   862.40 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             283.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   954 sec.
    Turnaround time :                            958 sec.

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

