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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1452
RA = 352.329, Dec = -49.9324
tmin = 615686401, tmax = 615945601
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='972672', job_status='RUN', time_executed='2021-09-29 21:36:03.155523', time_epoch_executed='1632976563.16' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1452'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/972672

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/972672/ft1_4FGL_J2329.3-4955_daily_bin1452.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/972672/ft2_4FGL_J2329.3-4955_daily_bin1452.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/972672/ft1_4FGL_J2329.3-4955_daily_bin1452.fits outfile=/scratch/kocevski/972672/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1452.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=615686401.0 tmax=615945601.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.46
user 3.22
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/972672/ft2_4FGL_J2329.3-4955_daily_bin1452.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/972672/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1452.fits evtable="EVENTS" outfile="/scratch/kocevski/972672/ft1_filtered_4FGL_J2329.3-4955_daily_bin1452.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.51
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/972672/ft1_filtered_4FGL_J2329.3-4955_daily_bin1452.fits" evtable="EVENTS" scfile=/scratch/kocevski/972672/ft2_4FGL_J2329.3-4955_daily_bin1452.fits sctable="SC_DATA" outfile=/scratch/kocevski/972672/ltcube_615686401_615945601_4FGL_J2329.3-4955_daily_bin1452.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/972672/ft2_4FGL_J2329.3-4955_daily_bin1452.fits
.....................!
real 13.63
user 13.24
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/972672/ft1_filtered_4FGL_J2329.3-4955_daily_bin1452.fits evtable="EVENTS" scfile=/scratch/kocevski/972672/ft2_4FGL_J2329.3-4955_daily_bin1452.fits sctable="SC_DATA" expcube=/scratch/kocevski/972672/ltcube_615686401_615945601_4FGL_J2329.3-4955_daily_bin1452.fits outfile=/scratch/kocevski/972672/expmap_615686401_615945601_4FGL_J2329.3-4955_daily_bin1452.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/972672/ltcube_615686401_615945601_4FGL_J2329.3-4955_daily_bin1452.fits
.....................!
real 192.55
user 186.30
sys 5.89

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/972672/ft1_filtered_4FGL_J2329.3-4955_daily_bin1452.fits scfile=/scratch/kocevski/972672/ft2_4FGL_J2329.3-4955_daily_bin1452.fits outfile=/scratch/kocevski/972672/cmap_615686401_615945601_4FGL_J2329.3-4955_daily_bin1452.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/972672/ft1_filtered_4FGL_J2329.3-4955_daily_bin1452.fits scfile=/scratch/kocevski/972672/ft2_4FGL_J2329.3-4955_daily_bin1452.fits outfile=/scratch/kocevski/972672/cmap_HighResolution_615686401_615945601_4FGL_J2329.3-4955_daily_bin1452.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.54
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/972672/ft1_filtered_4FGL_J2329.3-4955_daily_bin1452.fits evtable="EVENTS" scfile=/scratch/kocevski/972672/ft2_4FGL_J2329.3-4955_daily_bin1452.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/972672/Model_4FGL_J2329.3-4955_daily_bin1452.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/972672/ft1_filtered_4FGL_J2329.3-4955_daily_bin1452.fits.....................!
real 44.43
user 43.09
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/972672/ft1_filtered_4FGL_J2329.3-4955_daily_bin1452.fits', '/scratch/kocevski/972672/ft2_4FGL_J2329.3-4955_daily_bin1452.fits', expMap='/scratch/kocevski/972672/expmap_615686401_615945601_4FGL_J2329.3-4955_daily_bin1452.fits', expCube='/scratch/kocevski/972672/ltcube_615686401_615945601_4FGL_J2329.3-4955_daily_bin1452.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/972672/Model_4FGL_J2329.3-4955_daily_bin1452.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/972672/ft1_filtered_4FGL_J2329.3-4955_daily_bin1452.fits
Spacecraft file(s): /scratch/kocevski/972672/ft2_4FGL_J2329.3-4955_daily_bin1452.fits
Exposure map: /scratch/kocevski/972672/expmap_615686401_615945601_4FGL_J2329.3-4955_daily_bin1452.fits
Exposure cube: /scratch/kocevski/972672/ltcube_615686401_615945601_4FGL_J2329.3-4955_daily_bin1452.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/972672/Model_4FGL_J2329.3-4955_daily_bin1452.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) = 6115.20960183

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    86.985       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.790       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.4642       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.2393       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    15.977       1.0000         .10000E-03   10000.    
     8 'norm      '    7.3289       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.5626       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.164       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .15065E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.7886       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.3426       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.4119       1.0000         .10000E-03   10000.    
    21 'Prefactor '    15.508       1.0000         .10000E-03   10000.    
    22 'norm      '    4.1604       1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.4455       1.0000         .10000E-03   10000.    
    24 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .28026       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    8.0005       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    1.1766       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .79058       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0714       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=   6115.205     FROM MIGRAD    STATUS=CONVERGED    855 CALLS     4549 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     86.977        54.823        .92492E-06   -.46409E-05
   2  Prefactor     10.787        16.736        .30363E-06   -.37596E-05
   3  Prefactor     6.4639        22.394        .38591E-08   -.76807E-06
   4  Prefactor     3.2405        7.0152        .37724E-05   -.65038E-04
   5  Prefactor     .10000E-03    3.4589       -.44477E-07** at limit **
   6  Prefactor     .10000E-03    2.9561        .82993E-08** at limit **
   7  norm          15.974        26.585        .70662E-07   -.10955E-04
   8  norm          7.3298        6.8042        .20372E-06    .18620E-04
   9  Prefactor     5.5620        4.6157        .75740E-07    .19113E-05
  10  Prefactor     .10000E-03    3.4727        .19048E-06** at limit **
  11  Prefactor     21.168        22.381       -.99670E-07    .11772E-03
  12  Prefactor     .10000E-03    24.773        .33488E-06** at limit **
  13  Prefactor     .10000E-03    27.761        .12996E-05** at limit **
  14  Prefactor     .10000E-03    2.6550       -.19783E-07** at limit **
  15  Prefactor     .10000E-03    12.033        .16716E-06** at limit **
  16  Prefactor     8.7842        14.632        .30799E-06    .22915E-04
  17  norm          .10000E-03    4.9979        .86386E-07** at limit **
  18  norm          4.3430        5.3839        .33650E-07    .12156E-04
  19  norm          .10000E-03    1.5667        .14093E-07** at limit **
  20  Prefactor     6.4111        6.1311        .28109E-07    .29763E-04
  21  Prefactor     15.493        32.500        .43817E-05    .82033E-04
  22  norm          4.1593        4.0594       -.34514E-06    .30333E-03
  23  Prefactor     6.4442        13.271        .28412E-07    .16848E-04
  24  norm          .10000E-03    .50734       -.72863E-07** at limit **
  25  norm          .29614        2.2671        .30417E-07   -.22148E-03
  26  Prefactor     .10000E-03    5.0636        .14073E-07** at limit **
  27  Prefactor     8.0008        3.8784       -.12687E-07    .10079E-05
  28  Prefactor     .10000E-03    10.368        .36649E-06** at limit **
  29  norm          .10000E-03    9.2321       -.27321E-06** at limit **
  30  Prefactor     .10000E-03    2.5562        .13440E-08** at limit **
  31  Prefactor     1.1767        3.0965        .12769E-06   -.57904E-04
  32  Normalizat    .79097        .17442        .84137E-06    .20476E-03
  33  Prefactor     1.0710        .18571       -.13100E-05    .13836E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 86.9771
  Prefactor  = 10.7866
  Prefactor  = 6.46386
  Prefactor  = 3.24054
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 15.9738
  norm       = 7.32978
  Prefactor  = 5.56204
  Prefactor  = 0.0001
  Prefactor  = 21.1679
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.7842
  norm       = 0.0001
  norm       = 4.34303
  norm       = 0.0001
  Prefactor  = 6.41113
  Prefactor  = 15.4932
  norm       = 4.15928
  Prefactor  = 6.44418
  norm       = 0.0001
  norm       = 0.296144
  Prefactor  = 0.0001
  Prefactor  = 8.00079
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.17674
  Normalizat = 0.790971
  Prefactor  = 1.07096
 **********
 **   18 **HESSE 
 **********

 FCN=   6115.205     FROM HESSE     STATUS=OK           699 CALLS     5248 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     86.977        54.854        .21538E-03   -1.3840    
   2  Prefactor     10.787        16.595        .12197E-03   -1.5051    
   3  Prefactor     6.4639        22.369        .15785E-03   -1.5199    
   4  Prefactor     3.2405        7.0573        .11253E-02   -1.5348    
   5  Prefactor     .10000E-03    3.4863        .14200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.9906        .13128E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          15.974        26.588        .10020E-03   -1.4908    
   8  norm          7.3298        6.8056        .74078E-03   -1.5166    
   9  Prefactor     5.5620        4.6161        .14632E-03   -1.5236    
  10  Prefactor     .10000E-03    3.5354        .14221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     21.168        22.247        .87065E-04   -1.4787    
  12  Prefactor     .10000E-03    25.451        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    27.744        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.6666        .12442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.7842        14.415        .13521E-03   -1.5115    
  17  norm          .10000E-03    5.0162        .17073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.3430        5.3690        .19251E-03   -1.5291    
  19  norm          .10000E-03    1.5686        .95493E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.4111        6.0880        .15850E-03   -1.5202    
  21  Prefactor     15.493        32.972        .10171E-03   -1.4921    
  22  norm          4.1593        4.0270        .12818E-03   -1.5300    
  23  Prefactor     6.4442        13.159        .15809E-03   -1.5200    
  24  norm          .10000E-03    .81303        .10484E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .29614        11.148        .20768E-02   -1.5599    
  26  Prefactor     .10000E-03    5.0759        .17185E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     8.0008        3.8717        .10033E-03   -1.5142    
  28  Prefactor     .10000E-03    10.375        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .10000E-03    9.2350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    2.5903        .12191E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     1.1767        3.0197        .20720E-03   -1.5491    
  32  Normalizat    .79097        .20557        .24559E-03   -1.0040    
  33  Prefactor     1.0710        .21817        .23682E-03   -.90400    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56938e-10
