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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1022
RA = 352.329, Dec = -49.9324
tmin = 504230401, tmax = 504489601
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='968122', job_status='RUN', time_executed='2021-09-29 21:31:24.931819', time_epoch_executed='1632976284.93' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1022'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/968122

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/968122/ft1_4FGL_J2329.3-4955_daily_bin1022.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/968122/ft2_4FGL_J2329.3-4955_daily_bin1022.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/968122/ft1_4FGL_J2329.3-4955_daily_bin1022.fits outfile=/scratch/kocevski/968122/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1022.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=504230401.0 tmax=504489601.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.62
user 3.36
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/968122/ft2_4FGL_J2329.3-4955_daily_bin1022.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/968122/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1022.fits evtable="EVENTS" outfile="/scratch/kocevski/968122/ft1_filtered_4FGL_J2329.3-4955_daily_bin1022.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.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/968122/ft1_filtered_4FGL_J2329.3-4955_daily_bin1022.fits" evtable="EVENTS" scfile=/scratch/kocevski/968122/ft2_4FGL_J2329.3-4955_daily_bin1022.fits sctable="SC_DATA" outfile=/scratch/kocevski/968122/ltcube_504230401_504489601_4FGL_J2329.3-4955_daily_bin1022.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/968122/ft2_4FGL_J2329.3-4955_daily_bin1022.fits
.....................!
real 11.70
user 11.37
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/968122/ft1_filtered_4FGL_J2329.3-4955_daily_bin1022.fits evtable="EVENTS" scfile=/scratch/kocevski/968122/ft2_4FGL_J2329.3-4955_daily_bin1022.fits sctable="SC_DATA" expcube=/scratch/kocevski/968122/ltcube_504230401_504489601_4FGL_J2329.3-4955_daily_bin1022.fits outfile=/scratch/kocevski/968122/expmap_504230401_504489601_4FGL_J2329.3-4955_daily_bin1022.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/968122/ltcube_504230401_504489601_4FGL_J2329.3-4955_daily_bin1022.fits
.....................!
real 189.88
user 185.17
sys 4.33

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/968122/ft1_filtered_4FGL_J2329.3-4955_daily_bin1022.fits scfile=/scratch/kocevski/968122/ft2_4FGL_J2329.3-4955_daily_bin1022.fits outfile=/scratch/kocevski/968122/cmap_504230401_504489601_4FGL_J2329.3-4955_daily_bin1022.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.56
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/968122/ft1_filtered_4FGL_J2329.3-4955_daily_bin1022.fits scfile=/scratch/kocevski/968122/ft2_4FGL_J2329.3-4955_daily_bin1022.fits outfile=/scratch/kocevski/968122/cmap_HighResolution_504230401_504489601_4FGL_J2329.3-4955_daily_bin1022.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/968122/ft1_filtered_4FGL_J2329.3-4955_daily_bin1022.fits evtable="EVENTS" scfile=/scratch/kocevski/968122/ft2_4FGL_J2329.3-4955_daily_bin1022.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/968122/Model_4FGL_J2329.3-4955_daily_bin1022.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/968122/ft1_filtered_4FGL_J2329.3-4955_daily_bin1022.fits.....................!
real 40.08
user 38.85
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.4648       1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.527       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.2885       1.0000         .10000E-03   10000.    
     7 'norm      '    .10160E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.6715       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.9994       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.592       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.6914       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.0117       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12423E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    45.925       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.3631       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      '    10.180       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    60.914       1.0000         .10000E-03   10000.    
    22 'norm      '    .70960E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    46.830       1.0000         .10000E-03   10000.    
    24 'norm      '    .10063E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .49826       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    1.0058       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    1.3853       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.3096       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .66666       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=   5029.585     FROM MIGRAD    STATUS=CONVERGED    920 CALLS     4716 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.3354        93.600        .73375E-05   -.10898E-03
   2  Prefactor     17.519        26.413       -.88770E-07    .33226E-04
   3  Prefactor     .10000E-03    7.5535        .17791E-07** at limit **
   4  Prefactor     .10000E-03    2.5019        .30254E-07** at limit **
   5  Prefactor     .10000E-03    2.1229        .21460E-07** at limit **
   6  Prefactor     9.2887        9.3754        .13517E-06   -.50246E-05
   7  norm          .10000E-03    59.490        .59757E-06** at limit **
   8  norm          1.6707        5.5218        .75946E-05   -.41595E-03
   9  Prefactor     8.9996        6.2609       -.77031E-08   -.70485E-04
  10  Prefactor     13.593        9.3916       -.23255E-07   -.64912E-05
  11  Prefactor     7.6892        50.551        .71101E-06    .48424E-05
  12  Prefactor     6.0096        12.688       -.16986E-06   -.55568E-05
  13  Prefactor     .10000E-03    35.537       -.26720E-06** at limit **
  14  Prefactor     .10000E-03    5.4812        .72095E-07** at limit **
  15  Prefactor     45.924        48.792        .41657E-06    .89401E-05
  16  Prefactor     3.3593        33.144        .36231E-06    .15084E-03
  17  norm          .10000E-03    6.8773       -.18720E-06** at limit **
  18  norm          .10000E-03    2.2280       -.31560E-07** at limit **
  19  norm          10.177        6.3043       -.12223E-06   -.41796E-03
  20  Prefactor     .10001E-03    15.927       -.44249E-05** at limit **
  21  Prefactor     60.793        44.496       -.34872E-05   -.42919E-03
  22  norm          .10000E-03    2.6603        .97402E-06** at limit **
  23  Prefactor     46.856        23.308        .17239E-05    .36567E-03
  24  norm          .10000E-03    .60491       -.73694E-06** at limit **
  25  norm          .49823        5.6492        .15097E-05   -.79086E-04
  26  Prefactor     .10000E-03    3.8330        .34392E-07** at limit **
  27  Prefactor     1.0003        3.2851        .24755E-06    .10549E-03
  28  Prefactor     .10000E-03    59.526       -.63984E-06** at limit **
  29  norm          .10000E-03    10.093        .30642E-07** at limit **
  30  Prefactor     1.3865        4.5857        .49495E-06    .68756E-04
  31  Prefactor     .10000E-03    3.1768       -.37930E-07** at limit **
  32  Normalizat    1.3094        .21709        .17377E-05    .67376E-05
  33  Prefactor     .66688        .21356       -.40701E-05   -.51203E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.33539
  Prefactor  = 17.5187
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.28874
  norm       = 0.0001
  norm       = 1.67071
  Prefactor  = 8.99956
  Prefactor  = 13.5929
  Prefactor  = 7.6892
  Prefactor  = 6.00962
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 45.9241
  Prefactor  = 3.35931
  norm       = 0.0001
  norm       = 0.0001
  norm       = 10.1768
  Prefactor  = 0.000100011
  Prefactor  = 60.7929
  norm       = 0.0001
  Prefactor  = 46.8564
  norm       = 0.0001
  norm       = 0.498229
  Prefactor  = 0.0001
  Prefactor  = 1.00032
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.38645
  Prefactor  = 0.0001
  Normalizat = 1.30936
  Prefactor  = 0.666881
 **********
 **   18 **HESSE 
 **********

 FCN=   5029.585     FROM HESSE     STATUS=OK           697 CALLS     5413 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.3354        92.305        .13026E-03   -1.5097    
   2  Prefactor     17.519        26.379        .95668E-04   -1.4871    
   3  Prefactor     .10000E-03    7.5537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.5033        .10955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.1250        .10092E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.2887        9.3751        .13150E-03   -1.5098    
   7  norm          .10000E-03    59.907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.6707        5.5268        .14732E-02   -1.5449    
   9  Prefactor     8.9996        6.2377        .13361E-03   -1.5108    
  10  Prefactor     13.593        9.3562        .10864E-03   -1.4970    
  11  Prefactor     7.6892        49.149        .14459E-03   -1.5153    
  12  Prefactor     6.0096        12.529        .16376E-03   -1.5218    
  13  Prefactor     .10000E-03    35.536        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    25.255        .31793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     45.924        48.756        .59165E-04   -1.4352    
  16  Prefactor     3.3593        31.782        .22067E-03   -1.5341    
  17  norm          .10000E-03    6.8839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.2283        .10338E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          10.177        6.2959        .12559E-03   -1.5070    
  20  Prefactor     .10001E-03    16.642        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     60.793        42.899        .51409E-04   -1.4147    
  22  norm          .10000E-03    15.790        .20960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     46.856        23.363        .58592E-04   -1.4338    
  24  norm          .10000E-03    .94074        .10245E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .49823        5.7238        .31538E-03   -1.5567    
  26  Prefactor     .10000E-03    3.8346        .13560E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.0003        3.2117        .21425E-03   -1.5508    
  28  Prefactor     .10000E-03    60.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .10000E-03    10.097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     1.3865        4.5319        .25668E-03   -1.5472    
  31  Prefactor     .10000E-03    3.2118        .12306E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.3094        .26706        .22161E-03   -.83288    
  33  Prefactor     .66688        .25668        .30945E-03   -1.0484    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.41219e-09
