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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1089
RA = 352.329, Dec = -49.9324
tmin = 521596801, tmax = 521856001
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='968283', job_status='RUN', time_executed='2021-09-29 21:31:14.757720', time_epoch_executed='1632976274.76' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1089'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/968283

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/968283/ft1_4FGL_J2329.3-4955_daily_bin1089.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/968283/ft2_4FGL_J2329.3-4955_daily_bin1089.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/968283/ft1_4FGL_J2329.3-4955_daily_bin1089.fits outfile=/scratch/kocevski/968283/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1089.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=521596801.0 tmax=521856001.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 4.34
user 4.11
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/968283/ft2_4FGL_J2329.3-4955_daily_bin1089.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/968283/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1089.fits evtable="EVENTS" outfile="/scratch/kocevski/968283/ft1_filtered_4FGL_J2329.3-4955_daily_bin1089.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.48
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/968283/ft1_filtered_4FGL_J2329.3-4955_daily_bin1089.fits" evtable="EVENTS" scfile=/scratch/kocevski/968283/ft2_4FGL_J2329.3-4955_daily_bin1089.fits sctable="SC_DATA" outfile=/scratch/kocevski/968283/ltcube_521596801_521856001_4FGL_J2329.3-4955_daily_bin1089.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/968283/ft2_4FGL_J2329.3-4955_daily_bin1089.fits
.....................!
real 11.89
user 11.56
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/968283/ft1_filtered_4FGL_J2329.3-4955_daily_bin1089.fits evtable="EVENTS" scfile=/scratch/kocevski/968283/ft2_4FGL_J2329.3-4955_daily_bin1089.fits sctable="SC_DATA" expcube=/scratch/kocevski/968283/ltcube_521596801_521856001_4FGL_J2329.3-4955_daily_bin1089.fits outfile=/scratch/kocevski/968283/expmap_521596801_521856001_4FGL_J2329.3-4955_daily_bin1089.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/968283/ltcube_521596801_521856001_4FGL_J2329.3-4955_daily_bin1089.fits
.....................!
real 190.01
user 184.90
sys 4.70

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

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/968283/ft1_filtered_4FGL_J2329.3-4955_daily_bin1089.fits scfile=/scratch/kocevski/968283/ft2_4FGL_J2329.3-4955_daily_bin1089.fits outfile=/scratch/kocevski/968283/cmap_HighResolution_521596801_521856001_4FGL_J2329.3-4955_daily_bin1089.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/968283/ft1_filtered_4FGL_J2329.3-4955_daily_bin1089.fits evtable="EVENTS" scfile=/scratch/kocevski/968283/ft2_4FGL_J2329.3-4955_daily_bin1089.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/968283/Model_4FGL_J2329.3-4955_daily_bin1089.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/968283/ft1_filtered_4FGL_J2329.3-4955_daily_bin1089.fits.....................!
real 43.97
user 42.68
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    169.17       1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.754       1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.719       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.2359       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    44.421       1.0000         .10000E-03   10000.    
     8 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.7418       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.2601       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.7064       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .81816E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.789       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.6112       1.0000         .10000E-03   10000.    
    17 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10664E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11499E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    3.1584       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.7736       1.0000         .10000E-03   10000.    
    24 'norm      '    .10151E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    1.4673       1.0000         .10000E-03   10000.    
    26 'Prefactor '    10.047       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .96109       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    .54739E-01   1.0000         .10000E-03   10000.    
    30 'Prefactor '    3.0182       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .81387       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0581       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6225.646     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     3849 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     169.15        2.5992       -.13206E-06    .12442E-01
   2  Prefactor     20.754        1.0128        .86043E-07   -.33812E-03
   3  Prefactor     16.704        1.5548        .17544E-06    .85806E-03
   4  Prefactor     9.2394        1.0392       -.19145E-06    .89417E-04
   5  Prefactor     .10005E-03    3.7549       -.38893E-05** at limit **
   6  Prefactor     .10008E-03    3.2784        .56325E-05** at limit **
   7  norm          44.380        3.5342        .12135E-06    .54009E-02
   8  norm          .10000E-03    3.8560        .10803E-06** at limit **
   9  Prefactor     2.7422        3.2122        .12296E-05    .11691E-02
  10  Prefactor     6.2605        1.3360        .40069E-06    .55986E-03
  11  Prefactor     .10001E-03    11.467       -.92640E-05** at limit **
  12  Prefactor     8.7033        1.4574       -.96857E-06    .60433E-03
  13  Prefactor     .12090E-03    3.1726        .19455E-05** at limit **
  14  Prefactor     .10000E-03    1.5403       -.56695E-06** at limit **
  15  Prefactor     15.789        1.0115       -.86182E-07    .25741E-03
  16  Prefactor     7.6042        3.1340       -.29946E-05    .27680E-02
  17  norm          .10000E-03    5.3329        .11776E-06** at limit **
  18  norm          .10000E-03    2.1285        .11704E-06** at limit **
  19  norm          .10000E-03    1.8918       -.22924E-06** at limit **
  20  Prefactor     .10000E-03    12.764       -.23235E-07** at limit **
  21  Prefactor     .10000E-03    74.133        .37563E-05** at limit **
  22  norm          3.1594        1.6970        .15520E-05    .33434E-02
  23  Prefactor     2.7585        3.5567       -.56465E-05    .11955E-02
  24  norm          .10000E-03    1.7529       -.63581E-06** at limit **
  25  norm          1.4671        2.5999       -.33366E-06   -.36841E-03
  26  Prefactor     10.047        1.4157        .90770E-06   -.12017E-02
  27  Prefactor     .96116        2.7763        .12192E-05    .31713E-04
  28  Prefactor     .10002E-03    10.906        .10390E-04** at limit **
  29  norm          .10058E-03    233.05        .46381E-04** at limit **
  30  Prefactor     3.0187        3.8905       -.16154E-05    .32354E-03
  31  Prefactor     .10000E-03    1.3794        .56028E-06** at limit **
  32  Normalizat    .81382        .19303        .44037E-05   -.15806E-04
  33  Prefactor     1.0581        .21163       -.19260E-05    .23617E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 169.152
  Prefactor  = 20.7536
  Prefactor  = 16.7039
  Prefactor  = 9.23935
  Prefactor  = 0.000100053
  Prefactor  = 0.000100076
  norm       = 44.3803
  norm       = 0.0001
  Prefactor  = 2.74223
  Prefactor  = 6.26052
  Prefactor  = 0.000100008
  Prefactor  = 8.7033
  Prefactor  = 0.000120905
  Prefactor  = 0.0001
  Prefactor  = 15.7888
  Prefactor  = 7.6042
  norm       = 0.000100003
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 3.15939
  Prefactor  = 2.75853
  norm       = 0.0001
  norm       = 1.46708
  Prefactor  = 10.0468
  Prefactor  = 0.961164
  Prefactor  = 0.000100015
  norm       = 0.000100577
  Prefactor  = 3.01869
  Prefactor  = 0.0001
  Normalizat = 0.813816
  Prefactor  = 1.05805
 **********
 **   18 **HESSE 
 **********

 FCN=   6225.646     FROM HESSE     STATUS=OK           775 CALLS     4624 TOTAL
                     EDM=   .83E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     169.15        77.613        .77543E-03   -1.3099    
   2  Prefactor     20.754        17.100        .21980E-02   -1.4797    
   3  Prefactor     16.704        38.239        .24488E-02   -1.4890    
   4  Prefactor     9.2394        8.0682        .32969E-02   -1.5100    
   5  Prefactor     .10005E-03    4.9858        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10008E-03    5.0557        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          44.380        42.012        .15038E-02   -1.4375    
   8  norm          .10000E-03    3.8165        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.7422        3.2867        .61469E-02   -1.5377    
  10  Prefactor     6.2605        4.1781        .40110E-02   -1.5207    
  11  Prefactor     .10001E-03    15.826        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.7033        9.8727        .33962E-02   -1.5118    
  13  Prefactor     .12090E-03    399.89        .10444E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.5361        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.789        26.063        .25199E-02   -1.4913    
  16  Prefactor     7.6042        13.528        .36340E-02   -1.5156    
  17  norm          .10000E-03    5.3732        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.1266        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.8900        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.5275        .53681E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    73.949        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.1594        4.2078        .57017E-02   -1.5352    
  23  Prefactor     2.7585        13.659        .61090E-02   -1.5376    
  24  norm          .10000E-03    .60255        .19732E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.4671        2.7597        .88727E-02   -1.5466    
  26  Prefactor     10.047        15.088        .31603E-02   -1.5074    
  27  Prefactor     .96116        2.8688        .13027E-01   -1.5512    
  28  Prefactor     .10002E-03    15.535        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .10058E-03    12.364        .14553       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     3.0187        4.3762        .58401E-02   -1.5360    
  31  Prefactor     .10000E-03    1.3715        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .81382        .17460        .43791E-01   -.99558    
  33  Prefactor     1.0581        .18058        .39459E-01   -.90819    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.3466e-07
