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


Performing analysis on: 4FGL_J2329.3-4733_daily_bin1596
RA = 352.339, Dec = -47.5558
tmin = 653011201, tmax = 653270401
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='953322', job_status='RUN', time_executed='2021-09-29 21:11:43.954560', time_epoch_executed='1632975103.95' WHERE source_name='4FGL J2329.3-4733' and cadence='daily' and bin_id='1596'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/953322

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/953322/ft1_4FGL_J2329.3-4733_daily_bin1596.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/953322/ft2_4FGL_J2329.3-4733_daily_bin1596.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/953322/ft1_4FGL_J2329.3-4733_daily_bin1596.fits outfile=/scratch/kocevski/953322/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1596.fits ra=352.339 dec=-47.5558 rad=12.0 tmin=653011201.0 tmax=653270401.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.22
user 2.87
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/953322/ft2_4FGL_J2329.3-4733_daily_bin1596.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/953322/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1596.fits evtable="EVENTS" outfile="/scratch/kocevski/953322/ft1_filtered_4FGL_J2329.3-4733_daily_bin1596.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/953322/ft1_filtered_4FGL_J2329.3-4733_daily_bin1596.fits" evtable="EVENTS" scfile=/scratch/kocevski/953322/ft2_4FGL_J2329.3-4733_daily_bin1596.fits sctable="SC_DATA" outfile=/scratch/kocevski/953322/ltcube_653011201_653270401_4FGL_J2329.3-4733_daily_bin1596.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/953322/ft2_4FGL_J2329.3-4733_daily_bin1596.fits
.....................!
real 12.10
user 11.76
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/953322/ft1_filtered_4FGL_J2329.3-4733_daily_bin1596.fits evtable="EVENTS" scfile=/scratch/kocevski/953322/ft2_4FGL_J2329.3-4733_daily_bin1596.fits sctable="SC_DATA" expcube=/scratch/kocevski/953322/ltcube_653011201_653270401_4FGL_J2329.3-4733_daily_bin1596.fits outfile=/scratch/kocevski/953322/expmap_653011201_653270401_4FGL_J2329.3-4733_daily_bin1596.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/953322/ltcube_653011201_653270401_4FGL_J2329.3-4733_daily_bin1596.fits
.....................!
real 189.40
user 185.06
sys 3.90

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/953322/ft1_filtered_4FGL_J2329.3-4733_daily_bin1596.fits scfile=/scratch/kocevski/953322/ft2_4FGL_J2329.3-4733_daily_bin1596.fits outfile=/scratch/kocevski/953322/cmap_653011201_653270401_4FGL_J2329.3-4733_daily_bin1596.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/953322/ft1_filtered_4FGL_J2329.3-4733_daily_bin1596.fits scfile=/scratch/kocevski/953322/ft2_4FGL_J2329.3-4733_daily_bin1596.fits outfile=/scratch/kocevski/953322/cmap_HighResolution_653011201_653270401_4FGL_J2329.3-4733_daily_bin1596.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/953322/ft1_filtered_4FGL_J2329.3-4733_daily_bin1596.fits evtable="EVENTS" scfile=/scratch/kocevski/953322/ft2_4FGL_J2329.3-4733_daily_bin1596.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/953322/Model_4FGL_J2329.3-4733_daily_bin1596.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/953322/ft1_filtered_4FGL_J2329.3-4733_daily_bin1596.fits.......!
real 13.76
user 12.66
sys 1.08

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15172E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .17369E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10851E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10749E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10225E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10347E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10085E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    65.713       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .15795E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11101E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10588E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .39689E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .28688E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9968.2       1.0000         .10000E-03   10000.    
    19 'norm      '    610.46       1.0000         .10000E-03   10000.    
    20 'norm      '    9999.4       1.0000         .10000E-03   10000.    
    21 'norm      '    22.696       1.0000         .10000E-03   10000.    
    22 'norm      '    8.0194       1.0000         .10000E-03   10000.    
    23 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    24 'Prefactor '    54.171       1.0000         .10000E-03   10000.    
    25 'norm      '    1614.1       1.0000         .10000E-03   10000.    
    26 'Prefactor '    9999.3       1.0000         .10000E-03   10000.    
    27 'norm      '   10000.0       1.0000         .10000E-03   10000.    
    28 'norm      '    9987.6       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .59165E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10719E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .26912E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    .25261E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    34 'Prefactor '    .46099E-03   1.0000         .10000E-03   10000.    
    35 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    36 'Prefactor '    .37452E-08   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=   80.28127     FROM MIGRAD    STATUS=CONVERGED   1908 CALLS     6357 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1182.3        .18142E-02** at limit **
   2  Prefactor     .10000E-03    201.23        .13040E-02** at limit **
   3  Prefactor     .10000E-03    145.66        .10954E-02** at limit **
   4  Prefactor     .10000E-03    15.516        .34712E-03** at limit **
   5  Prefactor     .10000E-03    21.867        .41395E-03** at limit **
   6  Prefactor     .10000E-03    119.79        .98698E-03** at limit **
   7  Prefactor     .10000E-03    17.687        .37077E-03** at limit **
   8  Prefactor     .10000E-03    22.877        .42207E-03** at limit **
   9  norm          .10000E-03    21.889        .41278E-03** at limit **
  10  Prefactor     65.431        48.087        .49509E-04    .15210E-04
  11  Prefactor     .10001E-03    370.98        .18142E-02** at limit **
  12  Prefactor     .10000E-03    39.986        .55916E-03** at limit **
  13  Prefactor     .10000E-03    222.86        .13816E-02** at limit **
  14  Prefactor     .10000E-03    40.677        .56519E-03** at limit **
  15  Prefactor     .10000E-03    502.27        .18142E-02** at limit **
  16  Prefactor     .10001E-03    320.07        .16924E-02** at limit **
  17  Prefactor     .10001E-03    433.51        .20288E-02** at limit **
  18  Prefactor    10000.0        2272.0        .35510E-02** at limit **
  19  norm         10000.0        2272.7        .83537E-02** at limit **
  20  norm         10000.0        2002.3        .23241E-02** at limit **
  21  norm         10000.0        2290.1        .42040E-02** at limit **
  22  norm          14.369        2291.9        .70792E-03   -.73805E-05
  23  Prefactor    10000.0        2089.3        .18476E-02** at limit **
  24  Prefactor    10000.0        2293.2        .27249E-02** at limit **
  25  norm         10000.0        2273.0        .54361E-02** at limit **
  26  Prefactor    10000.0        2173.9        .24387E-02** at limit **
  27  norm         10000.0        1049.6        .19646E-02** at limit **
  28  norm         10000.0        2224.9        .56769E-03** at limit **
  29  Prefactor     .10000E-03    207.83        .13274E-02** at limit **
  30  Prefactor     .10000E-03    70.941        .75161E-03** at limit **
  31  Prefactor     .10013E-03    510.39        .21435E-02** at limit **
  32  norm          .10000E-03    265.86        .15263E-02** at limit **
  33  Prefactor     .10000E-03    48.793        .62113E-03** at limit **
  34  Prefactor     .10000E-03    128.29        .10236E-02** at limit **
  35  Normalizat    .10000E-01    .89986E-01    .85112E-03** at limit **
  36  Prefactor     .53291E-13    .11487        .96710E-03** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 65.4311
  Prefactor  = 0.000100012
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 0.000100007
  Prefactor  = 10000
  norm       = 10000
  norm       = 10000
  norm       = 10000
  norm       = 14.3686
  Prefactor  = 10000
  Prefactor  = 10000
  norm       = 10000
  Prefactor  = 10000
  norm       = 10000
  norm       = 10000
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100131
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 5.32907e-14
 **********
 **   18 **HESSE 
 **********

 FCN=   80.28127     FROM HESSE     STATUS=OK           775 CALLS     7132 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1182.3        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    201.23        .26079E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    145.66        .21907E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.516        .69424E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    21.867        .82790E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    119.79        .19740E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    17.687        .74154E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    22.877        .84413E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    21.889        .82557E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     65.431        48.086        .99017E-05   -1.4088    
  11  Prefactor     .10001E-03    370.98        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    39.986        .11183E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    222.86        .27632E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    40.677        .11304E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    502.27        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    320.07        .33848E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10001E-03    433.51        .40577E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor    10000.0        2272.0        .71020E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm         10000.0        2272.7        .16707E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm         10000.0        2002.3        .46482E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm         10000.0        2290.1        .84079E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          14.369        2291.9        .14158E-03   -1.4950    
  23  Prefactor    10000.0        2089.3        .36953E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor    10000.0        2293.0        .54497E-03    1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm         10000.0        2273.0        .10872E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor    10000.0        2173.9        .48773E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm         10000.0        1049.6        .39292E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm         10000.0        2224.9        .56769E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    207.83        .26548E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    70.941        .15032E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10013E-03    510.39        .42870E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          .10000E-03    265.86        .30527E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    48.793        .12423E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     .10000E-03    128.29        .20472E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Normalizat    .10000E-01    .89986E-01    .17022E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  36  Prefactor     .53291E-13    .11487        .19342E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.7768e-10