Minuit parameter uncertainties:
  1  54.8864
  2  16.6018
  3  22.3981
  4  7.05912
  5  8.32762e-07
  6  3.00174e-07
  7  26.6075
  8  6.80634
  9  4.61637
  10  1.32148e-05
  11  22.2554
  12  0.000447443
  13  4.31426e-05
  14  1.00333e-06
  15  1.09133e-06
  16  14.4205
  17  5.34635e-06
  18  5.36959
  19  2.39838e-06
  20  6.08861
  21  33.011
  22  4.02728
  23  13.1645
  24  2.23693e-06
  25  3.63414
  26  2.06217e-06
  27  3.87183
  28  1.81289e-05
  29  8.22816e-06
  30  3.44205e-07
  31  3.02011
  32  0.205777
  33  0.218347
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.000e-04  2.237e-06  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:  1.071e+00  2.183e-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:  7.910e-01  2.058e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/972672/likelihoodResults_615686401_615945601_4FGL_J2329.3-4955_daily_bin1452.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) = 6115.21116618
delta logL = -0.00590079458289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6115.18392361
delta logL = 0.0213417801597

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10584E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .78001       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0786       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6115.184     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      363 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10574E-01    .10547        .28270E-03    .15640E-02
   2  alpha         5.0000        2.6616        .50000    ** at limit **
   3  Normalizat    .78002        .20097        .24711E-03   -.46697E-04
   4  Prefactor     1.0786        .21822        .23606E-03    .76766E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0105738
  alpha      = 5
  Normalizat = 0.780018
  Prefactor  = 1.07859
 **********
 **   18 **HESSE 
 **********

 FCN=   6115.184     FROM HESSE     STATUS=OK            31 CALLS      394 TOTAL
                     EDM=   .87E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10574E-01    .77327E-01    .11308E-04   -1.5687    
   2  alpha         5.0000        2.6172        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .78002        .20147        .98843E-05   -1.0081    
   4  Prefactor     1.0786        .21867        .94425E-05   -.90154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.67003e-11
