aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 96 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 = 7480
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2328.3-4036_daily_bin1695
RA = 352.082, Dec = -40.6037
tmin = 678672001, tmax = 678931201
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='731337', job_status='RUN', time_executed='2022-07-08 00:37:14.698428', time_epoch_executed='1657265834.7' WHERE source_name='4FGL J2328.3-4036' and cadence='daily' and bin_id='1695'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/731337

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/731337/ft1_4FGL_J2328.3-4036_daily_bin1695.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/731337/ft2_4FGL_J2328.3-4036_daily_bin1695.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/731337/ft1_4FGL_J2328.3-4036_daily_bin1695.fits outfile=/scratch/kocevski/731337/ft1_filteredMKT_4FGL_J2328.3-4036_daily_bin1695.fits ra=352.082 dec=-40.6037 rad=12.0 tmin=678672001.0 tmax=678931201.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.61
user 3.38
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/731337/ft2_4FGL_J2328.3-4036_daily_bin1695.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/731337/ft1_filteredMKT_4FGL_J2328.3-4036_daily_bin1695.fits evtable="EVENTS" outfile="/scratch/kocevski/731337/ft1_filtered_4FGL_J2328.3-4036_daily_bin1695.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.51
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 421

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/731337/ft1_filtered_4FGL_J2328.3-4036_daily_bin1695.fits" evtable="EVENTS" scfile=/scratch/kocevski/731337/ft2_4FGL_J2328.3-4036_daily_bin1695.fits sctable="SC_DATA" outfile=/scratch/kocevski/731337/ltcube_678672001_678931201_4FGL_J2328.3-4036_daily_bin1695.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/731337/ft2_4FGL_J2328.3-4036_daily_bin1695.fits
.....................!
real 12.84
user 12.47
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/731337/ft1_filtered_4FGL_J2328.3-4036_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/731337/ft2_4FGL_J2328.3-4036_daily_bin1695.fits sctable="SC_DATA" expcube=/scratch/kocevski/731337/ltcube_678672001_678931201_4FGL_J2328.3-4036_daily_bin1695.fits outfile=/scratch/kocevski/731337/expmap_678672001_678931201_4FGL_J2328.3-4036_daily_bin1695.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/731337/ltcube_678672001_678931201_4FGL_J2328.3-4036_daily_bin1695.fits
.....................!
real 190.98
user 185.98
sys 4.61

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/731337/ft1_filtered_4FGL_J2328.3-4036_daily_bin1695.fits scfile=/scratch/kocevski/731337/ft2_4FGL_J2328.3-4036_daily_bin1695.fits outfile=/scratch/kocevski/731337/cmap_678672001_678931201_4FGL_J2328.3-4036_daily_bin1695.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.54
user 0.40
sys 0.13

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

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/731337/ft1_filtered_4FGL_J2328.3-4036_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/731337/ft2_4FGL_J2328.3-4036_daily_bin1695.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/731337/Model_4FGL_J2328.3-4036_daily_bin1695.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/731337/ft1_filtered_4FGL_J2328.3-4036_daily_bin1695.fits.....................!
real 37.62
user 36.35
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.5737       1.0000         .10000E-03   10000.    
     3 'Prefactor '    26.803       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .19224E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.3444       1.0000         .10000E-03   10000.    
     7 'Prefactor '    23.508       1.0000         .10000E-03   10000.    
     8 'Prefactor '    24.457       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11294E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.959       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.9162       1.0000         .10000E-03   10000.    
    15 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.2908       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.8280       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .20293E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    21.872       1.0000         .10000E-03   10000.    
    22 'norm      '    .69550E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    6.5105       1.0000         .10000E-03   10000.    
    28 'Prefactor '    54.121       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    3.4681       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.0523       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0242       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=   4707.448     FROM MIGRAD    STATUS=CONVERGED   1646 CALLS     5313 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    30.756        .18142E-02** at limit **
   2  Prefactor     6.5738        15.170        .78260E-03   -.21936E-05
   3  Prefactor     26.844        49.111        .77380E-04    .88152E-05
   4  Prefactor     .10000E-03    11.740        .18142E-02** at limit **
   5  Prefactor     .10002E-03    49.829        .28256E-02** at limit **
   6  Prefactor     5.3440        5.6199        .15778E-03    .25507E-04
   7  Prefactor     23.640        47.449        .82615E-04   -.38531E-05
   8  Prefactor     24.454        21.566        .80999E-04   -.84213E-06
   9  Prefactor     .10000E-03    13.711        .18142E-02** at limit **
  10  Prefactor     .10000E-03    33.503        .36285E-03** at limit **
  11  Prefactor     .10000E-03    9.6641        .18142E-02** at limit **
  12  Prefactor     14.971        55.412        .10356E-03    .10978E-05
  13  Prefactor     .10000E-03    17.260        .18142E-02** at limit **
  14  Prefactor     3.9161        13.749        .20387E-03    .18960E-04
  15  norm          .10000E-03    5.4821        .15681E-02** at limit **
  16  norm          .10000E-03    2.1243        .97646E-03** at limit **
  17  norm          4.2906        4.3580        .13922E-03    .40012E-05
  18  norm          .10000E-03    3.8738        .13166E-02** at limit **
  19  Prefactor     1.8283        3.1920        .15908E-03    .21797E-04
  20  Prefactor     .10000E-03    53.966        .11656    ** at limit **
  21  Prefactor     21.936        56.036        .85646E-04   -.53096E-06
  22  norm          .10000E-03    50.854        .21319E-02** at limit **
  23  Prefactor     .10000E-03    3.9243        .13266E-02** at limit **
  24  norm          .10000E-03    .27432        .34909E-03** at limit **
  25  norm          .10000E-03    1.7346        .87988E-03** at limit **
  26  Prefactor     .10000E-03    2.2170        .98574E-03** at limit **
  27  Prefactor     6.5110        13.714        .78643E-03    .20455E-04
  28  Prefactor     54.128        54.757        .54522E-04    .18349E-05
  29  Prefactor     .10000E-03    2.9222        .11412E-02** at limit **
  30  Prefactor     3.4687        3.3952        .11992E-03    .64465E-05
  31  Prefactor     .10000E-03    23.472        .18142E-02** at limit **
  32  Normalizat    1.0521        .24826        .22978E-03   -.71247E-05
  33  Prefactor     1.0245        .26382        .25866E-03   -.21976E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.5738
  Prefactor  = 26.8439
  Prefactor  = 0.0001
  Prefactor  = 0.000100015
  Prefactor  = 5.34399
  Prefactor  = 23.6401
  Prefactor  = 24.4544
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.9708
  Prefactor  = 0.0001
  Prefactor  = 3.91614
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.29056
  norm       = 0.0001
  Prefactor  = 1.82826
  Prefactor  = 0.000100003
  Prefactor  = 21.9361
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.51095
  Prefactor  = 54.128
  Prefactor  = 0.0001
  Prefactor  = 3.46869
  Prefactor  = 0.0001
  Normalizat = 1.0521
  Prefactor  = 1.02447
 **********
 **   18 **HESSE 
 **********

 FCN=   4707.448     FROM HESSE     STATUS=OK           675 CALLS     5988 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.757        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.5738        15.167        .31304E-04   -1.5195    
   3  Prefactor     26.844        49.127        .30952E-05   -1.4671    
   4  Prefactor     .10000E-03    11.740        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10002E-03    50.638        .56511E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.3440        5.6197        .63112E-05   -1.5246    
   7  Prefactor     23.640        47.451        .33046E-05   -1.4735    
   8  Prefactor     24.454        21.567        .32400E-05   -1.4719    
   9  Prefactor     .10000E-03    13.712        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    33.504        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.6677        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.971        55.415        .41422E-05   -1.4934    
  13  Prefactor     .10000E-03    17.260        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.9161        13.748        .81547E-05   -1.5312    
  15  norm          .10000E-03    5.4822        .31361E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.1243        .19529E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.2906        4.3578        .55689E-05   -1.5294    
  18  norm          .10000E-03    3.8740        .26333E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.8283        3.1920        .63632E-05   -1.5438    
  20  Prefactor     .10000E-03    53.569        .11642       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     21.936        56.031        .34258E-05   -1.4771    
  22  norm          .10000E-03    51.376        .42639E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    3.9243        .26532E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    .27433        .69817E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    1.7347        .17598E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    2.2176        .19715E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     6.5110        13.713        .31457E-04   -1.5198    
  28  Prefactor     54.128        54.758        .10904E-04   -1.4235    
  29  Prefactor     .10000E-03    2.9225        .22824E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     3.4687        3.3949        .47969E-05   -1.5335    
  31  Prefactor     .10000E-03    23.473        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.0521        .24844        .91910E-05   -.91305    
  33  Prefactor     1.0245        .26415        .10347E-04   -.91918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16383e-10