Minuit parameter uncertainties:
  1  0.00124985
  2  0.000318146
  3  0.000535562
  4  1.61448e-06
  5  6.21808e-06
  6  0.000506668
  7  3.87836e-07
  8  3.01403e-06
  9  1.32939e-05
  10  48.115
  11  0.00430406
  12  2.49967e-05
  13  0.000105266
  14  0.000112748
  15  0.000481039
  16  0.0031346
  17  0.00352675
  18  0.00265952
  19  0.079035
  20  0.00540132
  21  0.0727748
  22  378.786
  23  0.00258114
  24  0.557444
  25  0.0120521
  26  0.0131036
  27  0.00248389
  28  0.0254702
  29  0.000210526
  30  5.97365e-05
  31  0.0164812
  32  0.000361675
  33  2.31458e-06
  34  0.000158361
  35  4.67204e-09
  36  1.57184e-07
Done.

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

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.000e+04  1.310e-02  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.329e-14  1.572e-07  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  4.672e-09  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = 1.05621040802e-07

TS (Fixed Index): 0.25
Ra Dec: 352.339 -47.556
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.78e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/953322/likelihoodResults_653011201_653270401_4FGL_J2329.3-4733_daily_bin1596.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) = 60.7259678037
delta logL = 19.5552974165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 60.7259346913
delta logL = 19.555330529

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    10.000       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=   60.72593     FROM MIGRAD    STATUS=CONVERGED      9 CALLS       48 TOTAL
                     EDM=   .86E-24    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       10.000        .12744        .32078E-01** at limit **
                               ERR DEF=  .500    
