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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1408
RA = 352.329, Dec = -49.9324
tmin = 604281601, tmax = 604540801
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='972560', job_status='RUN', time_executed='2021-09-29 21:36:32.506244', time_epoch_executed='1632976592.51' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1408'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/972560

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/972560/ft1_4FGL_J2329.3-4955_daily_bin1408.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/972560/ft2_4FGL_J2329.3-4955_daily_bin1408.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/972560/ft1_4FGL_J2329.3-4955_daily_bin1408.fits outfile=/scratch/kocevski/972560/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1408.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=604281601.0 tmax=604540801.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.63
user 3.40
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/972560/ft2_4FGL_J2329.3-4955_daily_bin1408.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/972560/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1408.fits evtable="EVENTS" outfile="/scratch/kocevski/972560/ft1_filtered_4FGL_J2329.3-4955_daily_bin1408.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/972560/ft1_filtered_4FGL_J2329.3-4955_daily_bin1408.fits" evtable="EVENTS" scfile=/scratch/kocevski/972560/ft2_4FGL_J2329.3-4955_daily_bin1408.fits sctable="SC_DATA" outfile=/scratch/kocevski/972560/ltcube_604281601_604540801_4FGL_J2329.3-4955_daily_bin1408.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/972560/ft2_4FGL_J2329.3-4955_daily_bin1408.fits
.....................!
real 12.85
user 12.46
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/972560/ft1_filtered_4FGL_J2329.3-4955_daily_bin1408.fits evtable="EVENTS" scfile=/scratch/kocevski/972560/ft2_4FGL_J2329.3-4955_daily_bin1408.fits sctable="SC_DATA" expcube=/scratch/kocevski/972560/ltcube_604281601_604540801_4FGL_J2329.3-4955_daily_bin1408.fits outfile=/scratch/kocevski/972560/expmap_604281601_604540801_4FGL_J2329.3-4955_daily_bin1408.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/972560/ltcube_604281601_604540801_4FGL_J2329.3-4955_daily_bin1408.fits
.....................!
real 190.19
user 185.45
sys 4.29

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

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

