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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1062
RA = 352.329, Dec = -49.9324
tmin = 514598401, tmax = 514857601
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='968216', job_status='RUN', time_executed='2021-09-29 21:30:35.233849', time_epoch_executed='1632976235.23' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1062'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/968216

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/968216/ft1_4FGL_J2329.3-4955_daily_bin1062.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/968216/ft2_4FGL_J2329.3-4955_daily_bin1062.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/968216/ft1_4FGL_J2329.3-4955_daily_bin1062.fits outfile=/scratch/kocevski/968216/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1062.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=514598401.0 tmax=514857601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.99
user 3.74
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/968216/ft2_4FGL_J2329.3-4955_daily_bin1062.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/968216/ft2_4FGL_J2329.3-4955_daily_bin1062.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/968216/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1062.fits evtable="EVENTS" outfile="/scratch/kocevski/968216/ft1_filtered_4FGL_J2329.3-4955_daily_bin1062.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.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/968216/ft1_filtered_4FGL_J2329.3-4955_daily_bin1062.fits" evtable="EVENTS" scfile=/scratch/kocevski/968216/ft2_4FGL_J2329.3-4955_daily_bin1062.fits sctable="SC_DATA" outfile=/scratch/kocevski/968216/ltcube_514598401_514857601_4FGL_J2329.3-4955_daily_bin1062.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/968216/ft2_4FGL_J2329.3-4955_daily_bin1062.fits
.....................!
real 11.71
user 11.32
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/968216/ft1_filtered_4FGL_J2329.3-4955_daily_bin1062.fits evtable="EVENTS" scfile=/scratch/kocevski/968216/ft2_4FGL_J2329.3-4955_daily_bin1062.fits sctable="SC_DATA" expcube=/scratch/kocevski/968216/ltcube_514598401_514857601_4FGL_J2329.3-4955_daily_bin1062.fits outfile=/scratch/kocevski/968216/expmap_514598401_514857601_4FGL_J2329.3-4955_daily_bin1062.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/968216/ltcube_514598401_514857601_4FGL_J2329.3-4955_daily_bin1062.fits
.....................!
real 190.60
user 184.94
sys 5.32

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 183 point sources and 0 extended sources

