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


Performing analysis on: 4FGL_J2328.3-4036_daily_bin1253
RA = 352.082, Dec = -40.6037
tmin = 564105601, tmax = 564364801
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='930106', job_status='RUN', time_executed='2021-09-29 20:37:07.601285', time_epoch_executed='1632973027.6' WHERE source_name='4FGL J2328.3-4036' and cadence='daily' and bin_id='1253'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/930106

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/930106/ft1_4FGL_J2328.3-4036_daily_bin1253.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/930106/ft2_4FGL_J2328.3-4036_daily_bin1253.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/930106/ft1_4FGL_J2328.3-4036_daily_bin1253.fits outfile=/scratch/kocevski/930106/ft1_filteredMKT_4FGL_J2328.3-4036_daily_bin1253.fits ra=352.082 dec=-40.6037 rad=12.0 tmin=564105601.0 tmax=564364801.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.28
user 3.03
sys 0.21

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/930106/ft1_filtered_4FGL_J2328.3-4036_daily_bin1253.fits" evtable="EVENTS" scfile=/scratch/kocevski/930106/ft2_4FGL_J2328.3-4036_daily_bin1253.fits sctable="SC_DATA" outfile=/scratch/kocevski/930106/ltcube_564105601_564364801_4FGL_J2328.3-4036_daily_bin1253.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/930106/ft2_4FGL_J2328.3-4036_daily_bin1253.fits
.....................!
real 12.33
user 12.00
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/930106/ft1_filtered_4FGL_J2328.3-4036_daily_bin1253.fits evtable="EVENTS" scfile=/scratch/kocevski/930106/ft2_4FGL_J2328.3-4036_daily_bin1253.fits sctable="SC_DATA" expcube=/scratch/kocevski/930106/ltcube_564105601_564364801_4FGL_J2328.3-4036_daily_bin1253.fits outfile=/scratch/kocevski/930106/expmap_564105601_564364801_4FGL_J2328.3-4036_daily_bin1253.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/930106/ltcube_564105601_564364801_4FGL_J2328.3-4036_daily_bin1253.fits
.....................!
real 191.50
user 185.48
sys 5.54

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/930106/ft1_filtered_4FGL_J2328.3-4036_daily_bin1253.fits scfile=/scratch/kocevski/930106/ft2_4FGL_J2328.3-4036_daily_bin1253.fits outfile=/scratch/kocevski/930106/cmap_564105601_564364801_4FGL_J2328.3-4036_daily_bin1253.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/930106/ft1_filtered_4FGL_J2328.3-4036_daily_bin1253.fits scfile=/scratch/kocevski/930106/ft2_4FGL_J2328.3-4036_daily_bin1253.fits outfile=/scratch/kocevski/930106/cmap_HighResolution_564105601_564364801_4FGL_J2328.3-4036_daily_bin1253.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.082 yref=-40.6037 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/930106/ft1_filtered_4FGL_J2328.3-4036_daily_bin1253.fits evtable="EVENTS" scfile=/scratch/kocevski/930106/ft2_4FGL_J2328.3-4036_daily_bin1253.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/930106/Model_4FGL_J2328.3-4036_daily_bin1253.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/930106/ft1_filtered_4FGL_J2328.3-4036_daily_bin1253.fits.....................!
real 29.95
user 28.61
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    61.255       1.0000         .10000E-03   10000.    
     2 'Prefactor '    41.910       1.0000         .10000E-03   10000.    
     3 'Prefactor '    49.267       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.630       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10277E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13228E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.6123       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    63.963       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.8466       1.0000         .10000E-03   10000.    
    18 'norm      '    .12379E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    3.8175       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    2.1326       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    10.126       1.0000         .10000E-03   10000.    
    28 'Prefactor '    99.709       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .18207E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10437E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    91.011       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .57340       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.5845       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=   2989.562     FROM MIGRAD    STATUS=CONVERGED    862 CALLS     4565 TOTAL
                     EDM=   .57E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     61.139        97.614        .11694E-04    .44099E-05
   2  Prefactor     41.927        49.231       -.18358E-05   -.30984E-05
   3  Prefactor     49.169        114.01        .11856E-04    .20279E-05
   4  Prefactor     .10000E-03    27.860       -.71244E-06** at limit **
   5  Prefactor     20.624        15.764       -.27088E-06    .32219E-05
   6  Prefactor     .10000E-03    6.2746       -.60163E-07** at limit **
   7  Prefactor     .10000E-03    34.044        .15819E-05** at limit **
   8  Prefactor     .10000E-03    18.942       -.20454E-06** at limit **
   9  Prefactor     .10000E-03    82.300        .65659E-06** at limit **
  10  Prefactor     8.6080        16.974        .38767E-06    .51719E-06
  11  Prefactor     .10000E-03    5.3335       -.25891E-07** at limit **
  12  Prefactor     63.910        83.050        .53863E-05    .14856E-05
  13  Prefactor     .10000E-03    56.231       -.69126E-06** at limit **
  14  Prefactor     .10000E-03    11.956       -.50263E-06** at limit **
  15  norm          .10000E-03    9.5759        .83893E-07** at limit **
  16  norm          .10000E-03    12.476        .99739E-06** at limit **
  17  norm          4.8471        6.4812        .37604E-07    .14484E-05
  18  norm          .10000E-03    29.200        .44976E-06** at limit **
  19  Prefactor     .10000E-03    4.9046        .62923E-07** at limit **
  20  Prefactor     .10000E-03    28.137        .22557E-06** at limit **
  21  Prefactor     .10000E-03    54.859       -.42248E-06** at limit **
  22  norm          3.8197        5.4794       -.58058E-06    .11325E-05
  23  Prefactor     .10000E-03    11.976       -.27197E-06** at limit **
  24  norm          .10000E-03    1.1676        .18811E-06** at limit **
  25  norm          2.1234        8.0847        .55775E-05   -.38990E-04
  26  Prefactor     .10000E-03    2.8978        .32667E-07** at limit **
  27  Prefactor     10.160        40.592       -.50947E-05   -.97290E-05
  28  Prefactor     99.726        81.544       -.11826E-05    .84433E-05
  29  Prefactor     .10003E-03    11.525       -.11156E-06** at limit **
  30  Prefactor     .10000E-03    5.3870        .24319E-06** at limit **
  31  Prefactor     90.986        85.253        .31993E-05    .37378E-04
  32  Normalizat    .57414        .28270       -.50278E-06    .31415E-04
  33  Prefactor     1.5840        .29770       -.13334E-05    .36961E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 61.1393
  Prefactor  = 41.9271
  Prefactor  = 49.1691
  Prefactor  = 0.0001
  Prefactor  = 20.6244
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.60797
  Prefactor  = 0.0001
  Prefactor  = 63.9102
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.84714
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.81968
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.12338
  Prefactor  = 0.0001
  Prefactor  = 10.1596
  Prefactor  = 99.7257
  Prefactor  = 0.000100029
  Prefactor  = 0.0001
  Prefactor  = 90.9857
  Normalizat = 0.574137
  Prefactor  = 1.58397
 **********
 **   18 **HESSE 
 **********

 FCN=   2989.562     FROM HESSE     STATUS=OK           689 CALLS     5254 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     61.139        97.555        .25633E-03   -1.4143    
   2  Prefactor     41.927        49.162        .61922E-04   -1.4412    
   3  Prefactor     49.169        114.03        .57132E-04   -1.4304    
   4  Prefactor     .10000E-03    27.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.624        15.826        .88184E-04   -1.4799    
   6  Prefactor     .10000E-03    6.3772        .13372E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    34.054        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    18.955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    83.142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.6080        16.970        .13659E-03   -1.5121    
  11  Prefactor     .10000E-03    5.3488        .12332E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     63.910        82.960        .25088E-03   -1.4107    
  13  Prefactor     .10000E-03    56.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    9.5825        .16527E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    12.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.8471        6.4825        .15450E-03   -1.5268    
  18  norm          .10000E-03    29.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.9173        .11825E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    28.159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    54.903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.8197        5.4797        .13993E-03   -1.5317    
  23  Prefactor     .10000E-03    11.989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    1.2196        .11515E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          2.1234        8.1423        .13730E-02   -1.5417    
  26  Prefactor     .10000E-03    2.9017        .90806E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     10.160        40.437        .12592E-03   -1.5070    
  28  Prefactor     99.726        81.532        .20130E-03   -1.3707    
  29  Prefactor     .10003E-03    75.079        .33868E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    5.4212        .12376E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     90.986        82.364        .42122E-04   -1.3797    
  32  Normalizat    .57414        .33325        .32285E-03   -1.0909    
  33  Prefactor     1.5840        .35408        .23089E-03   -.75214    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.97535e-10
