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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1070
RA = 352.329, Dec = -49.9324
tmin = 516672001, tmax = 516931201
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='968235', job_status='RUN', time_executed='2021-09-29 21:32:34.064371', time_epoch_executed='1632976354.06' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1070'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/968235

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/968235/ft1_4FGL_J2329.3-4955_daily_bin1070.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/968235/ft2_4FGL_J2329.3-4955_daily_bin1070.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/968235/ft1_4FGL_J2329.3-4955_daily_bin1070.fits outfile=/scratch/kocevski/968235/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1070.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=516672001.0 tmax=516931201.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.49
user 3.25
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/968235/ft2_4FGL_J2329.3-4955_daily_bin1070.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/968235/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1070.fits evtable="EVENTS" outfile="/scratch/kocevski/968235/ft1_filtered_4FGL_J2329.3-4955_daily_bin1070.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/968235/ft1_filtered_4FGL_J2329.3-4955_daily_bin1070.fits" evtable="EVENTS" scfile=/scratch/kocevski/968235/ft2_4FGL_J2329.3-4955_daily_bin1070.fits sctable="SC_DATA" outfile=/scratch/kocevski/968235/ltcube_516672001_516931201_4FGL_J2329.3-4955_daily_bin1070.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/968235/ft2_4FGL_J2329.3-4955_daily_bin1070.fits
.....................!
real 11.67
user 11.33
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/968235/ft1_filtered_4FGL_J2329.3-4955_daily_bin1070.fits evtable="EVENTS" scfile=/scratch/kocevski/968235/ft2_4FGL_J2329.3-4955_daily_bin1070.fits sctable="SC_DATA" expcube=/scratch/kocevski/968235/ltcube_516672001_516931201_4FGL_J2329.3-4955_daily_bin1070.fits outfile=/scratch/kocevski/968235/expmap_516672001_516931201_4FGL_J2329.3-4955_daily_bin1070.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/968235/ltcube_516672001_516931201_4FGL_J2329.3-4955_daily_bin1070.fits
.....................!
real 193.55
user 188.39
sys 4.78

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/968235/ft1_filtered_4FGL_J2329.3-4955_daily_bin1070.fits scfile=/scratch/kocevski/968235/ft2_4FGL_J2329.3-4955_daily_bin1070.fits outfile=/scratch/kocevski/968235/cmap_516672001_516931201_4FGL_J2329.3-4955_daily_bin1070.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=352.329 yref=-49.9324 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.16

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

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

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    37.443       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.1582       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11098E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.8628       1.0000         .10000E-03   10000.    
     7 'norm      '    13.503       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.705       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    40.112       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.3863       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    9.9712       1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.485       1.0000         .10000E-03   10000.    
    21 'Prefactor '    52.251       1.0000         .10000E-03   10000.    
    22 'norm      '    .10144E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.4780       1.0000         .10000E-03   10000.    
    24 'norm      '    1.0539       1.0000         .10000E-03   10000.    
    25 'norm      '    .10066E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    1.3955       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    4.0013       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    1.0823       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .86556       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .95607       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=   5756.032     FROM MIGRAD    STATUS=CONVERGED    907 CALLS     4675 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.928       -.22476E-05** at limit **
   2  Prefactor     .10000E-03    10.062        .38691E-05** at limit **
   3  Prefactor     37.411        35.581       -.74579E-06   -.16375E-04
   4  Prefactor     6.1588        11.627       -.47246E-06   -.11917E-04
   5  Prefactor     .10000E-03    5.6597        .20126E-06** at limit **
   6  Prefactor     1.8644        3.2952        .35796E-07   -.30101E-03
   7  norm          13.498        33.271        .30526E-05   -.16897E-05
   8  norm          .10000E-03    1.6348        .86978E-08** at limit **
   9  Prefactor     .10000E-03    2.1179        .25637E-06** at limit **
  10  Prefactor     13.706        6.2090       -.55762E-07   -.10587E-03
  11  Prefactor     .10000E-03    15.688        .26645E-05** at limit **
  12  Prefactor     .10000E-03    5.7366        .86936E-06** at limit **
  13  Prefactor     40.112        50.197        .71923E-06   -.89376E-05
  14  Prefactor     .10000E-03    2.9193        .37663E-07** at limit **
  15  Prefactor     8.3868        22.692        .16513E-05   -.48020E-05
  16  Prefactor     .10000E-03    6.6893       -.75813E-06** at limit **
  17  norm          9.9712        8.7702        .16112E-08    .82694E-05
  18  norm          .10000E-03    6.5362       -.17559E-07** at limit **
  19  norm          .10000E-03    1.8161        .33216E-08** at limit **
  20  Prefactor     10.486        5.6229        .52243E-08    .17357E-04
  21  Prefactor     52.340        33.063        .47989E-06    .47791E-04
  22  norm          .10000E-03    5.1416       -.65284E-06** at limit **
  23  Prefactor     2.4780        5.4897       -.32688E-07   -.19112E-03
  24  norm          1.0540        .78615        .29792E-08    .80940E-04
  25  norm          .10000E-03    3.4163        .12736E-06** at limit **
  26  Prefactor     .10000E-03    3.7419       -.51773E-06** at limit **
  27  Prefactor     1.3960        2.3410        .67746E-07    .64487E-04
  28  Prefactor     .10000E-03    10.845       -.46197E-05** at limit **
  29  norm          3.9898        10.334       -.12608E-06   -.27309E-05
  30  Prefactor     .10000E-03    2.9562        .12657E-07** at limit **
  31  Prefactor     1.0837        3.3502        .19831E-07   -.40299E-04
  32  Normalizat    .86529        .17155       -.13010E-06   -.47117E-04
  33  Prefactor     .95628        .17836       -.54028E-07   -.39048E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.4107
  Prefactor  = 6.15884
  Prefactor  = 0.000100001
  Prefactor  = 1.86437
  norm       = 13.4981
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.7061
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 40.1118
  Prefactor  = 0.0001
  Prefactor  = 8.38679
  Prefactor  = 0.0001
  norm       = 9.9712
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 10.4857
  Prefactor  = 52.3403
  norm       = 0.0001
  Prefactor  = 2.47801
  norm       = 1.05401
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.39597
  Prefactor  = 0.0001
  norm       = 3.98979
  Prefactor  = 0.0001
  Prefactor  = 1.08372
  Normalizat = 0.865289
  Prefactor  = 0.956279
 **********
 **   18 **HESSE 
 **********

 FCN=   5756.032     FROM HESSE     STATUS=OK           699 CALLS     5374 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     37.411        35.453        .65498E-04   -1.4484    
   4  Prefactor     6.1588        11.604        .16178E-03   -1.5212    
   5  Prefactor     .10000E-03    30.141        .34503E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.8644        6.9848        .15264E-02   -1.5435    
   7  norm          13.498        33.203        .10900E-03   -1.4973    
   8  norm          .10000E-03    1.6350        .94738E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.8627        .21263E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.706        6.2053        .10819E-03   -1.4967    
  11  Prefactor     .10000E-03    15.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.8163        .17725E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     40.112        50.164        .63289E-04   -1.4440    
  14  Prefactor     .10000E-03    2.9344        .12657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.3868        22.677        .13843E-03   -1.5129    
  16  Prefactor     .10000E-03    6.7218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          9.9712        8.7721        .63449E-03   -1.5076    
  18  norm          .10000E-03    6.8418        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.8179        .99816E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.486        5.6484        .12374E-03   -1.5060    
  21  Prefactor     52.340        32.917        .55484E-04   -1.4260    
  22  norm          .10000E-03    5.2608        .33183E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.4780        6.1373        .12986E-02   -1.5393    
  24  norm          1.0540        .76604        .55839E-04   -1.5503    
  25  norm          .10000E-03    3.5159        .27306E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    3.7442        .14331E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.3960        2.3050        .14368E-03   -1.5472    
  28  Prefactor     .10000E-03    10.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          3.9898        10.195        .20162E-03   -1.5308    
  30  Prefactor     .10000E-03    2.9850        .25140E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     1.0837        3.3341        .23042E-03   -1.5500    
  32  Normalizat    .86529        .20708        .22898E-03   -.97691    
  33  Prefactor     .95628        .21546        .23927E-03   -.94201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.17258e-10
