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


Performing analysis on: 4FGL_J2328.3-4036_daily_bin1573
RA = 352.082, Dec = -40.6037
tmin = 647049601, tmax = 647308801
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='934983', job_status='RUN', time_executed='2021-09-29 20:41:21.538202', time_epoch_executed='1632973281.54' WHERE source_name='4FGL J2328.3-4036' and cadence='daily' and bin_id='1573'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/934983

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/934983/ft1_4FGL_J2328.3-4036_daily_bin1573.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/934983/ft2_4FGL_J2328.3-4036_daily_bin1573.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/934983/ft1_4FGL_J2328.3-4036_daily_bin1573.fits outfile=/scratch/kocevski/934983/ft1_filteredMKT_4FGL_J2328.3-4036_daily_bin1573.fits ra=352.082 dec=-40.6037 rad=12.0 tmin=647049601.0 tmax=647308801.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.60
user 3.38
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/934983/ft2_4FGL_J2328.3-4036_daily_bin1573.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/934983/ft1_filteredMKT_4FGL_J2328.3-4036_daily_bin1573.fits evtable="EVENTS" outfile="/scratch/kocevski/934983/ft1_filtered_4FGL_J2328.3-4036_daily_bin1573.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/934983/ft1_filtered_4FGL_J2328.3-4036_daily_bin1573.fits" evtable="EVENTS" scfile=/scratch/kocevski/934983/ft2_4FGL_J2328.3-4036_daily_bin1573.fits sctable="SC_DATA" outfile=/scratch/kocevski/934983/ltcube_647049601_647308801_4FGL_J2328.3-4036_daily_bin1573.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/934983/ft2_4FGL_J2328.3-4036_daily_bin1573.fits
.....................!
real 11.58
user 11.24
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/934983/ft1_filtered_4FGL_J2328.3-4036_daily_bin1573.fits evtable="EVENTS" scfile=/scratch/kocevski/934983/ft2_4FGL_J2328.3-4036_daily_bin1573.fits sctable="SC_DATA" expcube=/scratch/kocevski/934983/ltcube_647049601_647308801_4FGL_J2328.3-4036_daily_bin1573.fits outfile=/scratch/kocevski/934983/expmap_647049601_647308801_4FGL_J2328.3-4036_daily_bin1573.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/934983/ltcube_647049601_647308801_4FGL_J2328.3-4036_daily_bin1573.fits
.....................!
real 192.11
user 187.83
sys 3.97

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/934983/ft1_filtered_4FGL_J2328.3-4036_daily_bin1573.fits scfile=/scratch/kocevski/934983/ft2_4FGL_J2328.3-4036_daily_bin1573.fits outfile=/scratch/kocevski/934983/cmap_647049601_647308801_4FGL_J2328.3-4036_daily_bin1573.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/934983/ft1_filtered_4FGL_J2328.3-4036_daily_bin1573.fits scfile=/scratch/kocevski/934983/ft2_4FGL_J2328.3-4036_daily_bin1573.fits outfile=/scratch/kocevski/934983/cmap_HighResolution_647049601_647308801_4FGL_J2328.3-4036_daily_bin1573.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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/934983/ft1_filtered_4FGL_J2328.3-4036_daily_bin1573.fits evtable="EVENTS" scfile=/scratch/kocevski/934983/ft2_4FGL_J2328.3-4036_daily_bin1573.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/934983/Model_4FGL_J2328.3-4036_daily_bin1573.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/934983/ft1_filtered_4FGL_J2328.3-4036_daily_bin1573.fits....................!
real 38.38
user 37.16
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/934983/ft1_filtered_4FGL_J2328.3-4036_daily_bin1573.fits', '/scratch/kocevski/934983/ft2_4FGL_J2328.3-4036_daily_bin1573.fits', expMap='/scratch/kocevski/934983/expmap_647049601_647308801_4FGL_J2328.3-4036_daily_bin1573.fits', expCube='/scratch/kocevski/934983/ltcube_647049601_647308801_4FGL_J2328.3-4036_daily_bin1573.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/934983/Model_4FGL_J2328.3-4036_daily_bin1573.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/934983/ft1_filtered_4FGL_J2328.3-4036_daily_bin1573.fits
Spacecraft file(s): /scratch/kocevski/934983/ft2_4FGL_J2328.3-4036_daily_bin1573.fits
Exposure map: /scratch/kocevski/934983/expmap_647049601_647308801_4FGL_J2328.3-4036_daily_bin1573.fits
Exposure cube: /scratch/kocevski/934983/ltcube_647049601_647308801_4FGL_J2328.3-4036_daily_bin1573.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/934983/Model_4FGL_J2328.3-4036_daily_bin1573.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) = 4860.26638802

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16390E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.1946       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.8239       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10266E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    29.596       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.1550       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.3507       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.662       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.3801       1.0000         .10000E-03   10000.    
    12 'Prefactor '    32.850       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10498E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    38.548       1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10067E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.371       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    19.037       1.0000         .10000E-03   10000.    
    22 'norm      '    6.9530       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.8653       1.0000         .10000E-03   10000.    
    24 'norm      '    .55104       1.0000         .10000E-03   10000.    
    25 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10754E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10500E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    2.8817       1.0000         .10000E-03   10000.    
    30 'Prefactor '    3.1226       1.0000         .10000E-03   10000.    
    31 'Prefactor '    29.983       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.0993       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .64047       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4860.253     FROM MIGRAD    STATUS=CONVERGED   1622 CALLS     5322 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10006E-03    60.263        .15081    ** at limit **
   2  Prefactor     9.1965        16.509        .13217E-03    .15483E-04
   3  Prefactor     7.8306        45.197        .14335E-03    .42031E-05
   4  Prefactor     .10000E-03    25.769        .18142E-02** at limit **
   5  Prefactor     29.595        9.8638        .73646E-04   -.22075E-04
   6  Prefactor     1.1509        7.4726        .33906E-03    .20722E-04
   7  Prefactor     4.3825        158.63        .19311E-03    .95371E-05
   8  Prefactor     .10000E-03    6.3864        .17206E-02** at limit **
   9  Prefactor     .10000E-03    9.8551        .18142E-02** at limit **
  10  Prefactor     13.666        15.496        .10837E-03    .10491E-04
  11  Prefactor     2.3803        4.5596        .20002E-03    .25292E-04
  12  Prefactor     32.907        42.213        .69913E-04    .36067E-04
  13  Prefactor     .10000E-03    30.838        .18142E-02** at limit **
  14  Prefactor     38.561        21.148        .64556E-04    .26631E-03
  15  norm          .10000E-03    3.9878        .13596E-02** at limit **
  16  norm          .10000E-03    3.7219        .13094E-02** at limit **
  17  norm          .10000E-03    2.9964        .11730E-02** at limit **
  18  norm          .10000E-03    8.6645        .18142E-02** at limit **
  19  Prefactor     12.370        8.1242        .11389E-03    .34039E-04
  20  Prefactor     .10000E-03    11.901        .18142E-02** at limit **
  21  Prefactor     19.040        36.947        .91796E-04   -.14119E-04
  22  norm          6.9535        4.5890        .11560E-03    .11507E-04
  23  Prefactor     1.8718        27.731        .30504E-03    .41220E-04
  24  norm          .54985        .96843        .94782E-03   -.38373E-03
  25  norm          .10000E-03    3.4175        .24798E-03** at limit **
  26  Prefactor     .10001E-03    10.951        .19225E-02** at limit **
  27  Prefactor     .10000E-03    17.235        .18142E-02** at limit **
  28  Prefactor     .10000E-03    28.170        .18142E-02** at limit **
  29  Prefactor     2.8810        3.4583        .13722E-03   -.29825E-05
  30  Prefactor     3.1230        3.7976        .14130E-03    .22529E-04
  31  Prefactor     30.031        46.058        .73170E-04   -.22063E-04
  32  Normalizat    1.0991        .22384        .21321E-03    .15971E-03
  33  Prefactor     .64060        .23288        .29528E-03    .14708E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100059
  Prefactor  = 9.19653
  Prefactor  = 7.83059
  Prefactor  = 0.0001
  Prefactor  = 29.5951
  Prefactor  = 1.15095
  Prefactor  = 4.38245
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.6656
  Prefactor  = 2.3803
  Prefactor  = 32.907
  Prefactor  = 0.0001
  Prefactor  = 38.5606
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 12.37
  Prefactor  = 0.0001
  Prefactor  = 19.0397
  norm       = 6.9535
  Prefactor  = 1.87182
  norm       = 0.549848
  norm       = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.88102
  Prefactor  = 3.12305
  Prefactor  = 30.0311
  Normalizat = 1.09914
  Prefactor  = 0.6406
 **********
 **   18 **HESSE 
 **********

 FCN=   4860.253     FROM HESSE     STATUS=OK           673 CALLS     5995 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10006E-03    60.363        .15063       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.1965        16.508        .52869E-05   -1.5101    
   3  Prefactor     7.8306        45.201        .57342E-05   -1.5148    
   4  Prefactor     .10000E-03    25.772        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     29.595        9.8636        .29458E-05   -1.4619    
   6  Prefactor     1.1509        7.4550        .13562E-04   -1.5493    
   7  Prefactor     4.3825        158.41        .77244E-05   -1.5289    
   8  Prefactor     .10000E-03    6.3864        .34412E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.8555        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.666        15.496        .43347E-05   -1.4968    
  11  Prefactor     2.3803        4.5593        .80010E-05   -1.5399    
  12  Prefactor     32.907        42.213        .13983E-04   -1.4560    
  13  Prefactor     .10000E-03    30.839        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     38.561        21.133        .12911E-04   -1.4465    
  15  norm          .10000E-03    3.9879        .27191E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.7223        .26187E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.9968        .23460E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    8.6721        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.370        8.1154        .45556E-05   -1.5004    
  20  Prefactor     .10000E-03    11.901        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     19.040        36.944        .36718E-05   -1.4835    
  22  norm          6.9535        4.5887        .46239E-05   -1.5181    
  23  Prefactor     1.8718        27.651        .12202E-04   -1.5434    
  24  norm          .54985        .96672        .37913E-04   -1.5560    
  25  norm          .10000E-03    3.4175        .49597E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10001E-03    11.031        .38450E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    17.238        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    28.171        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     2.8810        3.4583        .54889E-05   -1.5368    
  30  Prefactor     3.1230        3.7973        .56518E-05   -1.5355    
  31  Prefactor     30.031        46.068        .29268E-05   -1.4611    
  32  Normalizat    1.0991        .22400        .42642E-04   -.89779    
  33  Prefactor     .64060        .23309        .11811E-04   -1.0590    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.81313e-10
