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


Performing analysis on: 4FGL_J2329.3-4733_daily_bin1020
RA = 352.339, Dec = -47.5558
tmin = 503712001, tmax = 503971201
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='950296', job_status='RUN', time_executed='2021-09-29 21:02:34.380883', time_epoch_executed='1632974554.38' WHERE source_name='4FGL J2329.3-4733' and cadence='daily' and bin_id='1020'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/950296

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/950296/ft1_4FGL_J2329.3-4733_daily_bin1020.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/950296/ft2_4FGL_J2329.3-4733_daily_bin1020.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/950296/ft1_4FGL_J2329.3-4733_daily_bin1020.fits outfile=/scratch/kocevski/950296/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1020.fits ra=352.339 dec=-47.5558 rad=12.0 tmin=503712001.0 tmax=503971201.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 5.60
user 5.30
sys 0.27

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/950296/ft1_filtered_4FGL_J2329.3-4733_daily_bin1020.fits" evtable="EVENTS" scfile=/scratch/kocevski/950296/ft2_4FGL_J2329.3-4733_daily_bin1020.fits sctable="SC_DATA" outfile=/scratch/kocevski/950296/ltcube_503712001_503971201_4FGL_J2329.3-4733_daily_bin1020.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/950296/ft2_4FGL_J2329.3-4733_daily_bin1020.fits
.....................!
real 11.75
user 11.41
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/950296/ft1_filtered_4FGL_J2329.3-4733_daily_bin1020.fits evtable="EVENTS" scfile=/scratch/kocevski/950296/ft2_4FGL_J2329.3-4733_daily_bin1020.fits sctable="SC_DATA" expcube=/scratch/kocevski/950296/ltcube_503712001_503971201_4FGL_J2329.3-4733_daily_bin1020.fits outfile=/scratch/kocevski/950296/expmap_503712001_503971201_4FGL_J2329.3-4733_daily_bin1020.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/950296/ltcube_503712001_503971201_4FGL_J2329.3-4733_daily_bin1020.fits
.....................!
real 190.29
user 184.88
sys 5.08

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/950296/ft1_filtered_4FGL_J2329.3-4733_daily_bin1020.fits scfile=/scratch/kocevski/950296/ft2_4FGL_J2329.3-4733_daily_bin1020.fits outfile=/scratch/kocevski/950296/cmap_503712001_503971201_4FGL_J2329.3-4733_daily_bin1020.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/950296/ft1_filtered_4FGL_J2329.3-4733_daily_bin1020.fits scfile=/scratch/kocevski/950296/ft2_4FGL_J2329.3-4733_daily_bin1020.fits outfile=/scratch/kocevski/950296/cmap_HighResolution_503712001_503971201_4FGL_J2329.3-4733_daily_bin1020.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.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/950296/ft1_filtered_4FGL_J2329.3-4733_daily_bin1020.fits evtable="EVENTS" scfile=/scratch/kocevski/950296/ft2_4FGL_J2329.3-4733_daily_bin1020.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/950296/Model_4FGL_J2329.3-4733_daily_bin1020.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/950296/ft1_filtered_4FGL_J2329.3-4733_daily_bin1020.fits.....................!
real 27.68
user 26.47
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    59.415       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    41.040       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.2602       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.110       1.0000         .10000E-03   10000.    
    13 'Prefactor '    22.407       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .17908E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    89.158       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    9.8746       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    8.3233       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    1.1620       1.0000         .10000E-03   10000.    
    28 'norm      '    2.9638       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    8.9044       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    34 'Prefactor '    11.454       1.0000         .10000E-03   10000.    
    35 'Normalizat'    1.2463       1.0000         .10000E-01   10.000    
    36 'Prefactor '    .32535       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=   2626.926     FROM MIGRAD    STATUS=CONVERGED    994 CALLS     5301 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.271       -.22168E-06** at limit **
   2  Prefactor     .10000E-03    20.597        .26189E-08** at limit **
   3  Prefactor     .10000E-03    21.428        .17015E-06** at limit **
   4  Prefactor     59.412        35.527        .86379E-07    .13470E-04
   5  Prefactor     .10000E-03    7.9064        .21048E-06** at limit **
   6  Prefactor     41.021        46.358        .41922E-05    .64702E-03
   7  Prefactor     .10000E-03    9.4546       -.64835E-07** at limit **
   8  Prefactor     .10053E-03    25.940       -.79134E-05** at limit **
   9  norm          .10000E-03    36.682       -.82866E-06** at limit **
  10  Prefactor     1.2601        7.9738        .15869E-05    .11358E-03
  11  Prefactor     .10002E-03    159.22       -.45795E-05** at limit **
  12  Prefactor     10.110        9.5339       -.16005E-06    .13539E-04
  13  Prefactor     22.405        41.535        .32141E-05    .13485E-03
  14  Prefactor     .10001E-03    83.271        .46316E-05** at limit **
  15  Prefactor     89.165        151.73        .62335E-05    .75320E-04
  16  Prefactor     .10000E-03    9.0437       -.10106E-06** at limit **
  17  Prefactor     .10000E-03    19.920       -.15492E-06** at limit **
  18  Prefactor     .10000E-03    15.776        .26491E-06** at limit **
  19  norm          .10000E-03    7.4188       -.16255E-06** at limit **
  20  norm          .10000E-03    6.7018        .35262E-07** at limit **
  21  norm          .10000E-03    3.0493        .11167E-06** at limit **
  22  norm          9.8732        11.180        .26517E-06    .57387E-04
  23  Prefactor     .10000E-03    6.2663       -.19037E-07** at limit **
  24  Prefactor     .10000E-03    63.398        .64086E-06** at limit **
  25  norm          8.3219        8.0374        .29201E-10    .23567E-03
  26  Prefactor     .10000E-03    28.957        .91113E-06** at limit **
  27  norm          1.1619        1.9682        .51449E-06    .52017E-03
  28  norm          2.9632        7.7820        .91296E-06    .25756E-03
  29  Prefactor     .10000E-03    61.302       -.26770E-07** at limit **
  30  Prefactor     8.9032        7.3704        .32395E-07    .11310E-03
  31  Prefactor     .10000E-03    34.784       -.15732E-06** at limit **
  32  norm          .10000E-03    18.346       -.26507E-06** at limit **
  33  Prefactor     .10000E-03    2.7093       -.69938E-08** at limit **
  34  Prefactor     11.452        8.2314        .26190E-06    .39604E-03
  35  Normalizat    1.2464        .27865        .16297E-05    .41145E-03
  36  Prefactor     .32531        .28463       -.46611E-05    .14457E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 59.4122
  Prefactor  = 0.0001
  Prefactor  = 41.0205
  Prefactor  = 0.0001
  Prefactor  = 0.000100532
  norm       = 0.000100002
  Prefactor  = 1.2601
  Prefactor  = 0.000100024
  Prefactor  = 10.1102
  Prefactor  = 22.4051
  Prefactor  = 0.000100011
  Prefactor  = 89.1647
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 9.87319
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.32187
  Prefactor  = 0.000100001
  norm       = 1.16187
  norm       = 2.96319
  Prefactor  = 0.0001
  Prefactor  = 8.90323
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.4518
  Normalizat = 1.24639
  Prefactor  = 0.325308
 **********
 **   18 **HESSE 
 **********

 FCN=   2626.926     FROM HESSE     STATUS=OK           797 CALLS     6098 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    20.609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    21.433        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     59.412        35.557        .52050E-04   -1.4165    
   5  Prefactor     .10000E-03    7.9258        .14081E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     41.021        46.930        .62572E-04   -1.4426    
   7  Prefactor     .10000E-03    9.4889        .15393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10053E-03    56.295        .32927E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    37.798        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.2601        7.7973        .25799E-03   -1.5483    
  11  Prefactor     .10002E-03    162.28        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.110        9.5134        .12602E-03   -1.5072    
  13  Prefactor     22.405        41.316        .84619E-04   -1.4761    
  14  Prefactor     .10001E-03    84.067        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     89.165        150.96        .42553E-04   -1.3817    
  16  Prefactor     .10000E-03    9.2389        .15036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    19.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    15.807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    7.4326        .13640E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    6.7101        .12953E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    3.0523        .87287E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          9.8732        11.147        .12752E-03   -1.5079    
  23  Prefactor     .10000E-03    6.2918        .12519E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    63.567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          8.3219        7.9262        .11323E-03   -1.5131    
  26  Prefactor     .10000E-03    29.187        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          1.1619        1.9230        .87984E-04   -1.5492    
  28  norm          2.9632        7.6692        .18820E-03   -1.5364    
  29  Prefactor     .10000E-03    62.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     8.9032        7.3620        .12007E-03   -1.5111    
  31  Prefactor     .10000E-03    34.827        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          .10000E-03    18.362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    2.7105        .82385E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     11.452        8.2479        .11837E-03   -1.5031    
  35  Normalizat    1.2464        .30149        .19753E-03   -.85181    
  36  Prefactor     .32531        .29827        .37088E-03   -1.2081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20902e-08
