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


Performing analysis on: 4FGL_J2329.3-4733_daily_bin1270
RA = 352.339, Dec = -47.5558
tmin = 568512001, tmax = 568771201
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='951679', job_status='RUN', time_executed='2021-09-29 21:07:09.768289', time_epoch_executed='1632974829.77' WHERE source_name='4FGL J2329.3-4733' and cadence='daily' and bin_id='1270'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/951679

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/951679/ft1_4FGL_J2329.3-4733_daily_bin1270.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/951679/ft2_4FGL_J2329.3-4733_daily_bin1270.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/951679/ft1_4FGL_J2329.3-4733_daily_bin1270.fits outfile=/scratch/kocevski/951679/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1270.fits ra=352.339 dec=-47.5558 rad=12.0 tmin=568512001.0 tmax=568771201.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.58
user 3.34
sys 0.21

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/951679/ft1_filtered_4FGL_J2329.3-4733_daily_bin1270.fits" evtable="EVENTS" scfile=/scratch/kocevski/951679/ft2_4FGL_J2329.3-4733_daily_bin1270.fits sctable="SC_DATA" outfile=/scratch/kocevski/951679/ltcube_568512001_568771201_4FGL_J2329.3-4733_daily_bin1270.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/951679/ft2_4FGL_J2329.3-4733_daily_bin1270.fits
.....................!
real 11.78
user 11.44
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/951679/ft1_filtered_4FGL_J2329.3-4733_daily_bin1270.fits evtable="EVENTS" scfile=/scratch/kocevski/951679/ft2_4FGL_J2329.3-4733_daily_bin1270.fits sctable="SC_DATA" expcube=/scratch/kocevski/951679/ltcube_568512001_568771201_4FGL_J2329.3-4733_daily_bin1270.fits outfile=/scratch/kocevski/951679/expmap_568512001_568771201_4FGL_J2329.3-4733_daily_bin1270.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/951679/ltcube_568512001_568771201_4FGL_J2329.3-4733_daily_bin1270.fits
.....................!
real 190.11
user 185.58
sys 4.13

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/951679/ft1_filtered_4FGL_J2329.3-4733_daily_bin1270.fits scfile=/scratch/kocevski/951679/ft2_4FGL_J2329.3-4733_daily_bin1270.fits outfile=/scratch/kocevski/951679/cmap_568512001_568771201_4FGL_J2329.3-4733_daily_bin1270.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/951679/ft1_filtered_4FGL_J2329.3-4733_daily_bin1270.fits scfile=/scratch/kocevski/951679/ft2_4FGL_J2329.3-4733_daily_bin1270.fits outfile=/scratch/kocevski/951679/cmap_HighResolution_568512001_568771201_4FGL_J2329.3-4733_daily_bin1270.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.339 yref=-47.5558 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/951679/ft1_filtered_4FGL_J2329.3-4733_daily_bin1270.fits evtable="EVENTS" scfile=/scratch/kocevski/951679/ft2_4FGL_J2329.3-4733_daily_bin1270.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/951679/Model_4FGL_J2329.3-4733_daily_bin1270.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/951679/ft1_filtered_4FGL_J2329.3-4733_daily_bin1270.fits....................!
real 31.88
user 30.51
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.307       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.2024       1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.220       1.0000         .10000E-03   10000.    
     9 'norm      '    .76236       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.3182       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.028       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    28.501       1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.417       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    14.461       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .68452E-02   1.0000         .10000E-03   10000.    
    26 'Prefactor '    13.113       1.0000         .10000E-03   10000.    
    27 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .68895       1.0000         .10000E-03   10000.    
    29 'Prefactor '    42.705       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    6.9626       1.0000         .10000E-03   10000.    
    34 'Prefactor '    5.2151       1.0000         .10000E-03   10000.    
    35 'Normalizat'    1.2791       1.0000         .10000E-01   10.000    
    36 'Prefactor '    .50923       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=   3554.758     FROM MIGRAD    STATUS=CONVERGED    988 CALLS     4550 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.435        80.249       -.88995E-05   -.52133E-04
   2  Prefactor     .10000E-03    11.402       -.64340E-07** at limit **
   3  Prefactor     .10000E-03    22.320        .53278E-06** at limit **
   4  Prefactor     .10000E-03    9.3956        .49952E-06** at limit **
   5  Prefactor     .10000E-03    5.1001        .46061E-06** at limit **
   6  Prefactor     .10000E-03    33.992       -.91000E-06** at limit **
   7  Prefactor     7.2040        11.284       -.14701E-06    .13443E-04
   8  Prefactor     16.221        12.349       -.23572E-06   -.10974E-04
   9  norm          .76233        19.767       -.34545E-07    .40359E-05
  10  Prefactor     1.3193        5.1865        .28567E-06    .42466E-04
  11  Prefactor     .10000E-03    31.532       -.19007E-06** at limit **
  12  Prefactor     10.029        8.1983       -.22595E-06   -.28156E-04
  13  Prefactor     .10000E-03    25.493        .59616E-06** at limit **
  14  Prefactor     .10000E-03    4.6794        .52104E-07** at limit **
  15  Prefactor     .10000E-03    33.801       -.31795E-06** at limit **
  16  Prefactor     .10000E-03    3.6177        .19533E-06** at limit **
  17  Prefactor     28.516        29.983       -.64196E-06   -.41440E-04
  18  Prefactor     15.417        20.341       -.49866E-06   -.85611E-05
  19  norm          .10000E-03    6.2598        .41155E-07** at limit **
  20  norm          .10000E-03    2.9584        .34268E-07** at limit **
  21  norm          14.451        9.4740       -.40346E-06    .30491E-04
  22  norm          .10000E-03    4.1105        .94081E-07** at limit **
  23  Prefactor     .10000E-03    6.2411       -.24591E-07** at limit **
  24  Prefactor     .10000E-03    27.251        .12634E-06** at limit **
  25  norm          .10025E-03    6.1240       -.52591E-06** at limit **
  26  Prefactor     13.117        18.951       -.71704E-06   -.39883E-05
  27  norm          .10000E-03    .53987        .11716E-06** at limit **
  28  norm          .68020        7.6471       -.85891E-06    .23055E-03
  29  Prefactor     42.709        24.361       -.25113E-06    .50891E-06
  30  Prefactor     .10000E-03    2.3013        .22029E-06** at limit **
  31  Prefactor     .10000E-03    21.711        .77425E-06** at limit **
  32  norm          .10000E-03    14.670       -.17627E-06** at limit **
  33  Prefactor     6.9643        8.0628       -.20552E-06    .59261E-05
  34  Prefactor     5.2152        4.9080       -.88679E-07    .16113E-04
  35  Normalizat    1.2789        .26294        .38403E-05   -.21539E-04
  36  Prefactor     .50936        .24338       -.51450E-05    .10308E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.4351
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.20397
  Prefactor  = 16.2212
  norm       = 0.762334
  Prefactor  = 1.31935
  Prefactor  = 0.0001
  Prefactor  = 10.0285
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.5164
  Prefactor  = 15.4173
  norm       = 0.0001
  norm       = 0.0001
  norm       = 14.4511
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100248
  Prefactor  = 13.1172
  norm       = 0.0001
  norm       = 0.680201
  Prefactor  = 42.7093
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.96431
  Prefactor  = 5.21518
  Normalizat = 1.27888
  Prefactor  = 0.509358
 **********
 **   18 **HESSE 
 **********

 FCN=   3554.758     FROM HESSE     STATUS=OK           805 CALLS     5355 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.435        82.458        .93608E-04   -1.4849    
   2  Prefactor     .10000E-03    11.409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    22.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.4292        .17857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.1232        .13161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    34.041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.2040        11.276        .74732E-03   -1.5171    
   8  Prefactor     16.221        12.342        .99447E-04   -1.4902    
   9  norm          .76233        19.944        .24598E-02   -1.5533    
  10  Prefactor     1.3193        5.1711        .25274E-03   -1.5478    
  11  Prefactor     .10000E-03    31.571        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.029        8.1781        .63270E-03   -1.5075    
  13  Prefactor     .10000E-03    25.596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.6920        .12597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    33.809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    3.6263        .11077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     28.516        30.002        .75045E-04   -1.4639    
  18  Prefactor     15.417        20.312        .10201E-03   -1.4922    
  19  norm          .10000E-03    6.2627        .14570E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.9599        .10015E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          14.451        9.0870        .10533E-03   -1.4947    
  22  norm          .10000E-03    4.1127        .11807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    6.2645        .14502E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    27.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10025E-03    47.516        .23006E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     13.117        18.901        .11061E-03   -1.4983    
  27  norm          .10000E-03    .54945        .42713E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .68020        12.013        .27349E-02   -1.5543    
  29  Prefactor     42.709        24.329        .61345E-04   -1.4400    
  30  Prefactor     .10000E-03    2.3260        .88246E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    21.808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          .10000E-03    14.674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     6.9643        8.0474        .15204E-03   -1.5180    
  34  Prefactor     5.2152        4.9043        .61477E-03   -1.5251    
  35  Normalizat    1.2789        .27010        .20772E-03   -.84199    
  36  Prefactor     .50936        .25344        .32167E-03   -1.1155    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52218e-09
