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


Performing analysis on: 4FGL_J2329.3-4733_daily_bin1643
RA = 352.339, Dec = -47.5558
tmin = 665193601, tmax = 665452801
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='497802', job_status='RUN', time_executed='2022-02-02 00:41:03.252321', time_epoch_executed='1643791263.25' WHERE source_name='4FGL J2329.3-4733' and cadence='daily' and bin_id='1643'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/497802

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/497802/ft1_4FGL_J2329.3-4733_daily_bin1643.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/497802/ft2_4FGL_J2329.3-4733_daily_bin1643.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/497802/ft1_4FGL_J2329.3-4733_daily_bin1643.fits outfile=/scratch/kocevski/497802/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1643.fits ra=352.339 dec=-47.5558 rad=12.0 tmin=665193601.0 tmax=665452801.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.62
user 3.40
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/497802/ft1_filtered_4FGL_J2329.3-4733_daily_bin1643.fits" evtable="EVENTS" scfile=/scratch/kocevski/497802/ft2_4FGL_J2329.3-4733_daily_bin1643.fits sctable="SC_DATA" outfile=/scratch/kocevski/497802/ltcube_665193601_665452801_4FGL_J2329.3-4733_daily_bin1643.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/497802/ft2_4FGL_J2329.3-4733_daily_bin1643.fits
.....................!
real 12.09
user 11.74
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/497802/ft1_filtered_4FGL_J2329.3-4733_daily_bin1643.fits evtable="EVENTS" scfile=/scratch/kocevski/497802/ft2_4FGL_J2329.3-4733_daily_bin1643.fits sctable="SC_DATA" expcube=/scratch/kocevski/497802/ltcube_665193601_665452801_4FGL_J2329.3-4733_daily_bin1643.fits outfile=/scratch/kocevski/497802/expmap_665193601_665452801_4FGL_J2329.3-4733_daily_bin1643.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/497802/ltcube_665193601_665452801_4FGL_J2329.3-4733_daily_bin1643.fits
.....................!
real 190.58
user 185.16
sys 5.10

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/497802/ft1_filtered_4FGL_J2329.3-4733_daily_bin1643.fits scfile=/scratch/kocevski/497802/ft2_4FGL_J2329.3-4733_daily_bin1643.fits outfile=/scratch/kocevski/497802/cmap_665193601_665452801_4FGL_J2329.3-4733_daily_bin1643.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/497802/ft1_filtered_4FGL_J2329.3-4733_daily_bin1643.fits scfile=/scratch/kocevski/497802/ft2_4FGL_J2329.3-4733_daily_bin1643.fits outfile=/scratch/kocevski/497802/cmap_HighResolution_665193601_665452801_4FGL_J2329.3-4733_daily_bin1643.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/497802/ft1_filtered_4FGL_J2329.3-4733_daily_bin1643.fits evtable="EVENTS" scfile=/scratch/kocevski/497802/ft2_4FGL_J2329.3-4733_daily_bin1643.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/497802/Model_4FGL_J2329.3-4733_daily_bin1643.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/497802/ft1_filtered_4FGL_J2329.3-4733_daily_bin1643.fits.....................!
real 38.61
user 37.31
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.9372       1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.218       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.7989       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.606       1.0000         .10000E-03   10000.    
     9 'norm      '    2.2407       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.7170       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    26.316       1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.898       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.5686       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.9620       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    27.564       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10574E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .13144E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    9.0898       1.0000         .10000E-03   10000.    
    27 'norm      '    3.9886       1.0000         .10000E-03   10000.    
    28 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    34 'Prefactor '    3.8570       1.0000         .10000E-03   10000.    
    35 'Normalizat'    .77343       1.0000         .10000E-01   10.000    
    36 'Prefactor '    1.1000       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=   5077.598     FROM MIGRAD    STATUS=CONVERGED    977 CALLS     4469 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.052       -.76994E-06** at limit **
   2  Prefactor     .10000E-03    7.1415       -.15767E-05** at limit **
   3  Prefactor     .10000E-03    16.531       -.60680E-05** at limit **
   4  Prefactor     4.9372        6.1586        .38024E-08   -.22779E-05
   5  Prefactor     17.218        9.6018        .25683E-07    .26680E-04
   6  Prefactor     .10000E-03    26.178        .17255E-04** at limit **
   7  Prefactor     9.7992        8.9938        .33903E-07    .40274E-05
   8  Prefactor     11.606        10.388       -.22637E-06   -.26313E-03
   9  norm          2.2415        6.7391       -.40303E-10   -.30629E-04
  10  Prefactor     9.7184        6.0751       -.38366E-07   -.12615E-04
  11  Prefactor     .10000E-03    18.608       -.20888E-05** at limit **
  12  Prefactor     .10000E-03    3.1029        .71744E-07** at limit **
  13  Prefactor     26.318        25.213        .66739E-06    .22642E-05
  14  Prefactor     13.900        12.072       -.22377E-06    .67690E-05
  15  Prefactor     .10000E-03    36.452       -.11910E-04** at limit **
  16  Prefactor     1.5689        2.2023        .37191E-06   -.12087E-02
  17  Prefactor     8.9644        21.688        .21286E-05    .49747E-06
  18  Prefactor     .10000E-03    10.899        .52302E-05** at limit **
  19  norm          .10000E-03    5.5420        .41651E-06** at limit **
  20  norm          .10000E-03    3.0169       -.28443E-07** at limit **
  21  norm          .10000E-03    1.6759        .13282E-07** at limit **
  22  norm          27.561        16.795       -.50355E-06   -.87821E-05
  23  Prefactor     .10000E-03    5.4335       -.18477E-05** at limit **
  24  Prefactor     .10000E-03    13.100       -.15994E-05** at limit **
  25  norm          .10000E-03    2.3629        .93662E-07** at limit **
  26  Prefactor     9.0886        14.110        .22783E-06   -.22105E-04
  27  norm          3.9886        1.4679       -.15266E-07   -.63982E-04
  28  norm          .10000E-03    1.4012        .16047E-07** at limit **
  29  Prefactor     .10000E-03    6.0047        .36190E-05** at limit **
  30  Prefactor     .10000E-03    1.3302        .15173E-07** at limit **
  31  Prefactor     .10000E-03    6.8217       -.55698E-06** at limit **
  32  norm          .10000E-03    7.1611       -.16129E-05** at limit **
  33  Prefactor     .10000E-03    1.7398        .89702E-08** at limit **
  34  Prefactor     3.8574        4.4688        .41671E-07   -.16471E-04
  35  Normalizat    .77346        .19448       -.80934E-07   -.66388E-04
  36  Prefactor     1.1000        .20383       -.97549E-07   -.50440E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.93718
  Prefactor  = 17.2177
  Prefactor  = 0.0001
  Prefactor  = 9.79916
  Prefactor  = 11.6062
  norm       = 2.24147
  Prefactor  = 9.71837
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.3176
  Prefactor  = 13.8995
  Prefactor  = 0.0001
  Prefactor  = 1.5689
  Prefactor  = 8.96439
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 27.5608
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.08856
  norm       = 3.98857
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.8574
  Normalizat = 0.773457
  Prefactor  = 1.09996
 **********
 **   18 **HESSE 
 **********

 FCN=   5077.598     FROM HESSE     STATUS=OK           809 CALLS     5278 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.1437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    16.541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.9372        6.1563        .18101E-03   -1.5264    
   5  Prefactor     17.218        9.6083        .96522E-04   -1.4878    
   6  Prefactor     .10000E-03    26.228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.7992        9.0056        .12801E-03   -1.5082    
   8  Prefactor     11.606        10.474        .11759E-03   -1.5026    
   9  norm          2.2415        6.7172        .27457E-03   -1.5409    
  10  Prefactor     9.7184        6.0813        .12855E-03   -1.5084    
  11  Prefactor     .10000E-03    18.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.1228        .12252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.318        25.210        .78091E-04   -1.4682    
  14  Prefactor     13.900        12.063        .10744E-03   -1.4962    
  15  Prefactor     .10000E-03    36.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.5689        8.7184        .16974E-02   -1.5457    
  17  Prefactor     8.9644        21.686        .13389E-03   -1.5109    
  18  Prefactor     .10000E-03    10.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    5.5521        .16384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.0208        .12085E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.6769        .90085E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          27.561        16.794        .76307E-04   -1.4658    
  23  Prefactor     .10000E-03    5.4537        .16133E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    13.120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    5.5108        .21215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     9.0886        14.106        .66468E-03   -1.5105    
  27  norm          3.9886        1.4664        .49096E-04   -1.5309    
  28  norm          .10000E-03    1.4078        .82351E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    6.0131        .17050E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    1.3512        .80218E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    6.8314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          .10000E-03    7.1627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    1.7527        .91763E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     3.8574        4.4733        .15301E-03   -1.5315    
  35  Normalizat    .77346        .23489        .25834E-03   -1.0106    
  36  Prefactor     1.1000        .24607        .24385E-03   -.89468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.95156e-09