Minuit parameter uncertainties:
  1  58.8276
  2  26.3968
  3  8.04146e-07
  4  2.22633e-06
  5  1.5213e-06
  6  9.37663
  7  2.34243e-05
  8  5.52846
  9  6.23811
  10  9.3572
  11  38.9267
  12  12.534
  13  7.30518e-05
  14  0.000212967
  15  48.7983
  16  20.6796
  17  2.43271e-05
  18  2.49977e-06
  19  6.29629
  20  0.000867544
  21  42.9208
  22  0.000127569
  23  23.3676
  24  1.80774e-05
  25  3.37751
  26  3.16096e-06
  27  3.21227
  28  0.000331988
  29  1.83981e-06
  30  4.53305
  31  3.73354e-06
  32  0.267338
  33  0.257138
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.000e-04  1.808e-05  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.669e-01  2.571e-01  0.000e+00  1.000e+01 ( 1.000e+00)
581        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
582        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
579   Normalization:  1.309e+00  2.673e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/968122/likelihoodResults_504230401_504489601_4FGL_J2329.3-4955_daily_bin1022.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) = 5028.33667884
delta logL = 1.24862966005

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5028.33643664
delta logL = 1.24887186057

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11744       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1911       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74792       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=   5028.336     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      311 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11745        2.7611        .37573E-02    .38351E-03
   2  alpha         5.0000        2.5077        .46335    ** at limit **
   3  Normalizat    1.1911        .10826        .52010E-01   -.32958E-04
   4  Prefactor     .74796        .10640        .66314E-01   -.48359E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.117451
  alpha      = 5
  Normalizat = 1.19109
  Prefactor  = 0.747959
 **********
 **   18 **HESSE 
 **********

 FCN=   5028.336     FROM HESSE     STATUS=OK            35 CALLS      346 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11745        .10708        .16980E-04   -1.5639    
   2  alpha         5.0000        3.2369        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1911        .25443        .22996E-03   -.86879    
   4  Prefactor     .74796        .25778        .29339E-03   -1.0168    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26357e-11
