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


Performing analysis on: 4FGL_J2329.3-4733_daily_bin1645
RA = 352.339, Dec = -47.5558
tmin = 665712001, tmax = 665971201
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='630733', job_status='RUN', time_executed='2022-02-08 00:41:38.689996', time_epoch_executed='1644309698.69' WHERE source_name='4FGL J2329.3-4733' and cadence='daily' and bin_id='1645'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/630733

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/630733/ft1_4FGL_J2329.3-4733_daily_bin1645.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/630733/ft2_4FGL_J2329.3-4733_daily_bin1645.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/630733/ft1_4FGL_J2329.3-4733_daily_bin1645.fits outfile=/scratch/kocevski/630733/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1645.fits ra=352.339 dec=-47.5558 rad=12.0 tmin=665712001.0 tmax=665971201.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.66
user 3.35
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/630733/ft2_4FGL_J2329.3-4733_daily_bin1645.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/630733/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1645.fits evtable="EVENTS" outfile="/scratch/kocevski/630733/ft1_filtered_4FGL_J2329.3-4733_daily_bin1645.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.51
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/630733/ft1_filtered_4FGL_J2329.3-4733_daily_bin1645.fits" evtable="EVENTS" scfile=/scratch/kocevski/630733/ft2_4FGL_J2329.3-4733_daily_bin1645.fits sctable="SC_DATA" outfile=/scratch/kocevski/630733/ltcube_665712001_665971201_4FGL_J2329.3-4733_daily_bin1645.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/630733/ft2_4FGL_J2329.3-4733_daily_bin1645.fits
.....................!
real 12.09
user 11.71
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/630733/ft1_filtered_4FGL_J2329.3-4733_daily_bin1645.fits evtable="EVENTS" scfile=/scratch/kocevski/630733/ft2_4FGL_J2329.3-4733_daily_bin1645.fits sctable="SC_DATA" expcube=/scratch/kocevski/630733/ltcube_665712001_665971201_4FGL_J2329.3-4733_daily_bin1645.fits outfile=/scratch/kocevski/630733/expmap_665712001_665971201_4FGL_J2329.3-4733_daily_bin1645.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/630733/ltcube_665712001_665971201_4FGL_J2329.3-4733_daily_bin1645.fits
.....................!
real 192.20
user 186.13
sys 5.72

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/630733/ft1_filtered_4FGL_J2329.3-4733_daily_bin1645.fits scfile=/scratch/kocevski/630733/ft2_4FGL_J2329.3-4733_daily_bin1645.fits outfile=/scratch/kocevski/630733/cmap_665712001_665971201_4FGL_J2329.3-4733_daily_bin1645.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/630733/ft1_filtered_4FGL_J2329.3-4733_daily_bin1645.fits scfile=/scratch/kocevski/630733/ft2_4FGL_J2329.3-4733_daily_bin1645.fits outfile=/scratch/kocevski/630733/cmap_HighResolution_665712001_665971201_4FGL_J2329.3-4733_daily_bin1645.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/630733/ft1_filtered_4FGL_J2329.3-4733_daily_bin1645.fits evtable="EVENTS" scfile=/scratch/kocevski/630733/ft2_4FGL_J2329.3-4733_daily_bin1645.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/630733/Model_4FGL_J2329.3-4733_daily_bin1645.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/630733/ft1_filtered_4FGL_J2329.3-4733_daily_bin1645.fits.....................!
real 42.56
user 41.30
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    51.428       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10321E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.6987       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.7997       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10213E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.1243       1.0000         .10000E-03   10000.    
     9 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .16783       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10461E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.5181       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.1567       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.9285       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10210E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.948       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11691E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .26427       1.0000         .10000E-03   10000.    
    21 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    4.1666       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    21.590       1.0000         .10000E-03   10000.    
    25 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    47.499       1.0000         .10000E-03   10000.    
    27 'norm      '    1.7040       1.0000         .10000E-03   10000.    
    28 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10271E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    15.837       1.0000         .10000E-03   10000.    
    32 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .13576E-01   1.0000         .10000E-03   10000.    
    34 'Prefactor '    6.4622       1.0000         .10000E-03   10000.    
    35 'Normalizat'    1.0980       1.0000         .10000E-01   10.000    
    36 'Prefactor '    .66504       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=   5641.726     FROM MIGRAD    STATUS=CONVERGED   1027 CALLS     5385 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.306        .45285E-06** at limit **
   2  Prefactor     51.437        22.583        .11998E-06    .76050E-06
   3  Prefactor     .10000E-03    29.086       -.79211E-06** at limit **
   4  Prefactor     2.7036        9.4289        .43662E-06    .10223E-04
   5  Prefactor     2.8012        5.0986       -.18549E-06    .48631E-04
   6  Prefactor     .10000E-03    12.137       -.17265E-06** at limit **
   7  Prefactor     .10000E-03    1.5342        .11235E-07** at limit **
   8  Prefactor     4.1252        6.1467        .23820E-05   -.59805E-04
   9  norm          .10000E-03    3.3613        .28917E-10** at limit **
  10  Prefactor     .18556        2.0322        .56980E-07   -.27452E-04
  11  Prefactor     .10000E-03    43.198        .15655E-05** at limit **
  12  Prefactor     1.5180        5.3027       -.32242E-06   -.67936E-04
  13  Prefactor     1.1483        188.23        .66257E-05    .30871E-04
  14  Prefactor     7.9335        12.563        .16508E-06   -.15931E-03
  15  Prefactor     .10000E-03    42.290        .17650E-05** at limit **
  16  Prefactor     11.942        8.1648        .10175E-06   -.42555E-04
  17  Prefactor     .10000E-03    60.849       -.36333E-05** at limit **
  18  Prefactor     .10000E-03    18.772       -.63986E-06** at limit **
  19  norm          .10000E-03    5.6833       -.18673E-07** at limit **
  20  norm          .23932        6.5686        .11967E-06   -.44874E-04
  21  norm          .10000E-03    1.8001       -.16433E-06** at limit **
  22  norm          4.1666        5.1413       -.25932E-07    .95800E-05
  23  Prefactor     .10000E-03    13.122       -.20618E-06** at limit **
  24  Prefactor     21.533        27.314        .17448E-05    .29985E-04
  25  norm          .10000E-03    3.6942       -.92903E-06** at limit **
  26  Prefactor     47.521        18.782        .13060E-06   -.28884E-04
  27  norm          1.7056        1.3285       -.61132E-08   -.38211E-04
  28  norm          .10000E-03    2.7040       -.33610E-06** at limit **
  29  Prefactor     .10000E-03    9.4465        .89524E-07** at limit **
  30  Prefactor     .10000E-03    2.6110       -.11861E-06** at limit **
  31  Prefactor     15.857        20.701        .44961E-06    .16861E-04
  32  norm          .10000E-03    17.611        .21456E-06** at limit **
  33  Prefactor     .10059E-03    2.3883       -.37017E-06** at limit **
  34  Prefactor     6.4618        3.8203        .20991E-06   -.83289E-04
  35  Normalizat    1.0981        .17956       -.65671E-06    .10607E-03
  36  Prefactor     .66494        .18227       -.36784E-06   -.94363E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 51.4374
  Prefactor  = 0.0001
  Prefactor  = 2.70355
  Prefactor  = 2.80121
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.12523
  norm       = 0.0001
  Prefactor  = 0.185563
  Prefactor  = 0.0001
  Prefactor  = 1.51795
  Prefactor  = 1.14833
  Prefactor  = 7.93352
  Prefactor  = 0.0001
  Prefactor  = 11.9423
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.239316
  norm       = 0.0001
  norm       = 4.1666
  Prefactor  = 0.0001
  Prefactor  = 21.5334
  norm       = 0.0001
  Prefactor  = 47.5211
  norm       = 1.70558
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.8568
  norm       = 0.0001
  Prefactor  = 0.000100594
  Prefactor  = 6.46178
  Normalizat = 1.09809
  Prefactor  = 0.664936
 **********
 **   18 **HESSE 
 **********

 FCN=   5641.726     FROM HESSE     STATUS=OK           827 CALLS     6212 TOTAL
                     EDM=   .61E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     51.437        22.590        .27962E-03   -1.4272    
   3  Prefactor     .10000E-03    29.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.7036        9.4122        .24798E-03   -1.5379    
   5  Prefactor     2.8012        5.0815        .22111E-03   -1.5373    
   6  Prefactor     .10000E-03    12.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.5356        .90856E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.1252        6.1943        .99246E-03   -1.5302    
   9  norm          .10000E-03    3.3621        .13449E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .18556        15.358        .20325E-02   -1.5622    
  11  Prefactor     .10000E-03    43.156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.5180        5.2269        .29286E-03   -1.5462    
  13  Prefactor     1.1483        181.11        .42914E-02   -1.5494    
  14  Prefactor     7.9335        12.138        .71200E-03   -1.5145    
  15  Prefactor     .10000E-03    42.153        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.942        8.1540        .11589E-03   -1.5017    
  17  Prefactor     .10000E-03    60.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    18.898        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    5.6991        .17488E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .23932        40.650        .35488E-02   -1.5610    
  21  norm          .10000E-03    1.8062        .98426E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.1666        5.1379        .18435E-03   -1.5300    
  23  Prefactor     .10000E-03    13.352        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     21.533        27.382        .86203E-04   -1.4780    
  25  norm          .10000E-03    3.8748        .28186E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     47.521        18.634        .58180E-04   -1.4328    
  27  norm          1.7056        1.3152        .66944E-04   -1.5447    
  28  norm          .10000E-03    2.7541        .12055E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    9.5022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    2.6626        .23562E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     15.857        20.613        .10064E-03   -1.4911    
  32  norm          .10000E-03    17.681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10059E-03    5.6750        .36852E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     6.4618        3.8144        .10615E-03   -1.5200    
  35  Normalizat    1.0981        .21664        .20899E-03   -.89813    
  36  Prefactor     .66494        .21902        .28314E-03   -1.0492    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.10721e-08
