/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 130 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 = 7474
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2329.3-4955_daily_bin315
RA = 352.329, Dec = -49.9324
tmin = 320976001, tmax = 321235201
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='957196', job_status='RUN', time_executed='2021-09-29 21:17:44.225785', time_epoch_executed='1632975464.23' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='315'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/957196

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/957196/ft1_4FGL_J2329.3-4955_daily_bin315.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/957196/ft2_4FGL_J2329.3-4955_daily_bin315.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/957196/ft1_4FGL_J2329.3-4955_daily_bin315.fits outfile=/scratch/kocevski/957196/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin315.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=320976001.0 tmax=321235201.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.48
user 3.28
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/957196/ft1_filtered_4FGL_J2329.3-4955_daily_bin315.fits" evtable="EVENTS" scfile=/scratch/kocevski/957196/ft2_4FGL_J2329.3-4955_daily_bin315.fits sctable="SC_DATA" outfile=/scratch/kocevski/957196/ltcube_320976001_321235201_4FGL_J2329.3-4955_daily_bin315.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/957196/ft2_4FGL_J2329.3-4955_daily_bin315.fits
.....................!
real 12.19
user 11.82
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/957196/ft1_filtered_4FGL_J2329.3-4955_daily_bin315.fits evtable="EVENTS" scfile=/scratch/kocevski/957196/ft2_4FGL_J2329.3-4955_daily_bin315.fits sctable="SC_DATA" expcube=/scratch/kocevski/957196/ltcube_320976001_321235201_4FGL_J2329.3-4955_daily_bin315.fits outfile=/scratch/kocevski/957196/expmap_320976001_321235201_4FGL_J2329.3-4955_daily_bin315.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/957196/ltcube_320976001_321235201_4FGL_J2329.3-4955_daily_bin315.fits
.....................!
real 190.69
user 185.67
sys 4.69

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/957196/ft1_filtered_4FGL_J2329.3-4955_daily_bin315.fits scfile=/scratch/kocevski/957196/ft2_4FGL_J2329.3-4955_daily_bin315.fits outfile=/scratch/kocevski/957196/cmap_320976001_321235201_4FGL_J2329.3-4955_daily_bin315.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/957196/ft1_filtered_4FGL_J2329.3-4955_daily_bin315.fits scfile=/scratch/kocevski/957196/ft2_4FGL_J2329.3-4955_daily_bin315.fits outfile=/scratch/kocevski/957196/cmap_HighResolution_320976001_321235201_4FGL_J2329.3-4955_daily_bin315.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/957196/ft1_filtered_4FGL_J2329.3-4955_daily_bin315.fits evtable="EVENTS" scfile=/scratch/kocevski/957196/ft2_4FGL_J2329.3-4955_daily_bin315.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/957196/Model_4FGL_J2329.3-4955_daily_bin315.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/957196/ft1_filtered_4FGL_J2329.3-4955_daily_bin315.fits.....................!
real 39.76
user 38.50
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    100.78       1.0000         .10000E-03   10000.    
     2 'Prefactor '    39.343       1.0000         .10000E-03   10000.    
     3 'Prefactor '    40.820       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .53512       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11402       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    41.050       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.2362       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.0431       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    9.4498       1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.6865       1.0000         .10000E-03   10000.    
    24 'norm      '    7.9748       1.0000         .10000E-03   10000.    
    25 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    43.893       1.0000         .10000E-03   10000.    
    29 'norm      '    15.646       1.0000         .10000E-03   10000.    
    30 'Prefactor '    5.5664       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .97522       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .91715       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.5027       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=   5180.406     FROM MIGRAD    STATUS=CONVERGED   1627 CALLS     5327 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     100.79        91.183        .40048E-04    .77214E-05
   2  Prefactor     39.327        40.838        .63902E-04    .17791E-04
   3  Prefactor     40.809        48.776        .62740E-04    .24173E-04
   4  Prefactor     .10000E-03    29.719        .36285E-02** at limit **
   5  Prefactor     .10000E-03    4.0735        .14172E-02** at limit **
   6  Prefactor     .10000E-03    11.299        .18142E-02** at limit **
   7  norm          .10000E-03    27.692        .18142E-02** at limit **
   8  norm          .53354        17.084        .35674E-02    .29971E-03
   9  Prefactor     .11176        42.535        .24920E-02    .96555E-04
  10  Prefactor     .10000E-03    5.0595        .15734E-02** at limit **
  11  Prefactor     41.072        34.614        .62565E-04    .28529E-04
  12  Prefactor     .10000E-03    8.4286        .18142E-02** at limit **
  13  Prefactor     .10000E-03    37.112        .18142E-02** at limit **
  14  Prefactor     9.2362        8.6001        .13187E-03   -.32415E-04
  15  Prefactor     .86141        70.893        .16030        .10914E-03
  16  Prefactor     .10000E-03    8.8268        .18142E-02** at limit **
  17  norm          .10000E-03    4.5826        .15047E-02** at limit **
  18  norm          .10000E-03    3.6954        .13502E-02** at limit **
  19  norm          .10000E-03    2.6074        .11344E-02** at limit **
  20  Prefactor     .10000E-03    2.4331        .10959E-02** at limit **
  21  Prefactor     .10000E-03    39.876        .18142E-02** at limit **
  22  norm          9.4495        5.8782        .13037E-03   -.32702E-04
  23  Prefactor     5.6853        15.038        .84224E-03   -.82096E-04
  24  norm          7.9739        2.4184        .57322E-04    .95000E-04
  25  norm          .10000E-03    6.9998        .36285E-03** at limit **
  26  Prefactor     .10000E-03    6.8331        .18142E-02** at limit **
  27  Prefactor     .10001E-03    6.0273        .24247E-02** at limit **
  28  Prefactor     43.857        36.894        .60513E-04    .19509E-03
  29  norm          15.645        30.420        .10125E-03    .28519E-04
  30  Prefactor     5.5621        7.8325        .85141E-03   -.19196E-03
  31  Prefactor     .97800        5.6786        .31938E-03   -.60014E-04
  32  Normalizat    .91738        .30450        .30747E-03   -.78830E-04
  33  Prefactor     1.5025        .31528        .26776E-03   -.25475E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 100.792
  Prefactor  = 39.3268
  Prefactor  = 40.8086
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.53354
  Prefactor  = 0.111759
  Prefactor  = 0.0001
  Prefactor  = 41.0716
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.23616
  Prefactor  = 0.861405
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.44952
  Prefactor  = 5.68535
  norm       = 7.97385
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 43.8574
  norm       = 15.6451
  Prefactor  = 5.56206
  Prefactor  = 0.977996
  Normalizat = 0.91738
  Prefactor  = 1.50246
 **********
 **   18 **HESSE 
 **********

 FCN=   5180.406     FROM HESSE     STATUS=OK           675 CALLS     6002 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     100.79        91.176        .80096E-05   -1.3697    
   2  Prefactor     39.327        40.818        .25561E-05   -1.4453    
   3  Prefactor     40.809        48.769        .12548E-04   -1.4429    
   4  Prefactor     .10000E-03    29.940        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.0737        .28345E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.304        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    27.694        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .53354        17.137        .14270E-03   -1.5562    
   9  Prefactor     .11176        43.405        .99681E-04   -1.5641    
  10  Prefactor     .10000E-03    5.0607        .31467E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     41.072        34.596        .25026E-05   -1.4425    
  12  Prefactor     .10000E-03    8.4305        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    37.112        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.2362        8.5986        .52749E-05   -1.5100    
  15  Prefactor     .86141        69.642        .16222       -1.5522    
  16  Prefactor     .10000E-03    8.8274        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.5826        .30094E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.6956        .27005E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.6074        .22688E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.4331        .21919E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    39.879        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          9.4495        5.8776        .52147E-05   -1.5093    
  23  Prefactor     5.6853        15.032        .33690E-04   -1.5231    
  24  norm          7.9739        2.4179        .22929E-05   -1.5143    
  25  norm          .10000E-03    7.0003        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    6.8334        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10001E-03    6.0463        .48495E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     43.857        36.878        .12103E-04   -1.4382    
  29  norm          15.645        30.410        .40502E-05   -1.4917    
  30  Prefactor     5.5621        7.8262        .34056E-04   -1.5236    
  31  Prefactor     .97800        5.6708        .12775E-04   -1.5510    
  32  Normalizat    .91738        .30470        .12299E-04   -.95852    
  33  Prefactor     1.5025        .31525        .10710E-04   -.77471    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88996e-09
