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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1650
RA = 352.329, Dec = -49.9324
tmin = 667008001, tmax = 667267201
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='323995', job_status='RUN', time_executed='2022-02-23 00:59:35.476506', time_epoch_executed='1645606775.48' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1650'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/323995

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/323995/ft1_4FGL_J2329.3-4955_daily_bin1650.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/323995/ft2_4FGL_J2329.3-4955_daily_bin1650.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/323995/ft1_4FGL_J2329.3-4955_daily_bin1650.fits outfile=/scratch/kocevski/323995/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1650.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=667008001.0 tmax=667267201.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.04
user 2.81
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/323995/ft1_filtered_4FGL_J2329.3-4955_daily_bin1650.fits" evtable="EVENTS" scfile=/scratch/kocevski/323995/ft2_4FGL_J2329.3-4955_daily_bin1650.fits sctable="SC_DATA" outfile=/scratch/kocevski/323995/ltcube_667008001_667267201_4FGL_J2329.3-4955_daily_bin1650.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/323995/ft2_4FGL_J2329.3-4955_daily_bin1650.fits
.....................!
real 14.78
user 14.40
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/323995/ft1_filtered_4FGL_J2329.3-4955_daily_bin1650.fits evtable="EVENTS" scfile=/scratch/kocevski/323995/ft2_4FGL_J2329.3-4955_daily_bin1650.fits sctable="SC_DATA" expcube=/scratch/kocevski/323995/ltcube_667008001_667267201_4FGL_J2329.3-4955_daily_bin1650.fits outfile=/scratch/kocevski/323995/expmap_667008001_667267201_4FGL_J2329.3-4955_daily_bin1650.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/323995/ltcube_667008001_667267201_4FGL_J2329.3-4955_daily_bin1650.fits
.....................!
real 191.22
user 185.99
sys 4.32

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/323995/ft1_filtered_4FGL_J2329.3-4955_daily_bin1650.fits scfile=/scratch/kocevski/323995/ft2_4FGL_J2329.3-4955_daily_bin1650.fits outfile=/scratch/kocevski/323995/cmap_667008001_667267201_4FGL_J2329.3-4955_daily_bin1650.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.57
user 0.38
sys 0.16

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

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    72.283       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.1168       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .17291E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.5543       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10125E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    170.96       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10270E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10198E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.4676       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13233E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .41056E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    58.885       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .18367E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.3405       1.0000         .10000E-03   10000.    
    21 'Prefactor '    52.296       1.0000         .10000E-03   10000.    
    22 'norm      '    .10271E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    37.300       1.0000         .10000E-03   10000.    
    24 'norm      '    1.6272       1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    3.9365       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10437E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .43006E-01   1.0000         .10000E-03   10000.    
    29 'norm      '    .10095E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    11.432       1.0000         .10000E-03   10000.    
    31 'Prefactor '    1.3080       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.8285       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .41981       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=   2635.712     FROM MIGRAD    STATUS=CONVERGED    909 CALLS     4664 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     72.336        79.115        .13323E-04    .15186E-05
   2  Prefactor     8.0965        31.138        .12231E-04   -.66932E-04
   3  Prefactor     .10004E-03    263.89        .18566E-03** at limit **
   4  Prefactor     9.5576        11.650        .16893E-06   -.13390E-03
   5  Prefactor     .10000E-03    3.7633       -.69604E-07** at limit **
   6  Prefactor     .10000E-03    4.5237       -.11087E-06** at limit **
   7  norm          .10000E-03    19.688        .31413E-06** at limit **
   8  norm          .10000E-03    29.929       -.83057E-05** at limit **
   9  Prefactor     170.96        216.37       -.21622E-05   -.69905E-04
  10  Prefactor     .10000E-03    26.221        .18000E-04** at limit **
  11  Prefactor     .10000E-03    37.001        .15989E-05** at limit **
  12  Prefactor     3.4405        67.871        .23298E-04   -.16553E-04
  13  Prefactor     .10000E-03    146.64       -.39200E-04** at limit **
  14  Prefactor     .10000E-03    97.753        .33867E-04** at limit **
  15  Prefactor     58.909        97.314        .13670E-04   -.15571E-04
  16  Prefactor     .10004E-03    17.414       -.80661E-06** at limit **
  17  norm          .10000E-03    11.711       -.42776E-07** at limit **
  18  norm          .10000E-03    5.0748       -.33764E-07** at limit **
  19  norm          .10000E-03    5.9102        .13809E-07** at limit **
  20  Prefactor     9.3341        15.255       -.56715E-06    .41786E-04
  21  Prefactor     52.298        73.748        .26279E-06    .16198E-03
  22  norm          .10000E-03    24.641       -.11328E-04** at limit **
  23  Prefactor     37.300        37.539        .12046E-05    .10860E-03
  24  norm          1.6257        1.5277        .81171E-07    .31079E-03
  25  norm          .10000E-03    3.9709        .59526E-07** at limit **
  26  Prefactor     3.9471        29.640        .79703E-05   -.62581E-04
  27  Prefactor     .10000E-03    4.1456       -.31031E-06** at limit **
  28  Prefactor     .12023E-03    52.949       -.91133E-05** at limit **
  29  norm          .10000E-03    12.865       -.19626E-06** at limit **
  30  Prefactor     11.428        9.1604        .38344E-05   -.55657E-03
  31  Prefactor     1.3095        6.2200       -.20434E-05   -.50579E-03
  32  Normalizat    1.8279        .33359       -.57180E-05   -.41024E-04
  33  Prefactor     .42009        .31946        .63270E-06   -.16199E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 72.3359
  Prefactor  = 8.09654
  Prefactor  = 0.00010004
  Prefactor  = 9.55756
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 170.959
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.44046
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 58.909
  Prefactor  = 0.000100036
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 9.33414
  Prefactor  = 52.2983
  norm       = 0.000100001
  Prefactor  = 37.2997
  norm       = 1.62572
  norm       = 0.0001
  Prefactor  = 3.94705
  Prefactor  = 0.0001
  Prefactor  = 0.000120235
  norm       = 0.0001
  Prefactor  = 11.428
  Prefactor  = 1.30954
  Normalizat = 1.82788
  Prefactor  = 0.42009
 **********
 **   18 **HESSE 
 **********

 FCN=   2635.712     FROM HESSE     STATUS=OK           693 CALLS     5357 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     72.336        79.192        .23610E-03   -1.4005    
   2  Prefactor     8.0965        30.779        .14073E-03   -1.5139    
   3  Prefactor     .10004E-03    263.76        .20355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.5576        11.649        .12965E-03   -1.5090    
   5  Prefactor     .10000E-03    3.7677        .97266E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.5313        .10664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    19.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    29.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     170.96        216.65        .30857E-04   -1.3085    
  10  Prefactor     .10000E-03    26.237        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    36.999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.4405        67.770        .21716E-03   -1.5337    
  13  Prefactor     .10000E-03    146.88        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    98.472        .21252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     58.909        97.278        .52283E-04   -1.4171    
  16  Prefactor     .10004E-03    101.27        .41374E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    11.712        .17162E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    5.0752        .11296E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    5.9113        .12190E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.3341        15.266        .13113E-03   -1.5097    
  21  Prefactor     52.298        73.168        .55460E-04   -1.4260    
  22  norm          .10000E-03    24.920        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     37.300        37.593        .65623E-04   -1.4486    
  24  norm          1.6257        1.5209        .58808E-04   -1.5453    
  25  norm          .10000E-03    3.9803        .99875E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     3.9471        29.880        .20332E-03   -1.5311    
  27  Prefactor     .10000E-03    4.1915        .10188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .12023E-03    63.962        .99175E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .10000E-03    12.866        .17987E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     11.428        9.1569        .11849E-03   -1.5032    
  31  Prefactor     1.3095        5.9923        .23398E-03   -1.5479    
  32  Normalizat    1.8279        .37424        .21602E-03   -.68938    
  33  Prefactor     .42009        .34686        .42090E-03   -1.1579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.03025e-09
