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


Performing analysis on: 4FGL_J2328.3-4036_daily_bin1459
RA = 352.082, Dec = -40.6037
tmin = 617500801, tmax = 617760001
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='934681', job_status='RUN', time_executed='2021-09-29 20:41:27.947439', time_epoch_executed='1632973287.95' WHERE source_name='4FGL J2328.3-4036' and cadence='daily' and bin_id='1459'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/934681

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/934681/ft1_4FGL_J2328.3-4036_daily_bin1459.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/934681/ft2_4FGL_J2328.3-4036_daily_bin1459.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/934681/ft1_4FGL_J2328.3-4036_daily_bin1459.fits outfile=/scratch/kocevski/934681/ft1_filteredMKT_4FGL_J2328.3-4036_daily_bin1459.fits ra=352.082 dec=-40.6037 rad=12.0 tmin=617500801.0 tmax=617760001.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 2.62
user 2.42
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/934681/ft2_4FGL_J2328.3-4036_daily_bin1459.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/934681/ft2_4FGL_J2328.3-4036_daily_bin1459.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/934681/ft1_filteredMKT_4FGL_J2328.3-4036_daily_bin1459.fits evtable="EVENTS" outfile="/scratch/kocevski/934681/ft1_filtered_4FGL_J2328.3-4036_daily_bin1459.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.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/934681/ft1_filtered_4FGL_J2328.3-4036_daily_bin1459.fits" evtable="EVENTS" scfile=/scratch/kocevski/934681/ft2_4FGL_J2328.3-4036_daily_bin1459.fits sctable="SC_DATA" outfile=/scratch/kocevski/934681/ltcube_617500801_617760001_4FGL_J2328.3-4036_daily_bin1459.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/934681/ft2_4FGL_J2328.3-4036_daily_bin1459.fits
.....................!
real 12.93
user 12.54
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/934681/ft1_filtered_4FGL_J2328.3-4036_daily_bin1459.fits evtable="EVENTS" scfile=/scratch/kocevski/934681/ft2_4FGL_J2328.3-4036_daily_bin1459.fits sctable="SC_DATA" expcube=/scratch/kocevski/934681/ltcube_617500801_617760001_4FGL_J2328.3-4036_daily_bin1459.fits outfile=/scratch/kocevski/934681/expmap_617500801_617760001_4FGL_J2328.3-4036_daily_bin1459.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/934681/ltcube_617500801_617760001_4FGL_J2328.3-4036_daily_bin1459.fits
.....................!
real 190.73
user 185.52
sys 4.84

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 185 point sources and 0 extended sources

