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


Performing analysis on: 4FGL_J2329.3-4733_daily_bin1648
RA = 352.339, Dec = -47.5558
tmin = 666489601, tmax = 666748801
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='45108', job_status='RUN', time_executed='2022-02-17 02:37:41.630908', time_epoch_executed='1645094261.63' WHERE source_name='4FGL J2329.3-4733' and cadence='daily' and bin_id='1648'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/45108

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/45108/ft1_4FGL_J2329.3-4733_daily_bin1648.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/45108/ft2_4FGL_J2329.3-4733_daily_bin1648.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/45108/ft1_4FGL_J2329.3-4733_daily_bin1648.fits outfile=/scratch/kocevski/45108/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1648.fits ra=352.339 dec=-47.5558 rad=12.0 tmin=666489601.0 tmax=666748801.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.19
user 2.98
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/45108/ft1_filtered_4FGL_J2329.3-4733_daily_bin1648.fits" evtable="EVENTS" scfile=/scratch/kocevski/45108/ft2_4FGL_J2329.3-4733_daily_bin1648.fits sctable="SC_DATA" outfile=/scratch/kocevski/45108/ltcube_666489601_666748801_4FGL_J2329.3-4733_daily_bin1648.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/45108/ft2_4FGL_J2329.3-4733_daily_bin1648.fits
.....................!
real 15.59
user 15.19
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/45108/ft1_filtered_4FGL_J2329.3-4733_daily_bin1648.fits evtable="EVENTS" scfile=/scratch/kocevski/45108/ft2_4FGL_J2329.3-4733_daily_bin1648.fits sctable="SC_DATA" expcube=/scratch/kocevski/45108/ltcube_666489601_666748801_4FGL_J2329.3-4733_daily_bin1648.fits outfile=/scratch/kocevski/45108/expmap_666489601_666748801_4FGL_J2329.3-4733_daily_bin1648.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/45108/ltcube_666489601_666748801_4FGL_J2329.3-4733_daily_bin1648.fits
.....................!
real 192.60
user 186.80
sys 5.41

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/45108/ft1_filtered_4FGL_J2329.3-4733_daily_bin1648.fits scfile=/scratch/kocevski/45108/ft2_4FGL_J2329.3-4733_daily_bin1648.fits outfile=/scratch/kocevski/45108/cmap_666489601_666748801_4FGL_J2329.3-4733_daily_bin1648.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/45108/ft1_filtered_4FGL_J2329.3-4733_daily_bin1648.fits scfile=/scratch/kocevski/45108/ft2_4FGL_J2329.3-4733_daily_bin1648.fits outfile=/scratch/kocevski/45108/cmap_HighResolution_666489601_666748801_4FGL_J2329.3-4733_daily_bin1648.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.56
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/45108/ft1_filtered_4FGL_J2329.3-4733_daily_bin1648.fits evtable="EVENTS" scfile=/scratch/kocevski/45108/ft2_4FGL_J2329.3-4733_daily_bin1648.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/45108/Model_4FGL_J2329.3-4733_daily_bin1648.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/45108/ft1_filtered_4FGL_J2329.3-4733_daily_bin1648.fits...........................!
real 16.77
user 15.45
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/45108/ft1_filtered_4FGL_J2329.3-4733_daily_bin1648.fits', '/scratch/kocevski/45108/ft2_4FGL_J2329.3-4733_daily_bin1648.fits', expMap='/scratch/kocevski/45108/expmap_666489601_666748801_4FGL_J2329.3-4733_daily_bin1648.fits', expCube='/scratch/kocevski/45108/ltcube_666489601_666748801_4FGL_J2329.3-4733_daily_bin1648.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/45108/Model_4FGL_J2329.3-4733_daily_bin1648.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/45108/ft1_filtered_4FGL_J2329.3-4733_daily_bin1648.fits
Spacecraft file(s): /scratch/kocevski/45108/ft2_4FGL_J2329.3-4733_daily_bin1648.fits
Exposure map: /scratch/kocevski/45108/expmap_666489601_666748801_4FGL_J2329.3-4733_daily_bin1648.fits
Exposure cube: /scratch/kocevski/45108/ltcube_666489601_666748801_4FGL_J2329.3-4733_daily_bin1648.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/45108/Model_4FGL_J2329.3-4733_daily_bin1648.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) = 521.382970565

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    36.295       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.4041       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10273E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.643       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    198.67       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10709E-03   1.0000         .10000E-03   10000.    
    19 'norm      '   10000.0       1.0000         .10000E-03   10000.    
    20 'norm      '   10000.0       1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    106.70       1.0000         .10000E-03   10000.    
    23 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .13068E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    4252.6       1.0000         .10000E-03   10000.    
    28 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .11291E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    34 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    35 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    36 'Prefactor '    .57803E-01   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=   521.2829     FROM MIGRAD    STATUS=CONVERGED   1007 CALLS     5321 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    61.441       -.31678E-06** at limit **
   2  Prefactor     .10000E-03    15.983        .12485E-06** at limit **
   3  Prefactor     .10000E-03    24.093        .37817E-06** at limit **
   4  Prefactor     36.281        30.730       -.16031E-05   -.31455E-04
   5  Prefactor     5.4030        12.859       -.53738E-05   -.78724E-04
   6  Prefactor     .10000E-03    19.170        .24745E-06** at limit **
   7  Prefactor     .10000E-03    5.0165        .11500E-06** at limit **
   8  Prefactor     10.641        10.165       -.22262E-05   -.83656E-04
   9  norm          .10000E-03    9.6021        .43496E-07** at limit **
  10  Prefactor     .10000E-03    10.761        .78823E-06** at limit **
  11  Prefactor     .10000E-03    188.95        .97066E-07** at limit **
  12  Prefactor     .10000E-03    8.2938        .24325E-06** at limit **
  13  Prefactor     .10000E-03    21.060        .18013E-07** at limit **
  14  Prefactor     .10000E-03    13.455        .32132E-06** at limit **
  15  Prefactor     198.80        240.07       -.20106E-05    .69346E-05
  16  Prefactor     .10000E-03    251.63        .71651E-06** at limit **
  17  Prefactor     .10000E-03    93.542        .11974E-06** at limit **
  18  Prefactor     .10000E-03    390.46        .80160E-06** at limit **
  19  norm         10000.0        6662.6        .12941E-05** at limit **
  20  norm         10000.0        6960.4        .40051E-05** at limit **
  21  norm          .10000E-03    101.07       -.13867E-06** at limit **
  22  norm          106.64        149.94       -.32191E-05   -.13519E-04
  23  Prefactor    10000.0        789.38       -.16344E-05** at limit **
  24  Prefactor     .10000E-03    464.45        .80785E-07** at limit **
  25  norm          .10000E-03    29.539       -.58075E-07** at limit **
  26  Prefactor     .10001E-03    862.84       -.14484E-06** at limit **
  27  norm          4254.7        1043.6       -.13174E-04    .14434E-04
  28  norm          .10000E-03    11.210       -.79167E-08** at limit **
  29  Prefactor     .10000E-03    396.60        .12116E-05** at limit **
  30  Prefactor     .10000E-03    9.5227        .19459E-06** at limit **
  31  Prefactor     .10000E-03    137.45        .33091E-05** at limit **
  32  norm          .10000E-03    68.578        .84806E-07** at limit **
  33  Prefactor     .10000E-03    9.1538        .16755E-06** at limit **
  34  Prefactor     .10000E-03    3.5020        .15502E-06** at limit **
  35  Normalizat    .10000E-01    .48046E-01    .12347E-06** at limit **
  36  Prefactor     .57910E-01    .18207        .36371E-04   -.11568E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.2814
  Prefactor  = 5.40304
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.6409
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 198.801
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10000
  norm       = 10000
  norm       = 0.0001
  norm       = 106.639
  Prefactor  = 10000
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100008
  norm       = 4254.67
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.0579096
 **********
 **   18 **HESSE 
 **********

 FCN=   521.2829     FROM HESSE     STATUS=OK           781 CALLS     6102 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    61.459        .17504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.982        .89205E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    24.090        .10953E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     36.281        30.761        .66523E-04   -1.4503    
   5  Prefactor     5.4030        12.861        .10714E-03   -1.5243    
   6  Prefactor     .10000E-03    19.172        .97690E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.0319        .49937E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.641        10.175        .65824E-04   -1.5055    
   9  norm          .10000E-03    9.6014        .69133E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.777        .73157E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    188.94        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.2952        .64236E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    21.061        .10240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.475        .81833E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     198.80        240.03        .14333E-03   -1.2879    
  16  Prefactor     .10000E-03    251.53        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    93.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    390.35        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm         10000.0        6662.1        .20387E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm         10000.0        6956.0        .18313E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    101.08        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          106.64        149.99        .19466E-03   -1.3639    
  23  Prefactor    10000.0        789.64        .21236E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    464.44        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    29.539        .12130E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10001E-03    861.21        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          4254.7        1042.5        .40455E-04   -.14962    
  28  norm          .10000E-03    11.210        .74701E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    396.44        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    9.5217        .68847E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    137.44        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          .10000E-03    68.569        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    9.1531        .67500E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     .10000E-03    3.5017        .41746E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Normalizat    .10000E-01    .48123E-01    .15419E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  36  Prefactor     .57910E-01    .18238        .43125E-03   -1.4185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18346e-10