Minuit parameter uncertainties:
  1  9.63327e-05
  2  1.78766e-06
  3  7.93791e-05
  4  35.5702
  5  5.63995e-05
  6  46.9724
  7  1.75121e-05
  8  0.0109561
  9  0.000478919
  10  6.27008
  11  0.00396611
  12  9.51479
  13  41.3686
  14  0.00193195
  15  151.612
  16  3.0737e-06
  17  6.76285e-05
  18  9.67092e-05
  19  5.04768e-05
  20  9.79998e-06
  21  5.92023e-06
  22  11.1492
  23  1.66087e-05
  24  0.00014208
  25  7.92715
  26  0.000412283
  27  1.92307
  28  7.67174
  29  5.65867e-05
  30  7.36279
  31  9.76059e-05
  32  0.000112734
  33  6.56835e-07
  34  8.24877
  35  0.30191
  36  0.299693
Done.

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

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.000e-04  4.123e-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:  3.253e-01  2.997e-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.246e+00  3.019e-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.42e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.10e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/950296/likelihoodResults_503712001_503971201_4FGL_J2329.3-4733_daily_bin1020.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2626.92574381
delta logL = -0.000163181702646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2626.92558055
delta logL = 7.75708031142e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5870       1.0000          .0000       10.000    
     3 'Normalizat'    1.2464       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .32531       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=   2626.926     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      240 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2138.5        .90712E-02** at limit **
   2  Index         2.6029        5.7520        .50000       -.49083E-05
   3  Normalizat    1.2464        .56025E-01    .33841E-01   -.41704E-05
   4  Prefactor     .32531        .56495E-01    .83711E-01    .30288E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.60291
  Normalizat = 1.24639
  Prefactor  = 0.325311
 **********
 **   18 **HESSE 
 **********

 FCN=   2626.926     FROM HESSE     STATUS=OK            33 CALLS      273 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    58.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6029        6.1787        .50000       -.49999    
   3  Normalizat    1.2464        .28491        .19753E-03   -.85181    
   4  Prefactor     .32531        .28619        .37087E-03   -1.2081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41734e-11
