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


Performing analysis on: 4FGL_J2328.3-4036_daily_bin1213
RA = 352.082, Dec = -40.6037
tmin = 553737601, tmax = 553996801
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='929978', job_status='RUN', time_executed='2021-09-29 20:38:34.645984', time_epoch_executed='1632973114.65' WHERE source_name='4FGL J2328.3-4036' and cadence='daily' and bin_id='1213'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/929978

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/929978/ft1_4FGL_J2328.3-4036_daily_bin1213.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/929978/ft2_4FGL_J2328.3-4036_daily_bin1213.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/929978/ft1_4FGL_J2328.3-4036_daily_bin1213.fits outfile=/scratch/kocevski/929978/ft1_filteredMKT_4FGL_J2328.3-4036_daily_bin1213.fits ra=352.082 dec=-40.6037 rad=12.0 tmin=553737601.0 tmax=553996801.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.55
user 2.37
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/929978/ft1_filtered_4FGL_J2328.3-4036_daily_bin1213.fits" evtable="EVENTS" scfile=/scratch/kocevski/929978/ft2_4FGL_J2328.3-4036_daily_bin1213.fits sctable="SC_DATA" outfile=/scratch/kocevski/929978/ltcube_553737601_553996801_4FGL_J2328.3-4036_daily_bin1213.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/929978/ft2_4FGL_J2328.3-4036_daily_bin1213.fits
.....................!
real 12.75
user 12.41
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/929978/ft1_filtered_4FGL_J2328.3-4036_daily_bin1213.fits evtable="EVENTS" scfile=/scratch/kocevski/929978/ft2_4FGL_J2328.3-4036_daily_bin1213.fits sctable="SC_DATA" expcube=/scratch/kocevski/929978/ltcube_553737601_553996801_4FGL_J2328.3-4036_daily_bin1213.fits outfile=/scratch/kocevski/929978/expmap_553737601_553996801_4FGL_J2328.3-4036_daily_bin1213.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/929978/ltcube_553737601_553996801_4FGL_J2328.3-4036_daily_bin1213.fits
.....................!
real 189.47
user 185.01
sys 4.13

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/929978/ft1_filtered_4FGL_J2328.3-4036_daily_bin1213.fits scfile=/scratch/kocevski/929978/ft2_4FGL_J2328.3-4036_daily_bin1213.fits outfile=/scratch/kocevski/929978/cmap_553737601_553996801_4FGL_J2328.3-4036_daily_bin1213.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.52
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/929978/ft1_filtered_4FGL_J2328.3-4036_daily_bin1213.fits scfile=/scratch/kocevski/929978/ft2_4FGL_J2328.3-4036_daily_bin1213.fits outfile=/scratch/kocevski/929978/cmap_HighResolution_553737601_553996801_4FGL_J2328.3-4036_daily_bin1213.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/929978/ft1_filtered_4FGL_J2328.3-4036_daily_bin1213.fits evtable="EVENTS" scfile=/scratch/kocevski/929978/ft2_4FGL_J2328.3-4036_daily_bin1213.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/929978/Model_4FGL_J2328.3-4036_daily_bin1213.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/929978/ft1_filtered_4FGL_J2328.3-4036_daily_bin1213.fits.....................!
real 30.30
user 29.11
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.9909       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.5204       1.0000         .10000E-03   10000.    
     7 'Prefactor '    128.20       1.0000         .10000E-03   10000.    
     8 'Prefactor '    38.249       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    26.519       1.0000         .10000E-03   10000.    
    12 'Prefactor '    27.829       1.0000         .10000E-03   10000.    
    13 'Prefactor '    211.34       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.2426       1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    11.333       1.0000         .10000E-03   10000.    
    17 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.9729       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.0601       1.0000         .10000E-03   10000.    
    20 'Prefactor '    52.699       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    6.7034       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    2.9696       1.0000         .10000E-03   10000.    
    27 'Prefactor '    3.0528       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.1628       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0930       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=   3280.224     FROM MIGRAD    STATUS=CONVERGED    843 CALLS     4519 TOTAL
                     EDM=   .91E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    47.348       -.22893E-05** at limit **
   2  Prefactor     .10000E-03    9.5510        .84001E-06** at limit **
   3  Prefactor     .10000E-03    26.918       -.81060E-06** at limit **
   4  Prefactor     .10000E-03    46.043       -.16855E-05** at limit **
   5  Prefactor     6.9898        9.3498        .20201E-06    .40276E-04
   6  Prefactor     5.5190        13.974        .21101E-05   -.31270E-05
   7  Prefactor     128.21        145.06       -.18058E-05   -.70224E-05
   8  Prefactor     38.244        44.911        .63139E-06   -.73678E-05
   9  Prefactor     .10000E-03    35.690        .25806E-05** at limit **
  10  Prefactor     .10000E-03    37.306        .17833E-05** at limit **
  11  Prefactor     26.517        20.836       -.11154E-06   -.14780E-04
  12  Prefactor     27.843        108.39       -.24308E-05   -.75283E-06
  13  Prefactor     211.33        141.04        .38090E-06   -.66838E-05
  14  Prefactor     9.2380        31.796        .13006E-05    .73443E-05
  15  norm          .10000E-03    12.764       -.69260E-07** at limit **
  16  norm          11.333        10.624       -.22471E-07    .52420E-05
  17  norm          .10000E-03    5.8675       -.23963E-07** at limit **
  18  norm          3.9726        12.526        .27285E-05   -.59205E-05
  19  Prefactor     8.0601        8.3228        .94796E-07    .24992E-04
  20  Prefactor     52.686        79.146       -.50746E-07   -.13823E-05
  21  Prefactor     .10000E-03    74.724        .23303E-05** at limit **
  22  norm          6.7033        10.443        .10312E-05   -.22288E-04
  23  Prefactor     .10000E-03    9.4819       -.89149E-06** at limit **
  24  norm          .10000E-03    .79959       -.12985E-06** at limit **
  25  norm          .10000E-03    3.9417        .19149E-07** at limit **
  26  Prefactor     2.9698        6.1912        .79963E-06    .14875E-05
  27  Prefactor     3.0488        42.664        .20596E-07   -.11306E-04
  28  Prefactor     .10000E-03    50.093       -.30614E-05** at limit **
  29  Prefactor     .10000E-03    2.7516        .73067E-08** at limit **
  30  Prefactor     .10000E-03    1.9147       -.17600E-07** at limit **
  31  Prefactor     .10000E-03    74.483        .21738E-05** at limit **
  32  Normalizat    1.1630        .28316        .15534E-06   -.12871E-04
  33  Prefactor     1.0928        .31034       -.18279E-05   -.85521E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.98984
  Prefactor  = 5.51896
  Prefactor  = 128.206
  Prefactor  = 38.2439
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.5169
  Prefactor  = 27.843
  Prefactor  = 211.33
  Prefactor  = 9.23796
  norm       = 0.0001
  norm       = 11.3333
  norm       = 0.0001
  norm       = 3.97257
  Prefactor  = 8.06014
  Prefactor  = 52.6863
  Prefactor  = 0.0001
  norm       = 6.70334
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 2.96976
  Prefactor  = 3.04878
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.16295
  Prefactor  = 1.09283
 **********
 **   18 **HESSE 
 **********

 FCN=   3280.224     FROM HESSE     STATUS=OK           691 CALLS     5210 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    47.338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.5513        .17285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    26.932        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    46.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.9898        9.3771        .15173E-03   -1.5179    
   6  Prefactor     5.5190        14.008        .85501E-03   -1.5238    
   7  Prefactor     128.21        145.18        .35557E-04   -1.3439    
   8  Prefactor     38.244        44.889        .64807E-04   -1.4470    
   9  Prefactor     .10000E-03    35.729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    37.530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     26.517        20.830        .77792E-04   -1.4678    
  12  Prefactor     27.843        108.41        .75942E-04   -1.4652    
  13  Prefactor     211.33        141.09        .13905E-03   -1.2790    
  14  Prefactor     9.2380        31.677        .13183E-03   -1.5100    
  15  norm          .10000E-03    12.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          11.333        10.614        .11900E-03   -1.5035    
  17  norm          .10000E-03    5.8810        .13540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.9726        12.492        .10118E-02   -1.5309    
  19  Prefactor     8.0601        8.3107        .14122E-03   -1.5140    
  20  Prefactor     52.686        79.434        .55249E-04   -1.4255    
  21  Prefactor     .10000E-03    74.928        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          6.7033        10.407        .77491E-03   -1.5190    
  23  Prefactor     .10000E-03    9.5022        .17230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    .81989        .99534E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    3.9707        .11093E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     2.9698        6.0760        .17437E-03   -1.5363    
  27  Prefactor     3.0488        41.028        .23220E-03   -1.5359    
  28  Prefactor     .10000E-03    50.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    2.7549        .92778E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    1.9203        .77384E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    74.733        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.1630        .35337        .25937E-03   -.87755    
  33  Prefactor     1.0928        .38060        .29524E-03   -.89696    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.17029e-11
