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


Performing analysis on: 4FGL_J2328.3-4036_daily_bin1183
RA = 352.082, Dec = -40.6037
tmin = 545961601, tmax = 546220801
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='929885', job_status='RUN', time_executed='2021-09-29 20:35:39.829126', time_epoch_executed='1632972939.83' WHERE source_name='4FGL J2328.3-4036' and cadence='daily' and bin_id='1183'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/929885

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/929885/ft1_4FGL_J2328.3-4036_daily_bin1183.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/929885/ft2_4FGL_J2328.3-4036_daily_bin1183.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/929885/ft1_4FGL_J2328.3-4036_daily_bin1183.fits outfile=/scratch/kocevski/929885/ft1_filteredMKT_4FGL_J2328.3-4036_daily_bin1183.fits ra=352.082 dec=-40.6037 rad=12.0 tmin=545961601.0 tmax=546220801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.42
user 3.82
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/929885/ft1_filtered_4FGL_J2328.3-4036_daily_bin1183.fits" evtable="EVENTS" scfile=/scratch/kocevski/929885/ft2_4FGL_J2328.3-4036_daily_bin1183.fits sctable="SC_DATA" outfile=/scratch/kocevski/929885/ltcube_545961601_546220801_4FGL_J2328.3-4036_daily_bin1183.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/929885/ft2_4FGL_J2328.3-4036_daily_bin1183.fits
.....................!
real 12.02
user 11.63
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/929885/ft1_filtered_4FGL_J2328.3-4036_daily_bin1183.fits evtable="EVENTS" scfile=/scratch/kocevski/929885/ft2_4FGL_J2328.3-4036_daily_bin1183.fits sctable="SC_DATA" expcube=/scratch/kocevski/929885/ltcube_545961601_546220801_4FGL_J2328.3-4036_daily_bin1183.fits outfile=/scratch/kocevski/929885/expmap_545961601_546220801_4FGL_J2328.3-4036_daily_bin1183.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/929885/ltcube_545961601_546220801_4FGL_J2328.3-4036_daily_bin1183.fits
.....................!
real 190.50
user 185.83
sys 4.30

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/929885/ft1_filtered_4FGL_J2328.3-4036_daily_bin1183.fits scfile=/scratch/kocevski/929885/ft2_4FGL_J2328.3-4036_daily_bin1183.fits outfile=/scratch/kocevski/929885/cmap_545961601_546220801_4FGL_J2328.3-4036_daily_bin1183.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/929885/ft1_filtered_4FGL_J2328.3-4036_daily_bin1183.fits scfile=/scratch/kocevski/929885/ft2_4FGL_J2328.3-4036_daily_bin1183.fits outfile=/scratch/kocevski/929885/cmap_HighResolution_545961601_546220801_4FGL_J2328.3-4036_daily_bin1183.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/929885/ft1_filtered_4FGL_J2328.3-4036_daily_bin1183.fits evtable="EVENTS" scfile=/scratch/kocevski/929885/ft2_4FGL_J2328.3-4036_daily_bin1183.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/929885/Model_4FGL_J2328.3-4036_daily_bin1183.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/929885/ft1_filtered_4FGL_J2328.3-4036_daily_bin1183.fits....................!
real 53.09
user 51.74
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.212       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.7010       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.7429       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.7799       1.0000         .10000E-03   10000.    
     7 'Prefactor '    57.929       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .81831       1.0000         .10000E-03   10000.    
     9 'Prefactor '    53.028       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    84.836       1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.959       1.0000         .10000E-03   10000.    
    15 'norm      '    17.430       1.0000         .10000E-03   10000.    
    16 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    6.2739       1.0000         .10000E-03   10000.    
    18 'norm      '    11.555       1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.790       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.4236       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .37632E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    7.3584       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .62770E-02   1.0000         .10000E-03   10000.    
    24 'norm      '    .10519E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    11.615       1.0000         .10000E-03   10000.    
    26 'Prefactor '    5.9919       1.0000         .10000E-03   10000.    
    27 'Prefactor '    1.7876       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    7.9233       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .75469       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.1014       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .85439       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=   7490.710     FROM MIGRAD    STATUS=CONVERGED    909 CALLS     4663 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.555       -.22012E-06** at limit **
   2  Prefactor     11.219        16.119       -.37913E-06   -.77237E-04
   3  Prefactor     .10000E-03    88.365        .30697E-05** at limit **
   4  Prefactor     3.7028        29.778       -.54099E-06   -.34819E-05
   5  Prefactor     5.7434        6.1215       -.14007E-06   -.12011E-04
   6  Prefactor     7.7806        4.1098       -.58708E-06   -.38629E-03
   7  Prefactor     57.934        41.106        .42517E-06    .13533E-04
   8  Prefactor     .87265        46.842        .55951E-05    .33509E-03
   9  Prefactor     53.028        28.242       -.10426E-06    .11897E-03
  10  Prefactor     .10000E-03    4.2553       -.19104E-07** at limit **
  11  Prefactor     .10000E-03    2.5890       -.62164E-07** at limit **
  12  Prefactor     .10000E-03    22.535       -.30964E-06** at limit **
  13  Prefactor     84.837        65.320       -.17621E-06    .33899E-04
  14  Prefactor     18.962        12.424        .55026E-07   -.62666E-04
  15  norm          17.433        11.892       -.67576E-07   -.29418E-04
  16  norm          .10000E-03    2.8463        .63684E-07** at limit **
  17  norm          6.2740        4.4762       -.17002E-06    .24126E-04
  18  norm          11.548        8.1612        .95371E-07    .12197E-03
  19  Prefactor     15.800        7.3727       -.70056E-06   -.43322E-03
  20  Prefactor     7.4269        47.579       -.48499E-06   -.86176E-05
  21  Prefactor     .10000E-03    213.85       -.28147E-05** at limit **
  22  norm          7.3584        4.9105        .66166E-07   -.43735E-04
  23  Prefactor     .10108E-03    17.999       -.30845E-05** at limit **
  24  norm          .10000E-03    .43564        .18935E-06** at limit **
  25  norm          11.616        5.7778        .43754E-07   -.14169E-04
  26  Prefactor     5.9928        4.1101       -.65851E-06   -.52913E-03
  27  Prefactor     1.7950        81.261       -.34412E-05   -.96436E-04
  28  Prefactor     .10000E-03    22.213        .87051E-06** at limit **
  29  Prefactor     7.9210        6.2031       -.19939E-06    .15308E-03
  30  Prefactor     .10000E-03    1.1073       -.63764E-07** at limit **
  31  Prefactor     .64698        78.657       -.10299E-04    .20336E-03
  32  Normalizat    1.1014        .17425        .30314E-06    .12196E-03
  33  Prefactor     .85420        .17976        .68324E-06    .13737E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 11.2188
  Prefactor  = 0.000100001
  Prefactor  = 3.70279
  Prefactor  = 5.7434
  Prefactor  = 7.78059
  Prefactor  = 57.934
  Prefactor  = 0.872654
  Prefactor  = 53.0282
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 84.8367
  Prefactor  = 18.9617
  norm       = 17.433
  norm       = 0.0001
  norm       = 6.27405
  norm       = 11.5475
  Prefactor  = 15.8002
  Prefactor  = 7.4269
  Prefactor  = 0.0001
  norm       = 7.35837
  Prefactor  = 0.000101083
  norm       = 0.000100001
  norm       = 11.6163
  Prefactor  = 5.99282
  Prefactor  = 1.79502
  Prefactor  = 0.0001
  Prefactor  = 7.92103
  Prefactor  = 0.0001
  Prefactor  = 0.646983
  Normalizat = 1.10139
  Prefactor  = 0.854204
 **********
 **   18 **HESSE 
 **********

 FCN=   7490.710     FROM HESSE     STATUS=OK           715 CALLS     5378 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.219        16.095        .11964E-03   -1.5038    
   3  Prefactor     .10000E-03    88.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.7028        29.047        .20992E-03   -1.5323    
   5  Prefactor     5.7434        6.0468        .16761E-03   -1.5229    
   6  Prefactor     7.7806        4.0655        .60490E-03   -1.5150    
   7  Prefactor     57.934        41.095        .52710E-04   -1.4184    
   8  Prefactor     .87265        57.930        .57237E-02   -1.5521    
   9  Prefactor     53.028        28.100        .55079E-04   -1.4250    
  10  Prefactor     .10000E-03    4.2588        .17436E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.5983        .13598E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    22.695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     84.837        65.346        .43614E-04   -1.3863    
  14  Prefactor     18.962        12.319        .91985E-04   -1.4837    
  15  norm          17.433        11.893        .95932E-04   -1.4873    
  16  norm          .10000E-03    2.8696        .14252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.2740        4.4757        .14644E-03   -1.5207    
  18  norm          11.548        8.1651        .11785E-03   -1.5028    
  19  Prefactor     15.800        7.8126        .10079E-03   -1.4913    
  20  Prefactor     7.4269        46.926        .14720E-03   -1.5163    
  21  Prefactor     .10000E-03    216.58        .21291E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          7.3584        4.8856        .13337E-03   -1.5165    
  23  Prefactor     .10108E-03    15.118        .72134E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    2.2261        .10628E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          11.616        5.7594        .11754E-03   -1.5026    
  26  Prefactor     5.9928        4.0512        .57723E-03   -1.5218    
  27  Prefactor     1.7950        80.148        .31289E-03   -1.5440    
  28  Prefactor     .10000E-03    22.191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     7.9210        6.2057        .14245E-03   -1.5145    
  30  Prefactor     .10000E-03    1.1131        .88856E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .64698        260.64        .80782E-02   -1.5547    
  32  Normalizat    1.1014        .21050        .24638E-03   -.89707    
  33  Prefactor     .85420        .21544        .30049E-03   -.97760    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10142e-08
