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


Performing analysis on: 4FGL_J2328.3-4036_daily_bin1139
RA = 352.082, Dec = -40.6037
tmin = 534556801, tmax = 534816001
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='929755', job_status='RUN', time_executed='2021-09-29 20:37:34.529188', time_epoch_executed='1632973054.53' WHERE source_name='4FGL J2328.3-4036' and cadence='daily' and bin_id='1139'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/929755

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/929755/ft1_4FGL_J2328.3-4036_daily_bin1139.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/929755/ft2_4FGL_J2328.3-4036_daily_bin1139.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/929755/ft1_4FGL_J2328.3-4036_daily_bin1139.fits outfile=/scratch/kocevski/929755/ft1_filteredMKT_4FGL_J2328.3-4036_daily_bin1139.fits ra=352.082 dec=-40.6037 rad=12.0 tmin=534556801.0 tmax=534816001.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.96
user 2.73
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/929755/ft2_4FGL_J2328.3-4036_daily_bin1139.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/929755/ft1_filteredMKT_4FGL_J2328.3-4036_daily_bin1139.fits evtable="EVENTS" outfile="/scratch/kocevski/929755/ft1_filtered_4FGL_J2328.3-4036_daily_bin1139.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.40
user 0.25
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/929755/ft1_filtered_4FGL_J2328.3-4036_daily_bin1139.fits" evtable="EVENTS" scfile=/scratch/kocevski/929755/ft2_4FGL_J2328.3-4036_daily_bin1139.fits sctable="SC_DATA" outfile=/scratch/kocevski/929755/ltcube_534556801_534816001_4FGL_J2328.3-4036_daily_bin1139.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/929755/ft2_4FGL_J2328.3-4036_daily_bin1139.fits
.....................!
real 8.70
user 8.39
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/929755/ft1_filtered_4FGL_J2328.3-4036_daily_bin1139.fits evtable="EVENTS" scfile=/scratch/kocevski/929755/ft2_4FGL_J2328.3-4036_daily_bin1139.fits sctable="SC_DATA" expcube=/scratch/kocevski/929755/ltcube_534556801_534816001_4FGL_J2328.3-4036_daily_bin1139.fits outfile=/scratch/kocevski/929755/expmap_534556801_534816001_4FGL_J2328.3-4036_daily_bin1139.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/929755/ltcube_534556801_534816001_4FGL_J2328.3-4036_daily_bin1139.fits
.....................!
real 140.93
user 136.55
sys 4.15

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/929755/ft1_filtered_4FGL_J2328.3-4036_daily_bin1139.fits scfile=/scratch/kocevski/929755/ft2_4FGL_J2328.3-4036_daily_bin1139.fits outfile=/scratch/kocevski/929755/cmap_534556801_534816001_4FGL_J2328.3-4036_daily_bin1139.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.46
user 0.27
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/929755/ft1_filtered_4FGL_J2328.3-4036_daily_bin1139.fits scfile=/scratch/kocevski/929755/ft2_4FGL_J2328.3-4036_daily_bin1139.fits outfile=/scratch/kocevski/929755/cmap_HighResolution_534556801_534816001_4FGL_J2328.3-4036_daily_bin1139.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.45
user 0.29
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/929755/ft1_filtered_4FGL_J2328.3-4036_daily_bin1139.fits evtable="EVENTS" scfile=/scratch/kocevski/929755/ft2_4FGL_J2328.3-4036_daily_bin1139.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/929755/Model_4FGL_J2328.3-4036_daily_bin1139.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/929755/ft1_filtered_4FGL_J2328.3-4036_daily_bin1139.fits.....................!
real 33.55
user 32.45
sys 1.03

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2649       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.2657       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.9866       1.0000         .10000E-03   10000.    
     7 'Prefactor '    73.452       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.904       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14879E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10493       1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.234       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.2131       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.8960       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.6594       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    37.160       1.0000         .10000E-03   10000.    
    22 'norm      '    1.5809       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10145E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    3.7895       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    22.554       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    5.7772       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .11400E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.0506       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .46720       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=   5951.325     FROM MIGRAD    STATUS=CONVERGED    940 CALLS     4694 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2611        25.363        .22928E-05   -.24405E-04
   2  Prefactor     .10000E-03    22.391        .59573E-06** at limit **
   3  Prefactor     .10000E-03    46.157       -.15423E-06** at limit **
   4  Prefactor     .10000E-03    7.4463        .66018E-06** at limit **
   5  Prefactor     3.2653        3.6080        .39922E-07   -.14019E-04
   6  Prefactor     2.9860        3.2761        .10473E-06    .92484E-04
   7  Prefactor     73.442        37.906        .46940E-06    .18135E-03
   8  Prefactor     .10000E-03    7.2453       -.47202E-06** at limit **
   9  Prefactor     .10000E-03    4.6495        .45916E-07** at limit **
  10  Prefactor     15.902        10.444        .10435E-06    .44353E-04
  11  Prefactor     .10004E-03    5.2833       -.10112E-05** at limit **
  12  Prefactor     .10174E-03    11.798       -.14412E-06** at limit **
  13  Prefactor     23.233        34.293        .45251E-06    .37057E-04
  14  Prefactor     .10000E-03    7.7042       -.18322E-06** at limit **
  15  norm          .10000E-03    4.7520        .17358E-07** at limit **
  16  norm          2.2132        2.7162       -.17101E-07    .43539E-05
  17  norm          .10000E-03    1.2852       -.22411E-08** at limit **
  18  norm          4.8955        5.5691       -.61765E-06   -.50815E-03
  19  Prefactor     3.6574        3.7220        .57805E-07    .14542E-04
  20  Prefactor     .10000E-03    7.2255        .52685E-07** at limit **
  21  Prefactor     37.146        38.622        .11605E-05    .11250E-03
  22  norm          1.5806        2.0706        .87687E-07    .68396E-06
  23  Prefactor     .10000E-03    12.796       -.65044E-07** at limit **
  24  norm          .10000E-03    .21520       -.29678E-08** at limit **
  25  norm          3.7892        3.1598        .50145E-07   -.19831E-04
  26  Prefactor     .10000E-03    1.3537       -.17601E-06** at limit **
  27  Prefactor     22.546        18.640       -.10442E-05   -.31963E-03
  28  Prefactor     .10000E-03    21.954        .53978E-06** at limit **
  29  Prefactor     5.7756        4.3795        .13386E-05   -.32306E-03
  30  Prefactor     .10000E-03    1.4907       -.99208E-08** at limit **
  31  Prefactor     .10000E-03    197.38       -.33358E-06** at limit **
  32  Normalizat    1.0509        .14577       -.11343E-06    .19647E-03
  33  Prefactor     .46683        .15579       -.62783E-06    .10398E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.26107
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.26531
  Prefactor  = 2.98601
  Prefactor  = 73.4421
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.9018
  Prefactor  = 0.000100036
  Prefactor  = 0.00010174
  Prefactor  = 23.2335
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.21319
  norm       = 0.0001
  norm       = 4.89549
  Prefactor  = 3.65741
  Prefactor  = 0.0001
  Prefactor  = 37.1459
  norm       = 1.5806
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.7892
  Prefactor  = 0.0001
  Prefactor  = 22.5463
  Prefactor  = 0.0001
  Prefactor  = 5.77563
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.05095
  Prefactor  = 0.466834
 **********
 **   18 **HESSE 
 **********

 FCN=   5951.325     FROM HESSE     STATUS=OK           697 CALLS     5391 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2611        25.433        .69725E-03   -1.5133    
   2  Prefactor     .10000E-03    23.225        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    46.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.5041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.2653        3.6073        .14965E-03   -1.5347    
   6  Prefactor     2.9860        3.2666        .13776E-03   -1.5362    
   7  Prefactor     73.442        37.953        .23423E-03   -1.3992    
   8  Prefactor     .10000E-03    7.3140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.6565        .16246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.902        10.461        .10043E-03   -1.4910    
  11  Prefactor     .10004E-03    22.234        .32586E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10174E-03    15.275        .10299       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     23.233        34.298        .83101E-04   -1.4744    
  14  Prefactor     .10000E-03    7.8121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    4.7665        .16424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.2132        2.7121        .13746E-03   -1.5410    
  17  norm          .10000E-03    1.2867        .85343E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.8955        5.7493        .18178E-03   -1.5265    
  19  Prefactor     3.6574        3.7198        .14497E-03   -1.5325    
  20  Prefactor     .10000E-03    7.2308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     37.146        39.042        .65746E-04   -1.4488    
  22  norm          1.5806        2.0403        .12121E-03   -1.5457    
  23  Prefactor     .10000E-03    12.983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    .21522        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          3.7892        3.1488        .11877E-03   -1.5319    
  26  Prefactor     .10000E-03    1.3617        .87381E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     22.546        19.190        .84342E-04   -1.4758    
  28  Prefactor     .10000E-03    22.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     5.7756        4.5030        .69153E-03   -1.5227    
  30  Prefactor     .10000E-03    1.5278        .18385E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    205.82        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.0509        .17245        .18325E-03   -.91343    
  33  Prefactor     .46683        .18179        .29306E-03   -1.1352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18801e-09