Minuit parameter uncertainties:
  1  97.8117
  2  49.2094
  3  114.537
  4  2.14667e-05
  5  15.8288
  6  5.3396e-06
  7  9.96149e-06
  8  6.17325e-06
  9  9.70489e-05
  10  16.9794
  11  2.56754e-06
  12  83.1107
  13  1.41066e-05
  14  2.07234e-08
  15  1.30324e-06
  16  4.79785e-06
  17  6.48345
  18  2.85945e-05
  19  5.10775e-06
  20  9.11177e-06
  21  1.70707e-05
  22  5.48046
  23  1.49771e-05
  24  6.22356e-06
  25  8.14656
  26  7.2209e-07
  27  40.5463
  28  81.6237
  29  0.00294193
  30  4.43954e-06
  31  82.4677
  32  0.334421
  33  0.354638
Done.

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

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  3.820e+00  5.480e+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:  1.584e+00  3.546e-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:  5.741e-01  3.344e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.01
Ra Dec: 352.082 -40.604
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 2.89e-08 +/- 4.14e-08
Energy Flux (Fixed Index): 1.01e-05 +/- 1.45e-05

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

Saving results to:
/scratch/kocevski/930106/likelihoodResults_564105601_564364801_4FGL_J2328.3-4036_daily_bin1253.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) = 2989.55766019
delta logL = 0.00429934696876

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2989.55720719
delta logL = 0.00475234971145

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9600       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2212       1.0000          .0000       5.0000    
     3 'Normalizat'    .57743       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5818       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=   2989.557     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      241 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9601        5.5301        .14337E-03   -.20284E-03
   2  alpha         2.2207        1.1046        .19475E-01   -.12718E-04
   3  Normalizat    .57749        .30787        .32193E-03    .20553E-04
   4  Prefactor     1.5817        .34813        .23102E-03    .24950E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.96009
  alpha      = 2.22074
  Normalizat = 0.577495
  Prefactor  = 1.58171
 **********
 **   18 **HESSE 
 **********

 FCN=   2989.557     FROM HESSE     STATUS=OK            23 CALLS      264 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9601        5.4831        .57348E-05   -1.5310    
   2  alpha         2.2207        1.0955        .77901E-03   -.11194    
   3  Normalizat    .57749        .30803        .12877E-04   -1.0895    
   4  Prefactor     1.5817        .34837        .92409E-05   -.75276    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.0232e-11
