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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1392
RA = 352.329, Dec = -49.9324
tmin = 600134401, tmax = 600393601
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='972519', job_status='RUN', time_executed='2021-09-29 21:35:33.297497', time_epoch_executed='1632976533.3' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1392'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/972519

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/972519/ft1_4FGL_J2329.3-4955_daily_bin1392.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/972519/ft2_4FGL_J2329.3-4955_daily_bin1392.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/972519/ft1_4FGL_J2329.3-4955_daily_bin1392.fits outfile=/scratch/kocevski/972519/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1392.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=600134401.0 tmax=600393601.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 4.92
user 4.64
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/972519/ft1_filtered_4FGL_J2329.3-4955_daily_bin1392.fits" evtable="EVENTS" scfile=/scratch/kocevski/972519/ft2_4FGL_J2329.3-4955_daily_bin1392.fits sctable="SC_DATA" outfile=/scratch/kocevski/972519/ltcube_600134401_600393601_4FGL_J2329.3-4955_daily_bin1392.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/972519/ft2_4FGL_J2329.3-4955_daily_bin1392.fits
.....................!
real 11.69
user 11.34
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/972519/ft1_filtered_4FGL_J2329.3-4955_daily_bin1392.fits evtable="EVENTS" scfile=/scratch/kocevski/972519/ft2_4FGL_J2329.3-4955_daily_bin1392.fits sctable="SC_DATA" expcube=/scratch/kocevski/972519/ltcube_600134401_600393601_4FGL_J2329.3-4955_daily_bin1392.fits outfile=/scratch/kocevski/972519/expmap_600134401_600393601_4FGL_J2329.3-4955_daily_bin1392.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/972519/ltcube_600134401_600393601_4FGL_J2329.3-4955_daily_bin1392.fits
.....................!
real 191.86
user 185.66
sys 5.79

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/972519/ft1_filtered_4FGL_J2329.3-4955_daily_bin1392.fits scfile=/scratch/kocevski/972519/ft2_4FGL_J2329.3-4955_daily_bin1392.fits outfile=/scratch/kocevski/972519/cmap_600134401_600393601_4FGL_J2329.3-4955_daily_bin1392.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/972519/ft1_filtered_4FGL_J2329.3-4955_daily_bin1392.fits scfile=/scratch/kocevski/972519/ft2_4FGL_J2329.3-4955_daily_bin1392.fits outfile=/scratch/kocevski/972519/cmap_HighResolution_600134401_600393601_4FGL_J2329.3-4955_daily_bin1392.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.329 yref=-49.9324 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.500       1.0000         .10000E-03   10000.    
     4 'Prefactor '    24.378       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .55860       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.5880       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    46.334       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10494E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    54.978       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.8166       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    7.9358       1.0000         .10000E-03   10000.    
    23 'Prefactor '    13.187       1.0000         .10000E-03   10000.    
    24 'norm      '    1.8968       1.0000         .10000E-03   10000.    
    25 'norm      '    7.1292       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .11907E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    2.2053       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    10.105       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    3.7275       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.1796       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .87218       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=   4336.785     FROM MIGRAD    STATUS=CONVERGED    866 CALLS     4525 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    50.951        .28558E-05** at limit **
   2  Prefactor     .10000E-03    15.050        .10436E-04** at limit **
   3  Prefactor     13.497        45.798       -.42499E-05   -.21370E-04
   4  Prefactor     24.382        14.638        .19588E-07   -.78777E-04
   5  Prefactor     .10000E-03    2.9713        .32843E-07** at limit **
   6  Prefactor     .10000E-03    4.4913       -.19257E-05** at limit **
   7  norm          .10000E-03    14.447        .63966E-05** at limit **
   8  norm          .56810        8.5063       -.22012E-05   -.79882E-04
   9  Prefactor     8.5892        6.3325       -.28047E-06   -.11461E-03
  10  Prefactor     .10000E-03    1.8834        .83411E-07** at limit **
  11  Prefactor     46.340        34.510        .34513E-05    .12094E-03
  12  Prefactor     .10000E-03    13.036       -.43642E-05** at limit **
  13  Prefactor     .10000E-03    76.612       -.13280E-04** at limit **
  14  Prefactor     .10000E-03    3.6979        .52675E-07** at limit **
  15  Prefactor     54.980        43.193        .13524E-05    .91015E-05
  16  Prefactor     .10000E-03    10.079        .27264E-05** at limit **
  17  norm          .10000E-03    5.7920       -.43041E-06** at limit **
  18  norm          .10000E-03    2.5817        .93493E-07** at limit **
  19  norm          .10000E-03    4.6375        .18450E-05** at limit **
  20  Prefactor     9.8190        12.572        .34039E-05   -.72457E-04
  21  Prefactor     .10000E-03    20.286       -.84949E-05** at limit **
  22  norm          7.9370        6.5031       -.35795E-07   -.10993E-03
  23  Prefactor     13.174        27.625       -.90710E-05   -.28473E-04
  24  norm          1.8975        1.5406       -.51510E-07   -.23371E-03
  25  norm          7.1298        5.8482       -.54953E-07   -.69368E-04
  26  Prefactor     .10000E-03    53.454        .10408E-04** at limit **
  27  Prefactor     2.2073        4.2140        .27356E-05   -.36112E-03
  28  Prefactor     .10000E-03    12.484       -.93555E-05** at limit **
  29  norm          10.104        15.703        .54931E-07   -.17506E-04
  30  Prefactor     .10000E-03    4.1967        .19680E-06** at limit **
  31  Prefactor     3.7301        5.0800        .38871E-07   -.29563E-03
  32  Normalizat    1.1790        .22797       -.68959E-06   -.12647E-04
  33  Prefactor     .87262        .22838        .15300E-06   -.28311E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.4972
  Prefactor  = 24.3816
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.568102
  Prefactor  = 8.58917
  Prefactor  = 0.0001
  Prefactor  = 46.3403
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 54.9802
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 9.81903
  Prefactor  = 0.0001
  norm       = 7.937
  Prefactor  = 13.1736
  norm       = 1.8975
  norm       = 7.12982
  Prefactor  = 0.0001
  Prefactor  = 2.20734
  Prefactor  = 0.0001
  norm       = 10.1039
  Prefactor  = 0.0001
  Prefactor  = 3.73014
  Normalizat = 1.17901
  Prefactor  = 0.872617
 **********
 **   18 **HESSE 
 **********

 FCN=   4336.785     FROM HESSE     STATUS=OK           691 CALLS     5216 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    50.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     13.497        45.776        .10902E-03   -1.4973    
   4  Prefactor     24.382        14.681        .81130E-04   -1.4720    
   5  Prefactor     .10000E-03    2.9731        .11086E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.5039        .13626E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    14.450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .56810        24.173        .36942E-02   -1.5557    
   9  Prefactor     8.5892        6.3367        .13679E-03   -1.5122    
  10  Prefactor     .10000E-03    1.8861        .88250E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     46.340        34.640        .58904E-04   -1.4345    
  12  Prefactor     .10000E-03    13.173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    76.689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.7063        .12367E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     54.980        43.192        .54098E-04   -1.4224    
  16  Prefactor     .10000E-03    10.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    5.7939        .15479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.5819        .10334E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    4.6520        .13840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.8190        12.536        .12790E-03   -1.5081    
  21  Prefactor     .10000E-03    20.278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          7.9370        6.4939        .14216E-03   -1.5144    
  23  Prefactor     13.174        27.583        .11030E-03   -1.4982    
  24  norm          1.8975        1.5335        .67696E-04   -1.5432    
  25  norm          7.1298        5.8433        .13572E-03   -1.5174    
  26  Prefactor     .10000E-03    54.367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     2.2073        4.1459        .17311E-03   -1.5411    
  28  Prefactor     .10000E-03    12.511        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          10.104        15.694        .12605E-03   -1.5072    
  30  Prefactor     .10000E-03    4.2356        .13154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     3.7301        5.0743        .16584E-03   -1.5322    
  32  Normalizat    1.1790        .28205        .23998E-03   -.87254    
  33  Prefactor     .87262        .28106        .28432E-03   -.97105    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.70259e-08