Minuit parameter uncertainties:
  1  25.4661
  2  0.000149178
  3  5.92873e-05
  4  7.46939e-05
  5  3.60754
  6  3.26676
  7  37.9659
  8  5.48553e-05
  9  2.33684e-06
  10  10.4621
  11  0.00178643
  12  0.0103149
  13  34.3271
  14  1.46089e-05
  15  1.39787e-06
  16  2.71228
  17  7.66023e-08
  18  5.74991
  19  3.71999
  20  6.51733e-06
  21  39.0692
  22  2.04035
  23  3.33682e-05
  24  6.32199e-08
  25  3.14897
  26  5.68075e-06
  27  19.1957
  28  9.50904e-05
  29  4.50324
  30  3.0189e-06
  31  0.000832641
  32  0.17254
  33  0.182011
Done.

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

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  1.581e+00  2.040e+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:  4.668e-01  1.820e-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.051e+00  1.725e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.03
Ra Dec: 352.082 -40.604
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 1.19e-08 +/- 1.54e-08
Energy Flux (Fixed Index): 4.17e-06 +/- 5.38e-06

TS (Fixed Index): 1.03
Ra Dec: 352.082 -40.604
Photon Flux Upper Limit: 5.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.91e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/929755/likelihoodResults_534556801_534816001_4FGL_J2328.3-4036_daily_bin1139.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) = 5951.27079183
delta logL = 0.0545119306353

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5951.25966808
delta logL = 0.0656356825084

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2834       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7402       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0449       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .47080       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=   5951.260     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      208 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2831        45.560        .97883E-02    .44033E-03
   2  alpha         2.7402        2.9747        .41394        .34144E-04
   3  Normalizat    1.0449        .41545E-01    .40908E-01    .10051E-05
   4  Prefactor     .47080        .42473E-01    .65942E-01    .33929E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.28309
  alpha      = 2.74017
  Normalizat = 1.04494
  Prefactor  = 0.470803
 **********
 **   18 **HESSE 
 **********

 FCN=   5951.260     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2831        2.0807        .10173E-03   -1.5481    
   2  alpha         2.7402        1.1932        .22183E-01    .96218E-01
   3  Normalizat    1.0449        .16554        .18370E-03   -.91540    
   4  Prefactor     .47080        .18128        .29186E-03   -1.1334    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.67973e-09
