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 176 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7483
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2328.3-4036_daily_bin1763
RA = 352.082, Dec = -40.6037
tmin = 696297601, tmax = 696556801
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='297886', job_status='RUN', time_executed='2023-01-28 01:54:27.099243', time_epoch_executed='1674899667.1' WHERE source_name='4FGL J2328.3-4036' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/297886

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/297886/ft1_4FGL_J2328.3-4036_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/297886/ft2_4FGL_J2328.3-4036_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/297886/ft1_4FGL_J2328.3-4036_daily_bin1763.fits outfile=/scratch/kocevski/297886/ft1_filteredMKT_4FGL_J2328.3-4036_daily_bin1763.fits ra=352.082 dec=-40.6037 rad=12.0 tmin=696297601.0 tmax=696556801.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.65
user 3.41
sys 0.20

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

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

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

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

Number of photons that the gtmktime cut: 382

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/297886/ft1_filtered_4FGL_J2328.3-4036_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/297886/ft2_4FGL_J2328.3-4036_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/297886/ltcube_696297601_696556801_4FGL_J2328.3-4036_daily_bin1763.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/297886/ft2_4FGL_J2328.3-4036_daily_bin1763.fits
.....................!
real 14.10
user 13.59
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/297886/ft1_filtered_4FGL_J2328.3-4036_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/297886/ft2_4FGL_J2328.3-4036_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/297886/ltcube_696297601_696556801_4FGL_J2328.3-4036_daily_bin1763.fits outfile=/scratch/kocevski/297886/expmap_696297601_696556801_4FGL_J2328.3-4036_daily_bin1763.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/297886/ltcube_696297601_696556801_4FGL_J2328.3-4036_daily_bin1763.fits
.....................!
real 193.31
user 186.87
sys 5.42

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/297886/ft1_filtered_4FGL_J2328.3-4036_daily_bin1763.fits scfile=/scratch/kocevski/297886/ft2_4FGL_J2328.3-4036_daily_bin1763.fits outfile=/scratch/kocevski/297886/cmap_696297601_696556801_4FGL_J2328.3-4036_daily_bin1763.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/297886/ft1_filtered_4FGL_J2328.3-4036_daily_bin1763.fits scfile=/scratch/kocevski/297886/ft2_4FGL_J2328.3-4036_daily_bin1763.fits outfile=/scratch/kocevski/297886/cmap_HighResolution_696297601_696556801_4FGL_J2328.3-4036_daily_bin1763.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/297886/ft1_filtered_4FGL_J2328.3-4036_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/297886/ft2_4FGL_J2328.3-4036_daily_bin1763.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/297886/Model_4FGL_J2328.3-4036_daily_bin1763.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/297886/ft1_filtered_4FGL_J2328.3-4036_daily_bin1763.fits.....................!
real 36.92
user 35.54
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/297886/ft1_filtered_4FGL_J2328.3-4036_daily_bin1763.fits', '/scratch/kocevski/297886/ft2_4FGL_J2328.3-4036_daily_bin1763.fits', expMap='/scratch/kocevski/297886/expmap_696297601_696556801_4FGL_J2328.3-4036_daily_bin1763.fits', expCube='/scratch/kocevski/297886/ltcube_696297601_696556801_4FGL_J2328.3-4036_daily_bin1763.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/297886/Model_4FGL_J2328.3-4036_daily_bin1763.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  0.000e+00  1.000e+06 ( 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 -5.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/297886/ft1_filtered_4FGL_J2328.3-4036_daily_bin1763.fits
Spacecraft file(s): /scratch/kocevski/297886/ft2_4FGL_J2328.3-4036_daily_bin1763.fits
Exposure map: /scratch/kocevski/297886/expmap_696297601_696556801_4FGL_J2328.3-4036_daily_bin1763.fits
Exposure cube: /scratch/kocevski/297886/ltcube_696297601_696556801_4FGL_J2328.3-4036_daily_bin1763.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/297886/Model_4FGL_J2328.3-4036_daily_bin1763.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) = 4301.99701629

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55346E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    21.241       1.0000          .0000       .10000E+07
     3 'Prefactor '    52.116       1.0000          .0000       .10000E+07
     4 'Prefactor '    13.689       1.0000          .0000       .10000E+07
     5 'Prefactor '    .38029E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .48760E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.6360       1.0000          .0000       .10000E+07
     8 'Prefactor '    .35513       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.2474       1.0000          .0000       .10000E+07
    10 'Prefactor '    .22012E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .34224       1.0000          .0000       .10000E+07
    12 'Prefactor '    17.638       1.0000          .0000       .10000E+07
    13 'norm      '    .59780E-03   1.0000          .0000       .10000E+07
    14 'norm      '    10.658       1.0000          .0000       .10000E+07
    15 'norm      '    .27989E-03   1.0000          .0000       .10000E+07
    16 'norm      '    17.430       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11299E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    15.797       1.0000          .0000       .10000E+07
    19 'Prefactor '    26.464       1.0000          .0000       .10000E+07
    20 'norm      '    .69112E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .34886E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .39978E-04   1.0000          .0000       .10000E+07
    23 'norm      '    6.7207       1.0000          .0000       .10000E+07
    24 'Prefactor '    1.8515       1.0000          .0000       .10000E+07
    25 'Prefactor '    .86508E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    .78903E-05   1.0000          .0000       .10000E+07
    27 'Prefactor '    9.3040       1.0000          .0000       .10000E+07
    28 'Prefactor '    .52274E-03   1.0000          .0000       .10000E+07
    29 'Prefactor '    .27665       1.0000          .0000       .10000E+07
    30 'Normalizat'    1.0629       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .94694       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4301.996     FROM MIGRAD    STATUS=CONVERGED    209 CALLS     3127 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .58842E-08    8.3243        .47306E-07** at limit **
   2  Prefactor     21.205        7.4862        .41815E-09    .20038E-01
   3  Prefactor     52.421        39.234       -.85678E-07    .83608E-03
   4  Prefactor     13.700        8.9026        .54703E-07    .84159E-03
   5  Prefactor      .0000        5.4429       -.33163E-07** at limit **
   6  Prefactor     .80547E-07    11.116       -.12557E-07** at limit **
   7  Prefactor     6.6458        2.6058        .14512E-07    .10659E-01
   8  Prefactor     .34597        24.169       -.27739E-07    .96166E-02
   9  Prefactor     6.2487        1.8831       -.35319E-07    .39760E-02
  10  Prefactor      .0000        2.7696        .32002E-07** at limit **
  11  Prefactor     .86808E-06    21.559       -.46434E-07** at limit **
  12  Prefactor     17.583        3.6770       -.13580E-07   -.46804E-02
  13  norm           .0000        7.1487       -.12941E-06** at limit **
  14  norm          10.538        7.9731       -.44068E-07    .82186E-03
  15  norm          .19429E-08    8.1262       -.29518E-07** at limit **
  16  norm          17.472        5.2822       -.66342E-08    .13874E-01
  17  Prefactor      .0000        2.5962        .20228E-08** at limit **
  18  Prefactor     15.925        42.480       -.78559E-06    .15307E-02
  19  Prefactor     26.061        68.105        .25898E-06    .31501E-02
  20  norm          .39413E-08    9.3290        .10114E-06** at limit **
  21  Prefactor     .20095E-07    12.912       -.16410E-06** at limit **
  22  norm           .0000        5.2936        .73360E-08** at limit **
  23  norm          6.7025        5.4386        .64112E-08    .31286E-03
  24  Prefactor     1.8377        5.0560        .26093E-07    .16419E-03
  25  Prefactor     .23315E-08    10.437        .45861E-07** at limit **
  26  Prefactor     .55511E-10    12.564        .47515E-07** at limit **
  27  Prefactor     9.3242        9.3192       -.11949E-06    .88052E-03
  28  Prefactor      .0000        2.9939       -.75289E-07** at limit **
  29  Prefactor     .22038E-05    29.593        .19350E-06** at limit **
  30  Normalizat    1.0627        .27311       -.78454E-06    .72746E-05
  31  Prefactor     .94741        .28522        .79581E-06    .45217E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.88418e-09
  Prefactor  = 21.2045
  Prefactor  = 52.4206
  Prefactor  = 13.7001
  Prefactor  = 0
  Prefactor  = 8.05467e-08
  Prefactor  = 6.64578
  Prefactor  = 0.345968
  Prefactor  = 6.2487
  Prefactor  = 0
  Prefactor  = 8.68083e-07
  Prefactor  = 17.5832
  norm       = 0
  norm       = 10.5383
  norm       = 1.94289e-09
  norm       = 17.4723
  Prefactor  = 0
  Prefactor  = 15.9247
  Prefactor  = 26.0614
  norm       = 3.94129e-09
  Prefactor  = 2.0095e-08
  norm       = 0
  norm       = 6.70252
  Prefactor  = 1.83773
  Prefactor  = 2.33147e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 9.32419
  Prefactor  = 0
  Prefactor  = 2.20385e-06
  Normalizat = 1.06274
  Prefactor  = 0.947413
 **********
 **   18 **HESSE 
 **********

 FCN=   4301.996     FROM HESSE     STATUS=OK           688 CALLS     3815 TOTAL
                     EDM=   .80E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .58842E-08    21.445        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     21.205        25.318        .21704E-03   -1.5616    
   3  Prefactor     52.421        82.228        .13853E-03   -1.5563    
   4  Prefactor     13.700        8.9256        .27046E-03   -1.5634    
   5  Prefactor      .0000        5.3610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .80547E-07    13.754        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.6458        15.760        .38931E-03   -1.5656    
   8  Prefactor     .34597        17.037        .94880E-02   -1.5696    
   9  Prefactor     6.2487        19.177        .40138E-03   -1.5658    
  10  Prefactor      .0000        2.7689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .86808E-06    93.089        .96509E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     17.583        17.024        .23821E-03   -1.5624    
  13  norm           .0000        7.1534        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.538        8.2224        .30665E-03   -1.5643    
  15  norm          .19429E-08    8.1459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          17.472        15.342        .23963E-03   -1.5624    
  17  Prefactor      .0000        2.5944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.925        42.780        .25173E-03   -1.5628    
  19  Prefactor     26.061        79.926        .19443E-03   -1.5606    
  20  norm          .39413E-08    9.5110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .20095E-07    15.465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        1.7876        .24773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          6.7025        5.4573        .38682E-03   -1.5656    
  24  Prefactor     1.8377        5.3508        .76588E-03   -1.5681    
  25  Prefactor     .23315E-08    21.588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .55511E-10    20.773        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     9.3242        9.3528        .32832E-03   -1.5647    
  28  Prefactor      .0000        2.9855        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .22038E-05    76.619        .10545E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.0627        .23753        .39767E-01   -.90957    
  31  Prefactor     .94741        .24115        .45601E-01   -.94503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.97053e-08
