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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1094
RA = 352.329, Dec = -49.9324
tmin = 522892801, tmax = 523152001
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='968295', job_status='RUN', time_executed='2021-09-29 21:34:22.260774', time_epoch_executed='1632976462.26' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1094'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/968295

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/968295/ft1_4FGL_J2329.3-4955_daily_bin1094.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/968295/ft2_4FGL_J2329.3-4955_daily_bin1094.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/968295/ft1_4FGL_J2329.3-4955_daily_bin1094.fits outfile=/scratch/kocevski/968295/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1094.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=522892801.0 tmax=523152001.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.74
user 3.52
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/968295/ft1_filtered_4FGL_J2329.3-4955_daily_bin1094.fits" evtable="EVENTS" scfile=/scratch/kocevski/968295/ft2_4FGL_J2329.3-4955_daily_bin1094.fits sctable="SC_DATA" outfile=/scratch/kocevski/968295/ltcube_522892801_523152001_4FGL_J2329.3-4955_daily_bin1094.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/968295/ft2_4FGL_J2329.3-4955_daily_bin1094.fits
.....................!
real 11.75
user 11.36
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/968295/ft1_filtered_4FGL_J2329.3-4955_daily_bin1094.fits evtable="EVENTS" scfile=/scratch/kocevski/968295/ft2_4FGL_J2329.3-4955_daily_bin1094.fits sctable="SC_DATA" expcube=/scratch/kocevski/968295/ltcube_522892801_523152001_4FGL_J2329.3-4955_daily_bin1094.fits outfile=/scratch/kocevski/968295/expmap_522892801_523152001_4FGL_J2329.3-4955_daily_bin1094.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/968295/ltcube_522892801_523152001_4FGL_J2329.3-4955_daily_bin1094.fits
.....................!
real 191.89
user 185.35
sys 6.09

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/968295/ft1_filtered_4FGL_J2329.3-4955_daily_bin1094.fits scfile=/scratch/kocevski/968295/ft2_4FGL_J2329.3-4955_daily_bin1094.fits outfile=/scratch/kocevski/968295/cmap_522892801_523152001_4FGL_J2329.3-4955_daily_bin1094.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/968295/ft1_filtered_4FGL_J2329.3-4955_daily_bin1094.fits scfile=/scratch/kocevski/968295/ft2_4FGL_J2329.3-4955_daily_bin1094.fits outfile=/scratch/kocevski/968295/cmap_HighResolution_522892801_523152001_4FGL_J2329.3-4955_daily_bin1094.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/968295/ft1_filtered_4FGL_J2329.3-4955_daily_bin1094.fits evtable="EVENTS" scfile=/scratch/kocevski/968295/ft2_4FGL_J2329.3-4955_daily_bin1094.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/968295/Model_4FGL_J2329.3-4955_daily_bin1094.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/968295/ft1_filtered_4FGL_J2329.3-4955_daily_bin1094.fits.....................!
real 36.00
user 34.66
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10626E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.140       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .56220E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.289       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.9661       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.9559       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .30506E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.696       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    27.706       1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.830       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.3062       1.0000         .10000E-03   10000.    
    22 'norm      '    4.8490       1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.8580       1.0000         .10000E-03   10000.    
    24 'norm      '    1.8443       1.0000         .10000E-03   10000.    
    25 'norm      '    1.9468       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    15.768       1.0000         .10000E-03   10000.    
    29 'norm      '    .10269E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    13.000       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.3226       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .56274       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4355.552     FROM MIGRAD    STATUS=CONVERGED   1618 CALLS     5363 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    80.543        .18142E-02** at limit **
   2  Prefactor     .10000E-03    37.380        .18142E-02** at limit **
   3  Prefactor     19.104        46.752        .91549E-04   -.81314E-04
   4  Prefactor     .10000E-03    7.4653        .17508E-02** at limit **
   5  Prefactor     .10053E-03    135.07        .33152E-02** at limit **
   6  Prefactor     13.287        9.8181        .10988E-03   -.82980E-04
   7  norm          .10000E-03    11.922        .18142E-02** at limit **
   8  norm          2.9640        8.1244        .23577E-03   -.21323E-03
   9  Prefactor     .10000E-03    2.0214        .91421E-03** at limit **
  10  Prefactor     7.9506        8.8878        .14215E-03   -.56783E-03
  11  Prefactor     .10102E-03    283.56        .74023E-02** at limit **
  12  Prefactor     26.689        15.292        .77535E-04   -.71580E-03
  13  Prefactor     .10000E-03    53.692        .18142E-02** at limit **
  14  Prefactor     .10000E-03    7.7111        .17698E-02** at limit **
  15  Prefactor     27.693        60.453        .76111E-04   -.41495E-04
  16  Prefactor     22.832        17.825        .83831E-04   -.14397E-03
  17  norm          .10000E-03    5.1242        .14588E-02** at limit **
  18  norm          .10000E-03    2.4252        .10037E-02** at limit **
  19  norm          .10000E-03    4.0236        .12860E-02** at limit **
  20  Prefactor     .10000E-03    3.0750        .11284E-02** at limit **
  21  Prefactor     1.1746        299.50        .38614E-03    .72132E-05
  22  norm          4.8720        6.5704        .14093E-03   -.15723E-03
  23  Prefactor     5.8582        13.293        .16593E-03   -.91470E-04
  24  norm          1.8441        1.3692        .61945E-04   -.32668E-03
  25  norm          1.9470        4.6513        .20514E-03   -.25653E-03
  26  Prefactor     .10000E-03    8.9349        .18142E-02** at limit **
  27  Prefactor     .10000E-03    1.8988        .88196E-03** at limit **
  28  Prefactor     15.776        28.140        .50432E-03   -.22222E-03
  29  norm          .10000E-03    69.374        .18142E-02** at limit **
  30  Prefactor     13.005        7.7074        .11109E-03   -.15146E-03
  31  Prefactor     .10002E-03    10.665        .20517E-02** at limit **
  32  Normalizat    1.3227        .26778        .21457E-03   -.67656E-03
  33  Prefactor     .56268        .26411        .32396E-03   -.56026E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 19.1038
  Prefactor  = 0.0001
  Prefactor  = 0.000100533
  Prefactor  = 13.2874
  norm       = 0.0001
  norm       = 2.96396
  Prefactor  = 0.0001
  Prefactor  = 7.95057
  Prefactor  = 0.000101024
  Prefactor  = 26.6887
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 27.6928
  Prefactor  = 22.8318
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.17464
  norm       = 4.87204
  Prefactor  = 5.85819
  norm       = 1.8441
  norm       = 1.94699
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.7757
  norm       = 0.000100001
  Prefactor  = 13.0049
  Prefactor  = 0.000100018
  Normalizat = 1.32268
  Prefactor  = 0.562685
 **********
 **   18 **HESSE 
 **********

 FCN=   4355.552     FROM HESSE     STATUS=OK           661 CALLS     6024 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    80.550        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    37.396        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.104        46.712        .18310E-04   -1.4834    
   4  Prefactor     .10000E-03    7.4685        .35016E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10053E-03    139.83        .13261E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.287        9.8179        .43951E-05   -1.4979    
   7  norm          .10000E-03    11.922        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.9640        8.1239        .94308E-05   -1.5364    
   9  Prefactor     .10000E-03    2.0215        .18284E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.9506        8.8776        .56861E-05   -1.5144    
  11  Prefactor     .10102E-03    291.06        .29609E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     26.689        15.263        .15507E-04   -1.4674    
  13  Prefactor     .10000E-03    53.693        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.7177        .35397E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     27.693        60.449        .15222E-04   -1.4655    
  16  Prefactor     22.832        17.825        .16766E-04   -1.4752    
  17  norm          .10000E-03    5.1242        .29176E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.4252        .20074E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    4.0241        .25720E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.0751        .22567E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.1746        296.29        .15446E-04   -1.5491    
  22  norm          4.8720        6.5360        .56371E-05   -1.5266    
  23  Prefactor     5.8582        13.292        .66370E-05   -1.5224    
  24  norm          1.8441        1.3691        .24778E-05   -1.5436    
  25  norm          1.9470        4.6502        .82057E-05   -1.5429    
  26  Prefactor     .10000E-03    8.9355        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    1.8990        .17639E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     15.776        28.132        .20173E-04   -1.4913    
  29  norm          .10000E-03    69.394        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     13.005        7.7054        .44437E-05   -1.4987    
  31  Prefactor     .10002E-03    10.751        .41035E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.3227        .26791        .42914E-04   -.82892    
  33  Prefactor     .56268        .26426        .64792E-04   -1.0918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05471e-08