Minuit parameter uncertainties:
  1  4.6583e-06
  2  15.1758
  3  49.2013
  4  3.0653e-06
  5  0.00175918
  6  5.62026
  7  47.5264
  8  21.574
  9  3.24082e-05
  10  3.33031e-05
  11  3.77493e-05
  12  55.6063
  13  8.88245e-07
  14  13.7589
  15  4.58733e-07
  16  6.66401e-08
  17  4.35813
  18  8.64148e-08
  19  3.19226
  20  0.000862832
  21  56.1658
  22  0.000216428
  23  1.28075e-07
  24  7.26049e-08
  25  2.51763e-07
  26  4.80037e-06
  27  13.72
  28  54.8087
  29  1.08469e-06
  30  3.39511
  31  2.08071e-06
  32  0.248711
  33  0.264488
Done.

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

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  1.000e-04  2.164e-04  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.024e+00  2.645e-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.052e+00  2.487e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/731337/likelihoodResults_678672001_678931201_4FGL_J2328.3-4036_daily_bin1695.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): 102
logL (Free Index) = 4707.44841903
delta logL = -9.42276292335e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4706.17757975
delta logL = 1.27074505477

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16231       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.9998       1.0000          .0000       5.0000    
     3 'Normalizat'    .93694       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1038       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=   4706.178     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      276 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16248        3.8465        .43415E-02   -.40008E-02
   2  alpha         5.0000        3.9412        .46271    ** at limit **
   3  Normalizat    .93667        .10076        .45372E-01   -.13788E-03
   4  Prefactor     1.1040        .11072        .56600E-01   -.58017E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.162479
  alpha      = 5
  Normalizat = 0.936667
  Prefactor  = 1.10396
 **********
 **   18 **HESSE 
 **********

 FCN=   4706.178     FROM HESSE     STATUS=OK            35 CALLS      311 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16248        .15198        .19587E-04   -1.5627    
   2  alpha         5.0000        3.0958        .50000        1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .93667        .24474        .24156E-03   -.95183    
   4  Prefactor     1.1040        .26592        .25028E-03   -.89340    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47639e-10