Minuit parameter uncertainties:
  1  79.3078
  2  30.8391
  3  0.00655565
  4  11.6514
  5  7.54629e-06
  6  6.4054e-08
  7  1.28436e-05
  8  1.23558e-05
  9  217.675
  10  5.92649e-05
  11  0.000109125
  12  30.5787
  13  0.000407404
  14  0.000135871
  15  97.5417
  16  0.00383643
  17  3.21705e-06
  18  1.18869e-06
  19  9.0925e-06
  20  15.2728
  21  73.2939
  22  0.000373281
  23  37.6168
  24  1.52091
  25  1.35623e-05
  26  21.7347
  27  4.40154e-05
  28  0.0720281
  29  3.84246e-05
  30  9.15802
  31  5.60328
  32  0.374835
  33  0.348608
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.626e+00  1.521e+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:  4.201e-01  3.486e-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.828e+00  3.748e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.59
Ra Dec: 352.329 -49.932
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 4.40e-08 +/- 4.12e-08
Energy Flux (Fixed Index): 1.67e-05 +/- 1.57e-05

TS (Fixed Index): 3.59
Ra Dec: 352.329 -49.932
Photon Flux Upper Limit: 1.59e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.04e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/323995/likelihoodResults_667008001_667267201_4FGL_J2329.3-4955_daily_bin1650.txt

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) = 2635.47901665
delta logL = 0.232917247097

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2635.46073381
delta logL = 0.251200090896

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3201       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5816       1.0000          .0000       5.0000    
     3 'Normalizat'    1.8432       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .41281       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=   2635.461     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      208 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3200        1.2840        .95752E-02   -.61910E-04
   2  alpha         1.5816        .61768        .32914       -.13628E-04
   3  Normalizat    1.8432        .31585        .48735E-01   -.27875E-05
   4  Prefactor     .41277        .31904        .95773E-01    .20282E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.31995
  alpha      = 1.58157
  Normalizat = 1.84319
  Prefactor  = 0.412766
 **********
 **   18 **HESSE 
 **********

 FCN=   2635.461     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3200        1.5352        .55373E-04   -1.5478    
   2  alpha         1.5816        .79270        .13339E-01   -.37618    
   3  Normalizat    1.8432        .34099        .21542E-03   -.68542    
   4  Prefactor     .41277        .34295        .42452E-03   -1.1616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5996e-10