Minuit parameter uncertainties:
  1  4.65714e-06
  2  16.1014
  3  0.00045836
  4  20.7555
  5  6.04747
  6  4.06566
  7  41.1152
  8  14.2337
  9  28.1068
  10  8.80113e-07
  11  4.06746e-06
  12  8.82828e-06
  13  65.4016
  14  12.3204
  15  11.8948
  16  7.68162e-06
  17  4.47593
  18  8.1659
  19  7.81306
  20  37.3799
  21  0.000392304
  22  4.88584
  23  0.0080957
  24  8.14571e-05
  25  5.75965
  26  4.05139
  27  24.0225
  28  3.25863e-06
  29  6.20621
  30  1.60394e-06
  31  26.0844
  32  0.210664
  33  0.215654
Done.

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

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  7.358e+00  4.886e+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:  8.542e-01  2.157e-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.101e+00  2.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.68
Ra Dec: 352.082 -40.604
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 5.56e-08 +/- 3.69e-08
Energy Flux (Fixed Index): 1.94e-05 +/- 1.29e-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) = 7489.16783956
delta logL = 1.54182314281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7489.04417515
delta logL = 1.66548754932

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7283       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3425       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1378       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83759       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=   7489.044     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      225 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7148        3.4358        .46262E-02   -.40978E-04
   2  alpha         1.3407        .34215        .30631       -.50211E-04
   3  Normalizat    1.1377        .16288        .54983E-01    .88135E-05
   4  Prefactor     .83766        .17818        .68603E-01    .22759E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.71485
  alpha      = 1.34072
  Normalizat = 1.13772
  Prefactor  = 0.837664
 **********
 **   18 **HESSE 
 **********

 FCN=   7489.044     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .38E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7148        4.6566        .12679E-03   -1.5274    
   2  alpha         1.3407        .50315        .12437E-01   -.48218    
   3  Normalizat    1.1377        .19473        .24312E-03   -.88550    
   4  Prefactor     .83766        .21290        .30352E-03   -.98355    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.78718e-12
