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


Performing analysis on: 4FGL_J2329.3-4733_daily_bin1342
RA = 352.339, Dec = -47.5558
tmin = 587174401, tmax = 587433601
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='951790', job_status='RUN', time_executed='2021-09-29 21:05:55.193907', time_epoch_executed='1632974755.19' WHERE source_name='4FGL J2329.3-4733' and cadence='daily' and bin_id='1342'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/951790

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/951790/ft1_4FGL_J2329.3-4733_daily_bin1342.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/951790/ft2_4FGL_J2329.3-4733_daily_bin1342.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/951790/ft1_4FGL_J2329.3-4733_daily_bin1342.fits outfile=/scratch/kocevski/951790/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1342.fits ra=352.339 dec=-47.5558 rad=12.0 tmin=587174401.0 tmax=587433601.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.55
user 3.32
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/951790/ft2_4FGL_J2329.3-4733_daily_bin1342.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/951790/ft2_4FGL_J2329.3-4733_daily_bin1342.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/951790/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1342.fits evtable="EVENTS" outfile="/scratch/kocevski/951790/ft1_filtered_4FGL_J2329.3-4733_daily_bin1342.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.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/951790/ft1_filtered_4FGL_J2329.3-4733_daily_bin1342.fits" evtable="EVENTS" scfile=/scratch/kocevski/951790/ft2_4FGL_J2329.3-4733_daily_bin1342.fits sctable="SC_DATA" outfile=/scratch/kocevski/951790/ltcube_587174401_587433601_4FGL_J2329.3-4733_daily_bin1342.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/951790/ft2_4FGL_J2329.3-4733_daily_bin1342.fits
.....................!
real 11.78
user 11.40
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/951790/ft1_filtered_4FGL_J2329.3-4733_daily_bin1342.fits evtable="EVENTS" scfile=/scratch/kocevski/951790/ft2_4FGL_J2329.3-4733_daily_bin1342.fits sctable="SC_DATA" expcube=/scratch/kocevski/951790/ltcube_587174401_587433601_4FGL_J2329.3-4733_daily_bin1342.fits outfile=/scratch/kocevski/951790/expmap_587174401_587433601_4FGL_J2329.3-4733_daily_bin1342.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/951790/ltcube_587174401_587433601_4FGL_J2329.3-4733_daily_bin1342.fits
.....................!
real 188.74
user 184.94
sys 3.49

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 181 point sources and 0 extended sources

