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


Performing analysis on: 4FGL_J2329.3-4733_daily_bin1584
RA = 352.339, Dec = -47.5558
tmin = 649900801, tmax = 650160001
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='953305', job_status='RUN', time_executed='2021-09-29 21:11:14.207085', time_epoch_executed='1632975074.21' WHERE source_name='4FGL J2329.3-4733' and cadence='daily' and bin_id='1584'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/953305

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/953305/ft1_4FGL_J2329.3-4733_daily_bin1584.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/953305/ft2_4FGL_J2329.3-4733_daily_bin1584.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/953305/ft1_4FGL_J2329.3-4733_daily_bin1584.fits outfile=/scratch/kocevski/953305/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1584.fits ra=352.339 dec=-47.5558 rad=12.0 tmin=649900801.0 tmax=650160001.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 5.04
user 4.82
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/953305/ft1_filtered_4FGL_J2329.3-4733_daily_bin1584.fits" evtable="EVENTS" scfile=/scratch/kocevski/953305/ft2_4FGL_J2329.3-4733_daily_bin1584.fits sctable="SC_DATA" outfile=/scratch/kocevski/953305/ltcube_649900801_650160001_4FGL_J2329.3-4733_daily_bin1584.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/953305/ft2_4FGL_J2329.3-4733_daily_bin1584.fits
.....................!
real 11.78
user 11.44
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/953305/ft1_filtered_4FGL_J2329.3-4733_daily_bin1584.fits evtable="EVENTS" scfile=/scratch/kocevski/953305/ft2_4FGL_J2329.3-4733_daily_bin1584.fits sctable="SC_DATA" expcube=/scratch/kocevski/953305/ltcube_649900801_650160001_4FGL_J2329.3-4733_daily_bin1584.fits outfile=/scratch/kocevski/953305/expmap_649900801_650160001_4FGL_J2329.3-4733_daily_bin1584.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/953305/ltcube_649900801_650160001_4FGL_J2329.3-4733_daily_bin1584.fits
.....................!
real 189.95
user 185.60
sys 3.97

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/953305/ft1_filtered_4FGL_J2329.3-4733_daily_bin1584.fits scfile=/scratch/kocevski/953305/ft2_4FGL_J2329.3-4733_daily_bin1584.fits outfile=/scratch/kocevski/953305/cmap_649900801_650160001_4FGL_J2329.3-4733_daily_bin1584.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/953305/ft1_filtered_4FGL_J2329.3-4733_daily_bin1584.fits scfile=/scratch/kocevski/953305/ft2_4FGL_J2329.3-4733_daily_bin1584.fits outfile=/scratch/kocevski/953305/cmap_HighResolution_649900801_650160001_4FGL_J2329.3-4733_daily_bin1584.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/953305/ft1_filtered_4FGL_J2329.3-4733_daily_bin1584.fits evtable="EVENTS" scfile=/scratch/kocevski/953305/ft2_4FGL_J2329.3-4733_daily_bin1584.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/953305/Model_4FGL_J2329.3-4733_daily_bin1584.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/953305/ft1_filtered_4FGL_J2329.3-4733_daily_bin1584.fits.....................!
real 38.50
user 37.24
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.729       1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.269       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11728E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.744       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.0929       1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.439       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12259E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    23.595       1.0000         .10000E-03   10000.    
     9 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11117E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .48072E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .61575       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.217       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .13968E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.790       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.281       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.6122       1.0000         .10000E-03   10000.    
    19 'norm      '    1.2535       1.0000         .10000E-03   10000.    
    20 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .11151E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    8.1278       1.0000         .10000E-03   10000.    
    25 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    42.496       1.0000         .10000E-03   10000.    
    27 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .17524E-02   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10818E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .11677E-03   1.0000         .10000E-03   10000.    
    34 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    35 'Normalizat'    .90130       1.0000         .10000E-01   10.000    
    36 'Prefactor '    1.0213       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=   4940.773     FROM MIGRAD    STATUS=CONVERGED   1027 CALLS     5439 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.732        50.843        .22778E-06   -.93213E-05
   2  Prefactor     22.279        20.159       -.85554E-07   -.99029E-04
   3  Prefactor     .10000E-03    38.370       -.72710E-07** at limit **
   4  Prefactor     20.744        16.219       -.63735E-06   -.39018E-03
   5  Prefactor     5.0941        10.804       -.16462E-06   -.37600E-04
   6  Prefactor     18.432        29.315        .16342E-06    .24751E-04
   7  Prefactor     .10001E-03    28.072        .43462E-05** at limit **
   8  Prefactor     23.602        12.419        .29074E-06    .14163E-03
   9  norm          .10000E-03    3.2196       -.52454E-07** at limit **
  10  Prefactor     .10000E-03    2.3341       -.47125E-06** at limit **
  11  Prefactor     .10062E-03    87.404       -.10123E-04** at limit **
  12  Prefactor     .62687        3.6608       -.12931E-06    .11227E-04
  13  Prefactor     12.230        26.545        .35896E-05    .30828E-03
  14  Prefactor     .10000E-03    8.1062        .13857E-06** at limit **
  15  Prefactor     19.767        77.723        .17819E-07    .43250E-04
  16  Prefactor     .10000E-03    3.1581        .18703E-06** at limit **
  17  Prefactor     18.330        30.779        .29689E-06   -.16349E-04
  18  Prefactor     6.6056        12.839       -.52884E-06   -.19144E-03
  19  norm          1.2698        19.791       -.40567E-06    .29737E-03
  20  norm          .10000E-03    4.5804        .12859E-06** at limit **
  21  norm          .10000E-03    1.9357        .27417E-07** at limit **
  22  norm          .10000E-03    4.1630        .16083E-06** at limit **
  23  Prefactor     .10000E-03    6.0222        .38155E-06** at limit **
  24  Prefactor     8.1374        18.708       -.34932E-07   -.18989E-04
  25  norm          .10000E-03    2.1560        .17246E-06** at limit **
  26  Prefactor     42.507        18.677        .75285E-07   -.17821E-03
  27  norm          .10000E-03    .60311        .23041E-06** at limit **
  28  norm          .10000E-03    1.8012        .15206E-06** at limit **
  29  Prefactor     .10003E-03    22.153        .44207E-05** at limit **
  30  Prefactor     .10000E-03    4.3607        .61368E-07** at limit **
  31  Prefactor     .10000E-03    15.720        .64985E-07** at limit **
  32  norm          .10000E-03    13.135       -.16434E-07** at limit **
  33  Prefactor     .10000E-03    6.6377       -.95711E-07** at limit **
  34  Prefactor     .10000E-03    1.6321        .13686E-06** at limit **
  35  Normalizat    .90082        .19574       -.13418E-06   -.45846E-03
  36  Prefactor     1.0214        .20623       -.11172E-05   -.46501E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.7321
  Prefactor  = 22.2787
  Prefactor  = 0.0001
  Prefactor  = 20.744
  Prefactor  = 5.09413
  Prefactor  = 18.4324
  Prefactor  = 0.000100012
  Prefactor  = 23.6019
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100618
  Prefactor  = 0.626865
  Prefactor  = 12.23
  Prefactor  = 0.0001
  Prefactor  = 19.7669
  Prefactor  = 0.0001
  Prefactor  = 18.3303
  Prefactor  = 6.60558
  norm       = 1.26982
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.13737
  norm       = 0.0001
  Prefactor  = 42.5069
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100032
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.900825
  Prefactor  = 1.02144
 **********
 **   18 **HESSE 
 **********

 FCN=   4940.773     FROM HESSE     STATUS=OK           807 CALLS     6246 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.732        50.835        .68999E-04   -1.4546    
   2  Prefactor     22.279        20.155        .84879E-04   -1.4764    
   3  Prefactor     .10000E-03    38.497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     20.744        16.291        .87941E-04   -1.4797    
   5  Prefactor     5.0941        10.814        .89081E-03   -1.5257    
   6  Prefactor     18.432        29.329        .93273E-04   -1.4849    
   7  Prefactor     .10001E-03    30.251        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     23.602        12.454        .82463E-04   -1.4736    
   9  norm          .10000E-03    3.2207        .12318E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.2643        .20253E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10062E-03    167.97        .71089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .62687        11.880        .23992E-02   -1.5550    
  13  Prefactor     12.230        27.283        .11460E-03   -1.5008    
  14  Prefactor     .10000E-03    8.1292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     19.767        77.603        .90035E-04   -1.4818    
  16  Prefactor     .10000E-03    3.1761        .12206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     18.330        30.809        .93673E-04   -1.4851    
  18  Prefactor     6.6056        12.754        .15606E-03   -1.5194    
  19  norm          1.2698        21.864        .19956E-02   -1.5483    
  20  norm          .10000E-03    4.6160        .14689E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.9366        .95453E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    4.1721        .14011E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    6.0679        .16813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     8.1374        18.623        .70315E-03   -1.5137    
  25  norm          .10000E-03    2.1735        .10053E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     42.507        18.399        .61495E-04   -1.4403    
  27  norm          .10000E-03    .96212        .10291E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    1.8287        .92149E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10003E-03    69.403        .48627E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    4.5375        .28588E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    15.758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          .10000E-03    13.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    6.8084        .35284E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     .10000E-03    1.6444        .87721E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Normalizat    .90082        .23069        .23870E-03   -.96431    
  36  Prefactor     1.0214        .24552        .24695E-03   -.92018    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.65398e-09