Minuit parameter uncertainties:
  1  0.000167664
  2  9.44799e-06
  3  6.27769e-06
  4  30.7747
  5  12.8681
  6  1.57847e-05
  7  4.78496e-05
  8  10.1764
  9  6.12114e-06
  10  4.40812e-05
  11  1.46712e-05
  12  3.15248e-05
  13  5.5382e-05
  14  2.63518e-05
  15  241.23
  16  0.00041477
  17  2.9129e-06
  18  0.000344739
  19  0.011951
  20  0.0343461
  21  2.22215e-05
  22  150.524
  23  0.000964228
  24  5.10168e-05
  25  1.31228e-06
  26  0.00538665
  27  1050.36
  28  9.08506e-08
  29  0.000184759
  30  1.72664e-05
  31  0.000837047
  32  9.48901e-05
  33  6.72379e-06
  34  3.71093e-06
  35  9.62517e-07
  36  0.184185
Done.

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

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.000e-04  5.387e-03  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.791e-02  1.842e-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.000e-02  9.625e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 352.339 -47.556
Photon Flux Upper Limit: 1.24e-05 ph cm-2 s-1
Energy Flux Upper Limit: 9.65e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/45108/likelihoodResults_666489601_666748801_4FGL_J2329.3-4733_daily_bin1648.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) = 521.282908494
delta logL = -5.37479081686e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 521.282903193
delta logL = -7.32107992008e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11515E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    5.2540       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .57843E-01   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.

 FCN=   521.2415     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      311 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26620E-01    3.8861        .29718E-02    .15695E-03
   2  Index         7.8516        8.9216        .12844        .58257E-05
   3  Normalizat    .10000E-01    .49246E-02    .69817E-01** at limit **
   4  Prefactor     .56854E-01    .47126E-01    .98429E-01    .88502E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0266204
  Index      = 7.85164
  Normalizat = 0.01
  Prefactor  = 0.0568543
 **********
 **   18 **HESSE 
 **********

 FCN=   521.2415     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      344 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26620E-01    20.077        .12814E-03   -1.5675    
   2  Index         7.8516        5.7560        .68891E-02    .60690    
   3  Normalizat    .10000E-01    .40866E-01    .15368E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .56854E-01    .13489        .43409E-03   -1.4198    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.34213e-11