Setting source of interest to:
4FGL J2329.3-4733 @ 352.339 -47.5558

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/951790/ft1_filtered_4FGL_J2329.3-4733_daily_bin1342.fits scfile=/scratch/kocevski/951790/ft2_4FGL_J2329.3-4733_daily_bin1342.fits outfile=/scratch/kocevski/951790/cmap_587174401_587433601_4FGL_J2329.3-4733_daily_bin1342.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.339 yref=-47.5558 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/951790/ft1_filtered_4FGL_J2329.3-4733_daily_bin1342.fits scfile=/scratch/kocevski/951790/ft2_4FGL_J2329.3-4733_daily_bin1342.fits outfile=/scratch/kocevski/951790/cmap_HighResolution_587174401_587433601_4FGL_J2329.3-4733_daily_bin1342.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.339 yref=-47.5558 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/951790/ft1_filtered_4FGL_J2329.3-4733_daily_bin1342.fits evtable="EVENTS" scfile=/scratch/kocevski/951790/ft2_4FGL_J2329.3-4733_daily_bin1342.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/951790/Model_4FGL_J2329.3-4733_daily_bin1342.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/951790/ft1_filtered_4FGL_J2329.3-4733_daily_bin1342.fits.....................!
real 36.47
user 35.25
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/951790/ft1_filtered_4FGL_J2329.3-4733_daily_bin1342.fits', '/scratch/kocevski/951790/ft2_4FGL_J2329.3-4733_daily_bin1342.fits', expMap='/scratch/kocevski/951790/expmap_587174401_587433601_4FGL_J2329.3-4733_daily_bin1342.fits', expCube='/scratch/kocevski/951790/ltcube_587174401_587433601_4FGL_J2329.3-4733_daily_bin1342.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/951790/Model_4FGL_J2329.3-4733_daily_bin1342.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2329.3-4733'

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  3.273e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  2.507e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
462        Scale:  1.077e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/951790/ft1_filtered_4FGL_J2329.3-4733_daily_bin1342.fits
Spacecraft file(s): /scratch/kocevski/951790/ft2_4FGL_J2329.3-4733_daily_bin1342.fits
Exposure map: /scratch/kocevski/951790/expmap_587174401_587433601_4FGL_J2329.3-4733_daily_bin1342.fits
Exposure cube: /scratch/kocevski/951790/ltcube_587174401_587433601_4FGL_J2329.3-4733_daily_bin1342.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/951790/Model_4FGL_J2329.3-4733_daily_bin1342.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) = 4446.83666089

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    45.969       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.3074       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .21619       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.9377       1.0000         .10000E-03   10000.    
     9 'norm      '    11.349       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.7833       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .22321E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13131E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.0672       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    7.1769       1.0000         .10000E-03   10000.    
    20 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    23.767       1.0000         .10000E-03   10000.    
    25 'norm      '    .16770E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    2.9641       1.0000         .10000E-03   10000.    
    28 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    34.777       1.0000         .10000E-03   10000.    
    30 'Prefactor '    2.7267       1.0000         .10000E-03   10000.    
    31 'Prefactor '    10.930       1.0000         .10000E-03   10000.    
    32 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .13565E-03   1.0000         .10000E-03   10000.    
    34 'Prefactor '    5.3209       1.0000         .10000E-03   10000.    
    35 'Normalizat'    1.5481       1.0000         .10000E-01   10.000    
    36 'Prefactor '    .52209       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4446.834     FROM MIGRAD    STATUS=CONVERGED   1009 CALLS     5381 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    62.559        .85453E-06** at limit **
   2  Prefactor     .10000E-03    9.7117       -.10088E-06** at limit **
   3  Prefactor     45.967        47.790        .35618E-06   -.12351E-04
   4  Prefactor     .10000E-03    9.1460        .51719E-07** at limit **
   5  Prefactor     6.3082        7.3077        .13734E-06   -.46181E-04
   6  Prefactor     .10000E-03    22.572       -.36164E-06** at limit **
   7  Prefactor     .31025        10.300       -.66899E-06    .41010E-04
   8  Prefactor     5.9384        8.5592        .18314E-09   -.26267E-03
   9  norm          11.349        11.118       -.55378E-07   -.23583E-04
  10  Prefactor     4.7833        5.1691        .98163E-07   -.99656E-04
  11  Prefactor     .10000E-03    80.637       -.51215E-06** at limit **
  12  Prefactor     .10000E-03    8.7608        .29894E-05** at limit **
  13  Prefactor     .10000E-03    79.332       -.13812E-05** at limit **
  14  Prefactor     1.0555        5.0451        .22574E-05   -.10723E-02
  15  Prefactor     .10000E-03    43.990       -.74062E-07** at limit **
  16  Prefactor     .10000E-03    6.9160       -.95108E-07** at limit **
  17  Prefactor     .10000E-03    13.017       -.25571E-06** at limit **
  18  Prefactor     .10000E-03    14.929        .98346E-08** at limit **
  19  norm          7.1809        15.493        .20233E-07   -.14519E-04
  20  norm          .10000E-03    5.9758        .87883E-07** at limit **
  21  norm          .10000E-03    2.1115        .88804E-07** at limit **
  22  norm          .10000E-03    5.3534       -.11609E-06** at limit **
  23  Prefactor     .10000E-03    3.2150        .17233E-07** at limit **
  24  Prefactor     23.772        38.006       -.44459E-05   -.44138E-03
  25  norm          .10000E-03    4.1494        .24656E-05** at limit **
  26  Prefactor     .10000E-03    8.1496        .53872E-07** at limit **
  27  norm          2.9650        1.6707        .18658E-07    .46114E-04
  28  norm          .10000E-03    2.5037        .33836E-06** at limit **
  29  Prefactor     34.794        22.043        .33504E-06    .15691E-03
  30  Prefactor     2.7274        5.5029        .77878E-06    .16298E-03
  31  Prefactor     10.940        30.741       -.11216E-05   -.10392E-04
  32  norm          .10000E-03    19.571       -.48019E-07** at limit **
  33  Prefactor     .10000E-03    3.1352        .82142E-06** at limit **
  34  Prefactor     5.3225        6.5416        .17517E-06   -.47259E-04
  35  Normalizat    1.5477        .23520       -.11674E-05   -.43124E-03
  36  Prefactor     .52206        .23783        .17299E-05   -.17985E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 45.967
  Prefactor  = 0.0001
  Prefactor  = 6.30816
  Prefactor  = 0.000100001
  Prefactor  = 0.31025
  Prefactor  = 5.93843
  norm       = 11.3492
  Prefactor  = 4.78328
  Prefactor  = 0.000100001
  Prefactor  = 0.000100004
  Prefactor  = 0.000100004
  Prefactor  = 1.05545
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.18093
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.7716
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 2.96496
  norm       = 0.0001
  Prefactor  = 34.7941
  Prefactor  = 2.72742
  Prefactor  = 10.9399
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.32251
  Normalizat = 1.54773
  Prefactor  = 0.522064
 **********
 **   18 **HESSE 
 **********

 FCN=   4446.834     FROM HESSE     STATUS=OK           809 CALLS     6190 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    62.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.7150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     45.967        47.678        .59136E-04   -1.4351    
   4  Prefactor     .10000E-03    9.1900        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.3082        7.3075        .79914E-03   -1.5206    
   6  Prefactor     .10000E-03    22.571        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .31025        81.922        .39691E-02   -1.5597    
   8  Prefactor     5.9384        8.6029        .82397E-03   -1.5221    
   9  norm          11.349        11.122        .11892E-03   -1.5034    
  10  Prefactor     4.7833        5.1645        .15058E-03   -1.5271    
  11  Prefactor     .10000E-03    80.725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.839        .30857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    81.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.0555        24.605        .23576E-02   -1.5502    
  15  Prefactor     .10000E-03    43.994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.9587        .17122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    14.983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          7.1809        15.488        .14973E-03   -1.5172    
  20  norm          .10000E-03    6.0356        .15911E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    2.1128        .94637E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    5.3575        .15065E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    3.2240        .11674E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     23.772        41.365        .82165E-04   -1.4732    
  25  norm          .10000E-03    6.8281        .24217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    8.1910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.9650        1.6638        .60676E-04   -1.5364    
  28  norm          .10000E-03    2.5260        .10316E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     34.794        22.075        .67954E-04   -1.4528    
  30  Prefactor     2.7274        5.3723        .18459E-03   -1.5378    
  31  Prefactor     10.940        30.288        .12118E-03   -1.5046    
  32  norm          .10000E-03    19.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    5.3030        .21972E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     5.3225        6.5739        .17423E-03   -1.5247    
  35  Normalizat    1.5477        .27552        .21258E-03   -.76446    
  36  Prefactor     .52206        .27158        .35859E-03   -1.1097    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28822e-08
