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


Performing analysis on: 4FGL_J2329.3-4733_daily_bin1019
RA = 352.339, Dec = -47.5558
tmin = 503452801, tmax = 503712001
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='950294', job_status='RUN', time_executed='2021-09-29 21:01:37.621962', time_epoch_executed='1632974497.62' WHERE source_name='4FGL J2329.3-4733' and cadence='daily' and bin_id='1019'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/950294

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/950294/ft1_4FGL_J2329.3-4733_daily_bin1019.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/950294/ft2_4FGL_J2329.3-4733_daily_bin1019.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/950294/ft1_4FGL_J2329.3-4733_daily_bin1019.fits outfile=/scratch/kocevski/950294/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1019.fits ra=352.339 dec=-47.5558 rad=12.0 tmin=503452801.0 tmax=503712001.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 7.77
user 7.48
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/950294/ft1_filtered_4FGL_J2329.3-4733_daily_bin1019.fits" evtable="EVENTS" scfile=/scratch/kocevski/950294/ft2_4FGL_J2329.3-4733_daily_bin1019.fits sctable="SC_DATA" outfile=/scratch/kocevski/950294/ltcube_503452801_503712001_4FGL_J2329.3-4733_daily_bin1019.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/950294/ft2_4FGL_J2329.3-4733_daily_bin1019.fits
.....................!
real 11.69
user 11.36
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/950294/ft1_filtered_4FGL_J2329.3-4733_daily_bin1019.fits evtable="EVENTS" scfile=/scratch/kocevski/950294/ft2_4FGL_J2329.3-4733_daily_bin1019.fits sctable="SC_DATA" expcube=/scratch/kocevski/950294/ltcube_503452801_503712001_4FGL_J2329.3-4733_daily_bin1019.fits outfile=/scratch/kocevski/950294/expmap_503452801_503712001_4FGL_J2329.3-4733_daily_bin1019.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/950294/ltcube_503452801_503712001_4FGL_J2329.3-4733_daily_bin1019.fits
.....................!
real 190.38
user 186.01
sys 4.05

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/950294/ft1_filtered_4FGL_J2329.3-4733_daily_bin1019.fits scfile=/scratch/kocevski/950294/ft2_4FGL_J2329.3-4733_daily_bin1019.fits outfile=/scratch/kocevski/950294/cmap_503452801_503712001_4FGL_J2329.3-4733_daily_bin1019.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/950294/ft1_filtered_4FGL_J2329.3-4733_daily_bin1019.fits scfile=/scratch/kocevski/950294/ft2_4FGL_J2329.3-4733_daily_bin1019.fits outfile=/scratch/kocevski/950294/cmap_HighResolution_503452801_503712001_4FGL_J2329.3-4733_daily_bin1019.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/950294/ft1_filtered_4FGL_J2329.3-4733_daily_bin1019.fits evtable="EVENTS" scfile=/scratch/kocevski/950294/ft2_4FGL_J2329.3-4733_daily_bin1019.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/950294/Model_4FGL_J2329.3-4733_daily_bin1019.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/950294/ft1_filtered_4FGL_J2329.3-4733_daily_bin1019.fits.....................!
real 39.33
user 38.06
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    38.498       1.0000         .10000E-03   10000.    
     3 'Prefactor '    29.063       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.914       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    36.849       1.0000         .10000E-03   10000.    
     9 'norm      '    .10194E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.8206       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.4448       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.332       1.0000         .10000E-03   10000.    
    13 'Prefactor '    39.475       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10645E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10854E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.7747       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.8791       1.0000         .10000E-03   10000.    
    21 'norm      '    1.9498       1.0000         .10000E-03   10000.    
    22 'norm      '    7.2204       1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.2062       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .11958E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    1.6918       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .41387E-01   1.0000         .10000E-03   10000.    
    27 'norm      '    2.2400       1.0000         .10000E-03   10000.    
    28 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    3.6682       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .12855E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    .10478E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    34 'Prefactor '    8.1182       1.0000         .10000E-03   10000.    
    35 'Normalizat'    1.1855       1.0000         .10000E-01   10.000    
    36 'Prefactor '    .70009       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=   4720.487     FROM MIGRAD    STATUS=CONVERGED   1015 CALLS     5307 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.337       -.19476E-07** at limit **
   2  Prefactor     38.515        36.843       -.12874E-06    .25189E-04
   3  Prefactor     29.110        50.137        .39932E-06    .79195E-04
   4  Prefactor     14.914        15.562        .17852E-07   -.46523E-06
   5  Prefactor     .10000E-03    3.4805        .94564E-07** at limit **
   6  Prefactor     .10000E-03    50.396       -.41362E-06** at limit **
   7  Prefactor     .10000E-03    3.5797        .77826E-07** at limit **
   8  Prefactor     36.849        16.079       -.16094E-06    .98181E-04
   9  norm          .10000E-03    4.5641       -.85799E-08** at limit **
  10  Prefactor     5.8211        4.6613        .66629E-07   -.17150E-03
  11  Prefactor     8.4587        30.792        .18252E-06   -.52464E-06
  12  Prefactor     15.335        8.9013        .29329E-07   -.83841E-04
  13  Prefactor     39.464        36.941       -.13132E-06   -.35143E-04
  14  Prefactor     .10000E-03    9.3868       -.10236E-06** at limit **
  15  Prefactor     .10000E-03    68.883       -.15583E-06** at limit **
  16  Prefactor     .10000E-03    1.6048       -.93546E-08** at limit **
  17  Prefactor     .10000E-03    40.513        .20592E-06** at limit **
  18  Prefactor     6.7733        26.258        .46919E-05   -.21308E-03
  19  norm          .10000E-03    5.6221       -.79107E-09** at limit **
  20  norm          4.8820        7.3053        .68602E-07   -.88662E-04
  21  norm          1.9512        5.2169        .48649E-06   -.29401E-03
  22  norm          7.2201        6.8999        .27310E-07   -.19292E-04
  23  Prefactor     5.2149        9.0682       -.18980E-05   -.43542E-03
  24  Prefactor     .10000E-03    103.11        .91460E-06** at limit **
  25  norm          1.6923        3.9510        .56483E-06   -.41171E-03
  26  Prefactor     .10006E-03    26.286        .31018E-05** at limit **
  27  norm          2.2401        2.2034       -.36077E-06   -.55896E-03
  28  norm          .10000E-03    1.5781       -.16645E-07** at limit **
  29  Prefactor     .10000E-03    6.7483        .70480E-08** at limit **
  30  Prefactor     3.6666        5.7208       -.66118E-07   -.49360E-04
  31  Prefactor     .10000E-03    159.94        .60200E-06** at limit **
  32  norm          .10000E-03    16.282        .63070E-07** at limit **
  33  Prefactor     .10000E-03    3.7864        .16923E-06** at limit **
  34  Prefactor     8.1198        7.2785        .39173E-07   -.64112E-04
  35  Normalizat    1.1855        .21587       -.53883E-06   -.17827E-03
  36  Prefactor     .70004        .21468       -.24478E-07   -.14191E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 38.5148
  Prefactor  = 29.1097
  Prefactor  = 14.9141
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.8487
  norm       = 0.0001
  Prefactor  = 5.82113
  Prefactor  = 8.45869
  Prefactor  = 15.3349
  Prefactor  = 39.4645
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.77331
  norm       = 0.0001
  norm       = 4.88197
  norm       = 1.95118
  norm       = 7.22011
  Prefactor  = 5.21487
  Prefactor  = 0.000100001
  norm       = 1.6923
  Prefactor  = 0.000100058
  norm       = 2.24007
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.6666
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.11977
  Normalizat = 1.18552
  Prefactor  = 0.700045
 **********
 **   18 **HESSE 
 **********

 FCN=   4720.487     FROM HESSE     STATUS=OK           811 CALLS     6118 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.345        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     38.515        36.829        .64598E-04   -1.4466    
   3  Prefactor     29.110        50.069        .74317E-04   -1.4628    
   4  Prefactor     14.914        15.568        .10371E-03   -1.4935    
   5  Prefactor     .10000E-03    3.4810        .12517E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    50.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.5819        .12694E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     36.849        16.107        .66022E-04   -1.4493    
   9  norm          .10000E-03    4.5656        .14336E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.8211        4.6608        .12482E-03   -1.5225    
  11  Prefactor     8.4587        30.781        .13795E-03   -1.5126    
  12  Prefactor     15.335        8.8973        .10229E-03   -1.4925    
  13  Prefactor     39.464        36.974        .63796E-04   -1.4451    
  14  Prefactor     .10000E-03    9.5540        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    68.902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.6059        .84998E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    40.570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.7733        24.911        .77077E-03   -1.5187    
  19  norm          .10000E-03    5.6489        .15910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.8820        7.2809        .18210E-03   -1.5266    
  21  norm          1.9512        5.1037        .21673E-03   -1.5429    
  22  norm          7.2201        6.9025        .14928E-03   -1.5170    
  23  Prefactor     5.2149        8.7454        .17618E-03   -1.5251    
  24  Prefactor     .10000E-03    103.99        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.6923        3.8212        .17291E-03   -1.5448    
  26  Prefactor     .10006E-03    154.34        .56946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.2401        2.1523        .81753E-04   -1.5409    
  28  norm          .10000E-03    1.5910        .84203E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    6.7509        .17432E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     3.6666        5.6659        .18519E-03   -1.5325    
  31  Prefactor     .10000E-03    162.11        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          .10000E-03    16.296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    3.8071        .13044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     8.1198        7.2794        .14071E-03   -1.5138    
  35  Normalizat    1.1855        .26278        .23385E-03   -.87051    
  36  Prefactor     .70004        .25782        .30702E-03   -1.0353    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19547e-09
