/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 73 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7603
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2329.3-4733_daily_bin1110
RA = 352.339, Dec = -47.5558
tmin = 527040001, tmax = 527299201
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='950437', job_status='RUN', time_executed='2021-09-29 21:02:04.526486', time_epoch_executed='1632974524.53' WHERE source_name='4FGL J2329.3-4733' and cadence='daily' and bin_id='1110'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/950437

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/950437/ft1_4FGL_J2329.3-4733_daily_bin1110.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/950437/ft2_4FGL_J2329.3-4733_daily_bin1110.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/950437/ft1_4FGL_J2329.3-4733_daily_bin1110.fits outfile=/scratch/kocevski/950437/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1110.fits ra=352.339 dec=-47.5558 rad=12.0 tmin=527040001.0 tmax=527299201.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.96
user 5.71
sys 0.22

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/950437/ft1_filtered_4FGL_J2329.3-4733_daily_bin1110.fits" evtable="EVENTS" scfile=/scratch/kocevski/950437/ft2_4FGL_J2329.3-4733_daily_bin1110.fits sctable="SC_DATA" outfile=/scratch/kocevski/950437/ltcube_527040001_527299201_4FGL_J2329.3-4733_daily_bin1110.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/950437/ft2_4FGL_J2329.3-4733_daily_bin1110.fits
.....................!
real 12.01
user 11.67
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/950437/ft1_filtered_4FGL_J2329.3-4733_daily_bin1110.fits evtable="EVENTS" scfile=/scratch/kocevski/950437/ft2_4FGL_J2329.3-4733_daily_bin1110.fits sctable="SC_DATA" expcube=/scratch/kocevski/950437/ltcube_527040001_527299201_4FGL_J2329.3-4733_daily_bin1110.fits outfile=/scratch/kocevski/950437/expmap_527040001_527299201_4FGL_J2329.3-4733_daily_bin1110.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/950437/ltcube_527040001_527299201_4FGL_J2329.3-4733_daily_bin1110.fits
.....................!
real 189.74
user 184.89
sys 4.55

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/950437/ft1_filtered_4FGL_J2329.3-4733_daily_bin1110.fits scfile=/scratch/kocevski/950437/ft2_4FGL_J2329.3-4733_daily_bin1110.fits outfile=/scratch/kocevski/950437/cmap_527040001_527299201_4FGL_J2329.3-4733_daily_bin1110.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/950437/ft1_filtered_4FGL_J2329.3-4733_daily_bin1110.fits scfile=/scratch/kocevski/950437/ft2_4FGL_J2329.3-4733_daily_bin1110.fits outfile=/scratch/kocevski/950437/cmap_HighResolution_527040001_527299201_4FGL_J2329.3-4733_daily_bin1110.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.339 yref=-47.5558 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.794       1.0000         .10000E-03   10000.    
     2 'Prefactor '    25.933       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.159       1.0000         .10000E-03   10000.    
     5 'Prefactor '    37.093       1.0000         .10000E-03   10000.    
     6 'Prefactor '    111.36       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.9227       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .15392E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.3886       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.2973       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.6117       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    9.3233       1.0000         .10000E-03   10000.    
    20 'norm      '    11.314       1.0000         .10000E-03   10000.    
    21 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    12.021       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .15020E-02   1.0000         .10000E-03   10000.    
    27 'norm      '    1.6500       1.0000         .10000E-03   10000.    
    28 'norm      '    11.691       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    3.5743       1.0000         .10000E-03   10000.    
    31 'Prefactor '    47.514       1.0000         .10000E-03   10000.    
    32 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    34 'Prefactor '    5.3848       1.0000         .10000E-03   10000.    
    35 'Normalizat'    1.2841       1.0000         .10000E-01   10.000    
    36 'Prefactor '    .55051       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=   2293.372     FROM MIGRAD    STATUS=CONVERGED   1002 CALLS     5394 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.568        327.97       -.56587E-03    .45340E-04
   2  Prefactor     25.918        58.803       -.16705E-04    .44123E-05
   3  Prefactor     .10000E-03    227.65       -.85188E-05** at limit **
   4  Prefactor     10.159        14.798       -.93474E-06    .70704E-05
   5  Prefactor     37.090        26.127       -.18844E-05    .56037E-04
   6  Prefactor     111.36        84.254       -.84803E-06   -.12553E-03
   7  Prefactor     5.9237        21.378       -.39418E-05   -.40813E-04
   8  Prefactor     .10000E-03    32.715        .20800E-04** at limit **
   9  norm          .10000E-03    4.9896       -.69358E-07** at limit **
  10  Prefactor     6.3873        7.1706       -.23165E-05   -.77992E-04
  11  Prefactor     .10000E-03    18.715        .14458E-04** at limit **
  12  Prefactor     3.2960        7.2584       -.26546E-05   -.16632E-03
  13  Prefactor     .10000E-03    12.105        .41437E-05** at limit **
  14  Prefactor     .10000E-03    4.6474       -.28098E-06** at limit **
  15  Prefactor     .10000E-03    45.972       -.23774E-04** at limit **
  16  Prefactor     1.6119        6.4019        .93459E-06   -.29915E-03
  17  Prefactor     .10000E-03    31.830        .14460E-04** at limit **
  18  Prefactor     .10000E-03    13.416       -.48194E-05** at limit **
  19  norm          9.3253        26.134       -.42195E-05    .20719E-03
  20  norm          11.316        12.186       -.84668E-08    .29722E-03
  21  norm          .10000E-03    5.4786       -.40028E-07** at limit **
  22  norm          12.020        24.082       -.26439E-05    .33016E-05
  23  Prefactor     .10000E-03    27.191       -.18803E-04** at limit **
  24  Prefactor     .10000E-03    101.52        .19811E-04** at limit **
  25  norm          .10000E-03    8.2267       -.53319E-07** at limit **
  26  Prefactor     .10026E-03    46.185       -.62336E-06** at limit **
  27  norm          1.6501        2.2035       -.93446E-06    .29284E-03
  28  norm          11.691        13.578        .19152E-05    .84699E-04
  29  Prefactor     .10000E-03    12.386       -.19852E-05** at limit **
  30  Prefactor     3.5737        6.1082        .13384E-05    .24578E-04
  31  Prefactor     47.524        66.314        .73229E-05    .71333E-04
  32  norm          .10000E-03    20.334       -.12587E-04** at limit **
  33  Prefactor     .10000E-03    9.2885       -.90579E-06** at limit **
  34  Prefactor     5.3883        15.108        .57733E-05    .44456E-04
  35  Normalizat    1.2843        .33284        .71047E-05    .89283E-04
  36  Prefactor     .55042        .31365        .12308E-04    .22427E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.568
  Prefactor  = 25.9176
  Prefactor  = 0.000100001
  Prefactor  = 10.1587
  Prefactor  = 37.0895
  Prefactor  = 111.357
  Prefactor  = 5.92366
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 6.38733
  Prefactor  = 0.0001
  Prefactor  = 3.29595
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.61191
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.32532
  norm       = 11.3159
  norm       = 0.0001
  norm       = 12.0196
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.00010026
  norm       = 1.65006
  norm       = 11.6911
  Prefactor  = 0.0001
  Prefactor  = 3.57374
  Prefactor  = 47.5245
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.38827
  Normalizat = 1.28426
  Prefactor  = 0.550419
 **********
 **   18 **HESSE 
 **********

 FCN=   2293.372     FROM HESSE     STATUS=OK           805 CALLS     6199 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.568        331.84        .11665E-03   -1.5028    
   2  Prefactor     25.918        58.286        .78665E-04   -1.4689    
   3  Prefactor     .10000E-03    228.45        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.159        14.794        .12571E-03   -1.5070    
   5  Prefactor     37.090        26.168        .65805E-04   -1.4489    
   6  Prefactor     111.36        84.116        .19059E-03   -1.3594    
   7  Prefactor     5.9237        21.489        .16500E-03   -1.5221    
   8  Prefactor     .10000E-03    32.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.9921        .10448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.3873        7.2174        .12380E-03   -1.5202    
  11  Prefactor     .10000E-03    18.716        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.2960        7.2330        .17986E-03   -1.5345    
  13  Prefactor     .10000E-03    12.107        .16275E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.6519        .10083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    45.980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.6119        6.3584        .23139E-03   -1.5454    
  17  Prefactor     .10000E-03    31.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.429        .17134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          9.3253        25.248        .13125E-03   -1.5097    
  20  norm          11.316        12.183        .11910E-03   -1.5035    
  21  norm          .10000E-03    5.4835        .10948E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          12.020        24.090        .11554E-03   -1.5014    
  23  Prefactor     .10000E-03    27.641        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    101.71        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    8.2822        .13401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10026E-03    267.04        .57892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          1.6501        2.1579        .75571E-04   -1.5451    
  28  norm          11.691        13.571        .11716E-03   -1.5024    
  29  Prefactor     .10000E-03    12.400        .16463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     3.5737        6.0853        .13916E-03   -1.5330    
  31  Prefactor     47.524        66.064        .58171E-04   -1.4328    
  32  norm          .10000E-03    20.339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    9.3533        .14246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     5.3883        14.990        .17318E-03   -1.5244    
  35  Normalizat    1.2843        .41186        .22557E-03   -.84037    
  36  Prefactor     .55042        .37875        .32795E-03   -1.0972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94259e-09