Minuit parameter uncertainties:
  1  0.000887382
  2  1.63846e-05
  3  47.7178
  4  2.48777e-05
  5  7.30851
  6  0.000221214
  7  10.0953
  8  8.60466
  9  11.1237
  10  5.16501
  11  0.000581992
  12  0.000526609
  13  0.00117169
  14  10.1962
  15  4.33979e-05
  16  2.46178e-05
  17  0.000126173
  18  2.67215e-05
  19  15.4962
  20  2.04912e-05
  21  5.86421e-06
  22  3.561e-05
  23  1.17857e-06
  24  41.4154
  25  0.00015683
  26  1.06968e-05
  27  1.66387
  28  2.62885e-05
  29  22.0798
  30  5.37322
  31  30.331
  32  2.57595e-05
  33  5.06013e-06
  34  6.5748
  35  0.275786
  36  0.272255
Done.

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

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.000e-04  1.070e-05  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  2.507e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
462        Scale:  1.077e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  5.221e-01  2.723e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  1.548e+00  2.758e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 352.339 -47.556
Photon Flux Upper Limit: 7.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/951790/likelihoodResults_587174401_587433601_4FGL_J2329.3-4733_daily_bin1342.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) = 4446.83472461
delta logL = -0.000578547317673

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4446.83414645
delta logL = -3.81740392186e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11018E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4772       1.0000          .0000       10.000    
     3 'Normalizat'    1.5477       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .52211       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+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=   4446.834     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      251 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10291E-03    5.7288        .18142E-01** at limit **
   2  Index         2.3957        8.7689        .50000        .26648E-04
   3  Normalizat    1.5477        .41478E-02    .21258E-03   -.92518E-05
   4  Prefactor     .52206        .43062E-02    .35859E-03   -.19022E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102911
  Index      = 2.39569
  Normalizat = 1.54773
  Prefactor  = 0.522063
 **********
 **   18 **HESSE 
 **********

 FCN=   4446.834     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      280 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10291E-03    67.335        .19770E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3957        6.1773        .50000       -.54786    
   3  Normalizat    1.5477        .14198E-01    .85033E-05   -.76446    
   4  Prefactor     .52206        .14740E-01    .14344E-04   -1.1098    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.085e-09
Minuit parameter uncertainties:
  1  0.0280315
  2  245.179
  3  0.0141978
  4  0.0147399
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/951790': 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): 102
logL (Free Index) = 4446.83414544
delta logL = 6.21640538156e-07

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.029e-04  2.803e-02  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  2.396e+00  2.452e+02  0.000e+00  1.000e+01 (-1.000e+00)
462        Scale:  1.077e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  5.221e-01  1.474e-02  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  1.548e+00  1.420e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 352.339 -47.556

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/951790/cmap_HighResolution_587174401_587433601_4FGL_J2329.3-4733_daily_bin1342.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.87e-03', job_status='DONE', photon_flux_upper_limit='7.55e-08', time_completed='2021-09-29 21:19:51.267887', job_id='951790', GAL2='0.52', fit_tolerance='1e-08', EG2='1.55', EG='1.55', time_epoch_completed='1632975591.27', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.52', dlogl='6.22e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1342' AND source_name='4FGL J2329.3-4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:19:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0006>
Subject: Job 951790: <4FGL_J2329.3-4733_daily_bin1342> in cluster <slac> Done

Job <4FGL_J2329.3-4733_daily_bin1342> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 21:05:32 2021
Job was executed on host(s) <bullet0006>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 21:05:33 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:05:33 2021
Terminated at Wed Sep 29 21:19:51 2021
Results reported at Wed Sep 29 21:19:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4733_daily_bin1342 352.339 -47.5558 587174401 587433601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2329.3-4733 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   827.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            859 sec.

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