Setting source of interest to:
4FGL J2328.3-4036 @ 352.082 -40.6037

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/934681/ft1_filtered_4FGL_J2328.3-4036_daily_bin1459.fits scfile=/scratch/kocevski/934681/ft2_4FGL_J2328.3-4036_daily_bin1459.fits outfile=/scratch/kocevski/934681/cmap_617500801_617760001_4FGL_J2328.3-4036_daily_bin1459.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.082 yref=-40.6037 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.55
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/934681/ft1_filtered_4FGL_J2328.3-4036_daily_bin1459.fits scfile=/scratch/kocevski/934681/ft2_4FGL_J2328.3-4036_daily_bin1459.fits outfile=/scratch/kocevski/934681/cmap_HighResolution_617500801_617760001_4FGL_J2328.3-4036_daily_bin1459.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.082 yref=-40.6037 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/934681/ft1_filtered_4FGL_J2328.3-4036_daily_bin1459.fits evtable="EVENTS" scfile=/scratch/kocevski/934681/ft2_4FGL_J2328.3-4036_daily_bin1459.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/934681/Model_4FGL_J2328.3-4036_daily_bin1459.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/934681/ft1_filtered_4FGL_J2328.3-4036_daily_bin1459.fits.......................!
real 22.88
user 21.50
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/934681/ft1_filtered_4FGL_J2328.3-4036_daily_bin1459.fits', '/scratch/kocevski/934681/ft2_4FGL_J2328.3-4036_daily_bin1459.fits', expMap='/scratch/kocevski/934681/expmap_617500801_617760001_4FGL_J2328.3-4036_daily_bin1459.fits', expCube='/scratch/kocevski/934681/ltcube_617500801_617760001_4FGL_J2328.3-4036_daily_bin1459.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/934681/Model_4FGL_J2328.3-4036_daily_bin1459.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2328.3-4036'

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  4.981e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
456        alpha:  2.333e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
457         beta:  7.057e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
458           Eb:  7.709e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/934681/ft1_filtered_4FGL_J2328.3-4036_daily_bin1459.fits
Spacecraft file(s): /scratch/kocevski/934681/ft2_4FGL_J2328.3-4036_daily_bin1459.fits
Exposure map: /scratch/kocevski/934681/expmap_617500801_617760001_4FGL_J2328.3-4036_daily_bin1459.fits
Exposure cube: /scratch/kocevski/934681/ltcube_617500801_617760001_4FGL_J2328.3-4036_daily_bin1459.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/934681/Model_4FGL_J2328.3-4036_daily_bin1459.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) = 1784.51891505

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    33.826       1.0000         .10000E-03   10000.    
     3 'Prefactor '    39.249       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.1412       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .28221E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    257.28       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .18411E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10202E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.9479       1.0000         .10000E-03   10000.    
    12 'Prefactor '    129.49       1.0000         .10000E-03   10000.    
    13 'Prefactor '    288.51       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .18003E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    31.010       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10100E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    3.0592       1.0000         .10000E-03   10000.    
    25 'norm      '    1.7369       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    144.78       1.0000         .10000E-03   10000.    
    29 'Prefactor '    1.6551       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .43183E-02   1.0000         .10000E-03   10000.    
    31 'Prefactor '    27.078       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.3436       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .54195       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1784.483     FROM MIGRAD    STATUS=CONVERGED    917 CALLS     4647 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    71.965        .14445E-06** at limit **
   2  Prefactor     33.832        35.460        .29143E-05    .49325E-04
   3  Prefactor     39.255        60.752        .12656E-05   -.16711E-05
   4  Prefactor     .10000E-03    13.448        .23874E-07** at limit **
   5  Prefactor     7.1398        7.3994       -.14738E-07    .15529E-04
   6  Prefactor     .10000E-03    10.314       -.65115E-07** at limit **
   7  Prefactor     .10001E-03    474.42       -.23562E-04** at limit **
   8  Prefactor     257.35        174.64       -.27108E-05    .19091E-04
   9  Prefactor     .10000E-03    1510.6       -.25312E-05** at limit **
  10  Prefactor     .10000E-03    100.96        .20613E-05** at limit **
  11  Prefactor     1.9895        90.411        .64871E-05    .60956E-05
  12  Prefactor     129.46        136.97        .13083E-05   -.22676E-05
  13  Prefactor     288.39        237.07        .39758E-05   -.23103E-04
  14  Prefactor     .10000E-03    41.456       -.99745E-06** at limit **
  15  norm          .10000E-03    10.951       -.90486E-07** at limit **
  16  norm          .10000E-03    4.5052        .52042E-09** at limit **
  17  norm          .10002E-03    13.664        .59256E-06** at limit **
  18  norm          .10000E-03    6.9799       -.43410E-07** at limit **
  19  Prefactor     .10000E-03    5.5048       -.70549E-07** at limit **
  20  Prefactor     30.762        119.99        .17092E-04    .69312E-05
  21  Prefactor     .10000E-03    47.247        .18902E-05** at limit **
  22  norm          .10000E-03    8.2554       -.93653E-06** at limit **
  23  Prefactor     .10000E-03    17.917       -.20914E-06** at limit **
  24  norm          3.0590        2.2433        .13406E-07    .34800E-04
  25  norm          1.7449        11.147       -.36923E-05   -.79041E-04
  26  Prefactor     .10000E-03    5.1445        .42030E-06** at limit **
  27  Prefactor     .10000E-03    30.930       -.29237E-07** at limit **
  28  Prefactor     144.76        145.73        .70299E-07   -.46676E-05
  29  Prefactor     1.6537        26.476        .90779E-05   -.28569E-04
  30  Prefactor     .10016E-03    6.7242       -.19029E-06** at limit **
  31  Prefactor     27.074        118.38       -.28737E-05   -.15635E-05
  32  Normalizat    1.3441        .36512        .31949E-05    .13000E-03
  33  Prefactor     .54168        .37942       -.73643E-05    .56424E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 33.8322
  Prefactor  = 39.2551
  Prefactor  = 0.0001
  Prefactor  = 7.13984
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 257.347
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 1.98948
  Prefactor  = 129.461
  Prefactor  = 288.386
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.000100022
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.7616
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.05896
  norm       = 1.74486
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 144.762
  Prefactor  = 1.6537
  Prefactor  = 0.000100156
  Prefactor  = 27.074
  Normalizat = 1.34411
  Prefactor  = 0.541684
 **********
 **   18 **HESSE 
 **********

 FCN=   1784.483     FROM HESSE     STATUS=OK           687 CALLS     5334 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    71.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     33.832        34.412        .68899E-04   -1.4544    
   3  Prefactor     39.255        60.700        .63979E-04   -1.4454    
   4  Prefactor     .10000E-03    13.448        .15133E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.1398        7.4147        .11342E-03   -1.5173    
   6  Prefactor     .10000E-03    10.352        .13250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    470.15        .21415E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     257.35        174.17        .12632E-03   -1.2486    
   9  Prefactor     .10000E-03    1526.3        .18230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    101.21        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.9895        89.167        .29737E-03   -1.5426    
  12  Prefactor     129.46        136.64        .35381E-04   -1.3427    
  13  Prefactor     288.39        235.83        .11948E-03   -1.2295    
  14  Prefactor     .10000E-03    41.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    10.953        .13656E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.5055        .87580E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10002E-03    67.225        .29752E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    6.9830        .10901E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.5114        .96803E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     30.762        120.68        .71952E-04   -1.4598    
  21  Prefactor     .10000E-03    47.190        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    8.3092        .11845E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    17.957        .17468E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          3.0590        2.2425        .51584E-04   -1.5358    
  25  norm          1.7449        10.788        .23666E-03   -1.5444    
  26  Prefactor     .10000E-03    8.6375        .18438E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    31.012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     144.76        145.76        .16743E-03   -1.3296    
  29  Prefactor     1.6537        27.797        .16403E-02   -1.5451    
  30  Prefactor     .10016E-03    70.121        .19872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     27.074        118.28        .76987E-04   -1.4667    
  32  Normalizat    1.3441        .42769        .22384E-03   -.82259    
  33  Prefactor     .54168        .42367        .35461E-03   -1.1010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.7404e-09