Minuit parameter uncertainties:
  1  1.5774e-05
  2  2.52099e-06
  3  4.69484e-06
  4  3.93664e-05
  5  9.37907
  6  14.0165
  7  145.59
  8  44.9291
  9  4.99876e-06
  10  3.10449e-05
  11  20.8359
  12  109.191
  13  141.319
  14  31.7345
  15  7.94248e-07
  16  10.6159
  17  8.54026e-06
  18  12.4999
  19  8.31191
  20  79.5944
  21  1.16639e-05
  22  10.4097
  23  5.53151e-06
  24  4.25057e-06
  25  3.66705e-06
  26  6.07728
  27  22.3866
  28  1.62432e-05
  29  6.44556e-07
  30  7.83181e-07
  31  5.59708e-06
  32  0.354093
  33  0.381545
Done.

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

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  6.703e+00  1.041e+01  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.093e+00  3.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.163e+00  3.541e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/929978/likelihoodResults_553737601_553996801_4FGL_J2328.3-4036_daily_bin1213.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) = 3280.21772828
delta logL = 0.00634512134138

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3280.21644789
delta logL = 0.00762551763955

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.3061       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4476       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1565       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0977       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=   3280.216     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      253 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.2996        9.4408        .79922E-03   -.15073E-03
   2  alpha         2.4487        .97231        .14708E-01   -.17034E-04
   3  Normalizat    1.1568        .33705        .25995E-03   -.22794E-03
   4  Prefactor     1.0976        .37284        .29467E-03   -.10101E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.29958
  alpha      = 2.44873
  Normalizat = 1.15683
  Prefactor  = 1.09765
 **********
 **   18 **HESSE 
 **********

 FCN=   3280.216     FROM HESSE     STATUS=OK            25 CALLS      278 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.2996        9.0833        .31969E-04   -1.5206    
   2  alpha         2.4487        .93673        .58832E-03   -.20509E-01
   3  Normalizat    1.1568        .33713        .51990E-04   -.87948    
   4  Prefactor     1.0976        .37277        .11787E-04   -.89542    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14744e-10
Minuit parameter uncertainties:
  1  9.08528
  2  0.96017
  3  0.337758
  4  0.373658
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/929978': 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) = 3280.21644499
delta logL = 0.00762841713549

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  6.300e+00  9.085e+00  1.000e-04  1.000e+04 ( 1.000e-12)
456        alpha:  2.449e+00  9.602e-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:  1.098e+00  3.737e-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.157e+00  3.378e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.90e-05', job_status='DONE', photon_flux_upper_limit='1.98e-07', time_completed='2021-09-29 20:49:31.439422', job_id='929978', GAL2='1.10', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1632973771.44', return_code2='0', ts='0.73', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='7.63e-03', ts2='0.75', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='1213' AND source_name='4FGL J2328.3-4036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:49:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 929978: <4FGL_J2328.3-4036_daily_bin1213> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2328.3-4036_daily_bin1213 352.082 -40.6037 553737601 553996801 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 :                                   633.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             274.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            836 sec.

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