Minuit parameter uncertainties:
  1  0.000340456
  2  0.000311174
  3  46.8017
  4  2.32206e-05
  5  0.0173031
  6  9.81912
  7  2.15517e-05
  8  8.1269
  9  4.01804e-06
  10  8.87902
  11  0.0346994
  12  15.2657
  13  0.000410854
  14  2.39575e-05
  15  60.5831
  16  17.8289
  17  9.3895e-07
  18  5.2742e-07
  19  1.79602e-05
  20  1.065e-07
  21  37.4989
  22  6.53692
  23  13.2983
  24  1.3691
  25  4.65103
  26  2.43707e-05
  27  1.1101e-05
  28  28.1558
  29  0.000489304
  30  7.70597
  31  0.00088581
  32  0.268191
  33  0.264843
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.844e+00  1.369e+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:  5.627e-01  2.648e-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.323e+00  2.682e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.09
Ra Dec: 352.329 -49.932
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 4.99e-08 +/- 3.71e-08
Energy Flux (Fixed Index): 1.90e-05 +/- 1.41e-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) = 4355.4279185
delta logL = 0.123641648259

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4355.42647652
delta logL = 0.125083626051

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8086       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4873       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3072       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .57247       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=   4355.426     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      209 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8083        36.140        .77675E-02    .16381E-03
   2  alpha         2.4873        2.7438        .34582        .12868E-04
   3  Normalizat    1.3072        .10817        .48754E-01   -.78066E-06
   4  Prefactor     .57227        .11564        .72586E-01    .21379E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.80834
  alpha      = 2.48735
  Normalizat = 1.30723
  Prefactor  = 0.572272
 **********
 **   18 **HESSE 
 **********

 FCN=   4355.426     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8083        1.2751        .57327E-04   -1.5439    
   2  alpha         2.4873        .62605        .13987E-01   -.50613E-02
   3  Normalizat    1.3072        .25699        .21553E-03   -.83351    
   4  Prefactor     .57227        .26178        .32133E-03   -1.0877    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71442e-10
