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


Performing analysis on: 4FGL_J2328.3-4036_daily_bin1734
RA = 352.082, Dec = -40.6037
tmin = 688780801, tmax = 689040001
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='776571', job_status='RUN', time_executed='2022-11-02 00:38:13.662951', time_epoch_executed='1667374693.66' WHERE source_name='4FGL J2328.3-4036' and cadence='daily' and bin_id='1734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776571

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776571/ft1_4FGL_J2328.3-4036_daily_bin1734.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776571/ft2_4FGL_J2328.3-4036_daily_bin1734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776571/ft1_4FGL_J2328.3-4036_daily_bin1734.fits outfile=/scratch/kocevski/776571/ft1_filteredMKT_4FGL_J2328.3-4036_daily_bin1734.fits ra=352.082 dec=-40.6037 rad=12.0 tmin=688780801.0 tmax=689040001.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.55
user 3.34
sys 0.20

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

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

Number of photons that the gtmktime cut: 600

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/776571/ft1_filtered_4FGL_J2328.3-4036_daily_bin1734.fits" evtable="EVENTS" scfile=/scratch/kocevski/776571/ft2_4FGL_J2328.3-4036_daily_bin1734.fits sctable="SC_DATA" outfile=/scratch/kocevski/776571/ltcube_688780801_689040001_4FGL_J2328.3-4036_daily_bin1734.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/776571/ft2_4FGL_J2328.3-4036_daily_bin1734.fits
.....................!
real 12.02
user 11.66
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776571/ft1_filtered_4FGL_J2328.3-4036_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776571/ft2_4FGL_J2328.3-4036_daily_bin1734.fits sctable="SC_DATA" expcube=/scratch/kocevski/776571/ltcube_688780801_689040001_4FGL_J2328.3-4036_daily_bin1734.fits outfile=/scratch/kocevski/776571/expmap_688780801_689040001_4FGL_J2328.3-4036_daily_bin1734.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/776571/ltcube_688780801_689040001_4FGL_J2328.3-4036_daily_bin1734.fits
.....................!
real 193.35
user 187.75
sys 5.25

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/776571/ft1_filtered_4FGL_J2328.3-4036_daily_bin1734.fits scfile=/scratch/kocevski/776571/ft2_4FGL_J2328.3-4036_daily_bin1734.fits outfile=/scratch/kocevski/776571/cmap_688780801_689040001_4FGL_J2328.3-4036_daily_bin1734.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/776571/ft1_filtered_4FGL_J2328.3-4036_daily_bin1734.fits scfile=/scratch/kocevski/776571/ft2_4FGL_J2328.3-4036_daily_bin1734.fits outfile=/scratch/kocevski/776571/cmap_HighResolution_688780801_689040001_4FGL_J2328.3-4036_daily_bin1734.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/776571/ft1_filtered_4FGL_J2328.3-4036_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776571/ft2_4FGL_J2328.3-4036_daily_bin1734.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/776571/Model_4FGL_J2328.3-4036_daily_bin1734.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/776571/ft1_filtered_4FGL_J2328.3-4036_daily_bin1734.fits....................!
real 47.77
user 46.35
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/776571/ft1_filtered_4FGL_J2328.3-4036_daily_bin1734.fits', '/scratch/kocevski/776571/ft2_4FGL_J2328.3-4036_daily_bin1734.fits', expMap='/scratch/kocevski/776571/expmap_688780801_689040001_4FGL_J2328.3-4036_daily_bin1734.fits', expCube='/scratch/kocevski/776571/ltcube_688780801_689040001_4FGL_J2328.3-4036_daily_bin1734.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/776571/Model_4FGL_J2328.3-4036_daily_bin1734.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/776571/ft1_filtered_4FGL_J2328.3-4036_daily_bin1734.fits
Spacecraft file(s): /scratch/kocevski/776571/ft2_4FGL_J2328.3-4036_daily_bin1734.fits
Exposure map: /scratch/kocevski/776571/expmap_688780801_689040001_4FGL_J2328.3-4036_daily_bin1734.fits
Exposure cube: /scratch/kocevski/776571/ltcube_688780801_689040001_4FGL_J2328.3-4036_daily_bin1734.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/776571/Model_4FGL_J2328.3-4036_daily_bin1734.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6503.35814129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .84682E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .48437E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .13484E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .30531E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    .16193E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    12.647       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2999       1.0000          .0000       .10000E+07
     8 'Prefactor '    11.907       1.0000          .0000       .10000E+07
     9 'Prefactor '    14.075       1.0000          .0000       .10000E+07
    10 'Prefactor '    .21050E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .90322E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .43803E-02   1.0000          .0000       .10000E+07
    13 'norm      '    9.6134       1.0000          .0000       .10000E+07
    14 'norm      '    2.5321       1.0000          .0000       .10000E+07
    15 'norm      '    .34850E-06   1.0000          .0000       .10000E+07
    16 'norm      '    8.8719       1.0000          .0000       .10000E+07
    17 'Prefactor '    .64242       1.0000          .0000       .10000E+07
    18 'Prefactor '    54.705       1.0000          .0000       .10000E+07
    19 'Prefactor '    .63574E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .98477E-07   1.0000          .0000       .10000E+07
    21 'Prefactor '    27.583       1.0000          .0000       .10000E+07
    22 'norm      '    .56644E-01   1.0000          .0000       .10000E+07
    23 'norm      '    2.8824       1.0000          .0000       .10000E+07
    24 'Prefactor '    4.8350       1.0000          .0000       .10000E+07
    25 'Prefactor '    .25081E-03   1.0000          .0000       .10000E+07
    26 'Prefactor '    .55499E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    .80325E-07   1.0000          .0000       .10000E+07
    28 'Prefactor '    4.9369       1.0000          .0000       .10000E+07
    29 'Prefactor '    5.0208       1.0000          .0000       .10000E+07
    30 'Normalizat'    .83503       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .97538       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=   6499.857     FROM MIGRAD    STATUS=CONVERGED    202 CALLS     1774 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .36671E-06    5.1457       -.17058E-05** at limit **
   2  Prefactor     .16631E-06    1.1636       -.74214E-06** at limit **
   3  Prefactor     .25513E-06    5.0663       -.17616E-05** at limit **
   4  Prefactor     .16653E-09    2.7675        .30027E-06** at limit **
   5  Prefactor     .55511E-10    1.4972       -.24704E-07** at limit **
   6  Prefactor     12.537        1.2185        .11143E-06   -.41246E-03
   7  Prefactor     2.1019        3.1444        .12144E-05    .38747E-02
   8  Prefactor     11.964        1.7493       -.26431E-06    .35058E-02
   9  Prefactor     14.258        5.7350        .64691E-06    .61863E-01
  10  Prefactor     .55511E-10    2.8920        .40974E-06** at limit **
  11  Prefactor     .85487E-08    5.0374       -.38309E-06** at limit **
  12  Prefactor     .29721E-06    10.040        .20628E-05** at limit **
  13  norm          9.4179        7.3949       -.79262E-06   -.54847E-01
  14  norm          2.5300        3.4660        .26358E-06   -.12223E-03
  15  norm           .0000        1.2918       -.61392E-07** at limit **
  16  norm          8.8366        6.6395        .86970E-07    .21751E-02
  17  Prefactor     .78128        6.9723        .28839E-05    .25613E-01
  18  Prefactor     54.264        20.926       -.10949E-05    .76283E-01
  19  Prefactor     .10214E-07    9.5144        .58661E-06** at limit **
  20  norm          .11102E-09    2.3427       -.42893E-06** at limit **
  21  Prefactor     27.263        5.0156        .48664E-06    .47126E-01
  22  norm          .54210E-01    2.8412       -.63946E-06** at limit **
  23  norm          2.8889        4.5007        .62649E-06   -.25541E-02
  24  Prefactor     4.8357        3.3844       -.24428E-06   -.53562E-02
  25  Prefactor     .71354E-06    13.159        .22929E-05** at limit **
  26  Prefactor     .67113E-07    6.4522        .11219E-06** at limit **
  27  Prefactor     .49960E-09    4.2432        .74504E-06** at limit **
  28  Prefactor     4.9372        3.3512       -.87887E-07    .10705E-02
  29  Prefactor     4.1709        34.435       -.25043E-05   -.11902E-01
  30  Normalizat    .83582        .18383        .67791E-06    .11006E-04
  31  Prefactor     .97554        .20701        .19588E-05    .68319E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.66707e-07
  Prefactor  = 1.66311e-07
  Prefactor  = 2.55129e-07
  Prefactor  = 1.66533e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 12.5374
  Prefactor  = 2.1019
  Prefactor  = 11.9636
  Prefactor  = 14.2576
  Prefactor  = 5.55112e-11
  Prefactor  = 8.54872e-09
  Prefactor  = 2.97207e-07
  norm       = 9.41793
  norm       = 2.53001
  norm       = 0
  norm       = 8.83662
  Prefactor  = 0.781284
  Prefactor  = 54.264
  Prefactor  = 1.02141e-08
  norm       = 1.11022e-10
  Prefactor  = 27.2627
  norm       = 0.0542097
  norm       = 2.88891
  Prefactor  = 4.83566
  Prefactor  = 7.1354e-07
  Prefactor  = 6.7113e-08
  Prefactor  = 4.996e-10
  Prefactor  = 4.93724
  Prefactor  = 4.17086
  Normalizat = 0.835819
  Prefactor  = 0.975538
 **********
 **   18 **HESSE 
 **********

 FCN=   6499.857     FROM HESSE     STATUS=OK           692 CALLS     2466 TOTAL
                     EDM=   .48E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .36671E-06    17.679        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .16631E-06    13.653        .99489E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .25513E-06    17.230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .16653E-09    2.7778        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    1.4892        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.537        16.054        .28142E-03   -1.5637    
   7  Prefactor     2.1019        27.629        .67643E-03   -1.5679    
   8  Prefactor     11.964        17.479        .29005E-03   -1.5639    
   9  Prefactor     14.258        12.284        .26672E-03   -1.5632    
  10  Prefactor     .55511E-10    2.8865        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .85487E-08    15.775        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .29721E-06    14.996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          9.4179        11.866        .32296E-03   -1.5647    
  14  norm          2.5300        3.4971        .64161E-03   -1.5676    
  15  norm           .0000        1.2906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.8366        6.6528        .33627E-03   -1.5649    
  17  Prefactor     .78128        26.626        .65511E-03   -1.5690    
  18  Prefactor     54.264        35.919        .13521E-03   -1.5561    
  19  Prefactor     .10214E-07    9.5715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .11102E-09    2.3368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     27.263        20.500        .19044E-03   -1.5604    
  22  norm          .54210E-01    .83309        .22556E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.8889        4.9447        .59838E-03   -1.5674    
  24  Prefactor     4.8357        3.4259        .45726E-03   -1.5664    
  25  Prefactor     .71354E-06    21.079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .67113E-07    19.567        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .49960E-09    4.2199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     4.9372        3.4578        .45241E-03   -1.5664    
  29  Prefactor     4.1709        52.637        .44854E-03   -1.5667    
  30  Normalizat    .83582        .15721        .44066E-01   -.98753    
  31  Prefactor     .97554        .17501        .45959E-01   -.93549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.84642e-07