Minuit parameter uncertainties:
  1  0.000709204
  2  25.3178
  3  82.2294
  4  8.92564
  5  1.58429e-05
  6  0.0021051
  7  15.7604
  8  4.85568
  9  19.1768
  10  2.75653e-06
  11  0.017979
  12  17.0241
  13  3.1632e-06
  14  8.22242
  15  0.000251624
  16  15.3417
  17  3.25834e-06
  18  42.7811
  19  79.9295
  20  0.000387065
  21  0.00111416
  22  3.99892e-06
  23  5.4573
  24  5.35083
  25  0.000448205
  26  5.00471e-05
  27  9.35282
  28  6.66805e-06
  29  0.0259893
  30  0.237771
  31  0.241423
Done.

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

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  3.941e-09  3.871e-04  0.000e+00  1.000e+06 ( 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 -5.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:  9.474e-01  2.414e-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.063e+00  2.378e-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.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.23e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/297886/likelihoodResults_696297601_696556801_4FGL_J2328.3-4036_daily_bin1763.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) = 4301.9904071
delta logL = 0.00515409136005

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4301.92486608
delta logL = 0.0706951102256

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .46003E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96816       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=   4301.925     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      318 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .45977E-01    4.8223        .81216E-03** at limit **
   2  alpha         5.0000        3.6644        .46267    ** at limit **
   3  Normalizat    1.0324        .52318E-01    .41896E-01   -.66711E-05
   4  Prefactor     .96872        .54660E-01    .45868E-01    .16578E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0459773
  alpha      = 5
  Normalizat = 1.03235
  Prefactor  = 0.968717
 **********
 **   18 **HESSE 
 **********

 FCN=   4301.925     FROM HESSE     STATUS=OK            37 CALLS      355 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .45977E-01    .15076        .32518E-04   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        4.9863        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0324        .27298        .24261E-03   -.91954    
   4  Prefactor     .96872        .28918        .27135E-03   -.93780    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.14447e-09