This is gtbin version HEAD
real 0.56
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/972560/ft1_filtered_4FGL_J2329.3-4955_daily_bin1408.fits scfile=/scratch/kocevski/972560/ft2_4FGL_J2329.3-4955_daily_bin1408.fits outfile=/scratch/kocevski/972560/cmap_HighResolution_604281601_604540801_4FGL_J2329.3-4955_daily_bin1408.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/972560/ft1_filtered_4FGL_J2329.3-4955_daily_bin1408.fits evtable="EVENTS" scfile=/scratch/kocevski/972560/ft2_4FGL_J2329.3-4955_daily_bin1408.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/972560/Model_4FGL_J2329.3-4955_daily_bin1408.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/972560/ft1_filtered_4FGL_J2329.3-4955_daily_bin1408.fits.....................!
real 40.12
user 38.87
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    122.23       1.0000         .10000E-03   10000.    
     2 'Prefactor '    32.223       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.470       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .80499       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.6236       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.8020       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .14607E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.8055       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.1204       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.516       1.0000         .10000E-03   10000.    
    21 'Prefactor '    36.615       1.0000         .10000E-03   10000.    
    22 'norm      '    6.0766       1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.9260       1.0000         .10000E-03   10000.    
    24 'norm      '    .15356E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    1.2840       1.0000         .10000E-03   10000.    
    26 'Prefactor '    12.549       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10287E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    8.9651       1.0000         .10000E-03   10000.    
    31 'Prefactor '    2.8862       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.5278       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .55997       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=   5226.692     FROM MIGRAD    STATUS=CONVERGED    902 CALLS     4637 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     122.23        86.085       -.10902E-06   -.67696E-05
   2  Prefactor     32.223        29.583       -.19479E-05    .61525E-05
   3  Prefactor     12.484        52.147       -.31434E-05   -.65501E-05
   4  Prefactor     .80277        12.595       -.98551E-06   -.27337E-04
   5  Prefactor     2.6232        6.9601        .49339E-06    .38096E-04
   6  Prefactor     .10000E-03    5.6326        .24323E-06** at limit **
   7  norm          .10000E-03    25.751        .55189E-06** at limit **
   8  norm          .10000E-03    4.5191        .54124E-07** at limit **
   9  Prefactor     3.8021        3.6691        .98793E-07   -.34305E-04
  10  Prefactor     .10000E-03    1.4163        .19174E-07** at limit **
  11  Prefactor     .10000E-03    16.310        .10818E-05** at limit **
  12  Prefactor     .10000E-03    18.555       -.47553E-06** at limit **
  13  Prefactor     .10001E-03    382.35        .50456E-05** at limit **
  14  Prefactor     4.8056        4.9661        .53399E-07   -.18364E-04
  15  Prefactor     .10000E-03    12.559       -.21730E-06** at limit **
  16  Prefactor     6.1341        13.322        .39910E-06    .14906E-03
  17  norm          .10000E-03    6.3532       -.15004E-06** at limit **
  18  norm          .10000E-03    3.6225        .16049E-06** at limit **
  19  norm          .10000E-03    2.7049       -.55236E-07** at limit **
  20  Prefactor     10.518        10.158       -.12831E-05    .55396E-05
  21  Prefactor     36.601        44.417       -.95236E-06   -.26271E-04
  22  norm          6.0765        6.0313        .75403E-06   -.13880E-03
  23  Prefactor     3.9562        41.262        .77573E-05    .24844E-03
  24  norm          .10000E-03    .80123       -.49964E-06** at limit **
  25  norm          1.2855        3.7406       -.12949E-06   -.12935E-03
  26  Prefactor     12.553        19.327        .22375E-06   -.14573E-04
  27  Prefactor     .10000E-03    2.0552       -.21079E-07** at limit **
  28  Prefactor     .10000E-03    43.026       -.81119E-06** at limit **
  29  norm          .10000E-03    9.6794        .48732E-07** at limit **
  30  Prefactor     8.9685        8.1949        .84715E-06   -.65332E-04
  31  Prefactor     2.8880        6.8842        .54152E-05   -.35837E-03
  32  Normalizat    1.5275        .22106       -.36896E-06    .21545E-03
  33  Prefactor     .56028        .21353       -.19204E-05   -.56675E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 122.228
  Prefactor  = 32.2226
  Prefactor  = 12.4844
  Prefactor  = 0.802767
  Prefactor  = 2.62324
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 3.80211
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100006
  Prefactor  = 4.80557
  Prefactor  = 0.0001
  Prefactor  = 6.13406
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 10.5182
  Prefactor  = 36.6009
  norm       = 6.07649
  Prefactor  = 3.95625
  norm       = 0.0001
  norm       = 1.28546
  Prefactor  = 12.553
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 8.96854
  Prefactor  = 2.88802
  Normalizat = 1.52754
  Prefactor  = 0.560276
 **********
 **   18 **HESSE 
 **********

 FCN=   5226.692     FROM HESSE     STATUS=OK           701 CALLS     5338 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     122.23        86.116        .18202E-03   -1.3492    
   2  Prefactor     32.223        29.586        .70587E-04   -1.4572    
   3  Prefactor     12.484        51.964        .11344E-03   -1.5001    
   4  Prefactor     .80277        56.158        .47290E-02   -1.5529    
   5  Prefactor     2.6232        6.9203        .25178E-03   -1.5384    
   6  Prefactor     .10000E-03    5.6715        .16758E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    25.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.5492        .15009E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.8021        3.6657        .13160E-03   -1.5318    
  10  Prefactor     .10000E-03    1.4192        .84019E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    16.356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    18.962        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    385.73        .20492E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.8056        4.9676        .15940E-03   -1.5270    
  15  Prefactor     .10000E-03    12.560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.1341        13.134        .16228E-03   -1.5213    
  17  norm          .10000E-03    6.3591        .17800E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.6403        .13435E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.7115        .11607E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.518        10.079        .12356E-03   -1.5059    
  21  Prefactor     36.601        44.439        .66232E-04   -1.4497    
  22  norm          6.0765        6.0092        .73266E-03   -1.5215    
  23  Prefactor     3.9562        42.676        .20360E-03   -1.5310    
  24  norm          .10000E-03    2.7770        .11789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.2855        3.6574        .22369E-03   -1.5481    
  26  Prefactor     12.553        19.338        .11308E-03   -1.4999    
  27  Prefactor     .10000E-03    2.0719        .10108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    43.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .10000E-03    9.6814        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     8.9685        8.1901        .66931E-03   -1.5109    
  31  Prefactor     2.8880        6.9978        .11961E-02   -1.5368    
  32  Normalizat    1.5275        .26960        .10658E-02   -.77007    
  33  Prefactor     .56028        .25425        .34282E-03   -1.0929    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.13426e-08