Minuit parameter uncertainties:
  1  2.13878e-06
  2  2.53998e-06
  3  1.5648e-05
  4  6.15713
  5  9.60915
  6  6.50987e-05
  7  9.00685
  8  10.4756
  9  6.71941
  10  6.08169
  11  6.33264e-06
  12  2.2193e-06
  13  25.2207
  14  12.0652
  15  5.73504e-05
  16  7.39826
  17  21.7046
  18  1.50317e-06
  19  6.83913e-07
  20  3.25734e-07
  21  1.82941e-07
  22  16.7973
  23  3.31664e-06
  24  2.23893e-06
  25  3.74181e-06
  26  14.1109
  27  1.46637
  28  3.01213e-07
  29  5.58177e-06
  30  3.56372e-07
  31  5.19207e-07
  32  3.10633e-06
  33  1.54941e-07
  34  4.4737
  35  0.235198
  36  0.24632
Done.

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

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  9.089e+00  1.411e+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.100e+00  2.463e-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:  7.735e-01  2.352e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/497802/likelihoodResults_665193601_665452801_4FGL_J2329.3-4733_daily_bin1643.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) = 5077.59024893
delta logL = 0.00794085614052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5077.58619607
delta logL = 0.0119937121808

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7677       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6630       1.0000          .0000       10.000    
     3 'Normalizat'    .76995       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1024       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=   5077.586     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      234 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7650        16.567        .14388E-03    .50334E-03
   2  Index         2.6636        1.1240        .91030E-02    .14131E-03
   3  Normalizat    .76992        .21968        .25888E-03   -.60486E-03
   4  Prefactor     1.1024        .24175        .24360E-03   -.62454E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.76496
  Index      = 2.66357
  Normalizat = 0.769917
  Prefactor  = 1.10243
 **********
 **   18 **HESSE 
 **********

 FCN=   5077.586     FROM HESSE     STATUS=OK            25 CALLS      259 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7650        14.972        .57551E-05   -1.5151    
   2  Index         2.6636        1.0171        .36412E-03   -.48622    
   3  Normalizat    .76992        .21981        .51776E-04   -1.0119    
   4  Prefactor     1.1024        .24186        .48721E-04   -.89389    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3734e-09