Minuit parameter uncertainties:
  1  124.684
  2  58.4143
  3  0.00112113
  4  14.7996
  5  26.1758
  6  84.2059
  7  21.5173
  8  0.000488257
  9  9.9174e-06
  10  7.21837
  11  1.28214e-05
  12  7.23493
  13  3.13632e-05
  14  2.16816e-05
  15  5.31282e-05
  16  6.36105
  17  0.000104192
  18  4.70501e-05
  19  25.2766
  20  12.1854
  21  2.16099e-05
  22  24.1095
  23  0.00011111
  24  0.000442489
  25  5.24966e-05
  26  0.0167428
  27  2.15798
  28  13.5747
  29  5.70023e-05
  30  6.08639
  31  66.1659
  32  3.6547e-05
  33  0.000132829
  34  15.0006
  35  0.41292
  36  0.380515
Done.

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

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.003e-04  1.674e-02  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  2.507e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
462        Scale:  1.077e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  5.504e-01  3.805e-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.284e+00  4.129e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 352.339 -47.556
Photon Flux Upper Limit: 2.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.63e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/950437/likelihoodResults_527040001_527299201_4FGL_J2329.3-4733_daily_bin1110.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): 102
logL (Free Index) = 2293.37233877
delta logL = -1.74219749169e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2293.37233877
delta logL = -1.7418409243e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96362E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5075       1.0000          .0000       10.000    
     3 'Normalizat'    1.2843       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .55041       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=   2293.372     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      249 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10279E-03    1.2834        .10783    ** at limit **
   2  Index         2.3538        6.1304        .50000        .38246E-05
   3  Normalizat    1.2843        .11429E-02    .51020E-01   -.30894E-03
   4  Prefactor     .55040        .11371E-02    .74070E-01   -.29876E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010279
  Index      = 2.35382
  Normalizat = 1.28427
  Prefactor  = 0.550402
 **********
 **   18 **HESSE 
 **********

 FCN=   2293.372     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      288 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10279E-03    1.7908        .92673E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3538        7.1578        .50000       -.55770    
   3  Normalizat    1.2843        .11964E-02    .22557E-03   -.84037    
   4  Prefactor     .55040        .11880E-02    .32795E-03   -1.0972    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.32829e-09
Minuit parameter uncertainties:
  1  0.00447072
  2  39.0618
  3  0.00119637
  4  0.00118801
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/950437': 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) = 2293.3723212
delta logL = 1.54546796693e-07

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.028e-04  4.471e-03  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  2.354e+00  3.906e+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:  5.504e-01  1.188e-03  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.284e+00  1.196e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/950437/cmap_HighResolution_527040001_527299201_4FGL_J2329.3-4733_daily_bin1110.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.63e-02', job_status='DONE', photon_flux_upper_limit='2.09e-07', time_completed='2021-09-29 21:12:19.854057', job_id='950437', GAL2='0.55', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1632975139.85', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.55', dlogl='1.55e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1110' AND source_name='4FGL J2329.3-4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:12:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0293>
Subject: Job 950437: <4FGL_J2329.3-4733_daily_bin1110> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4733_daily_bin1110 352.339 -47.5558 527040001 527299201 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 :                                   586.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             287.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   696 sec.
    Turnaround time :                            697 sec.

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

