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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1149
RA = 352.329, Dec = -49.9324
tmin = 537148801, tmax = 537408001
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='968426', job_status='RUN', time_executed='2021-09-29 21:31:11.267122', time_epoch_executed='1632976271.27' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1149'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/968426

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/968426/ft1_4FGL_J2329.3-4955_daily_bin1149.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/968426/ft2_4FGL_J2329.3-4955_daily_bin1149.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/968426/ft1_4FGL_J2329.3-4955_daily_bin1149.fits outfile=/scratch/kocevski/968426/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1149.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=537148801.0 tmax=537408001.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.56
user 3.33
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/968426/ft1_filtered_4FGL_J2329.3-4955_daily_bin1149.fits" evtable="EVENTS" scfile=/scratch/kocevski/968426/ft2_4FGL_J2329.3-4955_daily_bin1149.fits sctable="SC_DATA" outfile=/scratch/kocevski/968426/ltcube_537148801_537408001_4FGL_J2329.3-4955_daily_bin1149.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/968426/ft2_4FGL_J2329.3-4955_daily_bin1149.fits
.....................!
real 12.12
user 11.79
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/968426/ft1_filtered_4FGL_J2329.3-4955_daily_bin1149.fits evtable="EVENTS" scfile=/scratch/kocevski/968426/ft2_4FGL_J2329.3-4955_daily_bin1149.fits sctable="SC_DATA" expcube=/scratch/kocevski/968426/ltcube_537148801_537408001_4FGL_J2329.3-4955_daily_bin1149.fits outfile=/scratch/kocevski/968426/expmap_537148801_537408001_4FGL_J2329.3-4955_daily_bin1149.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/968426/ltcube_537148801_537408001_4FGL_J2329.3-4955_daily_bin1149.fits
.....................!
real 190.72
user 185.52
sys 4.76

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/968426/ft1_filtered_4FGL_J2329.3-4955_daily_bin1149.fits scfile=/scratch/kocevski/968426/ft2_4FGL_J2329.3-4955_daily_bin1149.fits outfile=/scratch/kocevski/968426/cmap_537148801_537408001_4FGL_J2329.3-4955_daily_bin1149.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.50
user 0.35
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/968426/ft1_filtered_4FGL_J2329.3-4955_daily_bin1149.fits scfile=/scratch/kocevski/968426/ft2_4FGL_J2329.3-4955_daily_bin1149.fits outfile=/scratch/kocevski/968426/cmap_HighResolution_537148801_537408001_4FGL_J2329.3-4955_daily_bin1149.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/968426/ft1_filtered_4FGL_J2329.3-4955_daily_bin1149.fits evtable="EVENTS" scfile=/scratch/kocevski/968426/ft2_4FGL_J2329.3-4955_daily_bin1149.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/968426/Model_4FGL_J2329.3-4955_daily_bin1149.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/968426/ft1_filtered_4FGL_J2329.3-4955_daily_bin1149.fits.....................!
real 40.85
user 39.55
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.789       1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.841       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.4143       1.0000         .10000E-03   10000.    
     7 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.5297       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.7292       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.579       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10381E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.8248       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    68.617       1.0000         .10000E-03   10000.    
    22 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.5627       1.0000         .10000E-03   10000.    
    24 'norm      '    .29486       1.0000         .10000E-03   10000.    
    25 'norm      '    .55463       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    13.832       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.6739       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .50105       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=   5222.776     FROM MIGRAD    STATUS=CONVERGED    869 CALLS     4566 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.030       -.26668E-06** at limit **
   2  Prefactor     .10000E-03    11.753       -.59366E-06** at limit **
   3  Prefactor     20.806        42.530        .82889E-05    .25819E-03
   4  Prefactor     25.841        13.793        .28874E-06   -.51312E-04
   5  Prefactor     .10000E-03    3.9979        .13832E-06** at limit **
   6  Prefactor     3.4150        8.1466        .31829E-06   -.95236E-04
   7  norm          .10000E-03    15.640        .16714E-05** at limit **
   8  norm          4.5298        4.5479       -.31555E-07    .47422E-04
   9  Prefactor     5.7294        5.2570        .22336E-05   -.16944E-02
  10  Prefactor     .10000E-03    3.5781       -.16206E-06** at limit **
  11  Prefactor     .10000E-03    28.108        .28691E-06** at limit **
  12  Prefactor     14.579        13.874        .38849E-06   -.47389E-04
  13  Prefactor     .10000E-03    77.858        .15238E-06** at limit **
  14  Prefactor     .10000E-03    3.9975        .46331E-07** at limit **
  15  Prefactor     .10000E-03    18.817       -.12278E-05** at limit **
  16  Prefactor     1.8383        53.477        .88810E-06   -.59069E-04
  17  norm          .10000E-03    3.8783       -.30937E-06** at limit **
  18  norm          .10000E-03    3.1331       -.30990E-06** at limit **
  19  norm          .10000E-03    3.6940        .33568E-06** at limit **
  20  Prefactor     .10000E-03    6.3670       -.21740E-06** at limit **
  21  Prefactor     68.632        46.042        .31674E-05    .40759E-03
  22  norm          .10000E-03    6.1589        .57559E-06** at limit **
  23  Prefactor     9.5687        14.676       -.29364E-06   -.10670E-03
  24  norm          .29439        .97184        .28412E-06   -.25829E-03
  25  norm          .55269        4.6085       -.28743E-06   -.22756E-03
  26  Prefactor     .10000E-03    9.3115        .28281E-06** at limit **
  27  Prefactor     .10000E-03    1.0976        .21657E-07** at limit **
  28  Prefactor     .10000E-03    6.5900        .25681E-07** at limit **
  29  norm          13.828        16.083        .13321E-06    .19485E-04
  30  Prefactor     .10000E-03    2.9303        .62482E-07** at limit **
  31  Prefactor     .10000E-03    3.0761        .35762E-06** at limit **
  32  Normalizat    1.6735        .22935       -.26767E-05    .11324E-03
  33  Prefactor     .50144        .22061        .13011E-05   -.11676E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.8061
  Prefactor  = 25.8411
  Prefactor  = 0.0001
  Prefactor  = 3.415
  norm       = 0.000100001
  norm       = 4.52977
  Prefactor  = 5.72944
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.5794
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.83831
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 68.632
  norm       = 0.0001
  Prefactor  = 9.56871
  norm       = 0.294385
  norm       = 0.552694
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.8276
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.67351
  Prefactor  = 0.501437
 **********
 **   18 **HESSE 
 **********

 FCN=   5222.776     FROM HESSE     STATUS=OK           687 CALLS     5253 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     20.806        44.000        .87847E-04   -1.4795    
   4  Prefactor     25.841        13.805        .78805E-04   -1.4691    
   5  Prefactor     .10000E-03    4.0098        .14106E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.4150        8.1477        .21893E-03   -1.5338    
   7  norm          .10000E-03    15.760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.5298        4.5547        .15081E-03   -1.5282    
   9  Prefactor     5.7294        5.8585        .83904E-03   -1.5229    
  10  Prefactor     .10000E-03    3.6109        .13347E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    28.177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.579        13.876        .10490E-03   -1.4944    
  13  Prefactor     .10000E-03    77.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.0148        .14111E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    18.880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.8383        48.549        .30905E-03   -1.5437    
  17  norm          .10000E-03    3.8823        .13906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.1414        .12495E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.7082        .13551E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.3793        .17665E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     68.632        46.803        .48456E-04   -1.4049    
  22  norm          .10000E-03    6.2045        .34690E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     9.5687        14.409        .12959E-03   -1.5089    
  24  norm          .29439        .92773        .11093E-02   -1.5599    
  25  norm          .55269        9.2559        .28257E-02   -1.5559    
  26  Prefactor     .10000E-03    9.3605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    1.1029        .73908E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    6.5948        .18119E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          13.828        16.073        .10770E-03   -1.4964    
  30  Prefactor     .10000E-03    2.9808        .12068E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    3.1369        .12374E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.6735        .26503        .20821E-03   -.73013    
  33  Prefactor     .50144        .25460        .36470E-03   -1.1191    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24791e-08