Setting source of interest to:
4FGL J2329.3-4955 @ 352.329 -49.9324

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/968216/ft1_filtered_4FGL_J2329.3-4955_daily_bin1062.fits scfile=/scratch/kocevski/968216/ft2_4FGL_J2329.3-4955_daily_bin1062.fits outfile=/scratch/kocevski/968216/cmap_514598401_514857601_4FGL_J2329.3-4955_daily_bin1062.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.329 yref=-49.9324 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/968216/ft1_filtered_4FGL_J2329.3-4955_daily_bin1062.fits scfile=/scratch/kocevski/968216/ft2_4FGL_J2329.3-4955_daily_bin1062.fits outfile=/scratch/kocevski/968216/cmap_HighResolution_514598401_514857601_4FGL_J2329.3-4955_daily_bin1062.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.329 yref=-49.9324 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/968216/ft1_filtered_4FGL_J2329.3-4955_daily_bin1062.fits evtable="EVENTS" scfile=/scratch/kocevski/968216/ft2_4FGL_J2329.3-4955_daily_bin1062.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/968216/Model_4FGL_J2329.3-4955_daily_bin1062.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/968216/ft1_filtered_4FGL_J2329.3-4955_daily_bin1062.fits.....................!
real 43.36
user 42.12
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/968216/ft1_filtered_4FGL_J2329.3-4955_daily_bin1062.fits', '/scratch/kocevski/968216/ft2_4FGL_J2329.3-4955_daily_bin1062.fits', expMap='/scratch/kocevski/968216/expmap_514598401_514857601_4FGL_J2329.3-4955_daily_bin1062.fits', expCube='/scratch/kocevski/968216/ltcube_514598401_514857601_4FGL_J2329.3-4955_daily_bin1062.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/968216/Model_4FGL_J2329.3-4955_daily_bin1062.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2329.3-4955'

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  7.291e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  2.177e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
478         beta:  1.055e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
479           Eb:  5.219e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/968216/ft1_filtered_4FGL_J2329.3-4955_daily_bin1062.fits
Spacecraft file(s): /scratch/kocevski/968216/ft2_4FGL_J2329.3-4955_daily_bin1062.fits
Exposure map: /scratch/kocevski/968216/expmap_514598401_514857601_4FGL_J2329.3-4955_daily_bin1062.fits
Exposure cube: /scratch/kocevski/968216/ltcube_514598401_514857601_4FGL_J2329.3-4955_daily_bin1062.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/968216/Model_4FGL_J2329.3-4955_daily_bin1062.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) = 6011.5995577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.7237       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.5093       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.4649       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.3946       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.7722       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .45040E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .88900       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.1889       1.0000         .10000E-03   10000.    
    17 'norm      '    15.447       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.7435       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.6862       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    3.6042       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.1809       1.0000         .10000E-03   10000.    
    24 'norm      '    .47512       1.0000         .10000E-03   10000.    
    25 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    12.034       1.0000         .10000E-03   10000.    
    27 'Prefactor '    6.0585       1.0000         .10000E-03   10000.    
    28 'Prefactor '    8.0202       1.0000         .10000E-03   10000.    
    29 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    2.9384       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.0523       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .96843       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6011.591     FROM MIGRAD    STATUS=CONVERGED    896 CALLS     4606 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    37.298        .50797E-06** at limit **
   2  Prefactor     .10000E-03    8.2875       -.14935E-06** at limit **
   3  Prefactor     2.6251        103.23        .45818E-05   -.83395E-05
   4  Prefactor     .10000E-03    2.6083       -.59906E-07** at limit **
   5  Prefactor     5.5096        7.7089       -.16448E-06   -.26973E-03
   6  Prefactor     .10000E-03    2.3036       -.88178E-07** at limit **
   7  norm          .10000E-03    11.841       -.46382E-07** at limit **
   8  norm          .10000E-03    4.0635       -.10545E-06** at limit **
   9  Prefactor     6.4647        4.7257       -.19736E-06    .15282E-04
  10  Prefactor     6.3954        5.9193        .19892E-06   -.67749E-04
  11  Prefactor     7.7238        20.600        .24755E-05    .41382E-04
  12  Prefactor     .10003E-03    51.991        .16611E-04** at limit **
  13  Prefactor     .10000E-03    31.548       -.13607E-06** at limit **
  14  Prefactor     .89114        3.4128        .35816E-05   -.82701E-03
  15  Prefactor     .10000E-03    32.872        .50951E-06** at limit **
  16  Prefactor     9.1888        12.430        .12292E-06    .33616E-04
  17  norm          15.448        12.956       -.40461E-07    .23275E-04
  18  norm          .10000E-03    1.7851       -.12039E-07** at limit **
  19  norm          2.7437        3.2727       -.13452E-06    .67163E-04
  20  Prefactor     5.6857        5.6601        .20280E-06    .16098E-03
  21  Prefactor     .10000E-03    7.5136       -.28118E-07** at limit **
  22  norm          3.6044        3.1631        .62660E-07    .95669E-04
  23  Prefactor     1.1820        46.582       -.16996E-05   -.67479E-04
  24  norm          .47498        .77360        .12882E-07    .13734E-03
  25  norm          .10000E-03    1.4726       -.37567E-06** at limit **
  26  Prefactor     12.035        16.823       -.13916E-06    .29304E-04
  27  Prefactor     6.0576        4.5271       -.20469E-07    .12018E-04
  28  Prefactor     8.0157        23.337       -.80025E-06   -.28095E-04
  29  norm          .10000E-03    30.159       -.12573E-05** at limit **
  30  Prefactor     2.9405        6.3576        .37437E-06   -.37518E-03
  31  Prefactor     .10000E-03    2.2822       -.21717E-06** at limit **
  32  Normalizat    1.0525        .19085       -.32315E-06    .49886E-04
  33  Prefactor     .96820        .19443        .14235E-05    .26538E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.62507
  Prefactor  = 0.0001
  Prefactor  = 5.50961
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 6.46467
  Prefactor  = 6.39545
  Prefactor  = 7.72382
  Prefactor  = 0.000100031
  Prefactor  = 0.0001
  Prefactor  = 0.891143
  Prefactor  = 0.0001
  Prefactor  = 9.18878
  norm       = 15.4478
  norm       = 0.0001
  norm       = 2.74366
  Prefactor  = 5.68573
  Prefactor  = 0.0001
  norm       = 3.60444
  Prefactor  = 1.18204
  norm       = 0.474984
  norm       = 0.0001
  Prefactor  = 12.0352
  Prefactor  = 6.05759
  Prefactor  = 8.01565
  norm       = 0.0001
  Prefactor  = 2.9405
  Prefactor  = 0.0001
  Normalizat = 1.05247
  Prefactor  = 0.968204
 **********
 **   18 **HESSE 
 **********

 FCN=   6011.591     FROM HESSE     STATUS=OK           703 CALLS     5309 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    37.311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.3086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.6251        102.38        .24675E-03   -1.5384    
   4  Prefactor     .10000E-03    2.6125        .12230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.5096        7.7081        .85589E-03   -1.5238    
   6  Prefactor     .10000E-03    2.3082        .11494E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    11.845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.0873        .15266E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.4647        4.7288        .13848E-03   -1.5199    
  10  Prefactor     6.3954        5.9256        .79361E-03   -1.5202    
  11  Prefactor     7.7238        20.539        .14383E-03   -1.5152    
  12  Prefactor     .10003E-03    61.429        .42081E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    31.552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .89114        11.620        .24856E-02   -1.5519    
  15  Prefactor     .10000E-03    33.086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.1888        12.420        .13221E-03   -1.5102    
  17  norm          15.448        12.951        .50953E-03   -1.4922    
  18  norm          .10000E-03    1.7853        .10116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.7437        3.2834        .14477E-03   -1.5377    
  20  Prefactor     5.6857        5.4692        .15862E-03   -1.5231    
  21  Prefactor     .10000E-03    7.5172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.6044        3.1527        .12069E-03   -1.5328    
  23  Prefactor     1.1820        44.448        .42062E-03   -1.5491    
  24  norm          .47498        .77067        .44675E-04   -1.5570    
  25  norm          .10000E-03    2.3843        .18246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     12.035        16.795        .11547E-03   -1.5014    
  27  Prefactor     6.0576        4.4873        .11882E-03   -1.5216    
  28  Prefactor     8.0157        23.172        .14158E-03   -1.5142    
  29  norm          .10000E-03    30.435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     2.9405        6.4714        .11847E-02   -1.5365    
  31  Prefactor     .10000E-03    2.3445        .22889E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.0525        .22745        .23430E-03   -.91293    
  33  Prefactor     .96820        .23439        .26250E-03   -.93797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.43991e-09
