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


Performing analysis on: 4FGL_J2329.3-4733_daily_bin1412
RA = 352.339, Dec = -47.5558
tmin = 605318401, tmax = 605577601
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='951900', job_status='RUN', time_executed='2021-09-29 21:06:42.350602', time_epoch_executed='1632974802.35' WHERE source_name='4FGL J2329.3-4733' and cadence='daily' and bin_id='1412'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/951900

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/951900/ft1_4FGL_J2329.3-4733_daily_bin1412.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/951900/ft2_4FGL_J2329.3-4733_daily_bin1412.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/951900/ft1_4FGL_J2329.3-4733_daily_bin1412.fits outfile=/scratch/kocevski/951900/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1412.fits ra=352.339 dec=-47.5558 rad=12.0 tmin=605318401.0 tmax=605577601.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.51
user 5.23
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/951900/ft2_4FGL_J2329.3-4733_daily_bin1412.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/951900/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1412.fits evtable="EVENTS" outfile="/scratch/kocevski/951900/ft1_filtered_4FGL_J2329.3-4733_daily_bin1412.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/951900/ft1_filtered_4FGL_J2329.3-4733_daily_bin1412.fits" evtable="EVENTS" scfile=/scratch/kocevski/951900/ft2_4FGL_J2329.3-4733_daily_bin1412.fits sctable="SC_DATA" outfile=/scratch/kocevski/951900/ltcube_605318401_605577601_4FGL_J2329.3-4733_daily_bin1412.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/951900/ft2_4FGL_J2329.3-4733_daily_bin1412.fits
.....................!
real 11.36
user 10.97
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/951900/ft1_filtered_4FGL_J2329.3-4733_daily_bin1412.fits evtable="EVENTS" scfile=/scratch/kocevski/951900/ft2_4FGL_J2329.3-4733_daily_bin1412.fits sctable="SC_DATA" expcube=/scratch/kocevski/951900/ltcube_605318401_605577601_4FGL_J2329.3-4733_daily_bin1412.fits outfile=/scratch/kocevski/951900/expmap_605318401_605577601_4FGL_J2329.3-4733_daily_bin1412.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/951900/ltcube_605318401_605577601_4FGL_J2329.3-4733_daily_bin1412.fits
.....................!
real 188.84
user 184.33
sys 4.15

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/951900/ft1_filtered_4FGL_J2329.3-4733_daily_bin1412.fits scfile=/scratch/kocevski/951900/ft2_4FGL_J2329.3-4733_daily_bin1412.fits outfile=/scratch/kocevski/951900/cmap_605318401_605577601_4FGL_J2329.3-4733_daily_bin1412.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/951900/ft1_filtered_4FGL_J2329.3-4733_daily_bin1412.fits scfile=/scratch/kocevski/951900/ft2_4FGL_J2329.3-4733_daily_bin1412.fits outfile=/scratch/kocevski/951900/cmap_HighResolution_605318401_605577601_4FGL_J2329.3-4733_daily_bin1412.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/951900/ft1_filtered_4FGL_J2329.3-4733_daily_bin1412.fits evtable="EVENTS" scfile=/scratch/kocevski/951900/ft2_4FGL_J2329.3-4733_daily_bin1412.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/951900/Model_4FGL_J2329.3-4733_daily_bin1412.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/951900/ft1_filtered_4FGL_J2329.3-4733_daily_bin1412.fits.....................!
real 35.05
user 33.79
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11479E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.072       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.2044       1.0000         .10000E-03   10000.    
     9 'norm      '    6.0336       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10192E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    58.578       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.715       1.0000         .10000E-03   10000.    
    13 'Prefactor '    55.522       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.3493       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.4738       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10004E-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      '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    20.063       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .26699E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    6.1152       1.0000         .10000E-03   10000.    
    26 'Prefactor '    12.567       1.0000         .10000E-03   10000.    
    27 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10009E-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 '    2.6914       1.0000         .10000E-03   10000.    
    35 'Normalizat'    1.2036       1.0000         .10000E-01   10.000    
    36 'Prefactor '    .94283       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=   4306.353     FROM MIGRAD    STATUS=CONVERGED   1005 CALLS     6054 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    316.75       -.20078E-05** at limit **
   2  Prefactor     .10000E-03    5.0941        .17059E-05** at limit **
   3  Prefactor     .10000E-03    9.2806       -.99133E-06** at limit **
   4  Prefactor     10.071        14.451       -.34115E-05    .56416E-04
   5  Prefactor     .10000E-03    2.3928        .15607E-07** at limit **
   6  Prefactor     .10000E-03    10.550        .12023E-05** at limit **
   7  Prefactor     .10000E-03    2.5362        .17917E-07** at limit **
   8  Prefactor     4.2041        6.3769       -.32757E-06   -.16675E-03
   9  norm          6.0338        12.382       -.52762E-06   -.47576E-04
  10  Prefactor     .10000E-03    4.5808       -.45918E-06** at limit **
  11  Prefactor     58.576        76.460       -.16776E-05    .36425E-04
  12  Prefactor     10.714        9.8337       -.14076E-05    .84084E-04
  13  Prefactor     55.519        39.665        .76132E-07    .44608E-04
  14  Prefactor     .10000E-03    6.0966       -.82986E-06** at limit **
  15  Prefactor     .10000E-03    82.967        .73093E-06** at limit **
  16  Prefactor     7.3489        10.399       -.17436E-05    .70437E-04
  17  Prefactor     9.4691        43.940       -.50630E-06    .24141E-05
  18  Prefactor     .10000E-03    4.8019       -.14684E-05** at limit **
  19  norm          .10000E-03    13.750       -.31971E-06** at limit **
  20  norm          .10000E-03    2.3104        .19664E-07** at limit **
  21  norm          .10000E-03    4.1365        .21256E-06** at limit **
  22  norm          .10000E-03    9.7825       -.18926E-05** at limit **
  23  Prefactor     20.064        10.938       -.13240E-05    .17852E-03
  24  Prefactor     .10732E-03    116.51       -.90866E-05** at limit **
  25  norm          6.1063        11.068        .72673E-06    .11948E-02
  26  Prefactor     12.560        24.241        .51522E-05    .18622E-04
  27  norm          .10000E-03    .43250       -.42523E-07** at limit **
  28  norm          .10000E-03    3.5777       -.56271E-07** at limit **
  29  Prefactor     .10000E-03    10.074       -.12801E-05** at limit **
  30  Prefactor     .10000E-03    1.2392       -.19410E-07** at limit **
  31  Prefactor     .10000E-03    10.774        .27748E-05** at limit **
  32  norm          .10000E-03    8.5182        .22493E-05** at limit **
  33  Prefactor     .10000E-03    1.8100       -.53547E-07** at limit **
  34  Prefactor     2.6913        3.9278       -.26516E-05   -.54979E-04
  35  Normalizat    1.2037        .23313        .16380E-05    .45242E-03
  36  Prefactor     .94272        .24364        .55798E-06    .34653E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.0714
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.20415
  norm       = 6.0338
  Prefactor  = 0.000100002
  Prefactor  = 58.5756
  Prefactor  = 10.7141
  Prefactor  = 55.5195
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.3489
  Prefactor  = 9.46911
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 20.064
  Prefactor  = 0.000107318
  norm       = 6.10627
  Prefactor  = 12.5602
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.69135
  Normalizat = 1.20371
  Prefactor  = 0.942723
 **********
 **   18 **HESSE 
 **********

 FCN=   4306.353     FROM HESSE     STATUS=OK           805 CALLS     6859 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    319.75        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.0848        .14452E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.2790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.071        14.470        .12626E-03   -1.5073    
   5  Prefactor     .10000E-03    2.3957        .99137E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.5398        .10206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.2041        6.3800        .19654E-03   -1.5298    
   9  norm          6.0338        12.403        .16346E-03   -1.5217    
  10  Prefactor     .10000E-03    10.031        .26868E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     58.576        75.920        .52419E-04   -1.4176    
  12  Prefactor     10.714        9.8250        .12240E-03   -1.5053    
  13  Prefactor     55.519        39.724        .53834E-04   -1.4216    
  14  Prefactor     .10000E-03    6.1133        .15816E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    82.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.3489        10.402        .14795E-03   -1.5166    
  17  Prefactor     9.4691        43.936        .13020E-03   -1.5092    
  18  Prefactor     .10000E-03    4.7982        .14035E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    13.865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.3107        .97417E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    4.1393        .13026E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    9.7993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     20.064        10.893        .89420E-04   -1.4812    
  24  Prefactor     .10732E-03    124.62        .13032       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          6.1063        11.166        .16235E-03   -1.5214    
  26  Prefactor     12.560        24.188        .11299E-03   -1.4999    
  27  norm          .10000E-03    .43985        .42100E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    3.5937        .12099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    10.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    1.2441        .71326E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    10.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          .10000E-03    8.4960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    1.8187        .86206E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     2.6913        3.9716        .15334E-03   -1.5380    
  35  Normalizat    1.2037        .28540        .23825E-03   -.86488    
  36  Prefactor     .94272        .29482        .28519E-03   -.94664    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83195e-09
