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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1571
RA = 352.329, Dec = -49.9324
tmin = 646531201, tmax = 646790401
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='972970', job_status='RUN', time_executed='2021-09-29 21:37:43.913276', time_epoch_executed='1632976663.91' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1571'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/972970

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/972970/ft1_4FGL_J2329.3-4955_daily_bin1571.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/972970/ft2_4FGL_J2329.3-4955_daily_bin1571.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/972970/ft1_4FGL_J2329.3-4955_daily_bin1571.fits outfile=/scratch/kocevski/972970/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1571.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=646531201.0 tmax=646790401.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.64
user 3.43
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/972970/ft1_filtered_4FGL_J2329.3-4955_daily_bin1571.fits" evtable="EVENTS" scfile=/scratch/kocevski/972970/ft2_4FGL_J2329.3-4955_daily_bin1571.fits sctable="SC_DATA" outfile=/scratch/kocevski/972970/ltcube_646531201_646790401_4FGL_J2329.3-4955_daily_bin1571.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/972970/ft2_4FGL_J2329.3-4955_daily_bin1571.fits
.....................!
real 11.65
user 11.32
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/972970/ft1_filtered_4FGL_J2329.3-4955_daily_bin1571.fits evtable="EVENTS" scfile=/scratch/kocevski/972970/ft2_4FGL_J2329.3-4955_daily_bin1571.fits sctable="SC_DATA" expcube=/scratch/kocevski/972970/ltcube_646531201_646790401_4FGL_J2329.3-4955_daily_bin1571.fits outfile=/scratch/kocevski/972970/expmap_646531201_646790401_4FGL_J2329.3-4955_daily_bin1571.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/972970/ltcube_646531201_646790401_4FGL_J2329.3-4955_daily_bin1571.fits
.....................!
real 190.63
user 186.13
sys 4.19

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/972970/ft1_filtered_4FGL_J2329.3-4955_daily_bin1571.fits scfile=/scratch/kocevski/972970/ft2_4FGL_J2329.3-4955_daily_bin1571.fits outfile=/scratch/kocevski/972970/cmap_646531201_646790401_4FGL_J2329.3-4955_daily_bin1571.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.52
user 0.36
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/972970/ft1_filtered_4FGL_J2329.3-4955_daily_bin1571.fits evtable="EVENTS" scfile=/scratch/kocevski/972970/ft2_4FGL_J2329.3-4955_daily_bin1571.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/972970/Model_4FGL_J2329.3-4955_daily_bin1571.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/972970/ft1_filtered_4FGL_J2329.3-4955_daily_bin1571.fits.....................!
real 37.09
user 35.83
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    77.322       1.0000         .10000E-03   10000.    
     2 'Prefactor '    23.028       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.1363       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.8134       1.0000         .10000E-03   10000.    
     7 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.9600       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10306E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10153E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.7308       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    31.615       1.0000         .10000E-03   10000.    
    17 'norm      '    11.838       1.0000         .10000E-03   10000.    
    18 'norm      '    .60085       1.0000         .10000E-03   10000.    
    19 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.012       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .16886E-01   1.0000         .10000E-03   10000.    
    22 'norm      '    .10900E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.3417       1.0000         .10000E-03   10000.    
    24 'norm      '    1.9833       1.0000         .10000E-03   10000.    
    25 'norm      '    2.0186       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .13927E-02   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10457E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .78457       1.0000         .10000E-03   10000.    
    31 'Prefactor '    2.2168       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.1078       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .69572       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4479.396     FROM MIGRAD    STATUS=CONVERGED    115 CALLS     3819 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     77.343        3.9697        .17908E-05   -.99443E-02
   2  Prefactor     23.038        1.4109       -.67011E-06    .10981E-02
   3  Prefactor     .10000E-03    12.683       -.97642E-07** at limit **
   4  Prefactor     .10000E-03    2.9650        .21055E-07** at limit **
   5  Prefactor     4.1383        1.0456       -.70311E-06   -.29480E-03
   6  Prefactor     4.8128        1.0077       -.75694E-07   -.12042E-03
   7  norm          .10001E-03    7.5413       -.86765E-06** at limit **
   8  norm          .10000E-03    2.3608        .30048E-07** at limit **
   9  Prefactor     .10000E-03    1.8574        .28392E-07** at limit **
  10  Prefactor     7.9608        1.1321       -.98453E-06   -.42176E-03
  11  Prefactor     .10014E-03    12.839       -.25687E-04** at limit **
  12  Prefactor     .10000E-03    7.3278       -.12426E-05** at limit **
  13  Prefactor     .10000E-03    38.932        .23915E-04** at limit **
  14  Prefactor     9.7299        1.0048       -.11218E-06   -.40418E-04
  15  Prefactor     .10000E-03    7.4502       -.91375E-05** at limit **
  16  Prefactor     31.611        1.1666        .51101E-06   -.65763E-04
  17  norm          11.836        1.0784        .58858E-06    .14226E-03
  18  norm          .61276        3.0121        .17621E-04    .15398E-02
  19  norm          .10000E-03    2.2252        .57382E-07** at limit **
  20  Prefactor     19.009        1.6764        .16328E-05    .17772E-02
  21  Prefactor     .10013E-03    167.78       -.17099E-04** at limit **
  22  norm          .10000E-03    4.8183       -.84031E-07** at limit **
  23  Prefactor     6.3416        1.1178        .10046E-05    .30851E-03
  24  norm          1.9834        1.3540       -.83070E-06   -.11858E-03
  25  norm          2.0129        3.6291       -.85708E-06   -.64306E-04
  26  Prefactor     .10000E-03    16.398        .39160E-04** at limit **
  27  Prefactor     .10000E-03    .87720        .38072E-07** at limit **
  28  Prefactor     .10003E-03    8.9788        .73256E-05** at limit **
  29  norm          .10000E-03    7.7235        .11812E-05** at limit **
  30  Prefactor     .78583        3.3202       -.15053E-05    .18248E-04
  31  Prefactor     2.2163        3.1880        .15204E-05    .79976E-04
  32  Normalizat    1.1080        .23590        .40929E-05    .91483E-04
  33  Prefactor     .69548        .24286       -.21390E-05    .73194E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 77.3434
  Prefactor  = 23.0378
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.13829
  Prefactor  = 4.81275
  norm       = 0.000100011
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.96078
  Prefactor  = 0.000100139
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 9.72991
  Prefactor  = 0.0001
  Prefactor  = 31.6113
  norm       = 11.8356
  norm       = 0.612756
  norm       = 0.0001
  Prefactor  = 19.0089
  Prefactor  = 0.000100132
  norm       = 0.0001
  Prefactor  = 6.34164
  norm       = 1.98342
  norm       = 2.01294
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 0.000100028
  norm       = 0.0001
  Prefactor  = 0.78583
  Prefactor  = 2.21625
  Normalizat = 1.10799
  Prefactor  = 0.695485
 **********
 **   18 **HESSE 
 **********

 FCN=   4479.396     FROM HESSE     STATUS=OK           775 CALLS     4594 TOTAL
                     EDM=   .71E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     77.343        70.708        .11417E-02   -1.3947    
   2  Prefactor     23.038        22.169        .20868E-02   -1.4748    
   3  Prefactor     .10000E-03    12.718        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.9610        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.1383        8.0375        .49549E-02   -1.5301    
   6  Prefactor     4.8128        7.1119        .45842E-02   -1.5269    
   7  norm          .10001E-03    26.998        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.3605        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.8506        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.9608        8.6648        .35529E-02   -1.5144    
  11  Prefactor     .10014E-03    29.943        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.2688        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    40.655        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.7299        10.421        .32116E-02   -1.5084    
  15  Prefactor     .10000E-03    27.669        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     31.611        20.316        .17816E-02   -1.4583    
  17  norm          11.836        10.872        .29107E-02   -1.5020    
  18  norm          .61276        8.1717        .59040E-01   -1.5551    
  19  norm          .10000E-03    2.2190        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     19.009        14.272        .22964E-02   -1.4836    
  21  Prefactor     .10013E-03    164.82        .91072E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    2.7910        .41620E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     6.3416        24.445        .39848E-02   -1.5204    
  24  norm          1.9834        1.4583        .73569E-02   -1.5426    
  25  norm          2.0129        3.7336        .72825E-02   -1.5424    
  26  Prefactor     .10000E-03    8.4384        .73823E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    .87566        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10003E-03    26.154        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .10000E-03    7.7265        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .78583        3.4116        .12382E-01   -1.5531    
  31  Prefactor     2.2163        3.2472        .69055E-02   -1.5410    
  32  Normalizat    1.1080        .20601        .37690E-01   -.89496    
  33  Prefactor     .69548        .20484        .62783E-01   -1.0370    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.13696e-07