Minuit parameter uncertainties:
  1  0.00378065
  2  16.5163
  3  37.6703
  4  6.30878e-05
  5  9.86416
  6  5.85923
  7  52.8481
  8  1.61259e-06
  9  1.98193e-05
  10  15.5008
  11  4.56001
  12  42.2514
  13  4.33966e-05
  14  21.1369
  15  8.06803e-07
  16  1.1978e-05
  17  1.4749e-07
  18  5.55978e-06
  19  8.11616
  20  1.32941e-05
  21  36.9879
  22  4.58897
  23  14.3962
  24  0.966743
  25  1.58153e-06
  26  0.000494363
  27  4.70552e-05
  28  2.97251e-05
  29  3.45851
  30  3.79761
  31  46.1222
  32  0.22419
  33  0.233444
Done.

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

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  6.953e+00  4.589e+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

GAL_V02
   Spectrum: PowerLaw
587    Prefactor:  6.406e-01  2.334e-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.099e+00  2.242e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.45
Ra Dec: 352.082 -40.604
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 5.25e-08 +/- 3.46e-08
Energy Flux (Fixed Index): 1.84e-05 +/- 1.21e-05

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) = 4860.24653372
delta logL = 0.00695733944031

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4860.24454205
delta logL = 0.00894900905041

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.2240       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2381       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1051       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63621       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=   4860.245     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      207 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.2240        120.75        .37309E-02   -.22201E-03
   2  alpha         2.2381        3.0000        .39228        .13043E-04
   3  Normalizat    1.1051        .12041        .37798E-01    .40257E-05
   4  Prefactor     .63620        .85515E-01    .66939E-01    .20456E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.22402
  alpha      = 2.23809
  Normalizat = 1.10506
  Prefactor  = 0.636201
 **********
 **   18 **HESSE 
 **********

 FCN=   4860.245     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.2240        5.1637        .11944E-03   -1.5170    
   2  alpha         2.2381        .69805        .13481E-01   -.10496    
   3  Normalizat    1.1051        .21333        .21271E-03   -.89589    
   4  Prefactor     .63620        .22865        .29622E-03   -1.0608    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19999e-11