Minuit parameter uncertainties:
  1  0.000200196
  2  1.7523e-05
  3  1.57386e-05
  4  14.4755
  5  9.14059e-07
  6  2.1926e-05
  7  7.92478e-07
  8  6.38104
  9  12.4084
  10  0.000305058
  11  76.0453
  12  9.82648
  13  39.7433
  14  9.97802e-06
  15  5.30581e-05
  16  10.4045
  17  40.8429
  18  1.44253e-05
  19  7.20084e-06
  20  4.63113e-07
  21  4.38472e-06
  22  2.58176e-05
  23  10.8942
  24  0.060525
  25  11.1698
  26  24.2069
  27  2.19049e-06
  28  5.18241e-06
  29  1.41217e-05
  30  2.66737e-06
  31  6.6332e-05
  32  3.85037e-05
  33  8.29332e-07
  34  3.97194
  35  0.285772
  36  0.295323
Done.

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

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.256e+01  2.421e+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:  9.427e-01  2.953e-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.204e+00  2.858e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/951900/likelihoodResults_605318401_605577601_4FGL_J2329.3-4733_daily_bin1412.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) = 4306.24949729
delta logL = 0.103169863491

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4306.24299433
delta logL = 0.109672829108

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9350       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1331       1.0000          .0000       10.000    
     3 'Normalizat'    1.1816       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95974       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=   4306.243     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      254 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9058        279.61        .41208E-02    .20716E-03
   2  Index         3.1358        6.5651        .11784        .10319E-03
   3  Normalizat    1.1819        .71317E-01    .54289E-01   -.52626E-05
   4  Prefactor     .95922        .74033E-01    .45762E-01   -.33968E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.90584
  Index      = 3.13577
  Normalizat = 1.1819
  Prefactor  = 0.959222
 **********
 **   18 **HESSE 
 **********

 FCN=   4306.243     FROM HESSE     STATUS=OK            33 CALLS      287 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9058        157.33        .16483E-03   -1.5222    
   2  Index         3.1358        6.5669        .74211E-02   -.38208    
   3  Normalizat    1.1819        .28475        .24005E-03   -.87164    
   4  Prefactor     .95922        .30430        .28301E-03   -.94101    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.64231e-10