Minuit parameter uncertainties:
  1  1.87112e-05
  2  22.5939
  3  6.50226e-05
  4  9.41736
  5  5.08231
  6  7.48219e-08
  7  3.74923e-07
  8  6.19522
  9  6.53551e-07
  10  3.3763
  11  0.00010387
  12  5.22849
  13  28.9311
  14  12.1414
  15  0.00012344
  16  8.1548
  17  0.000588583
  18  4.03965e-05
  19  1.38408e-06
  20  6.24098
  21  8.95153e-06
  22  5.13844
  23  6.26464e-05
  24  27.3983
  25  6.95365e-05
  26  18.6361
  27  1.31525
  28  2.0563e-05
  29  8.12279e-06
  30  3.63495e-06
  31  20.6226
  32  3.56264e-06
  33  0.00367158
  34  3.81454
  35  0.21682
  36  0.219304
Done.

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

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  4.752e+01  1.864e+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:  6.649e-01  2.193e-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.098e+00  2.168e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.41
Ra Dec: 352.339 -47.556
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 1.22e-07 +/- 4.79e-08
Energy Flux (Fixed Index): 3.52e-05 +/- 1.38e-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) = 5641.08601087
delta logL = 0.639607499284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5641.0783695
delta logL = 0.647248869978

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.170       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9855       1.0000          .0000       10.000    
     3 'Normalizat'    1.0561       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69823       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=   5641.078     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      296 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.171        23.353        .79846E-04   -.23379E-03
   2  Index         2.9855        .52870        .29072E-02   -.75801E-04
   3  Normalizat    1.0562        .20487        .21229E-03    .10389E-03
   4  Prefactor     .69817        .21764        .27689E-03    .11271E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.1705
  Index      = 2.98553
  Normalizat = 1.05618
  Prefactor  = 0.698173
 **********
 **   18 **HESSE 
 **********

 FCN=   5641.078     FROM HESSE     STATUS=OK            25 CALLS      321 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.171        20.228        .31939E-05   -1.4704    
   2  Index         2.9855        .45785        .11629E-03   -.41468    
   3  Normalizat    1.0562        .20461        .84915E-05   -.91171    
   4  Prefactor     .69817        .21739        .11075E-04   -1.0360    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.40347e-11