Minuit parameter uncertainties:
  1  5.30683e-06
  2  34.4322
  3  60.7962
  4  1.14682e-07
  5  7.41569
  6  1.52988e-05
  7  0.00402394
  8  174.528
  9  0.00516487
  10  0.000288819
  11  26.6798
  12  136.98
  13  236.62
  14  4.5577e-05
  15  1.01666e-05
  16  4.45353e-08
  17  0.00243745
  18  8.42005e-06
  19  7.67587e-06
  20  121.651
  21  0.000148417
  22  9.66059e-05
  23  4.68299e-05
  24  2.24254
  25  8.67935
  26  3.31576e-05
  27  3.71766e-05
  28  146.127
  29  13.5668
  30  0.00661676
  31  113.559
  32  0.428826
  33  0.426188
Done.

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

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  1.000e-04  9.661e-05  1.000e-04  1.000e+04 ( 1.000e-12)
456        alpha:  2.333e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
457         beta:  7.057e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
458           Eb:  7.709e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
587    Prefactor:  5.417e-01  4.262e-01  0.000e+00  1.000e+01 ( 1.000e+00)
588        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
589        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
586   Normalization:  1.344e+00  4.288e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 352.082 -40.604
Photon Flux Upper Limit: 1.87e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.53e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/934681/likelihoodResults_617500801_617760001_4FGL_J2328.3-4036_daily_bin1459.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) = 1784.48331716
delta logL = -0.000570972993501

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1784.48274617
delta logL = 1.83767951967e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3482       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3441       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .54168       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1784.483     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      199 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.3193        .90712E-02** at limit **
   2  alpha         2.3643        3.5508        .41248       -.97799E-05
   3  Normalizat    1.3441        .33175        .50629E-01    .29905E-04
   4  Prefactor     .54168        .34846        .80064E-01    .23024E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.36429
  Normalizat = 1.34411
  Prefactor  = 0.541684
 **********
 **   18 **HESSE 
 **********

 FCN=   1784.483     FROM HESSE     STATUS=OK            29 CALLS      228 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.4567        .11966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3643        3.5193        .16499       -.54311E-01
   3  Normalizat    1.3441        .38130        .22383E-03   -.82259    
   4  Prefactor     .54168        .39929        .35462E-03   -1.1010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0517e-10
Minuit parameter uncertainties:
  1  4.81813e-05
  2  2.49695
  3  0.382101
  4  0.401391
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/934681': 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) = 1784.48274607
delta logL = 1.22448454931e-07

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  1.000e-04  4.818e-05  1.000e-04  1.000e+04 ( 1.000e-12)
456        alpha:  2.364e+00  2.497e+00  0.000e+00  5.000e+00 ( 1.000e+00)
457         beta:  7.057e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
458           Eb:  7.709e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
587    Prefactor:  5.417e-01  4.014e-01  0.000e+00  1.000e+01 ( 1.000e+00)
588        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
589        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
586   Normalization:  1.344e+00  3.821e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 352.082 -40.604

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/934681/cmap_HighResolution_617500801_617760001_4FGL_J2328.3-4036_daily_bin1459.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.53e-05', job_status='DONE', photon_flux_upper_limit='1.87e-07', time_completed='2021-09-29 20:49:49.599781', job_id='934681', GAL2='0.54', fit_tolerance='1e-08', EG2='1.34', EG='1.34', time_epoch_completed='1632973789.6', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.54', dlogl='1.22e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='1459' AND source_name='4FGL J2328.3-4036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:49:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 934681: <4FGL_J2328.3-4036_daily_bin1459> in cluster <slac> Done

Job <4FGL_J2328.3-4036_daily_bin1459> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 20:40:31 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:40: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 20:40:32 2021
Terminated at Wed Sep 29 20:49:52 2021
Results reported at Wed Sep 29 20:49:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2328.3-4036_daily_bin1459 352.082 -40.6037 617500801 617760001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2328.3-4036 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   490.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             305.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   559 sec.
    Turnaround time :                            561 sec.

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

