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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1082
RA = 352.329, Dec = -49.9324
tmin = 519782401, tmax = 520041601
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='968265', job_status='RUN', time_executed='2021-09-29 21:30:39.799118', time_epoch_executed='1632976239.8' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1082'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/968265

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/968265/ft1_4FGL_J2329.3-4955_daily_bin1082.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/968265/ft2_4FGL_J2329.3-4955_daily_bin1082.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/968265/ft1_4FGL_J2329.3-4955_daily_bin1082.fits outfile=/scratch/kocevski/968265/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1082.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=519782401.0 tmax=520041601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.46
user 3.26
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/968265/ft1_filtered_4FGL_J2329.3-4955_daily_bin1082.fits" evtable="EVENTS" scfile=/scratch/kocevski/968265/ft2_4FGL_J2329.3-4955_daily_bin1082.fits sctable="SC_DATA" outfile=/scratch/kocevski/968265/ltcube_519782401_520041601_4FGL_J2329.3-4955_daily_bin1082.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/968265/ft2_4FGL_J2329.3-4955_daily_bin1082.fits
.....................!
real 12.19
user 11.82
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/968265/ft1_filtered_4FGL_J2329.3-4955_daily_bin1082.fits evtable="EVENTS" scfile=/scratch/kocevski/968265/ft2_4FGL_J2329.3-4955_daily_bin1082.fits sctable="SC_DATA" expcube=/scratch/kocevski/968265/ltcube_519782401_520041601_4FGL_J2329.3-4955_daily_bin1082.fits outfile=/scratch/kocevski/968265/expmap_519782401_520041601_4FGL_J2329.3-4955_daily_bin1082.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/968265/ltcube_519782401_520041601_4FGL_J2329.3-4955_daily_bin1082.fits
.....................!
real 191.53
user 186.40
sys 4.82

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/968265/ft1_filtered_4FGL_J2329.3-4955_daily_bin1082.fits scfile=/scratch/kocevski/968265/ft2_4FGL_J2329.3-4955_daily_bin1082.fits outfile=/scratch/kocevski/968265/cmap_519782401_520041601_4FGL_J2329.3-4955_daily_bin1082.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/968265/ft1_filtered_4FGL_J2329.3-4955_daily_bin1082.fits scfile=/scratch/kocevski/968265/ft2_4FGL_J2329.3-4955_daily_bin1082.fits outfile=/scratch/kocevski/968265/cmap_HighResolution_519782401_520041601_4FGL_J2329.3-4955_daily_bin1082.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.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/968265/ft1_filtered_4FGL_J2329.3-4955_daily_bin1082.fits evtable="EVENTS" scfile=/scratch/kocevski/968265/ft2_4FGL_J2329.3-4955_daily_bin1082.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/968265/Model_4FGL_J2329.3-4955_daily_bin1082.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/968265/ft1_filtered_4FGL_J2329.3-4955_daily_bin1082.fits.....................!
real 41.81
user 40.54
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4738       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.744       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10073E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10847E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.557       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10244E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.752       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.7075       1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.7976       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10292E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .43861       1.0000         .10000E-03   10000.    
    25 'norm      '    1.7522       1.0000         .10000E-03   10000.    
    26 'Prefactor '    14.990       1.0000         .10000E-03   10000.    
    27 'Prefactor '    6.7235       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .23775E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    .10066E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .65353       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .98270       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .66908       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=   5661.678     FROM MIGRAD    STATUS=CONVERGED    902 CALLS     3939 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4496        145.62       -.79235E-05   -.38925E-04
   2  Prefactor     .10000E-03    11.680       -.89527E-06** at limit **
   3  Prefactor     15.707        36.027       -.30610E-05   -.93654E-04
   4  Prefactor     .10000E-03    4.8911        .97781E-07** at limit **
   5  Prefactor     .10000E-03    7.2664       -.19234E-06** at limit **
   6  Prefactor     .10003E-03    6.0403       -.71722E-06** at limit **
   7  norm          .10000E-03    24.145       -.72620E-06** at limit **
   8  norm          .10000E-03    3.1080        .69788E-08** at limit **
   9  Prefactor     .10000E-03    2.4971       -.68761E-06** at limit **
  10  Prefactor     26.557        7.4047       -.13186E-07    .10252E-03
  11  Prefactor     .10000E-03    16.046        .74941E-06** at limit **
  12  Prefactor     16.755        10.276        .72510E-07   -.24715E-04
  13  Prefactor     .10000E-03    27.970        .11629E-05** at limit **
  14  Prefactor     .10000E-03    2.7074        .35981E-07** at limit **
  15  Prefactor     .10000E-03    10.153        .16562E-06** at limit **
  16  Prefactor     .10000E-03    4.2973        .39750E-06** at limit **
  17  norm          7.7058        7.9693        .17350E-07   -.76829E-05
  18  norm          .10000E-03    2.4133       -.70359E-08** at limit **
  19  norm          5.7973        4.0839       -.92691E-07   -.64428E-04
  20  Prefactor     .10000E-03    2.8386        .78466E-07** at limit **
  21  Prefactor     .10000E-03    8.1931        .68944E-08** at limit **
  22  norm          .10000E-03    .97191       -.39067E-08** at limit **
  23  Prefactor     .10000E-03    14.502        .29341E-06** at limit **
  24  norm          .43912        .69912        .20902E-06    .37300E-03
  25  norm          1.7522        3.1032        .34283E-06   -.56933E-04
  26  Prefactor     14.994        12.102       -.15087E-06   -.50633E-04
  27  Prefactor     6.7181        4.4102       -.36596E-06   -.61531E-03
  28  Prefactor     .10005E-03    20.407        .14664E-05** at limit **
  29  norm          .10000E-03    9.7408        .19134E-06** at limit **
  30  Prefactor     .65276        4.3002        .21080E-05   -.16508E-03
  31  Prefactor     .10000E-03    1.6362       -.72670E-09** at limit **
  32  Normalizat    .98220        .16057        .12103E-06   -.63439E-04
  33  Prefactor     .66962        .16591       -.68125E-06    .49032E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.44956
  Prefactor  = 0.0001
  Prefactor  = 15.7073
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100035
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 26.5566
  Prefactor  = 0.0001
  Prefactor  = 16.7548
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.70581
  norm       = 0.0001
  norm       = 5.79732
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.439123
  norm       = 1.75219
  Prefactor  = 14.9939
  Prefactor  = 6.71805
  Prefactor  = 0.000100054
  norm       = 0.0001
  Prefactor  = 0.65276
  Prefactor  = 0.0001
  Normalizat = 0.982196
  Prefactor  = 0.669622
 **********
 **   18 **HESSE 
 **********

 FCN=   5661.678     FROM HESSE     STATUS=OK           697 CALLS     4636 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4496        153.12        .17174E-03   -1.5241    
   2  Prefactor     .10000E-03    11.712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.707        36.199        .10094E-03   -1.4915    
   4  Prefactor     .10000E-03    4.9150        .16250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.3512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10003E-03    23.975        .34693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    24.278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.1196        .12955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.3513        .22258E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     26.557        7.3977        .77737E-04   -1.4677    
  11  Prefactor     .10000E-03    16.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     16.755        10.271        .97857E-04   -1.4889    
  13  Prefactor     .10000E-03    28.093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.7330        .12090E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.3164        .15245E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.7058        7.9690        .14444E-03   -1.5153    
  18  norm          .10000E-03    2.4262        .11413E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.7973        4.0846        .12422E-03   -1.5226    
  20  Prefactor     .10000E-03    2.8806        .12374E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    8.2000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    .97461        .72384E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    14.952        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .43912        .60057        .77237E-03   -1.5575    
  25  norm          1.7522        3.0847        .16910E-03   -1.5443    
  26  Prefactor     14.994        12.102        .10345E-03   -1.4933    
  27  Prefactor     6.7181        4.1458        .10827E-03   -1.5190    
  28  Prefactor     .10005E-03    196.59        .57610E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .10000E-03    9.7597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .65276        4.5633        .30029E-03   -1.5546    
  31  Prefactor     .10000E-03    1.6641        .93938E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .98220        .19235        .20521E-03   -.93629    
  33  Prefactor     .66962        .19726        .26107E-03   -1.0473    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.2344e-09