Minuit parameter uncertainties:
  1  1.53524
  2  0.808915
  3  0.341436
  4  0.344672
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/323995': 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) = 2635.4607338
delta logL = 0.251200106349

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.320e+00  1.535e+00  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  1.582e+00  8.089e-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:  4.128e-01  3.447e-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.843e+00  3.414e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.10
Ra Dec: 352.329 -49.932
Photon Index (Free Index): 1.58 +/- 0.81
Photon Flux (Free Index): 2.56e-08 +/- 3.31e-08
Energy Flux (Free Index): 2.63e-05 +/- 3.50e-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/323995/cmap_HighResolution_667008001_667267201_4FGL_J2329.3-4955_daily_bin1650.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.04e-05', comment='SUCCESS', photon_flux='4.40e-08', energy_flux2='2.63e-05', photon_flux_error='4.12e-08', dlogl='2.51e-01', energy_flux='1.67e-05', photon_flux2='2.56e-08', job_status='DONE', time_completed='2022-02-23 01:09:31.954984', photon_index_error2='0.81', photon_index2='1.58', ts='3.59', fit_tolerance='1e-08', GAL='0.42', photon_index_error='0.00', photon_flux_upper_limit='1.59e-07', energy_flux_error2='3.50e-05', EG='1.83', time_epoch_completed='1645607371.96', return_code='0', job_id='323995', GAL2='0.41', EG2='1.84', return_code2='0', energy_flux_error='1.57e-05', photon_flux_error2='3.31e-08', ts2='4.10', photon_index='2.18' WHERE bin_id='1650' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 23 01:09:31 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 323995: <4FGL_J2329.3-4955_daily_bin1650> in cluster <slac> Done

Job <4FGL_J2329.3-4955_daily_bin1650> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Feb 23 00:55:16 2022
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 23 00:56:12 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 23 00:56:12 2022
Terminated at Wed Feb 23 01:09:33 2022
Results reported at Wed Feb 23 01:09:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1650 352.329 -49.9324 667008001 667267201 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 :                                   598.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   802 sec.
    Turnaround time :                            857 sec.

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