Minuit parameter uncertainties:
  1  78.1576
  2  5.57549e-06
  3  4.86269e-05
  4  2.99108e-05
  5  2.21924e-05
  6  0.000100119
  7  11.2798
  8  12.3435
  9  7.80077
  10  5.17286
  11  2.55307e-05
  12  8.179
  13  5.15905e-05
  14  9.48213e-07
  15  4.28641e-05
  16  6.97529e-06
  17  30.0181
  18  20.3213
  19  3.62986e-06
  20  2.07051e-06
  21  9.08785
  22  4.5832e-06
  23  7.61912e-06
  24  4.91668e-05
  25  0.00686797
  26  18.9099
  27  1.79314e-06
  28  5.71796
  29  24.3347
  30  5.33575e-06
  31  6.86912e-05
  32  1.15875e-05
  33  8.04861
  34  4.90468
  35  0.270399
  36  0.254004
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  5.094e-01  2.540e-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.279e+00  2.704e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/951679/likelihoodResults_568512001_568771201_4FGL_J2329.3-4733_daily_bin1270.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) = 3551.52021285
delta logL = 3.23757650759

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3551.31676585
delta logL = 3.44102350883

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36339E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    8.3348       1.0000          .0000       10.000    
     3 'Normalizat'    1.0882       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64803       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=   3551.317     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      388 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35838E-03    .37629E-02    .13770E-03** at limit **
   2  Index         8.3413        2.1977        .69768E-01    .93321E-04
   3  Normalizat    1.0882        .82831E-01    .38504E-01    .18230E-04
   4  Prefactor     .64803        .85349E-01    .65032E-01    .64655E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000358383
  Index      = 8.34134
  Normalizat = 1.08823
  Prefactor  = 0.648029
 **********
 **   18 **HESSE 
 **********

 FCN=   3551.317     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      419 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35838E-03    .53956E-02    .59026E-06   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.3413        2.6198        .30413E-03    .73188    
   3  Normalizat    1.0882        .25055        .22094E-03   -.90131    
   4  Prefactor     .64803        .25258        .28774E-03   -1.0560    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.61801e-10