Minuit parameter uncertainties:
  1  8.38423e-06
  2  6.69087e-06
  3  45.8952
  4  14.6828
  5  1.70715e-06
  6  4.83468e-06
  7  3.87669e-07
  8  7.41401
  9  6.33715
  10  2.74461e-06
  11  34.6547
  12  4.47806e-05
  13  4.71424e-05
  14  1.98376e-06
  15  43.217
  16  4.62133e-06
  17  3.31214e-06
  18  6.99632e-09
  19  1.7059e-06
  20  12.5389
  21  1.74592e-05
  22  6.4945
  23  27.6098
  24  1.53353
  25  5.84382
  26  0.000220396
  27  4.14647
  28  2.34617e-05
  29  15.7002
  30  1.95313e-05
  31  5.07488
  32  0.282417
  33  0.281522
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.897e+00  1.534e+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:  8.726e-01  2.815e-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.179e+00  2.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.06
Ra Dec: 352.329 -49.932
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 5.14e-08 +/- 4.15e-08
Energy Flux (Fixed Index): 1.95e-05 +/- 1.58e-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) = 4336.68909897
delta logL = 0.0960995542882

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4336.68161593
delta logL = 0.103582597592

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0819       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5497       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1453       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89323       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=   4336.682     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      226 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0820        34.353        .71547E-02    .19605E-02
   2  alpha         2.5500        2.7827        .41162        .64166E-04
   3  Normalizat    1.1456        .10918        .54900E-01    .65471E-03
   4  Prefactor     .89290        .94838E-01    .44919E-01    .36418E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.08197
  alpha      = 2.54996
  Normalizat = 1.14562
  Prefactor  = 0.892904
 **********
 **   18 **HESSE 
 **********

 FCN=   4336.682     FROM HESSE     STATUS=OK            29 CALLS      255 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0820        1.4132        .60822E-04   -1.5419    
   2  alpha         2.5500        .75481        .15245E-01    .19987E-01
   3  Normalizat    1.1456        .27745        .24276E-03   -.88300    
   4  Prefactor     .89290        .28036        .28102E-03   -.96390    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.40694e-10