Minuit parameter uncertainties:
  1  0.000117006
  2  7.78959e-05
  3  32.8467
  4  1.12628e-05
  5  7.70948
  6  2.08229e-05
  7  2.43434e-05
  8  8.09348e-06
  9  4.72909
  10  5.92611
  11  20.5573
  12  0.00275698
  13  6.99692e-06
  14  6.43708
  15  0.000172554
  16  12.4231
  17  12.953
  18  1.93566e-06
  19  3.28359
  20  5.46969
  21  2.02224e-05
  22  3.15283
  23  14.5078
  24  0.770688
  25  4.82254e-05
  26  16.8012
  27  4.48752
  28  23.198
  29  0.000175045
  30  6.47292
  31  4.1842e-05
  32  0.227662
  33  0.234632
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  4.750e-01  7.707e-01  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  2.177e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
478         beta:  1.055e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
479           Eb:  5.219e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
580    Prefactor:  9.682e-01  2.346e-01  0.000e+00  1.000e+01 ( 1.000e+00)
581        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
582        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
579   Normalization:  1.052e+00  2.277e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.56
Ra Dec: 352.329 -49.932
Photon Flux Upper Limit: 6.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.61e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/968216/likelihoodResults_514598401_514857601_4FGL_J2329.3-4955_daily_bin1062.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) = 6011.37046588
delta logL = 0.220895331805

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6011.36457612
delta logL = 0.226785085284

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .45492       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1888       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0241       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98758       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6011.365     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      204 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .45483        10.946        .11085E-01    .13222E-02
   2  alpha         3.1890        3.0556        .43324        .36764E-04
   3  Normalizat    1.0241        .39913E-01    .42807E-01    .95943E-05
   4  Prefactor     .98756        .42657E-01    .46112E-01    .11065E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.454827
  alpha      = 3.189
  Normalizat = 1.02412
  Prefactor  = 0.987556
 **********
 **   18 **HESSE 
 **********

 FCN=   6011.365     FROM HESSE     STATUS=OK            35 CALLS      239 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .45483        .95486        .59021E-03   -1.5573    
   2  alpha         3.1890        1.8427        .28981E-01    .27921    
   3  Normalizat    1.0241        .22242        .23699E-03   -.92227    
   4  Prefactor     .98756        .23676        .26012E-03   -.93145    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.03769e-09