Minuit parameter uncertainties:
  1  57.9365
  2  5.18597e-05
  3  36.2499
  4  4.51246e-06
  5  1.48761e-05
  6  0.00182325
  7  0.000100566
  8  1.90262e-07
  9  0.000140847
  10  7.39799
  11  7.75218e-05
  12  10.2725
  13  0.00017056
  14  1.12615e-06
  15  1.36622e-05
  16  1.92504e-05
  17  7.97005
  18  1.81234e-06
  19  4.08483
  20  9.64413e-08
  21  9.17559e-07
  22  2.76336e-08
  23  2.28446e-06
  24  0.600578
  25  3.08498
  26  12.1036
  27  4.14599
  28  0.00655038
  29  1.53443e-05
  30  3.4519
  31  3.6145e-06
  32  0.192487
  33  0.197465
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  4.391e-01  6.006e-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:  6.696e-01  1.975e-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.822e-01  1.925e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/968265/likelihoodResults_519782401_520041601_4FGL_J2329.3-4955_daily_bin1082.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) = 5661.67267659
delta logL = 0.00531270822194

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5661.67264948
delta logL = 0.00533982421439

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .43708       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0755       1.0000          .0000       5.0000    
     3 'Normalizat'    .98322       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66902       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=   5661.673     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      255 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .43705        .59721        .77739E-03    .71216E-03
   2  alpha         2.0752        .94721        .25471E-01    .48739E-05
   3  Normalizat    .98322        .18254        .20511E-03    .57089E-05
   4  Prefactor     .66902        .19573        .26117E-03   -.87058E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.437051
  alpha      = 2.07523
  Normalizat = 0.983218
  Prefactor  = 0.669023
 **********
 **   18 **HESSE 
 **********

 FCN=   5661.673     FROM HESSE     STATUS=OK            27 CALLS      282 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .43705        .59920        .31096E-04   -1.5576    
   2  alpha         2.0752        .95087        .10189E-02   -.17074    
   3  Normalizat    .98322        .18274        .82046E-05   -.93595    
   4  Prefactor     .66902        .19596        .10447E-04   -1.0475    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.97183e-11
Minuit parameter uncertainties:
  1  0.599206
  2  0.976212
  3  0.182859
  4  0.196164
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/968265': 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) = 5661.67264944
delta logL = 0.00533985564198

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  4.371e-01  5.992e-01  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  2.075e+00  9.762e-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:  6.690e-01  1.962e-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.832e-01  1.829e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.99
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/968265/cmap_HighResolution_519782401_520041601_4FGL_J2329.3-4955_daily_bin1082.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.28e-05', job_status='DONE', photon_flux_upper_limit='5.99e-08', time_completed='2021-09-29 21:44:26.359545', job_id='968265', GAL2='0.67', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1632977066.36', return_code2='0', ts='0.99', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='5.34e-03', ts2='1.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1082' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:44:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0155>
Subject: Job 968265: <4FGL_J2329.3-4955_daily_bin1082> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1082 352.329 -49.9324 519782401 520041601 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 :                                   825.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             328.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   845 sec.
    Turnaround time :                            847 sec.

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