Minuit parameter uncertainties:
  1  4.7518e-07
  2  2.44706e-06
  3  35.4729
  4  11.6084
  5  0.000360049
  6  6.98789
  7  33.2487
  8  4.47797e-08
  9  3.82196e-05
  10  6.20562
  11  1.1597e-05
  12  7.76617e-06
  13  50.2169
  14  5.221e-08
  15  22.6999
  16  1.03716e-06
  17  8.77321
  18  1.45904e-06
  19  5.43152e-07
  20  5.64871
  21  32.9282
  22  9.73054e-06
  23  6.13887
  24  0.766049
  25  3.33017e-06
  26  6.42271e-07
  27  2.30512
  28  9.21464e-06
  29  10.1992
  30  4.18065e-06
  31  3.33464
  32  0.207266
  33  0.215654
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
580    Prefactor:  9.563e-01  2.157e-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:  8.653e-01  2.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.28
Ra Dec: 352.329 -49.932
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 2.85e-08 +/- 2.07e-08
Energy Flux (Fixed Index): 1.09e-05 +/- 7.89e-06

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) = 5755.37249556
delta logL = 0.659134355072

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5755.36727296
delta logL = 0.664356951247

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0848       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5577       1.0000          .0000       5.0000    
     3 'Normalizat'    .88019       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94250       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=   5755.367     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      198 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0848        .74605        .11528E-01    .12473E-03
   2  alpha         1.5577        .41234        .32847       -.27290E-04
   3  Normalizat    .88019        .16126        .44648E-01    .12142E-04
   4  Prefactor     .94249        .17728        .45544E-01    .99442E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.08481
  alpha      = 1.55773
  Normalizat = 0.880193
  Prefactor  = 0.942492
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0848        .77416        .52547E-04   -1.5500    
   2  alpha         1.5577        .47760        .13169E-01   -.38646    
   3  Normalizat    .88019        .19372        .22718E-03   -.97160    
   4  Prefactor     .94249        .21303        .24068E-03   -.94672    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.36712e-10