Minuit parameter uncertainties:
  1  0.954888
  2  2.09985
  3  0.22262
  4  0.237009
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/968216': 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) = 6011.36457611
delta logL = 0.226785101179

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  4.548e-01  9.549e-01  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  3.189e+00  2.100e+00  0.000e+00  5.000e+00 ( 1.000e+00)
478         beta:  1.055e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
479           Eb:  5.219e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
580    Prefactor:  9.876e-01  2.370e-01  0.000e+00  1.000e+01 ( 1.000e+00)
581        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
582        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
579   Normalization:  1.024e+00  2.226e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.03
Ra Dec: 352.329 -49.932
Photon Index (Free Index): 3.19 +/- 2.10
Photon Flux (Free Index): 3.41e-08 +/- 4.53e-08
Energy Flux (Free Index): 6.49e-06 +/- 7.44e-06

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/968216/cmap_HighResolution_514598401_514857601_4FGL_J2329.3-4955_daily_bin1062.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.61e-05', comment='SUCCESS', energy_flux2='6.49e-06', dlogl='2.27e-01', photon_flux2='3.41e-08', job_status='DONE', time_completed='2021-09-29 21:45:40.816097', photon_index_error2='2.10', photon_index2='3.19', ts='0.56', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='6.86e-08', energy_flux_error2='7.44e-06', EG='1.05', time_epoch_completed='1632977140.82', return_code='0', job_id='968216', GAL2='0.99', EG2='1.02', return_code2='0', photon_flux_error2='4.53e-08', ts2='1.03', photon_index='2.18' WHERE bin_id='1062' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:45:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0016>
Subject: Job 968216: <4FGL_J2329.3-4955_daily_bin1062> in cluster <slac> Done

Job <4FGL_J2329.3-4955_daily_bin1062> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 21:30:19 2021
Job was executed on host(s) <bullet0016>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 21:30:19 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:30:19 2021
Terminated at Wed Sep 29 21:45:41 2021
Results reported at Wed Sep 29 21:45:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1062 352.329 -49.9324 514598401 514857601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2329.3-4955 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   904.23 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             328.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   922 sec.
    Turnaround time :                            922 sec.

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

