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


Performing analysis on: 4FGL_J2329.3-4733_daily_bin1406
RA = 352.339, Dec = -47.5558
tmin = 603763201, tmax = 604022401
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='951890', job_status='RUN', time_executed='2021-09-29 21:07:26.299273', time_epoch_executed='1632974846.3' WHERE source_name='4FGL J2329.3-4733' and cadence='daily' and bin_id='1406'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/951890

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/951890/ft1_4FGL_J2329.3-4733_daily_bin1406.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/951890/ft2_4FGL_J2329.3-4733_daily_bin1406.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/951890/ft1_4FGL_J2329.3-4733_daily_bin1406.fits outfile=/scratch/kocevski/951890/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1406.fits ra=352.339 dec=-47.5558 rad=12.0 tmin=603763201.0 tmax=604022401.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 4.25
user 4.01
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/951890/ft2_4FGL_J2329.3-4733_daily_bin1406.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/951890/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1406.fits evtable="EVENTS" outfile="/scratch/kocevski/951890/ft1_filtered_4FGL_J2329.3-4733_daily_bin1406.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.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/951890/ft1_filtered_4FGL_J2329.3-4733_daily_bin1406.fits" evtable="EVENTS" scfile=/scratch/kocevski/951890/ft2_4FGL_J2329.3-4733_daily_bin1406.fits sctable="SC_DATA" outfile=/scratch/kocevski/951890/ltcube_603763201_604022401_4FGL_J2329.3-4733_daily_bin1406.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/951890/ft2_4FGL_J2329.3-4733_daily_bin1406.fits
.....................!
real 11.79
user 11.42
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/951890/ft1_filtered_4FGL_J2329.3-4733_daily_bin1406.fits evtable="EVENTS" scfile=/scratch/kocevski/951890/ft2_4FGL_J2329.3-4733_daily_bin1406.fits sctable="SC_DATA" expcube=/scratch/kocevski/951890/ltcube_603763201_604022401_4FGL_J2329.3-4733_daily_bin1406.fits outfile=/scratch/kocevski/951890/expmap_603763201_604022401_4FGL_J2329.3-4733_daily_bin1406.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/951890/ltcube_603763201_604022401_4FGL_J2329.3-4733_daily_bin1406.fits
.....................!
real 190.45
user 185.48
sys 4.65

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/951890/ft1_filtered_4FGL_J2329.3-4733_daily_bin1406.fits scfile=/scratch/kocevski/951890/ft2_4FGL_J2329.3-4733_daily_bin1406.fits outfile=/scratch/kocevski/951890/cmap_603763201_604022401_4FGL_J2329.3-4733_daily_bin1406.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.56
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/951890/ft1_filtered_4FGL_J2329.3-4733_daily_bin1406.fits scfile=/scratch/kocevski/951890/ft2_4FGL_J2329.3-4733_daily_bin1406.fits outfile=/scratch/kocevski/951890/cmap_HighResolution_603763201_604022401_4FGL_J2329.3-4733_daily_bin1406.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.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/951890/ft1_filtered_4FGL_J2329.3-4733_daily_bin1406.fits evtable="EVENTS" scfile=/scratch/kocevski/951890/ft2_4FGL_J2329.3-4733_daily_bin1406.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/951890/Model_4FGL_J2329.3-4733_daily_bin1406.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/951890/ft1_filtered_4FGL_J2329.3-4733_daily_bin1406.fits.....................!
real 34.85
user 33.57
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    16.962       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .18892E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.6492       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.603       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.3088       1.0000         .10000E-03   10000.    
     9 'norm      '    6.6176       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.8457       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .79796       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .96728E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.8928       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.1509       1.0000         .10000E-03   10000.    
    19 'norm      '    4.0507       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    2.9356       1.0000         .10000E-03   10000.    
    25 'norm      '    .14787E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .15275E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    3.2278       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    .10061E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    4.5683       1.0000         .10000E-03   10000.    
    34 'Prefactor '    3.4497       1.0000         .10000E-03   10000.    
    35 'Normalizat'    1.5825       1.0000         .10000E-01   10.000    
    36 'Prefactor '    .42345       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=   4209.884     FROM MIGRAD    STATUS=CONVERGED   1026 CALLS     4577 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    34.171        .12486E-05** at limit **
   2  Prefactor     17.013        30.767       -.16236E-05    .67822E-04
   3  Prefactor     .10000E-03    138.09       -.84049E-05** at limit **
   4  Prefactor     1.6485        12.177        .64736E-05    .58340E-03
   5  Prefactor     .10000E-03    18.676       -.17463E-06** at limit **
   6  Prefactor     .10000E-03    10.591       -.21660E-06** at limit **
   7  Prefactor     10.599        10.335        .60628E-07    .14884E-03
   8  Prefactor     6.3081        5.7077       -.35914E-08    .21283E-04
   9  norm          6.6169        9.9251        .20705E-06    .93468E-04
  10  Prefactor     1.8456        3.7265        .13116E-07   -.21410E-04
  11  Prefactor     .10000E-03    16.951       -.24135E-06** at limit **
  12  Prefactor     .10000E-03    3.7606       -.36437E-07** at limit **
  13  Prefactor     .10000E-03    14.590        .96487E-06** at limit **
  14  Prefactor     .78756        11.998       -.87305E-08   -.45067E-04
  15  Prefactor     .10000E-03    169.65        .11029E-04** at limit **
  16  Prefactor     .10051E-03    22.314        .74445E-05** at limit **
  17  Prefactor     5.8919        40.946       -.17755E-06    .28819E-05
  18  Prefactor     2.1435        41.790       -.12350E-05   -.25837E-05
  19  norm          4.0491        12.567       -.32139E-07    .12492E-04
  20  norm          .10000E-03    2.4314        .51166E-07** at limit **
  21  norm          .10000E-03    2.4176       -.12988E-06** at limit **
  22  norm          .10000E-03    18.282       -.44658E-06** at limit **
  23  Prefactor     .10000E-03    3.6587       -.72721E-08** at limit **
  24  Prefactor     2.9547        139.91        .19679E-04    .23636E-04
  25  norm          .10000E-03    4.9632       -.16516E-05** at limit **
  26  Prefactor     .10000E-03    6.3513       -.15118E-06** at limit **
  27  norm          .10000E-03    .64260        .11170E-07** at limit **
  28  norm          .10000E-03    3.1308       -.36634E-06** at limit **
  29  Prefactor     .10000E-03    5.9549       -.11958E-07** at limit **
  30  Prefactor     3.2276        3.6495        .11765E-06    .20473E-03
  31  Prefactor     .10000E-03    6.4112        .50469E-07** at limit **
  32  norm          .10000E-03    10.720       -.97473E-07** at limit **
  33  Prefactor     4.5659        6.4551       -.80678E-07    .20672E-03
  34  Prefactor     3.4424        5.6772        .49619E-06    .20154E-03
  35  Normalizat    1.5824        .23382       -.64477E-07    .14131E-03
  36  Prefactor     .42379        .23626        .70283E-06    .15300E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 17.013
  Prefactor  = 0.000100002
  Prefactor  = 1.64845
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.5992
  Prefactor  = 6.3081
  norm       = 6.61685
  Prefactor  = 1.84562
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.787558
  Prefactor  = 0.000100001
  Prefactor  = 0.000100505
  Prefactor  = 5.89194
  Prefactor  = 2.14351
  norm       = 4.04909
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.95469
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 3.2276
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.56585
  Prefactor  = 3.44239
  Normalizat = 1.58243
  Prefactor  = 0.423787
 **********
 **   18 **HESSE 
 **********

 FCN=   4209.884     FROM HESSE     STATUS=OK           815 CALLS     5392 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    34.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.013        30.441        .97247E-04   -1.4883    
   3  Prefactor     .10000E-03    139.19        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6485        14.617        .16440E-02   -1.5451    
   5  Prefactor     .10000E-03    19.337        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.599        10.337        .12305E-03   -1.5057    
   8  Prefactor     6.3081        5.7063        .14370E-03   -1.5206    
   9  norm          6.6169        9.9249        .77997E-03   -1.5193    
  10  Prefactor     1.8456        3.6996        .17046E-03   -1.5436    
  11  Prefactor     .10000E-03    16.954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.8107        .12284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    14.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .78756        38.949        .42759E-02   -1.5530    
  15  Prefactor     .10000E-03    169.58        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10051E-03    61.911        .38755E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.8919        40.829        .16543E-03   -1.5222    
  18  Prefactor     2.1435        41.510        .28094E-03   -1.5415    
  19  norm          4.0491        12.546        .20034E-03   -1.5305    
  20  norm          .10000E-03    2.4318        .98807E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    2.4194        .98520E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    18.775        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    3.6815        .12115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     2.9547        158.04        .23707E-03   -1.5364    
  25  norm          .10000E-03    8.9630        .26001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    6.3654        .15969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    .66593        .10113E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    16.223        .21233E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    5.9665        .15464E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     3.2276        3.6262        .12270E-03   -1.5349    
  31  Prefactor     .10000E-03    6.4125        .16045E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          .10000E-03    10.723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     4.5659        6.4388        .17966E-03   -1.5281    
  34  Prefactor     3.4424        5.6209        .16589E-03   -1.5337    
  35  Normalizat    1.5824        .26916        .19342E-03   -.75488    
  36  Prefactor     .42379        .26718        .36808E-03   -1.1561    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47025e-08