Minuit parameter uncertainties:
  1  91.3034
  2  40.8467
  3  48.8169
  4  0.000273749
  5  7.27119e-06
  6  1.3528e-05
  7  7.06613e-05
  8  6.04891
  9  4.40618
  10  1.61423e-05
  11  34.6131
  12  1.1493e-05
  13  8.54609e-05
  14  8.5997
  15  15.5085
  16  6.24604e-05
  17  1.90417e-06
  18  9.50749e-06
  19  2.96658e-07
  20  4.42245e-06
  21  0.000124101
  22  5.87797
  23  15.0421
  24  2.41793
  25  1.40753e-05
  26  3.01268e-05
  27  0.000358973
  28  36.8973
  29  30.4402
  30  7.82767
  31  4.71044
  32  0.305279
  33  0.315663
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  7.974e+00  2.418e+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:  1.502e+00  3.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:  9.174e-01  3.053e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 24.94
Ra Dec: 352.329 -49.932
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 2.16e-07 +/- 6.54e-08
Energy Flux (Fixed Index): 8.21e-05 +/- 2.49e-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) = 5179.47230765
delta logL = 0.933407966265

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5179.47185304
delta logL = 0.933862578466

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.6935       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6461       1.0000          .0000       5.0000    
     3 'Normalizat'    .82900       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5737       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=   5179.472     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      239 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.6927        25.478        .38774E-02    .10899E-03
   2  alpha         2.6457        3.8113        .17134        .37492E-04
   3  Normalizat    .82913        .21492        .72560E-01    .23488E-04
   4  Prefactor     1.5736        .23216        .59406E-01    .74579E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.69265
  alpha      = 2.64573
  Normalizat = 0.829126
  Prefactor  = 1.57363
 **********
 **   18 **HESSE 
 **********

 FCN=   5179.472     FROM HESSE     STATUS=OK            29 CALLS      268 TOTAL
                     EDM=   .18E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.6927        2.4365        .49165E-04   -1.5191    
   2  alpha         2.6457        .36625        .74014E-03    .58326E-01
   3  Normalizat    .82913        .29398        .32110E-03   -.98997    
   4  Prefactor     1.5736        .31447        .26268E-03   -.75498    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84993e-13