Minuit parameter uncertainties:
  1  0.774169
  2  0.481051
  3  0.193877
  4  0.213219
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/968235': 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) = 5755.36727296
delta logL = 0.664356952398

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.085e+00  7.742e-01  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  1.558e+00  4.811e-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:  9.425e-01  2.132e-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:  8.802e-01  1.939e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.63
Ra Dec: 352.329 -49.932
Photon Index (Free Index): 1.56 +/- 0.48
Photon Flux (Free Index): 2.09e-08 +/- 1.59e-08
Energy Flux (Free Index): 2.27e-05 +/- 2.24e-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/968235/cmap_HighResolution_516672001_516931201_4FGL_J2329.3-4955_daily_bin1070.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.85e-08', energy_flux2='2.27e-05', photon_flux_error='2.07e-08', dlogl='6.64e-01', energy_flux='1.09e-05', photon_flux2='2.09e-08', job_status='DONE', time_completed='2021-09-29 21:45:43.011482', photon_index_error2='0.48', photon_index2='1.56', ts='4.28', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='2.24e-05', EG='0.87', time_epoch_completed='1632977143.01', return_code='0', job_id='968235', GAL2='0.94', EG2='0.88', return_code2='0', energy_flux_error='7.89e-06', photon_flux_error2='1.59e-08', ts2='5.63', photon_index='2.18' WHERE bin_id='1070' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:45:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 968235: <4FGL_J2329.3-4955_daily_bin1070> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1070 352.329 -49.9324 516672001 516931201 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 :                                   787.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             270.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   923 sec.
    Turnaround time :                            924 sec.

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