Minuit parameter uncertainties:
  1  5.48381
  2  1.13455
  3  0.308951
  4  0.348906
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/930106': 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) = 2989.55720709
delta logL = 0.0047524445331

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  3.960e+00  5.484e+00  1.000e-04  1.000e+04 ( 1.000e-12)
456        alpha:  2.221e+00  1.135e+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:  1.582e+00  3.489e-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:  5.775e-01  3.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.02
Ra Dec: 352.082 -40.604
Photon Index (Free Index): 2.22 +/- 1.13
Photon Flux (Free Index): 2.61e-08 +/- 4.53e-08
Energy Flux (Free Index): 1.05e-05 +/- 1.51e-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/930106/cmap_HighResolution_564105601_564364801_4FGL_J2328.3-4036_daily_bin1253.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.02e-05', comment='SUCCESS', photon_flux='2.89e-08', energy_flux2='1.05e-05', photon_flux_error='4.14e-08', dlogl='4.75e-03', energy_flux='1.01e-05', photon_flux2='2.61e-08', job_status='DONE', time_completed='2021-09-29 20:47:42.652950', photon_index_error2='1.13', photon_index2='2.22', ts='1.01', fit_tolerance='1e-08', GAL='1.58', photon_index_error='0.00', photon_flux_upper_limit='1.44e-07', energy_flux_error2='1.51e-05', EG='0.57', time_epoch_completed='1632973662.65', return_code='0', job_id='930106', GAL2='1.58', EG2='0.58', return_code2='0', energy_flux_error='1.45e-05', photon_flux_error2='4.53e-08', ts2='1.02', photon_index='2.33' WHERE bin_id='1253' AND source_name='4FGL J2328.3-4036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:47:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 930106: <4FGL_J2328.3-4036_daily_bin1253> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2328.3-4036_daily_bin1253 352.082 -40.6037 564105601 564364801 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 :                                   608.18 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             306.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   719 sec.
    Turnaround time :                            722 sec.

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

