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


Performing analysis on: 4FGL_J2329.3-4733_daily_bin1456
RA = 352.339, Dec = -47.5558
tmin = 616723201, tmax = 616982401
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='951971', job_status='RUN', time_executed='2021-09-29 21:06:17.323105', time_epoch_executed='1632974777.32' WHERE source_name='4FGL J2329.3-4733' and cadence='daily' and bin_id='1456'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/951971

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/951971/ft1_4FGL_J2329.3-4733_daily_bin1456.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/951971/ft2_4FGL_J2329.3-4733_daily_bin1456.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/951971/ft1_4FGL_J2329.3-4733_daily_bin1456.fits outfile=/scratch/kocevski/951971/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1456.fits ra=352.339 dec=-47.5558 rad=12.0 tmin=616723201.0 tmax=616982401.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.03
user 2.82
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/951971/ft2_4FGL_J2329.3-4733_daily_bin1456.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/951971/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1456.fits evtable="EVENTS" outfile="/scratch/kocevski/951971/ft1_filtered_4FGL_J2329.3-4733_daily_bin1456.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/951971/ft1_filtered_4FGL_J2329.3-4733_daily_bin1456.fits" evtable="EVENTS" scfile=/scratch/kocevski/951971/ft2_4FGL_J2329.3-4733_daily_bin1456.fits sctable="SC_DATA" outfile=/scratch/kocevski/951971/ltcube_616723201_616982401_4FGL_J2329.3-4733_daily_bin1456.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/951971/ft2_4FGL_J2329.3-4733_daily_bin1456.fits
.....................!
real 12.33
user 12.00
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/951971/ft1_filtered_4FGL_J2329.3-4733_daily_bin1456.fits evtable="EVENTS" scfile=/scratch/kocevski/951971/ft2_4FGL_J2329.3-4733_daily_bin1456.fits sctable="SC_DATA" expcube=/scratch/kocevski/951971/ltcube_616723201_616982401_4FGL_J2329.3-4733_daily_bin1456.fits outfile=/scratch/kocevski/951971/expmap_616723201_616982401_4FGL_J2329.3-4733_daily_bin1456.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/951971/ltcube_616723201_616982401_4FGL_J2329.3-4733_daily_bin1456.fits
.....................!
real 190.90
user 186.74
sys 3.82

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/951971/ft1_filtered_4FGL_J2329.3-4733_daily_bin1456.fits scfile=/scratch/kocevski/951971/ft2_4FGL_J2329.3-4733_daily_bin1456.fits outfile=/scratch/kocevski/951971/cmap_616723201_616982401_4FGL_J2329.3-4733_daily_bin1456.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.37
sys 0.15

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

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

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/951971/ft1_filtered_4FGL_J2329.3-4733_daily_bin1456.fits evtable="EVENTS" scfile=/scratch/kocevski/951971/ft2_4FGL_J2329.3-4733_daily_bin1456.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/951971/Model_4FGL_J2329.3-4733_daily_bin1456.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/951971/ft1_filtered_4FGL_J2329.3-4733_daily_bin1456.fits.....................!
real 31.36
user 30.17
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.066       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .16410E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.8224       1.0000         .10000E-03   10000.    
     9 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10495E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    36.752       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .73866E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.4003       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10421E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.956       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    1.7196       1.0000         .10000E-03   10000.    
    23 'Prefactor '    35.253       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .19335E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    19.489       1.0000         .10000E-03   10000.    
    33 'Prefactor '    2.1334       1.0000         .10000E-03   10000.    
    34 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    35 'Normalizat'    .90789       1.0000         .10000E-01   10.000    
    36 'Prefactor '    1.1817       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=   3629.653     FROM MIGRAD    STATUS=CONVERGED   1019 CALLS     6070 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    28.456        .13022E-05** at limit **
   2  Prefactor     10.065        23.950        .49998E-07    .34984E-04
   3  Prefactor     .10000E-03    35.450       -.12224E-05** at limit **
   4  Prefactor     .10000E-03    17.855        .32283E-06** at limit **
   5  Prefactor     .10000E-03    7.3460       -.19262E-06** at limit **
   6  Prefactor     .10000E-03    13.945        .45027E-06** at limit **
   7  Prefactor     .10000E-03    10.272       -.40169E-05** at limit **
   8  Prefactor     2.8208        7.0296        .12879E-05    .23841E-03
   9  norm          .10000E-03    18.382        .10554E-06** at limit **
  10  Prefactor     .10000E-03    34.483       -.87405E-07** at limit **
  11  Prefactor     36.760        130.14       -.66766E-07    .63709E-05
  12  Prefactor     .10000E-03    5.8622       -.64796E-08** at limit **
  13  Prefactor     .10000E-03    300.10       -.21755E-05** at limit **
  14  Prefactor     7.3820        23.424        .59236E-06    .49426E-05
  15  Prefactor     .10000E-03    129.56        .12194E-05** at limit **
  16  Prefactor     11.952        21.416        .18961E-06   -.25338E-04
  17  Prefactor     .10000E-03    23.840       -.76331E-06** at limit **
  18  Prefactor     .10000E-03    7.6962        .23656E-06** at limit **
  19  norm          .10000E-03    8.2453       -.18763E-06** at limit **
  20  norm          .10000E-03    4.2346       -.17421E-07** at limit **
  21  norm          .10000E-03    3.0336        .14305E-08** at limit **
  22  norm          1.7198        13.842        .25680E-05    .13053E-03
  23  Prefactor     35.253        12.657        .32571E-06    .19557E-03
  24  Prefactor     .10000E-03    19.065       -.39815E-06** at limit **
  25  norm          .10000E-03    2.6167        .42697E-08** at limit **
  26  Prefactor     .10000E-03    32.235        .93458E-06** at limit **
  27  norm          .10000E-03    .61436       -.72936E-09** at limit **
  28  norm          .10000E-03    1.3194        .94472E-08** at limit **
  29  Prefactor     .10141E-03    25.199       -.33306E-05** at limit **
  30  Prefactor     .10000E-03    2.1101       -.77178E-07** at limit **
  31  Prefactor     .10000E-03    10.875        .33688E-06** at limit **
  32  norm          19.501        32.309       -.16472E-05   -.20124E-04
  33  Prefactor     2.1288        7.6114        .24236E-05    .38227E-03
  34  Prefactor     .10000E-03    3.0615        .32828E-07** at limit **
  35  Normalizat    .90795        .23137       -.12938E-05    .19163E-03
  36  Prefactor     1.1815        .24843       -.31012E-06    .11586E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Prefactor  = 10.0648
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100005
  Prefactor  = 2.82082
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.7599
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 7.38201
  Prefactor  = 0.000100004
  Prefactor  = 11.9521
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.7198
  Prefactor  = 35.253
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000101414
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 19.501
  Prefactor  = 2.12882
  Prefactor  = 0.0001
  Normalizat = 0.907952
  Prefactor  = 1.18149
 **********
 **   18 **HESSE 
 **********

 FCN=   3629.653     FROM HESSE     STATUS=OK           801 CALLS     6871 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    29.089        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.065        23.924        .12629E-03   -1.5073    
   3  Prefactor     .10000E-03    35.989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    18.181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.4209        .15943E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    14.046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.334        .27951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.8208        7.1493        .24162E-03   -1.5372    
   9  norm          .10000E-03    18.389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    35.265        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     36.760        129.96        .66109E-04   -1.4495    
  12  Prefactor     .10000E-03    5.8643        .14247E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    302.84        .20949E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.3820        23.255        .14743E-03   -1.5165    
  15  Prefactor     .10000E-03    130.25        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.952        21.389        .11586E-03   -1.5016    
  17  Prefactor     .10000E-03    24.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.7226        .16347E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    8.2694        .16911E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    4.2410        .12107E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    3.0399        .10248E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.7198        14.262        .32037E-03   -1.5446    
  23  Prefactor     35.253        12.624        .67495E-04   -1.4520    
  24  Prefactor     .10000E-03    19.146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    2.6410        .95147E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    32.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    .62761        .46044E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    1.3208        .67583E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10141E-03    24.563        .77492E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    2.1313        .85357E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    10.932        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          19.501        32.322        .90725E-04   -1.4824    
  33  Prefactor     2.1288        7.7858        .25698E-03   -1.5416    
  34  Prefactor     .10000E-03    3.0880        .10280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Normalizat    .90795        .27896        .24742E-03   -.96181    
  36  Prefactor     1.1815        .30266        .24663E-03   -.86903    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98411e-09
