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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1522
RA = 352.329, Dec = -49.9324
tmin = 633830401, tmax = 634089601
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='972847', job_status='RUN', time_executed='2021-09-29 21:37:28.428277', time_epoch_executed='1632976648.43' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1522'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/972847

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/972847/ft1_4FGL_J2329.3-4955_daily_bin1522.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/972847/ft2_4FGL_J2329.3-4955_daily_bin1522.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/972847/ft1_4FGL_J2329.3-4955_daily_bin1522.fits outfile=/scratch/kocevski/972847/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1522.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=633830401.0 tmax=634089601.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.67
user 3.43
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/972847/ft1_filtered_4FGL_J2329.3-4955_daily_bin1522.fits" evtable="EVENTS" scfile=/scratch/kocevski/972847/ft2_4FGL_J2329.3-4955_daily_bin1522.fits sctable="SC_DATA" outfile=/scratch/kocevski/972847/ltcube_633830401_634089601_4FGL_J2329.3-4955_daily_bin1522.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/972847/ft2_4FGL_J2329.3-4955_daily_bin1522.fits
.....................!
real 12.07
user 11.73
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/972847/ft1_filtered_4FGL_J2329.3-4955_daily_bin1522.fits evtable="EVENTS" scfile=/scratch/kocevski/972847/ft2_4FGL_J2329.3-4955_daily_bin1522.fits sctable="SC_DATA" expcube=/scratch/kocevski/972847/ltcube_633830401_634089601_4FGL_J2329.3-4955_daily_bin1522.fits outfile=/scratch/kocevski/972847/expmap_633830401_634089601_4FGL_J2329.3-4955_daily_bin1522.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/972847/ltcube_633830401_634089601_4FGL_J2329.3-4955_daily_bin1522.fits
.....................!
real 190.61
user 185.33
sys 4.47

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/972847/ft1_filtered_4FGL_J2329.3-4955_daily_bin1522.fits scfile=/scratch/kocevski/972847/ft2_4FGL_J2329.3-4955_daily_bin1522.fits outfile=/scratch/kocevski/972847/cmap_633830401_634089601_4FGL_J2329.3-4955_daily_bin1522.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/972847/ft1_filtered_4FGL_J2329.3-4955_daily_bin1522.fits scfile=/scratch/kocevski/972847/ft2_4FGL_J2329.3-4955_daily_bin1522.fits outfile=/scratch/kocevski/972847/cmap_HighResolution_633830401_634089601_4FGL_J2329.3-4955_daily_bin1522.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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/972847/ft1_filtered_4FGL_J2329.3-4955_daily_bin1522.fits evtable="EVENTS" scfile=/scratch/kocevski/972847/ft2_4FGL_J2329.3-4955_daily_bin1522.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/972847/Model_4FGL_J2329.3-4955_daily_bin1522.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/972847/ft1_filtered_4FGL_J2329.3-4955_daily_bin1522.fits.....................!
real 43.67
user 41.71
sys 1.37

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    36.168       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .33165       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    9.2502       1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .23437       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .25129E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    42.781       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10279E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.8164       1.0000         .10000E-03   10000.    
    15 'Prefactor '    54.115       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    8.0459       1.0000         .10000E-03   10000.    
    18 'norm      '    .10640E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .77129E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    30.611       1.0000         .10000E-03   10000.    
    22 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.5868       1.0000         .10000E-03   10000.    
    24 'norm      '    2.9092       1.0000         .10000E-03   10000.    
    25 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .62325       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    6.7994       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .80893       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .98174       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=   5988.325     FROM MIGRAD    STATUS=CONVERGED    904 CALLS     4666 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    47.493       -.37732E-05** at limit **
   2  Prefactor     36.169        21.734       -.53529E-08    .21303E-03
   3  Prefactor     .10000E-03    8.1724       -.27497E-06** at limit **
   4  Prefactor     .10000E-03    10.617        .76243E-06** at limit **
   5  Prefactor     .32623        4.4402        .21170E-06    .17446E-03
   6  Prefactor     .10000E-03    2.9022       -.82854E-07** at limit **
   7  norm          9.2414        29.075        .51286E-06    .40532E-04
   8  norm          .10000E-03    2.3172       -.28814E-07** at limit **
   9  Prefactor     .23838        2.4163       -.59724E-06   -.69425E-03
  10  Prefactor     .10000E-03    3.0479       -.24084E-06** at limit **
  11  Prefactor     42.787        25.810       -.14116E-07    .15968E-03
  12  Prefactor     .10000E-03    3.9544       -.18498E-06** at limit **
  13  Prefactor     .10000E-03    25.420       -.95464E-06** at limit **
  14  Prefactor     4.8164        4.5801       -.11670E-06   -.41906E-04
  15  Prefactor     54.124        39.318       -.44809E-06   -.52357E-05
  16  Prefactor     .10000E-03    8.3737       -.24029E-06** at limit **
  17  norm          8.0466        9.4195       -.71124E-07    .48293E-04
  18  norm          .10001E-03    22.342       -.77626E-05** at limit **
  19  norm          .10000E-03    1.9078       -.27259E-07** at limit **
  20  Prefactor     .10043E-03    31.551       -.75082E-05** at limit **
  21  Prefactor     30.611        23.527       -.35229E-06    .50986E-04
  22  norm          .10000E-03    2.4451       -.14438E-06** at limit **
  23  Prefactor     4.6287        12.786       -.30329E-05    .16488E-03
  24  norm          2.9099        1.2581        .73211E-07    .18684E-02
  25  norm          .10000E-03    1.2438       -.67785E-07** at limit **
  26  Prefactor     .10000E-03    33.314        .12013E-05** at limit **
  27  Prefactor     .62013        2.3982       -.71302E-06    .94788E-03
  28  Prefactor     .10000E-03    11.272       -.20962E-07** at limit **
  29  norm          .10000E-03    7.2241        .66506E-07** at limit **
  30  Prefactor     6.7998        4.7680        .49966E-06    .87377E-03
  31  Prefactor     .10000E-03    1.0449       -.56599E-07** at limit **
  32  Normalizat    .80883        .16377        .16725E-05    .60120E-03
  33  Prefactor     .98189        .17086        .50091E-06    .68678E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100007
  Prefactor  = 36.1691
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.326228
  Prefactor  = 0.0001
  norm       = 9.24143
  norm       = 0.0001
  Prefactor  = 0.238375
  Prefactor  = 0.000100001
  Prefactor  = 42.7868
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.81642
  Prefactor  = 54.1242
  Prefactor  = 0.0001
  norm       = 8.0466
  norm       = 0.000100008
  norm       = 0.0001
  Prefactor  = 0.000100432
  Prefactor  = 30.6111
  norm       = 0.0001
  Prefactor  = 4.62868
  norm       = 2.90987
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.620127
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.79981
  Prefactor  = 0.0001
  Normalizat = 0.808827
  Prefactor  = 0.981885
 **********
 **   18 **HESSE 
 **********

 FCN=   5988.325     FROM HESSE     STATUS=OK           703 CALLS     5369 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    48.649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     36.169        21.735        .66638E-04   -1.4504    
   3  Prefactor     .10000E-03    8.1859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .32623        13.467        .31071E-02   -1.5594    
   6  Prefactor     .10000E-03    2.9148        .12875E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.2414        29.067        .13177E-03   -1.5100    
   8  norm          .10000E-03    2.3194        .11505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .23838        5.3433        .22292E-02   -1.5610    
  10  Prefactor     .10000E-03    6.7756        .25722E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     42.787        25.632        .61291E-04   -1.4399    
  12  Prefactor     .10000E-03    3.9655        .15023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    25.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.8164        4.5748        .15696E-03   -1.5269    
  15  Prefactor     54.124        39.277        .54525E-04   -1.4235    
  16  Prefactor     .10000E-03    8.4592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          8.0466        9.4193        .14135E-03   -1.5141    
  18  norm          .10001E-03    30.868        .29971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.9125        .10435E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10043E-03    16.623        .50342E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     30.611        23.442        .72418E-04   -1.4601    
  22  norm          .10000E-03    2.5164        .23559E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.6287        17.843        .18795E-03   -1.5278    
  24  norm          2.9099        1.2629        .51223E-04   -1.5367    
  25  norm          .10000E-03    1.2532        .84248E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    33.836        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .62013        3.2711        .20124E-02   -1.5550    
  28  Prefactor     .10000E-03    11.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .10000E-03    7.2258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     6.7998        4.7562        .13137E-03   -1.5186    
  31  Prefactor     .10000E-03    1.0506        .77225E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .80883        .19187        .23457E-03   -.99742    
  33  Prefactor     .98189        .20366        .23630E-03   -.93336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.55774e-09
