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


Performing analysis on: 4FGL_J2329.3-4733_daily_bin1142
RA = 352.339, Dec = -47.5558
tmin = 535334401, tmax = 535593601
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='950489', job_status='RUN', time_executed='2021-09-29 21:01:27.819993', time_epoch_executed='1632974487.82' WHERE source_name='4FGL J2329.3-4733' and cadence='daily' and bin_id='1142'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/950489

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/950489/ft1_4FGL_J2329.3-4733_daily_bin1142.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/950489/ft2_4FGL_J2329.3-4733_daily_bin1142.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/950489/ft1_4FGL_J2329.3-4733_daily_bin1142.fits outfile=/scratch/kocevski/950489/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1142.fits ra=352.339 dec=-47.5558 rad=12.0 tmin=535334401.0 tmax=535593601.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.15
user 4.89
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/950489/ft1_filtered_4FGL_J2329.3-4733_daily_bin1142.fits" evtable="EVENTS" scfile=/scratch/kocevski/950489/ft2_4FGL_J2329.3-4733_daily_bin1142.fits sctable="SC_DATA" outfile=/scratch/kocevski/950489/ltcube_535334401_535593601_4FGL_J2329.3-4733_daily_bin1142.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/950489/ft2_4FGL_J2329.3-4733_daily_bin1142.fits
.....................!
real 11.61
user 11.24
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/950489/ft1_filtered_4FGL_J2329.3-4733_daily_bin1142.fits evtable="EVENTS" scfile=/scratch/kocevski/950489/ft2_4FGL_J2329.3-4733_daily_bin1142.fits sctable="SC_DATA" expcube=/scratch/kocevski/950489/ltcube_535334401_535593601_4FGL_J2329.3-4733_daily_bin1142.fits outfile=/scratch/kocevski/950489/expmap_535334401_535593601_4FGL_J2329.3-4733_daily_bin1142.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/950489/ltcube_535334401_535593601_4FGL_J2329.3-4733_daily_bin1142.fits
.....................!
real 191.54
user 185.66
sys 5.58

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/950489/ft1_filtered_4FGL_J2329.3-4733_daily_bin1142.fits scfile=/scratch/kocevski/950489/ft2_4FGL_J2329.3-4733_daily_bin1142.fits outfile=/scratch/kocevski/950489/cmap_535334401_535593601_4FGL_J2329.3-4733_daily_bin1142.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/950489/ft1_filtered_4FGL_J2329.3-4733_daily_bin1142.fits scfile=/scratch/kocevski/950489/ft2_4FGL_J2329.3-4733_daily_bin1142.fits outfile=/scratch/kocevski/950489/cmap_HighResolution_535334401_535593601_4FGL_J2329.3-4733_daily_bin1142.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/950489/ft1_filtered_4FGL_J2329.3-4733_daily_bin1142.fits evtable="EVENTS" scfile=/scratch/kocevski/950489/ft2_4FGL_J2329.3-4733_daily_bin1142.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/950489/Model_4FGL_J2329.3-4733_daily_bin1142.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/950489/ft1_filtered_4FGL_J2329.3-4733_daily_bin1142.fits.....................!
real 43.28
user 41.96
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .85795       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    78.100       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10366E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.346       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10254E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.389       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10219E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.1461       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.479       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.0356       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.6109       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .22399       1.0000         .10000E-03   10000.    
    21 'norm      '    .96625       1.0000         .10000E-03   10000.    
    22 'norm      '    7.8993       1.0000         .10000E-03   10000.    
    23 'Prefactor '    19.578       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10055E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    8.6231       1.0000         .10000E-03   10000.    
    27 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    3.4381       1.0000         .10000E-03   10000.    
    30 'Prefactor '    1.5494       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .78730E-03   1.0000         .10000E-03   10000.    
    34 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
    35 'Normalizat'    1.0490       1.0000         .10000E-01   10.000    
    36 'Prefactor '    .75016       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5654.496     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     4451 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .69361        521.82       -.39676E-04    .62414E-04
   2  Prefactor     .10010E-03    5.8572        .70193E-06** at limit **
   3  Prefactor     78.061        11.432       -.21944E-05    .78741E-02
   4  Prefactor     .10000E-03    6.0625       -.38155E-06** at limit **
   5  Prefactor     .10007E-03    5.3681       -.32207E-05** at limit **
   6  Prefactor     24.353        2.0165       -.44293E-06    .92973E-03
   7  Prefactor     .10000E-03    4.2010        .20431E-05** at limit **
   8  Prefactor     .10001E-03    6.3361       -.36288E-05** at limit **
   9  norm          .10000E-03    3.6834        .26175E-06** at limit **
  10  Prefactor     14.390        4.6661        .47524E-06    .83075E-03
  11  Prefactor     .10006E-03    10.638        .30172E-05** at limit **
  12  Prefactor     2.1455        3.0750        .28904E-07    .20574E-04
  13  Prefactor     10.495        5.7454       -.38203E-05    .21012E-02
  14  Prefactor     5.0288        1.9915        .12511E-05   -.46111E-03
  15  Prefactor     .10012E-03    36.517       -.27187E-05** at limit **
  16  Prefactor     3.6107        4.2544        .77152E-05    .63795E-02
  17  Prefactor     .10018E-03    5.9358       -.99409E-06** at limit **
  18  Prefactor     .10040E-03    6.7835        .12407E-06** at limit **
  19  norm          .10000E-03    3.0325        .32678E-05** at limit **
  20  norm          .22831        .49952       -.35878E-06   -.52371E-04
  21  norm          .96421        3.3477        .16648E-06    .27037E-04
  22  norm          7.8997        1.0822       -.34049E-06   -.90606E-04
  23  Prefactor     19.563        4.5126        .19590E-05   -.20350E-02
  24  Prefactor     .10007E-03    5.1256       -.27036E-05** at limit **
  25  norm          .10000E-03    2.9471       -.22517E-07** at limit **
  26  Prefactor     8.6575        11.772       -.86081E-05    .37353E-02
  27  norm          .10000E-03    .54101       -.97222E-08** at limit **
  28  norm          .10000E-03    1.4564       -.80122E-07** at limit **
  29  Prefactor     3.4377        1.2084       -.94001E-06    .82224E-04
  30  Prefactor     1.5474        3.6308        .88005E-06    .15654E-03
  31  Prefactor     .10001E-03    4.5572        .16744E-05** at limit **
  32  norm          .10001E-03    4.4849        .17437E-05** at limit **
  33  Prefactor     .10049E-03    10.394       -.11626E-04** at limit **
  34  Prefactor     .10001E-03    5.2953        .10834E-06** at limit **
  35  Normalizat    1.0490        .20071        .11075E-05   -.65537E-04
  36  Prefactor     .75015        .21493       -.19307E-05   -.45874E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.693608
  Prefactor  = 0.000100102
  Prefactor  = 78.061
  Prefactor  = 0.000100001
  Prefactor  = 0.000100069
  Prefactor  = 24.3527
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  norm       = 0.0001
  Prefactor  = 14.3905
  Prefactor  = 0.000100056
  Prefactor  = 2.14552
  Prefactor  = 10.4953
  Prefactor  = 5.02884
  Prefactor  = 0.000100124
  Prefactor  = 3.61067
  Prefactor  = 0.000100177
  Prefactor  = 0.000100397
  norm       = 0.0001
  norm       = 0.228312
  norm       = 0.964205
  norm       = 7.89968
  Prefactor  = 19.563
  Prefactor  = 0.000100072
  norm       = 0.0001
  Prefactor  = 8.65749
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 3.43769
  Prefactor  = 1.54743
  Prefactor  = 0.000100009
  norm       = 0.000100005
  Prefactor  = 0.000100491
  Prefactor  = 0.000100007
  Normalizat = 1.04896
  Prefactor  = 0.750152
 **********
 **   18 **HESSE 
 **********

 FCN=   5654.496     FROM HESSE     STATUS=OK           911 CALLS     5362 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69361        39.821        .16508       -1.5541    
   2  Prefactor     .10010E-03    19.176        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     78.061        52.997        .11360E-02   -1.3939    
   4  Prefactor     .10000E-03    6.0638        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10007E-03    14.537        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     24.353        22.601        .20296E-02   -1.4721    
   7  Prefactor     .10000E-03    18.030        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    7.2072        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.6807        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.390        4.6869        .26398E-02   -1.4949    
  11  Prefactor     .10006E-03    11.080        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.1455        3.1060        .70326E-02   -1.5415    
  13  Prefactor     10.495        20.502        .30943E-02   -1.5060    
  14  Prefactor     5.0288        10.736        .44798E-02   -1.5259    
  15  Prefactor     .10012E-03    37.716        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.6107        4.7287        .53157E-02   -1.5328    
  17  Prefactor     .10018E-03    13.032        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10040E-03    15.956        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    6.9671        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .22831        4.3892        .53902E-01   -1.5612    
  21  norm          .96421        3.5877        .13046E-01   -1.5512    
  22  norm          7.8997        10.436        .35666E-02   -1.5146    
  23  Prefactor     19.563        10.306        .22630E-02   -1.4823    
  24  Prefactor     .10007E-03    13.554        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    1.8510        .37809E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     8.6575        19.687        .34126E-02   -1.5119    
  27  norm          .10000E-03    .52173        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    1.4463        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     3.4377        13.863        .54534E-02   -1.5337    
  30  Prefactor     1.5474        3.8283        .85558E-02   -1.5459    
  31  Prefactor     .10001E-03    18.777        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          .10001E-03    18.745        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10049E-03    2.8446        .75233E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     .10001E-03    2.7892        .38693E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Normalizat    1.0490        .17931        .40625E-01   -.91408    
  36  Prefactor     .75015        .18450        .43065E-01   -1.0159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.48327e-07