Minuit parameter uncertainties:
  1  1.27511
  2  0.632785
  3  0.257246
  4  0.262335
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/968295': 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) = 4355.42647551
delta logL = 0.125084638496

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.808e+00  1.275e+00  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  2.487e+00  6.328e-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:  5.723e-01  2.623e-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.307e+00  2.572e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.36
Ra Dec: 352.329 -49.932
Photon Index (Free Index): 2.49 +/- 0.63
Photon Flux (Free Index): 6.42e-08 +/- 4.96e-08
Energy Flux (Free Index): 1.80e-05 +/- 1.23e-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/968295/cmap_HighResolution_522892801_523152001_4FGL_J2329.3-4955_daily_bin1094.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.99e-08', energy_flux2='1.80e-05', photon_flux_error='3.71e-08', dlogl='1.25e-01', energy_flux='1.90e-05', photon_flux2='6.42e-08', job_status='DONE', time_completed='2021-09-29 21:46:20.402469', photon_index_error2='0.63', photon_index2='2.49', ts='5.09', fit_tolerance='1e-08', GAL='0.56', photon_index_error='0.00', energy_flux_error2='1.23e-05', EG='1.32', time_epoch_completed='1632977180.4', return_code='0', job_id='968295', GAL2='0.57', EG2='1.31', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='4.96e-08', ts2='5.36', photon_index='2.18' WHERE bin_id='1094' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:46:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 968295: <4FGL_J2329.3-4955_daily_bin1094> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1094 352.329 -49.9324 522892801 523152001 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 :                                   713.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             250.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   957 sec.
    Turnaround time :                            958 sec.

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