Minuit parameter uncertainties:
  1  0.151984
  2  0.000226526
  3  0.245031
  4  0.266243
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/731337': 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) = 4706.17757558
delta logL = 1.27074922335

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  1.625e-01  1.520e-01  1.000e-04  1.000e+04 ( 1.000e-12)
456        alpha:  5.000e+00  2.265e-04  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.104e+00  2.662e-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:  9.367e-01  2.450e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.72
Ra Dec: 352.082 -40.604
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 8.84e-08 +/- 8.23e-08
Energy Flux (Free Index): 1.20e-05 +/- 1.12e-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/731337/cmap_HighResolution_678672001_678931201_4FGL_J2328.3-4036_daily_bin1695.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.25e-05', comment='SUCCESS', energy_flux2='1.20e-05', dlogl='1.27e+00', photon_flux2='8.84e-08', job_status='DONE', time_completed='2022-07-08 00:51:12.009439', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='9.30e-08', energy_flux_error2='1.12e-05', EG='1.05', time_epoch_completed='1657266672.01', return_code='0', job_id='731337', GAL2='1.10', EG2='0.94', return_code2='0', photon_flux_error2='8.23e-08', ts2='2.72', photon_index='2.33' WHERE bin_id='1695' AND source_name='4FGL J2328.3-4036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul  8 00:51:12 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 731337: <4FGL_J2328.3-4036_daily_bin1695> in cluster <slac> Done

Job <4FGL_J2328.3-4036_daily_bin1695> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Jul  8 00:35:28 2022
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul  8 00:35:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul  8 00:35:30 2022
Terminated at Fri Jul  8 00:51:12 2022
Results reported at Fri Jul  8 00:51:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2328.3-4036_daily_bin1695 352.082 -40.6037 678672001 678931201 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 :                                   839.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             294.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   942 sec.
    Turnaround time :                            944 sec.

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