Minuit parameter uncertainties:
  1  10.5175
  2  0.00279927
  3  53.029
  4  0.000133376
  5  0.0020051
  6  22.6094
  7  0.000174522
  8  0.000499063
  9  3.72032e-06
  10  4.68705
  11  0.00157098
  12  3.10619
  13  20.5156
  14  10.7397
  15  0.00433382
  16  4.72922
  17  0.00303408
  18  0.0050334
  19  4.33706e-05
  20  2.00184
  21  3.58851
  22  10.4381
  23  10.3071
  24  0.00197482
  25  1.05612e-06
  26  19.7017
  27  5.94677e-07
  28  1.59819e-06
  29  13.8121
  30  3.82894
  31  0.000803302
  32  0.000635276
  33  0.00236322
  34  0.000284306
  35  0.179412
  36  0.184647
Done.

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

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  8.657e+00  1.970e+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:  7.502e-01  1.846e-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.049e+00  1.794e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.35
Ra Dec: 352.339 -47.556
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/950489/likelihoodResults_535334401_535593601_4FGL_J2329.3-4733_daily_bin1142.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) = 5654.02228691
delta logL = 0.473612233532

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5653.98315508
delta logL = 0.512744063119

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0088       1.0000         .10000E-03   10000.    
     2 'Index     '    4.1345       1.0000          .0000       10.000    
     3 'Normalizat'    .99612       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79026       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=   5653.983     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      261 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .99089        14.539        .13242E-01    .10624E-02
   2  Index         4.1428        2.7624        .10143        .17260E-03
   3  Normalizat    .99656        .37451E-01    .46118E-01    .11399E-04
   4  Prefactor     .78995        .40702E-01    .43590E-01    .17843E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.990886
  Index      = 4.14276
  Normalizat = 0.996558
  Prefactor  = 0.789951
 **********
 **   18 **HESSE 
 **********

 FCN=   5653.983     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      294 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .99089        39.453        .65572E-04   -1.5509    
   2  Index         4.1428        7.0246        .51173E-02   -.17230    
   3  Normalizat    .99656        .16632        .21970E-03   -.93146    
   4  Prefactor     .78995        .17788        .26396E-03   -1.0010    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.19565e-10