Minuit parameter uncertainties:
  1  1.4132
  2  0.766778
  3  0.27781
  4  0.280817
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/972519': 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) = 4336.68161505
delta logL = 0.10358347655

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
580    Prefactor:  8.929e-01  2.808e-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.146e+00  2.778e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.28
Ra Dec: 352.329 -49.932
Photon Index (Free Index): 2.55 +/- 0.77
Photon Flux (Free Index): 7.85e-08 +/- 7.42e-08
Energy Flux (Free Index): 2.09e-05 +/- 1.42e-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/972519/cmap_HighResolution_600134401_600393601_4FGL_J2329.3-4955_daily_bin1392.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.14e-08', energy_flux2='2.09e-05', photon_flux_error='4.15e-08', dlogl='1.04e-01', energy_flux='1.95e-05', photon_flux2='7.85e-08', job_status='DONE', time_completed='2021-09-29 21:46:54.247574', photon_index_error2='0.77', photon_index2='2.55', ts='5.06', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='1.42e-05', EG='1.18', time_epoch_completed='1632977214.25', return_code='0', job_id='972519', GAL2='0.89', EG2='1.15', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='7.42e-08', ts2='5.28', photon_index='2.18' WHERE bin_id='1392' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:46:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0146>
Subject: Job 972519: <4FGL_J2329.3-4955_daily_bin1392> in cluster <slac> Done

Job <4FGL_J2329.3-4955_daily_bin1392> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 21:35:13 2021
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 21:35:14 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:14 2021
Terminated at Wed Sep 29 21:46:54 2021
Results reported at Wed Sep 29 21:46:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1392 352.329 -49.9324 600134401 600393601 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 :                                   678.07 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             317.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   700 sec.
    Turnaround time :                            701 sec.

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