Minuit parameter uncertainties:
  1  1.45989
  2  23.9416
  3  3.84186e-08
  4  0.135626
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/45108': 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) = 521.241496339
delta logL = 0.0414067806902

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  2.662e-02  1.460e+00  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  7.852e+00  2.394e+01  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.685e-02  1.356e-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.000e-02  3.842e-08  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/45108/cmap_HighResolution_666489601_666748801_4FGL_J2329.3-4733_daily_bin1648.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.65e-01', job_status='DONE', photon_flux_upper_limit='1.24e-05', time_completed='2022-02-17 02:44:24.405341', job_id='45108', GAL2='0.06', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1645094664.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.06', dlogl='4.14e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1648' AND source_name='4FGL J2329.3-4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Feb 17 02:44:24 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 45108: <4FGL_J2329.3-4733_daily_bin1648> in cluster <slac> Done

Job <4FGL_J2329.3-4733_daily_bin1648> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Thu Feb 17 02:30:32 2022
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Feb 17 02:37:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Feb 17 02:37:19 2022
Terminated at Thu Feb 17 02:44:25 2022
Results reported at Thu Feb 17 02:44:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4733_daily_bin1648 352.339 -47.5558 666489601 666748801 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 :                                   405.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             322.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   425 sec.
    Turnaround time :                            833 sec.

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