Minuit parameter uncertainties:
  1  8.11006e-06
  2  36.8509
  3  50.1417
  4  15.5719
  5  5.6091e-06
  6  0.000276324
  7  3.87258e-06
  8  16.1089
  9  9.11013e-07
  10  4.66111
  11  30.8385
  12  8.89804
  13  36.9954
  14  1.31503e-05
  15  6.31812e-05
  16  7.80391e-07
  17  0.000197839
  18  24.9489
  19  1.55085e-06
  20  7.28227
  21  5.10479
  22  6.90325
  23  8.7475
  24  0.000481154
  25  3.82173
  26  0.00601587
  27  2.15233
  28  3.40944e-06
  29  9.18393e-07
  30  5.66673
  31  0.000720753
  32  5.48408e-06
  33  8.07821e-06
  34  7.28015
  35  0.263076
  36  0.258263
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  7.000e-01  2.583e-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.186e+00  2.631e-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: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/950294/likelihoodResults_503452801_503712001_4FGL_J2329.3-4733_daily_bin1019.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) = 4720.4872435
delta logL = -3.07451146e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4720.48724349
delta logL = -3.07389973386e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96349E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5075       1.0000          .0000       10.000    
     3 'Normalizat'    1.1855       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70005       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=   4720.487     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      236 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .58285E-03    .75344        .90714E-01** at limit **
   2  Index         2.6641        6.1626        .50000       -.54849E-04
   3  Normalizat    1.1855        .11376E-02    .52889E-01    .24702E-03
   4  Prefactor     .70004        .11839E-02    .69379E-01   -.93549E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000582855
  Index      = 2.6641
  Normalizat = 1.18553
  Prefactor  = 0.700039
 **********
 **   18 **HESSE 
 **********

 FCN=   4720.487     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      277 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .58285E-03    1.3354        .69998E-01   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6641        6.6309        .50000       -.48610    
   3  Normalizat    1.1855        .12174E-02    .23385E-03   -.87051    
   4  Prefactor     .70004        .12653E-02    .30702E-03   -1.0353    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.60796e-08
Minuit parameter uncertainties:
  1  0.0507863
  2  12.5629
  3  0.00121741
  4  0.00126532
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/950294': 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) = 4720.48721209
delta logL = 6.58250428387e-07

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  5.829e-04  5.079e-02  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  2.664e+00  1.256e+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:  7.000e-01  1.265e-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.186e+00  1.217e-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/950294/cmap_HighResolution_503452801_503712001_4FGL_J2329.3-4733_daily_bin1019.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.28e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2021-09-29 21:16:25.985371', job_id='950294', GAL2='0.70', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1632975385.99', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='6.58e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1019' AND source_name='4FGL J2329.3-4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:16:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 950294: <4FGL_J2329.3-4733_daily_bin1019> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4733_daily_bin1019 352.339 -47.5558 503452801 503712001 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 :                                   869.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             332.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   954 sec.
    Turnaround time :                            955 sec.

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