Minuit parameter uncertainties:
  1  50.8999
  2  20.1614
  3  8.03335e-05
  4  16.2948
  5  10.8182
  6  29.3524
  7  0.00122756
  8  12.4559
  9  5.88786e-06
  10  4.63969e-05
  11  0.0204335
  12  5.45869
  13  27.3104
  14  4.98797e-06
  15  78.0029
  16  2.04545e-05
  17  30.8359
  18  12.7597
  19  10.5422
  20  1.39879e-05
  21  2.29488e-06
  22  1.9574e-05
  23  5.40995e-05
  24  18.6364
  25  1.41776e-05
  26  18.4014
  27  7.59983e-06
  28  1.11207e-05
  29  0.0029942
  30  6.44366e-06
  31  4.4084e-06
  32  2.16523e-06
  33  1.91348e-05
  34  9.42632e-06
  35  0.230947
  36  0.245789
Done.

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

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  4.251e+01  1.840e+01  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:  1.021e+00  2.458e-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:  9.008e-01  2.309e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.96
Ra Dec: 352.339 -47.556
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 1.09e-07 +/- 4.73e-08
Energy Flux (Fixed Index): 3.15e-05 +/- 1.36e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4940.73989458
delta logL = 0.0329012170951

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4940.73179806
delta logL = 0.0409977364852

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    48.546       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3870       1.0000          .0000       10.000    
     3 'Normalizat'    .91169       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0129       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=   4940.732     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      286 TOTAL
                     EDM=   .95E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     48.552        30.517        .57553E-04   -.20520E-03
   2  Index         2.3869        .43145        .41722E-02   -.38494E-04
   3  Normalizat    .91172        .22401        .23749E-03   -.22568E-03
   4  Prefactor     1.0128        .24222        .24786E-03   -.19048E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 48.5522
  Index      = 2.38692
  Normalizat = 0.911721
  Prefactor  = 1.01284
 **********
 **   18 **HESSE 
 **********

 FCN=   4940.732     FROM HESSE     STATUS=OK            25 CALLS      311 TOTAL
                     EDM=   .84E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     48.552        29.298        .11511E-04   -1.4313    
   2  Index         2.3869        .41398        .16689E-03   -.54992    
   3  Normalizat    .91172        .22404        .47497E-04   -.96049    
   4  Prefactor     1.0128        .24231        .49572E-04   -.92303    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.43399e-11