Minuit parameter uncertainties:
  1  0.000138607
  2  6.07928
  3  0.285272
  4  0.287448
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/950296': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2626.92558053
delta logL = 9.71658664639e-08

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.000e-04  1.386e-04  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  2.603e+00  6.079e+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:  3.253e-01  2.874e-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.246e+00  2.853e-01  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/950296/cmap_HighResolution_503712001_503971201_4FGL_J2329.3-4733_daily_bin1020.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', job_status='DONE', photon_flux_upper_limit='1.42e-07', time_completed='2021-09-29 21:13:18.818881', job_id='950296', GAL2='0.33', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1632975198.82', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.33', dlogl='9.72e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1020' AND source_name='4FGL J2329.3-4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:13:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0156>
Subject: Job 950296: <4FGL_J2329.3-4733_daily_bin1020> in cluster <slac> Done

Job <4FGL_J2329.3-4733_daily_bin1020> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 21:00:31 2021
Job was executed on host(s) <bullet0156>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 21:00:32 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:00:32 2021
Terminated at Wed Sep 29 21:13:19 2021
Results reported at Wed Sep 29 21:13:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4733_daily_bin1020 352.339 -47.5558 503712001 503971201 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 :                                   614.11 sec.
    Max Memory :                                 1130 MB
    Average Memory :                             252.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   767 sec.
    Turnaround time :                            768 sec.

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