Minuit parameter uncertainties:
  1  5.16404
  2  0.707562
  3  0.2135
  4  0.228985
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/934983': 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) = 4860.24454205
delta logL = 0.00894900974436

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  7.224e+00  5.164e+00  1.000e-04  1.000e+04 ( 1.000e-12)
456        alpha:  2.238e+00  7.076e-01  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:  6.362e-01  2.290e-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.105e+00  2.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.44
Ra Dec: 352.082 -40.604
Photon Index (Free Index): 2.24 +/- 0.71
Photon Flux (Free Index): 4.86e-08 +/- 4.28e-08
Energy Flux (Free Index): 1.91e-05 +/- 1.45e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/934983/cmap_HighResolution_647049601_647308801_4FGL_J2328.3-4036_daily_bin1573.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.25e-08', energy_flux2='1.91e-05', photon_flux_error='3.46e-08', dlogl='8.95e-03', energy_flux='1.84e-05', photon_flux2='4.86e-08', job_status='DONE', time_completed='2021-09-29 20:53:52.069945', photon_index_error2='0.71', photon_index2='2.24', ts='4.45', fit_tolerance='1e-08', GAL='0.64', photon_index_error='0.00', energy_flux_error2='1.45e-05', EG='1.10', time_epoch_completed='1632974032.07', return_code='0', job_id='934983', GAL2='0.64', EG2='1.11', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='4.28e-08', ts2='4.44', photon_index='2.33' WHERE bin_id='1573' AND source_name='4FGL J2328.3-4036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:53:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 934983: <4FGL_J2328.3-4036_daily_bin1573> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2328.3-4036_daily_bin1573 352.082 -40.6037 647049601 647308801 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 :                                   746.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             293.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   786 sec.
    Turnaround time :                            790 sec.

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