Minuit parameter uncertainties:
  1  70.7852
  2  22.1768
  3  0.000143681
  4  2.71233e-06
  5  8.03963
  6  7.11318
  7  0.00111203
  8  1.4977e-07
  9  1.4444e-06
  10  8.66612
  11  0.00407814
  12  3.69443e-05
  13  0.000748812
  14  10.4226
  15  0.000158304
  16  20.3206
  17  10.8738
  18  4.47577
  19  7.80741e-07
  20  14.2744
  21  0.00936599
  22  6.43196e-06
  23  24.4834
  24  1.45829
  25  3.73401
  26  0.000402139
  27  3.23641e-07
  28  0.0017274
  29  6.52005e-05
  30  3.27482
  31  3.24748
  32  0.206162
  33  0.205066
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
580    Prefactor:  6.955e-01  2.051e-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.108e+00  2.062e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.87
Ra Dec: 352.329 -49.932
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 5.37e-08 +/- 3.95e-08
Energy Flux (Fixed Index): 2.04e-05 +/- 1.50e-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) = 4479.21003066
delta logL = 0.186235405623

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4479.19479255
delta logL = 0.201473518516

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8533       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7807       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0629       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72800       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=   4479.195     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      204 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8529        22.299        .76551E-03    .22657E-02
   2  alpha         2.7810        3.2655        .41484        .29349E-04
   3  Normalizat    1.0628        .99504E-01    .39767E-01    .38416E-05
   4  Prefactor     .72813        .77071E-01    .61477E-01    .13740E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.85291
  alpha      = 2.78099
  Normalizat = 1.0628
  Prefactor  = 0.728129
 **********
 **   18 **HESSE 
 **********

 FCN=   4479.195     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8529        1.4334        .15310E-03   -1.5436    
   2  alpha         2.7810        .97865        .14691E-01    .11263    
   3  Normalizat    1.0628        .24701        .22017E-03   -.90955    
   4  Prefactor     .72813        .25051        .27193E-03   -1.0243    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21309e-09