Minuit parameter uncertainties:
  1  0.00112694
  2  21.7394
  3  4.45308e-05
  4  2.1023e-05
  5  4.19235
  6  1.28409e-05
  7  29.1117
  8  2.23625e-06
  9  2.25693
  10  0.000124995
  11  25.6387
  12  1.03629e-05
  13  0.000220225
  14  4.57511
  15  39.2957
  16  2.54559e-05
  17  9.42099
  18  0.00101198
  19  1.67938e-06
  20  0.00536063
  21  23.449
  22  1.10781e-05
  23  17.8632
  24  1.26287
  25  4.10483e-06
  26  0.000145307
  27  2.84851
  28  3.52573e-06
  29  4.13057e-06
  30  4.75643
  31  3.87415e-06
  32  0.192032
  33  0.203822
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  2.910e+00  1.263e+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:  9.819e-01  2.038e-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.088e-01  1.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 18.13
Ra Dec: 352.329 -49.932
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 7.88e-08 +/- 3.42e-08
Energy Flux (Fixed Index): 3.00e-05 +/- 1.30e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5988.22348071
delta logL = 0.101695001009

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5988.22156754
delta logL = 0.103608175673

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9170       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9958       1.0000          .0000       5.0000    
     3 'Normalizat'    .82136       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97333       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=   5988.222     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      196 TOTAL
                     EDM=   .47E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9190        1.4904        .59468E-02    .91222E-04
   2  alpha         1.9958        .44154        .26893       -.84062E-05
   3  Normalizat    .82145        .15571        .43888E-01    .13794E-04
   4  Prefactor     .97324        .17115        .45933E-01    .80790E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.91896
  alpha      = 1.99584
  Normalizat = 0.821449
  Prefactor  = 0.973237
 **********
 **   18 **HESSE 
 **********

 FCN=   5988.222     FROM HESSE     STATUS=OK            33 CALLS      229 TOTAL
                     EDM=   .82E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9190        1.2192        .52882E-04   -1.5366    
   2  alpha         1.9958        .39141        .10974E-01   -.20305    
   3  Normalizat    .82145        .18459        .23301E-03   -.99278    
   4  Prefactor     .97324        .20216        .23725E-03   -.93627    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.22445e-14