Minuit parameter uncertainties:
  1  2.08083
  2  1.2444
  3  0.165624
  4  0.181506
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/929755': 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) = 5951.25966804
delta logL = 0.0656357234666

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  1.283e+00  2.081e+00  1.000e-04  1.000e+04 ( 1.000e-12)
456        alpha:  2.740e+00  1.244e+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:  4.708e-01  1.815e-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.045e+00  1.656e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.16
Ra Dec: 352.082 -40.604
Photon Index (Free Index): 2.74 +/- 1.24
Photon Flux (Free Index): 1.68e-08 +/- 2.28e-08
Energy Flux (Free Index): 4.06e-06 +/- 4.86e-06

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/929755/cmap_HighResolution_534556801_534816001_4FGL_J2328.3-4036_daily_bin1139.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.91e-05', comment='SUCCESS', photon_flux='1.19e-08', energy_flux2='4.06e-06', photon_flux_error='1.54e-08', dlogl='6.56e-02', energy_flux='4.17e-06', photon_flux2='1.68e-08', job_status='DONE', time_completed='2021-09-29 20:49:35.551490', photon_index_error2='1.24', photon_index2='2.74', ts='1.03', fit_tolerance='1e-08', GAL='0.47', photon_index_error='0.00', photon_flux_upper_limit='5.48e-08', energy_flux_error2='4.86e-06', EG='1.05', time_epoch_completed='1632973775.55', return_code='0', job_id='929755', GAL2='0.47', EG2='1.04', return_code2='0', energy_flux_error='5.38e-06', photon_flux_error2='2.28e-08', ts2='1.16', photon_index='2.33' WHERE bin_id='1139' AND source_name='4FGL J2328.3-4036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:49:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 929755: <4FGL_J2328.3-4036_daily_bin1139> in cluster <slac> Done

Job <4FGL_J2328.3-4036_daily_bin1139> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 20:35:25 2021
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:35:26 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:26 2021
Terminated at Wed Sep 29 20:49:36 2021
Results reported at Wed Sep 29 20:49:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2328.3-4036_daily_bin1139 352.082 -40.6037 534556801 534816001 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 :                                   696.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             294.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            851 sec.

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