Minuit parameter uncertainties:
  1  12.5131
  2  5.93422
  3  0.166406
  4  0.178011
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/950489': 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) = 5653.9831449
delta logL = 0.512754237823

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  9.909e-01  1.251e+01  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  4.143e+00  5.934e+00  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:  7.900e-01  1.780e-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.966e-01  1.664e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.46
Ra Dec: 352.339 -47.556
Photon Index (Free Index): 4.14 +/- 5.93
Photon Flux (Free Index): 5.98e-08 +/- 5.79e-08
Energy Flux (Free Index): 8.75e-06 +/- 1.35e-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/950489/cmap_HighResolution_535334401_535593601_4FGL_J2329.3-4733_daily_bin1142.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.49e-03', comment='SUCCESS', energy_flux2='8.75e-06', dlogl='5.13e-01', photon_flux2='5.98e-08', job_status='DONE', time_completed='2021-09-29 21:17:00.058999', photon_index_error2='5.93', photon_index2='4.14', ts='0.35', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='1.35e-05', EG='1.05', time_epoch_completed='1632975420.06', return_code='0', job_id='950489', GAL2='0.79', EG2='1.00', return_code2='102', photon_flux_error2='5.79e-08', ts2='1.46', photon_index='2.51' WHERE bin_id='1142' AND source_name='4FGL J2329.3-4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:17:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 950489: <4FGL_J2329.3-4733_daily_bin1142> in cluster <slac> Done

Job <4FGL_J2329.3-4733_daily_bin1142> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 21:00:50 2021
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 21:00:51 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:00:51 2021
Terminated at Wed Sep 29 21:17:00 2021
Results reported at Wed Sep 29 21:17:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4733_daily_bin1142 352.339 -47.5558 535334401 535593601 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 :                                   924.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   969 sec.
    Turnaround time :                            970 sec.

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