Minuit parameter uncertainties:
  1  86.2044
  2  29.5991
  3  51.0168
  4  13.4409
  5  6.92244
  6  3.56024e-05
  7  3.47018e-06
  8  8.73023e-06
  9  3.66595
  10  1.57643e-06
  11  3.07152e-06
  12  0.000234767
  13  0.00296326
  14  4.96803
  15  1.08864e-05
  16  13.1401
  17  2.27946e-05
  18  2.18835e-05
  19  6.01611e-06
  20  10.0807
  21  44.4789
  22  6.00981
  23  26.0108
  24  7.77937e-06
  25  3.65803
  26  19.3472
  27  3.00198e-06
  28  0.000297964
  29  1.03481e-06
  30  8.19116
  31  6.99978
  32  0.269857
  33  0.254766
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.000e-04  7.779e-06  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.603e-01  2.548e-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.528e+00  2.699e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 352.329 -49.932
Photon Flux Upper Limit: 8.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.09e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/972560/likelihoodResults_604281601_604540801_4FGL_J2329.3-4955_daily_bin1408.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): 102
logL (Free Index) = 5226.32420026
delta logL = 0.367795142151

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5226.3238346
delta logL = 0.368160802283

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .76448E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    4.8456       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4608       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .60565       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5226.324     FROM MIGRAD    STATUS=FAILED       102 CALLS      393 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .75483E-01    5.8931        .24128E-03    .63835E-03
   2  alpha         4.8542        4.4680        .86702E-01   -.11223E-04
   3  Normalizat    1.4608        .24601        .21690E-03    .99828E-04
   4  Prefactor     .60562        .22490        .33060E-03    .62793E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5226.324     FROM SIMPLEX   STATUS=UNCHANGED     85 CALLS      478 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .75483E-01    5.8931        .52665E-04    .63835E-03
   2  alpha         4.8542        4.4680        .16075E-01   -.11223E-04
   3  Normalizat    1.4608        .24601        .33251E-03    .99828E-04
   4  Prefactor     .60562        .22490        .31114E-03    .62793E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5226.324     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      509 TOTAL
                     EDM=   .99E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .75482E-01    .38966        .96513E-05    .40050E-04
   2  alpha         4.8542        4.4329        .34681E-02    .52450E-07
   3  Normalizat    1.4608        .25703        .43380E-04    .99482E-04
   4  Prefactor     .60562        .25827        .13224E-04    .61211E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0754824
  alpha      = 4.85421
  Normalizat = 1.46085
  Prefactor  = 0.605615
 **********
 **   18 **HESSE 
 **********

 FCN=   5226.324     FROM HESSE     STATUS=OK            23 CALLS      532 TOTAL
                     EDM=   .99E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .75482E-01    .35511        .38605E-06   -1.5653    
   2  alpha         4.8542        4.5886        .13872E-03    1.2276    
   3  Normalizat    1.4608        .25700        .86760E-05   -.78885    
   4  Prefactor     .60562        .25823        .26448E-05   -1.0735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.90179e-12
Minuit parameter uncertainties:
  1  0.327227
  2  2.98814
  3  0.257231
  4  0.258735
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/972560': 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) = 5226.32383023
delta logL = 0.368165179637

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  7.548e-02  3.272e-01  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  4.854e+00  2.988e+00  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:  6.056e-01  2.587e-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.461e+00  2.572e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 352.329 -49.932

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/972560/cmap_HighResolution_604281601_604540801_4FGL_J2329.3-4955_daily_bin1408.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.09e-05', job_status='DONE', photon_flux_upper_limit='8.12e-08', time_completed='2021-09-29 21:51:20.286928', job_id='972560', GAL2='0.61', fit_tolerance='1e-08', EG2='1.46', EG='1.53', time_epoch_completed='1632977480.29', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.56', dlogl='3.68e-01', ts2='0.78', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1408' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:51:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 972560: <4FGL_J2329.3-4955_daily_bin1408> in cluster <slac> Done

Job <4FGL_J2329.3-4955_daily_bin1408> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 21:35:15 2021
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 21:35:17 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 21:35:17 2021
Terminated at Wed Sep 29 21:51:21 2021
Results reported at Wed Sep 29 21:51:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1408 352.329 -49.9324 604281601 604540801 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 :                                   872.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             336.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   963 sec.
    Turnaround time :                            966 sec.

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