Minuit parameter uncertainties:
  1  0.0569176
  2  3.51099e-05
  3  0.201663
  4  0.218856
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/972672': 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) = 6115.18392355
delta logL = 0.021341839114

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.057e-02  5.692e-02  1.000e-04  1.000e+04 ( 1.000e-11)
477        alpha:  5.000e+00  3.511e-05  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:  1.079e+00  2.189e-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:  7.800e-01  2.017e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 352.329 -49.932

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/972672/cmap_HighResolution_615686401_615945601_4FGL_J2329.3-4955_daily_bin1452.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.02e-05', job_status='DONE', photon_flux_upper_limit='5.32e-08', time_completed='2021-09-29 21:51:30.974650', job_id='972672', GAL2='1.08', fit_tolerance='1e-08', EG2='0.78', EG='0.79', time_epoch_completed='1632977490.97', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.13e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1452' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:51:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 972672: <4FGL_J2329.3-4955_daily_bin1452> in cluster <slac> Done

Job <4FGL_J2329.3-4955_daily_bin1452> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 21:35:20 2021
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 21:35:21 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:35:21 2021
Terminated at Wed Sep 29 21:51:31 2021
Results reported at Wed Sep 29 21:51:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1452 352.329 -49.9324 615686401 615945601 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 :                                   924.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             346.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   970 sec.
    Turnaround time :                            971 sec.

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