Minuit parameter uncertainties:
  1  1.21925
  2  0.393092
  3  0.184735
  4  0.202317
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/972847': 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) = 5988.22156599
delta logL = 0.103609719594

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  2.919e+00  1.219e+00  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  1.996e+00  3.931e-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:  9.732e-01  2.023e-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.214e-01  1.847e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.33
Ra Dec: 352.329 -49.932
Photon Index (Free Index): 2.00 +/- 0.39
Photon Flux (Free Index): 6.93e-08 +/- 3.57e-08
Energy Flux (Free Index): 3.34e-05 +/- 1.66e-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/972847/cmap_HighResolution_633830401_634089601_4FGL_J2329.3-4955_daily_bin1522.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.88e-08', energy_flux2='3.34e-05', photon_flux_error='3.42e-08', dlogl='1.04e-01', energy_flux='3.00e-05', photon_flux2='6.93e-08', job_status='DONE', time_completed='2021-09-29 21:51:22.163810', photon_index_error2='0.39', photon_index2='2.00', ts='18.13', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.66e-05', EG='0.81', time_epoch_completed='1632977482.16', return_code='0', job_id='972847', GAL2='0.97', EG2='0.82', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='3.57e-08', ts2='18.33', photon_index='2.18' WHERE bin_id='1522' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:51:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 972847: <4FGL_J2329.3-4955_daily_bin1522> in cluster <slac> Done

Job <4FGL_J2329.3-4955_daily_bin1522> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 21:35:27 2021
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 21:35:27 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:27 2021
Terminated at Wed Sep 29 21:51:22 2021
Results reported at Wed Sep 29 21:51:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1522 352.329 -49.9324 633830401 634089601 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 :                                   795.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   955 sec.
    Turnaround time :                            955 sec.

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