Minuit parameter uncertainties:
  1  0.00509226
  2  0.00301358
  3  0.00419323
  4  4.47177e-05
  5  1.65131e-05
  6  16.0538
  7  15.2412
  8  17.4795
  9  12.2837
  10  1.85425e-05
  11  0.000734921
  12  0.00422248
  13  11.8663
  14  3.49713
  15  5.7467e-06
  16  6.6528
  17  9.122
  18  35.9195
  19  0.000625404
  20  3.1341e-05
  21  20.4998
  22  0.425024
  23  4.94473
  24  3.42587
  25  0.00775633
  26  0.00229209
  27  9.09201e-05
  28  3.4578
  29  29.6341
  30  0.157299
  31  0.175111
Done.

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

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  1.110e-10  3.134e-05  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.755e-01  1.751e-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:  8.358e-01  1.573e-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: 5.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.90e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/776571/likelihoodResults_688780801_689040001_4FGL_J2328.3-4036_daily_bin1734.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) = 6499.85767239
delta logL = -0.000208916766496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6499.85747346
delta logL = -9.9922363006e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21972E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    1.2814       1.0000          .0000       5.0000    
     3 'Normalizat'    .83531       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97634       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6499.857     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      245 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .33210        .15779E-02** at limit **
   2  alpha         3.8583        1.0101        .20575E-03     .0000    
   3  Normalizat    .83582        1.1735       -.66914E-05   -.97519E-03
   4  Prefactor     .97553        1.3165        .30897E-04   -.11680E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.85831
  Normalizat = 0.835821
  Prefactor  = 0.975532
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6499.857     FROM HESSE     STATUS=FAILED         7 CALLS      252 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .33210        .15779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6609        1.0298        .20575E-03    .57439    
   3  Normalizat    .83582        1.1735       -.66914E-05   -.98753    
   4  Prefactor     .97553        1.3165        .30897E-04   -.93550    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.20034e-10