Minuit parameter uncertainties:
  1  29.3067
  2  0.414635
  3  0.224269
  4  0.242569
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/953305': 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) = 4940.73179802
delta logL = 0.0409977808322

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  4.855e+01  2.931e+01  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  2.387e+00  4.146e-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:  1.013e+00  2.426e-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:  9.117e-01  2.243e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.98
Ra Dec: 352.339 -47.556
Photon Index (Free Index): 2.39 +/- 0.41
Photon Flux (Free Index): 1.02e-07 +/- 5.24e-08
Energy Flux (Free Index): 3.40e-05 +/- 1.78e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/953305/cmap_HighResolution_649900801_650160001_4FGL_J2329.3-4733_daily_bin1584.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.09e-07', energy_flux2='3.40e-05', photon_flux_error='4.73e-08', dlogl='4.10e-02', energy_flux='3.15e-05', photon_flux2='1.02e-07', job_status='DONE', time_completed='2021-09-29 21:24:26.592632', photon_index_error2='0.41', photon_index2='2.39', ts='11.96', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='1.78e-05', EG='0.90', time_epoch_completed='1632975866.59', return_code='0', job_id='953305', GAL2='1.01', EG2='0.91', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='5.24e-08', ts2='11.98', photon_index='2.51' WHERE bin_id='1584' AND source_name='4FGL J2329.3-4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:24:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 953305: <4FGL_J2329.3-4733_daily_bin1584> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4733_daily_bin1584 352.339 -47.5558 649900801 650160001 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 :                                   778.27 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             281.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   846 sec.
    Turnaround time :                            850 sec.

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