Minuit parameter uncertainties:
  1  3.72363e-05
  2  0.000112016
  3  44.0687
  4  13.8069
  5  1.03819e-05
  6  8.15037
  7  0.000225508
  8  4.55501
  9  5.85911
  10  3.60413e-06
  11  7.91658e-05
  12  13.8788
  13  4.60812e-05
  14  5.84063e-06
  15  0.000173985
  16  18.9108
  17  2.05362e-05
  18  1.75842e-05
  19  2.93722e-07
  20  4.47077e-06
  21  46.8283
  22  0.00010447
  23  14.4138
  24  0.927772
  25  4.52398
  26  4.05798e-05
  27  2.16161e-06
  28  5.14093e-06
  29  16.0776
  30  5.1581e-06
  31  1.64037e-05
  32  0.265251
  33  0.255181
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  2.944e-01  9.278e-01  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.014e-01  2.552e-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.674e+00  2.653e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/968426/likelihoodResults_537148801_537408001_4FGL_J2329.3-4955_daily_bin1149.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5222.72055308
delta logL = 0.0550615870716

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5222.71473115
delta logL = 0.0608835190851

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .37941       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7157       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6638       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .50594       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=   5222.715     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      239 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .37965        27.345        .21829E-01    .13582E-02
   2  alpha         2.7163        3.1551        .41347        .14885E-04
   3  Normalizat    1.6634        .42345E-01    .47215E-01    .16309E-04
   4  Prefactor     .50651        .43642E-01    .81937E-01    .41790E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.379654
  alpha      = 2.71627
  Normalizat = 1.66337
  Prefactor  = 0.506511
 **********
 **   18 **HESSE 
 **********

 FCN=   5222.715     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .37965        .88768        .95705E-04   -1.5585    
   2  alpha         2.7163        1.4126        .35563E-01    .86616E-01
   3  Normalizat    1.6634        .24840        .20871E-03   -.73286    
   4  Prefactor     .50651        .25147        .36292E-03   -1.1168    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33835e-09
Minuit parameter uncertainties:
  1  0.887708
  2  1.502
  3  0.248591
  4  0.252023
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/968426': 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) = 5222.71472835
delta logL = 0.0608863163552

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  3.797e-01  8.877e-01  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  2.716e+00  1.502e+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:  5.065e-01  2.520e-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.663e+00  2.486e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
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/968426/cmap_HighResolution_537148801_537408001_4FGL_J2329.3-4955_daily_bin1149.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.06e-05', job_status='DONE', photon_flux_upper_limit='8.06e-08', time_completed='2021-09-29 21:45:22.003920', job_id='968426', GAL2='0.51', fit_tolerance='1e-08', EG2='1.66', EG='1.67', time_epoch_completed='1632977122.0', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='0.50', dlogl='6.09e-02', ts2='0.26', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1149' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:45:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 968426: <4FGL_J2329.3-4955_daily_bin1149> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1149 352.329 -49.9324 537148801 537408001 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 :                                   847.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   892 sec.
    Turnaround time :                            894 sec.

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