Minuit parameter uncertainties:
  1  5.46621e-05
  2  30.4683
  3  0.00110039
  4  9.82035
  5  1.95167e-05
  6  4.19146e-06
  7  10.3385
  8  5.70681
  9  9.92732
  10  3.70003
  11  5.99719e-06
  12  1.41346e-05
  13  3.24837e-05
  14  11.0839
  15  0.000591418
  16  0.0111977
  17  31.0502
  18  18.8802
  19  12.5541
  20  2.76333e-06
  21  4.60624e-08
  22  4.77978e-05
  23  4.37316e-07
  24  43.339
  25  2.40511e-05
  26  4.21836e-06
  27  3.00063e-07
  28  0.000419786
  29  1.05975e-05
  30  3.62641
  31  3.94413e-06
  32  3.97863e-06
  33  6.43976
  34  5.62174
  35  0.269403
  36  0.267966
Done.

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

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.000e-04  4.218e-06  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:  4.238e-01  2.680e-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.582e+00  2.694e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 352.339 -47.556
Photon Flux Upper Limit: 7.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/951890/likelihoodResults_603763201_604022401_4FGL_J2329.3-4733_daily_bin1406.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) = 4209.88441911
delta logL = -0.000743736119148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4209.88367534
delta logL = 3.52993083652e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4922       1.0000          .0000       10.000    
     3 'Normalizat'    1.5824       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .42379       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4209.884     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      245 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10138E-03    83.650        .16123E-02** at limit **
   2  Index         2.4281        8.7754        .50000        .18110E-04
   3  Normalizat    1.5824        .17817E-01    .19342E-03    .15753E-04
   4  Prefactor     .42378        .18724E-01    .36808E-03    .22856E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010138
  Index      = 2.42812
  Normalizat = 1.58244
  Prefactor  = 0.423784
 **********
 **   18 **HESSE 
 **********

 FCN=   4209.884     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      274 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10138E-03    346.78        .32245E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4281        5.2505        .50000       -.54028    
   3  Normalizat    1.5824        .38231E-01    .77367E-05   -.75488    
   4  Prefactor     .42378        .40174E-01    .14723E-04   -1.1561    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.93254e-08
Minuit parameter uncertainties:
  1  0.0440162
  2  808.757
  3  0.0382322
  4  0.0401764
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/951890': 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) = 4209.88367512
delta logL = 2.59406988334e-07

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.014e-04  4.402e-02  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  2.428e+00  8.088e+02  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:  4.238e-01  4.018e-02  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.582e+00  3.823e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 352.339 -47.556

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/951890/cmap_HighResolution_603763201_604022401_4FGL_J2329.3-4733_daily_bin1406.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.46e-03', job_status='DONE', photon_flux_upper_limit='7.01e-08', time_completed='2021-09-29 21:22:13.815980', job_id='951890', GAL2='0.42', fit_tolerance='1e-08', EG2='1.58', EG='1.58', time_epoch_completed='1632975733.82', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.42', dlogl='2.59e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1406' AND source_name='4FGL J2329.3-4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:22:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0298>
Subject: Job 951890: <4FGL_J2329.3-4733_daily_bin1406> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4733_daily_bin1406 352.339 -47.5558 603763201 604022401 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 :                                   767.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             245.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   993 sec.
    Turnaround time :                            993 sec.

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