Minuit parameter uncertainties:
  1  20.233
  2  0.458616
  3  0.204759
  4  0.217655
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/630733': 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) = 5641.07836941
delta logL = 0.647248954202

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  2.517e+01  2.023e+01  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  2.986e+00  4.586e-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:  6.982e-01  2.177e-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.056e+00  2.048e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.91
Ra Dec: 352.339 -47.556
Photon Index (Free Index): 2.99 +/- 0.46
Photon Flux (Free Index): 1.53e-07 +/- 5.78e-08
Energy Flux (Free Index): 3.08e-05 +/- 1.12e-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/630733/cmap_HighResolution_665712001_665971201_4FGL_J2329.3-4733_daily_bin1645.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.22e-07', energy_flux2='3.08e-05', photon_flux_error='4.79e-08', dlogl='6.47e-01', energy_flux='3.52e-05', photon_flux2='1.53e-07', job_status='DONE', time_completed='2022-02-08 00:55:52.672905', photon_index_error2='0.46', photon_index2='2.99', ts='12.41', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', energy_flux_error2='1.12e-05', EG='1.10', time_epoch_completed='1644310552.67', return_code='0', job_id='630733', GAL2='0.70', EG2='1.06', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='5.78e-08', ts2='13.91', photon_index='2.51' WHERE bin_id='1645' AND source_name='4FGL J2329.3-4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb  8 00:55:52 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 630733: <4FGL_J2329.3-4733_daily_bin1645> in cluster <slac> Done

Job <4FGL_J2329.3-4733_daily_bin1645> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Tue Feb  8 00:40:27 2022
Job was executed on host(s) <bullet0117>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb  8 00:40:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb  8 00:40:28 2022
Terminated at Tue Feb  8 00:55:53 2022
Results reported at Tue Feb  8 00:55:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4733_daily_bin1645 352.339 -47.5558 665712001 665971201 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 :                                   855.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   924 sec.
    Turnaround time :                            926 sec.

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