Minuit parameter uncertainties:
  1  0.107077
  2  5.01342e-07
  3  0.254698
  4  0.258189
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/968122': 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) = 5028.33643639
delta logL = 1.24887211629

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
580    Prefactor:  7.480e-01  2.582e-01  0.000e+00  1.000e+01 ( 1.000e+00)
581        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
582        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
579   Normalization:  1.191e+00  2.547e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.66
Ra Dec: 352.329 -49.932
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 9.25e-08 +/- 8.39e-08
Energy Flux (Free Index): 1.25e-05 +/- 1.14e-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/968122/cmap_HighResolution_504230401_504489601_4FGL_J2329.3-4955_daily_bin1022.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.67e-05', comment='SUCCESS', energy_flux2='1.25e-05', dlogl='1.25e+00', photon_flux2='9.25e-08', job_status='DONE', time_completed='2021-09-29 21:45:19.254277', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', photon_flux_upper_limit='7.01e-08', energy_flux_error2='1.14e-05', EG='1.31', time_epoch_completed='1632977119.25', return_code='0', job_id='968122', GAL2='0.75', EG2='1.19', return_code2='0', photon_flux_error2='8.39e-08', ts2='2.66', photon_index='2.18' WHERE bin_id='1022' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:45:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0144>
Subject: Job 968122: <4FGL_J2329.3-4955_daily_bin1022> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1022 352.329 -49.9324 504230401 504489601 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 :                                   831.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   903 sec.
    Turnaround time :                            904 sec.

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