Minuit parameter uncertainties:
  1  4.657
  2  0.507583
  3  0.194854
  4  0.213109
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/929885': 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) = 7489.0441693
delta logL = 1.66549340109

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  4.715e+00  4.657e+00  1.000e-04  1.000e+04 ( 1.000e-12)
456        alpha:  1.341e+00  5.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:  8.377e-01  2.131e-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.138e+00  1.949e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.07
Ra Dec: 352.082 -40.604
Photon Index (Free Index): 1.34 +/- 0.51
Photon Flux (Free Index): 1.61e-08 +/- 1.65e-08
Energy Flux (Free Index): 4.56e-05 +/- 4.43e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/929885/cmap_HighResolution_545961601_546220801_4FGL_J2328.3-4036_daily_bin1183.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.56e-08', energy_flux2='4.56e-05', photon_flux_error='3.69e-08', dlogl='1.67e+00', energy_flux='1.94e-05', photon_flux2='1.61e-08', job_status='DONE', time_completed='2021-09-29 20:51:08.203577', photon_index_error2='0.51', photon_index2='1.34', ts='11.68', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='4.43e-05', EG='1.10', time_epoch_completed='1632973868.2', return_code='0', job_id='929885', GAL2='0.84', EG2='1.14', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='1.65e-08', ts2='15.07', photon_index='2.33' WHERE bin_id='1183' AND source_name='4FGL J2328.3-4036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:51:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 929885: <4FGL_J2328.3-4036_daily_bin1183> in cluster <slac> Done

Job <4FGL_J2328.3-4036_daily_bin1183> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 20:35:30 2021
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:35:31 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:35:31 2021
Terminated at Wed Sep 29 20:51:11 2021
Results reported at Wed Sep 29 20:51:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2328.3-4036_daily_bin1183 352.082 -40.6037 545961601 546220801 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 :                                   926.29 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             303.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   937 sec.
    Turnaround time :                            941 sec.

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