Minuit parameter uncertainties:
  1  0.000696543
  2  23.9467
  3  0.000655252
  4  0.000138157
  5  2.99809e-05
  6  0.000178352
  7  0.000480215
  8  7.15144
  9  5.00328e-05
  10  0.000176791
  11  130.984
  12  1.05933e-07
  13  0.0015149
  14  23.2834
  15  0.0014994
  16  21.4027
  17  0.000371792
  18  6.67581e-05
  19  5.32739e-05
  20  2.99782e-06
  21  8.38055e-07
  22  9.90818
  23  12.6254
  24  0.000171098
  25  2.0303e-06
  26  0.000480136
  27  1.11282e-07
  28  1.13363e-06
  29  0.0117934
  30  4.9959e-06
  31  0.000116554
  32  32.3514
  33  7.78954
  34  6.63499e-06
  35  0.279407
  36  0.303102
Done.

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

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.000e-04  4.801e-04  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:  1.181e+00  3.031e-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:  9.080e-01  2.794e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/951971/likelihoodResults_616723201_616982401_4FGL_J2329.3-4733_daily_bin1456.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) = 3629.65270063
delta logL = -0.000145366873312

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3629.65255589
delta logL = -6.24907897873e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7670       1.0000          .0000       10.000    
     3 'Normalizat'    .90795       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1815       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=   3629.653     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      293 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10319E-03    .41968        .69770E-01** at limit **
   2  Index         2.6842        7.9413        .50000        .12741E-04
   3  Normalizat    .90795        .97537E-03    .24742E-03   -.78643E-04
   4  Prefactor     1.1815        .10983E-02    .24663E-03   -.25215E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103194
  Index      = 2.68417
  Normalizat = 0.907953
  Prefactor  = 1.18148
 **********
 **   18 **HESSE 
 **********

 FCN=   3629.653     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      324 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10319E-03    57.644        .41933E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6842        7.1284        .50000       -.48156    
   3  Normalizat    .90795        .79563E-02    .98967E-05   -.96181    
   4  Prefactor     1.1815        .89589E-02    .49326E-04   -.86903    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.77253e-10
Minuit parameter uncertainties:
  1  0.0271642
  2  180.612
  3  0.00795636
  4  0.00895886
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/951971': 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) = 3629.65255569
delta logL = -4.2397323341e-07

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.032e-04  2.716e-02  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  2.684e+00  1.806e+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:  1.181e+00  8.959e-03  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  9.080e-01  7.956e-03  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.98e-03', job_status='DONE', photon_flux_upper_limit='1.15e-07', time_completed='2021-09-29 21:19:36.551500', job_id='951971', GAL2='1.18', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1632975576.55', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='-4.24e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1456' AND source_name='4FGL J2329.3-4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:19:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 951971: <4FGL_J2329.3-4733_daily_bin1456> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4733_daily_bin1456 352.339 -47.5558 616723201 616982401 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 :                                   756.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   828 sec.
    Turnaround time :                            829 sec.

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