Minuit parameter uncertainties:
  1  61.1426
  2  5.38408
  3  0.285126
  4  0.304843
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/951900': 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) = 4306.24299019
delta logL = 0.109676964087

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  5.906e+00  6.114e+01  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  3.136e+00  5.384e+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:  9.592e-01  3.048e-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.182e+00  2.851e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.40
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/951900/cmap_HighResolution_605318401_605577601_4FGL_J2329.3-4733_daily_bin1412.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.17e-02', job_status='DONE', photon_flux_upper_limit='1.50e-07', time_completed='2021-09-29 21:22:05.746700', job_id='951900', GAL2='0.96', fit_tolerance='1e-08', EG2='1.18', EG='1.20', time_epoch_completed='1632975725.75', return_code2='0', ts='0.40', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.10e-01', ts2='0.65', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1412' AND source_name='4FGL J2329.3-4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:22:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 951900: <4FGL_J2329.3-4733_daily_bin1412> in cluster <slac> Done

Job <4FGL_J2329.3-4733_daily_bin1412> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 21:05:41 2021
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 21:05:42 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:05:42 2021
Terminated at Wed Sep 29 21:22:06 2021
Results reported at Wed Sep 29 21:22:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4733_daily_bin1412 352.339 -47.5558 605318401 605577601 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.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             270.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   983 sec.
    Turnaround time :                            985 sec.

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