Minuit parameter uncertainties:
  1  77.66
  2  17.104
  3  38.2948
  4  8.06915
  5  0.00102756
  6  0.00124227
  7  42.0403
  8  1.29203e-05
  9  3.28692
  10  4.17825
  11  0.000705556
  12  9.87457
  13  0.184101
  14  1.23891e-06
  15  26.0819
  16  13.533
  17  0.000237111
  18  1.434e-06
  19  1.21545e-06
  20  5.29739e-05
  21  0.000473818
  22  4.20814
  23  12.2809
  24  1.23245e-06
  25  2.75995
  26  15.0941
  27  2.86919
  28  0.000969081
  29  0.00534426
  30  4.37662
  31  3.05921e-06
  32  0.174718
  33  0.180679
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.000e-04  1.232e-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:  1.058e+00  1.807e-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.138e-01  1.747e-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: 5.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.98e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/968283/likelihoodResults_521596801_521856001_4FGL_J2329.3-4955_daily_bin1089.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) = 6225.64882245
delta logL = -0.00279805837727

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6225.29785363
delta logL = 0.348170765883

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .51345E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .75332       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1004       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=   6225.298     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      332 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .51348E-01    .66268E-01    .20763E-04   -.49827E-03
   2  alpha         5.0000        3.6688        .94798E-01** at limit **
   3  Normalizat    .75334        .20410        .25250E-03   -.63035E-04
   4  Prefactor     1.1004        .21769        .23363E-03   -.20827E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.051348
  alpha      = 5
  Normalizat = 0.753337
  Prefactor  = 1.10036
 **********
 **   18 **HESSE 
 **********

 FCN=   6225.298     FROM HESSE     STATUS=OK            23 CALLS      355 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .51348E-01    .65487E-01    .83051E-06   -1.5663    
   2  alpha         5.0000        3.6705        .37919E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .75334        .20434        .10100E-04   -1.0182    
   4  Prefactor     1.1004        .21797        .93453E-05   -.89455    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69922e-11