Minuit parameter uncertainties:
  1  0.150756
  2  6.86161e-05
  3  0.273348
  4  0.289645
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/297886': 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) = 4301.92486392
delta logL = 0.0706972637799

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  4.598e-02  1.508e-01  0.000e+00  1.000e+06 ( 1.000e-12)
456        alpha:  5.000e+00  6.862e-05  0.000e+00  5.000e+00 ( 1.000e+00)
457         beta:  7.057e-02  0.000e+00 -5.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:  9.687e-01  2.896e-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.032e+00  2.733e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/297886/cmap_HighResolution_696297601_696556801_4FGL_J2328.3-4036_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.23e-05', job_status='DONE', photon_flux_upper_limit='9.26e-08', time_completed='2023-01-28 02:05:02.819025', job_id='297886', GAL2='0.97', fit_tolerance='1e-08', EG2='1.03', EG='1.06', time_epoch_completed='1674900302.82', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='7.07e-02', ts2='0.15', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='1763' AND source_name='4FGL J2328.3-4036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 02:05:02 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 297886: <4FGL_J2328.3-4036_daily_bin1763> in cluster <slac> Done

Job <4FGL_J2328.3-4036_daily_bin1763> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Jan 28 01:50:22 2023
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 01:51:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 01:51:21 2023
Terminated at Sat Jan 28 02:05:03 2023
Results reported at Sat Jan 28 02:05:03 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2328.3-4036_daily_bin1763 352.082 -40.6037 696297601 696556801 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 :                                   636.19 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             319.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            881 sec.

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