Minuit parameter uncertainties:
  1  0.00236147
  2  2.90682
  3  0.250819
  4  0.253025
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/951679': 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) = 3551.31676146
delta logL = 3.44102790497

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  6.480e-01  2.530e-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.088e+00  2.508e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.20
Ra Dec: 352.339 -47.556
Photon Index (Free Index): 8.34 +/- 2.91
Photon Flux (Free Index): 2.03e-07 +/- 9.34e-08
Energy Flux (Free Index): 2.34e-05 +/- 1.11e-05

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/951679/cmap_HighResolution_568512001_568771201_4FGL_J2329.3-4733_daily_bin1270.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e-02', comment='SUCCESS', energy_flux2='2.34e-05', dlogl='3.44e+00', photon_flux2='2.03e-07', job_status='DONE', time_completed='2021-09-29 21:20:07.206354', photon_index_error2='2.91', photon_index2='8.34', ts='0.74', fit_tolerance='1e-08', GAL='0.51', photon_index_error='0.00', photon_flux_upper_limit='1.51e-07', energy_flux_error2='1.11e-05', EG='1.28', time_epoch_completed='1632975607.21', return_code='0', job_id='951679', GAL2='0.65', EG2='1.09', return_code2='102', photon_flux_error2='9.34e-08', ts2='8.20', photon_index='2.51' WHERE bin_id='1270' AND source_name='4FGL J2329.3-4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:20:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 951679: <4FGL_J2329.3-4733_daily_bin1270> in cluster <slac> Done

Job <4FGL_J2329.3-4733_daily_bin1270> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 21:05:23 2021
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 21:05:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 21:05:25 2021
Terminated at Wed Sep 29 21:20:07 2021
Results reported at Wed Sep 29 21:20:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4733_daily_bin1270 352.339 -47.5558 568512001 568771201 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 :                                   687.00 sec.
    Max Memory :                                 1194 MB
    Average Memory :                             250.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            884 sec.

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