Minuit parameter uncertainties:
  1  0.065487
  2  1.30462e-05
  3  0.204552
  4  0.218147
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/968283': 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) = 6225.29785362
delta logL = 0.348170779647

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  5.135e-02  6.549e-02  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  5.000e+00  1.305e-05  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.100e+00  2.181e-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:  7.533e-01  2.046e-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/968283/cmap_HighResolution_521596801_521856001_4FGL_J2329.3-4955_daily_bin1089.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.98e-05', job_status='DONE', photon_flux_upper_limit='5.20e-08', time_completed='2021-09-29 21:46:00.636070', job_id='968283', GAL2='1.10', fit_tolerance='1e-08', EG2='0.75', EG='0.81', time_epoch_completed='1632977160.64', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='3.48e-01', ts2='0.77', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1089' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:46:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 968283: <4FGL_J2329.3-4955_daily_bin1089> in cluster <slac> Done

Job <4FGL_J2329.3-4955_daily_bin1089> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 21:30:21 2021
Job was executed on host(s) <bullet0286>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 21:30:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 21:30:22 2021
Terminated at Wed Sep 29 21:46:01 2021
Results reported at Wed Sep 29 21:46:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1089 352.329 -49.9324 521596801 521856001 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 :                                   882.39 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             280.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   938 sec.
    Turnaround time :                            940 sec.

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