Minuit parameter uncertainties:
  1  2.43653
  2  0.367573
  3  0.294549
  4  0.314861
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/957196': 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) = 5179.4718516
delta logL = 0.933864013214

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  6.693e+00  2.437e+00  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  2.646e+00  3.676e-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:  1.574e+00  3.149e-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.291e-01  2.945e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 27.10
Ra Dec: 352.329 -49.932
Photon Index (Free Index): 2.65 +/- 0.37
Photon Flux (Free Index): 2.77e-07 +/- 8.63e-08
Energy Flux (Free Index): 6.92e-05 +/- 2.07e-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/957196/cmap_HighResolution_320976001_321235201_4FGL_J2329.3-4955_daily_bin315.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.16e-07', energy_flux2='6.92e-05', photon_flux_error='6.54e-08', dlogl='9.34e-01', energy_flux='8.21e-05', photon_flux2='2.77e-07', job_status='DONE', time_completed='2021-09-29 21:30:44.947375', photon_index_error2='0.37', photon_index2='2.65', ts='24.94', fit_tolerance='1e-08', GAL='1.50', photon_index_error='0.00', energy_flux_error2='2.07e-05', EG='0.92', time_epoch_completed='1632976244.95', return_code='0', job_id='957196', GAL2='1.57', EG2='0.83', return_code2='0', energy_flux_error='2.49e-05', photon_flux_error2='8.63e-08', ts2='27.10', photon_index='2.18' WHERE bin_id='315' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:30:44 PDT 2021


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

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

Your job looked like:

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

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