Final values: 
  Index      = 10
 **********
 **   18 **HESSE 
 **********

 FCN=   60.72593     FROM HESSE     STATUS=OK             5 CALLS       53 TOTAL
                     EDM=   .86E-24    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       10.000        .12743        .86448E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.64574e-25
Minuit parameter uncertainties:
  1  2.74735e-13
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/953322': 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) = 60.7259346913
delta logL = 19.555330529

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.000e+04  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13) fixed
461        Index:  1.000e+01  2.747e-13  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:  4.889e-10  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 39.37
Ra Dec: 352.339 -47.556
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 2.41e+02 +/- 1.45e-10
Energy Flux (Free Index): 2.69e+04 +/- 1.62e-08

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/953322/cmap_HighResolution_653011201_653270401_4FGL_J2329.3-4733_daily_bin1596.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.78e+04', comment='SUCCESS', energy_flux2='2.69e+04', dlogl='1.96e+01', photon_flux2='2.41e+02', job_status='DONE', time_completed='2021-09-29 21:17:29.917907', photon_index_error2='0.00', photon_index2='10.00', ts='0.25', fit_tolerance='1e-08', GAL='0.00', photon_index_error='0.00', photon_flux_upper_limit='-1.00e+00', energy_flux_error2='1.62e-08', EG='0.01', time_epoch_completed='1632975449.92', return_code='0', job_id='953322', GAL2='0.00', EG2='0.01', return_code2='0', photon_flux_error2='1.45e-10', ts2='39.37', photon_index='2.51' WHERE bin_id='1596' AND source_name='4FGL J2329.3-4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:17:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0161>
Subject: Job 953322: <4FGL_J2329.3-4733_daily_bin1596> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4733_daily_bin1596 352.339 -47.5558 653011201 653270401 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 :                                   338.50 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             234.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   428 sec.
    Turnaround time :                            429 sec.

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