Minuit parameter uncertainties:
  1  5.03773e-06
  2  1.05381
  3  1.21235
  4  1.364
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776571': 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): 101
logL (Free Index) = 6499.85746347
delta logL = -6.67569111101e-10

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  0.000e+00  5.038e-06  0.000e+00  1.000e+06 ( 1.000e-12)
456        alpha:  3.858e+00  1.054e+00  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.755e-01  1.364e+00  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:  8.358e-01  1.212e+00  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/776571/cmap_HighResolution_688780801_689040001_4FGL_J2328.3-4036_daily_bin1734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.90e-05', job_status='DONE', photon_flux_upper_limit='5.43e-08', time_completed='2022-11-02 00:49:27.537460', job_id='776571', GAL2='0.98', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1667375367.54', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='-6.68e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='1734' AND source_name='4FGL J2328.3-4036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Nov  2 00:49:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 776571: <4FGL_J2328.3-4036_daily_bin1734> in cluster <slac> Done

Job <4FGL_J2328.3-4036_daily_bin1734> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Nov  2 00:35:36 2022
Job was executed on host(s) <bullet0125>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Nov  2 00:35:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Nov  2 00:35:37 2022
Terminated at Wed Nov  2 00:49:28 2022
Results reported at Wed Nov  2 00:49:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2328.3-4036_daily_bin1734 352.082 -40.6037 688780801 689040001 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 :                                   676.01 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             283.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            832 sec.

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