Minuit parameter uncertainties:
  1  1.43341
  2  1.00592
  3  0.247277
  4  0.250901
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/972970': 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) = 4479.19479224
delta logL = 0.20147382566

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
580    Prefactor:  7.281e-01  2.509e-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.063e+00  2.473e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.33
Ra Dec: 352.329 -49.932
Photon Index (Free Index): 2.78 +/- 1.01
Photon Flux (Free Index): 8.83e-08 +/- 7.18e-08
Energy Flux (Free Index): 2.03e-05 +/- 1.20e-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/972970/cmap_HighResolution_646531201_646790401_4FGL_J2329.3-4955_daily_bin1571.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.37e-08', energy_flux2='2.03e-05', photon_flux_error='3.95e-08', dlogl='2.01e-01', energy_flux='2.04e-05', photon_flux2='8.83e-08', job_status='DONE', time_completed='2021-09-29 21:48:15.569198', photon_index_error2='1.01', photon_index2='2.78', ts='4.87', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', energy_flux_error2='1.20e-05', EG='1.11', time_epoch_completed='1632977295.57', return_code='0', job_id='972970', GAL2='0.73', EG2='1.06', return_code2='0', energy_flux_error='1.50e-05', photon_flux_error2='7.18e-08', ts2='5.33', photon_index='2.18' WHERE bin_id='1571' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:48:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 972970: <4FGL_J2329.3-4955_daily_bin1571> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1571 352.329 -49.9324 646531201 646790401 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 :                                   628.41 sec.
    Max Memory :                                 1181 MB
    Average Memory :                             263.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   761 sec.
    Turnaround time :                            763 sec.

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