Minuit parameter uncertainties:
  1  14.9792
  2  1.02626
  3  0.220067
  4  0.2421
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/497802': 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) = 5077.58619586
delta logL = 0.0119939218184

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  7.765e+00  1.498e+01  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  2.664e+00  1.026e+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:  1.102e+00  2.421e-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:  7.699e-01  2.201e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.57
Ra Dec: 352.339 -47.556

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.30e-03', job_status='DONE', photon_flux_upper_limit='1.07e-07', time_completed='2022-02-02 00:54:44.974860', job_id='497802', GAL2='1.10', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1643792084.97', return_code2='0', ts='0.57', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.20e-02', ts2='0.59', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1643' AND source_name='4FGL J2329.3-4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb  2 00:54:45 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 497802: <4FGL_J2329.3-4733_daily_bin1643> in cluster <slac> Done

Job <4FGL_J2329.3-4733_daily_bin1643> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Feb  2 00:40:17 2022
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb  2 00:40:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb  2 00:40:19 2022
Terminated at Wed Feb  2 00:54:45 2022
Results reported at Wed Feb  2 00:54:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4733_daily_bin1643 352.339 -47.5558 665193601 665452801 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 :                                   824.00 sec.
    Max Memory :                                 1210 MB
    Average Memory :                             348.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   866 sec.
    Turnaround time :                            868 sec.

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

