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


Performing analysis on: 4FGL_J2328.3-4036_daily_bin1765
RA = 352.082, Dec = -40.6037
tmin = 696816001, tmax = 697075201
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='649824', job_status='RUN', time_executed='2023-02-03 01:54:55.231829', time_epoch_executed='1675418095.23' WHERE source_name='4FGL J2328.3-4036' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/649824

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/649824/ft1_4FGL_J2328.3-4036_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/649824/ft2_4FGL_J2328.3-4036_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/649824/ft1_4FGL_J2328.3-4036_daily_bin1765.fits outfile=/scratch/kocevski/649824/ft1_filteredMKT_4FGL_J2328.3-4036_daily_bin1765.fits ra=352.082 dec=-40.6037 rad=12.0 tmin=696816001.0 tmax=697075201.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.68
user 3.42
sys 0.22

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

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

Number of photons that the gtmktime cut: 338

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/649824/ft1_filtered_4FGL_J2328.3-4036_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/649824/ft2_4FGL_J2328.3-4036_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/649824/ltcube_696816001_697075201_4FGL_J2328.3-4036_daily_bin1765.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/649824/ft2_4FGL_J2328.3-4036_daily_bin1765.fits
.....................!
real 13.61
user 13.17
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/649824/ft1_filtered_4FGL_J2328.3-4036_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/649824/ft2_4FGL_J2328.3-4036_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/649824/ltcube_696816001_697075201_4FGL_J2328.3-4036_daily_bin1765.fits outfile=/scratch/kocevski/649824/expmap_696816001_697075201_4FGL_J2328.3-4036_daily_bin1765.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/649824/ltcube_696816001_697075201_4FGL_J2328.3-4036_daily_bin1765.fits
.....................!
real 192.36
user 186.05
sys 5.17

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/649824/ft1_filtered_4FGL_J2328.3-4036_daily_bin1765.fits scfile=/scratch/kocevski/649824/ft2_4FGL_J2328.3-4036_daily_bin1765.fits outfile=/scratch/kocevski/649824/cmap_696816001_697075201_4FGL_J2328.3-4036_daily_bin1765.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/649824/ft1_filtered_4FGL_J2328.3-4036_daily_bin1765.fits scfile=/scratch/kocevski/649824/ft2_4FGL_J2328.3-4036_daily_bin1765.fits outfile=/scratch/kocevski/649824/cmap_HighResolution_696816001_697075201_4FGL_J2328.3-4036_daily_bin1765.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/649824/ft1_filtered_4FGL_J2328.3-4036_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/649824/ft2_4FGL_J2328.3-4036_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/649824/Model_4FGL_J2328.3-4036_daily_bin1765.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/649824/ft1_filtered_4FGL_J2328.3-4036_daily_bin1765.fits......................!
real 33.73
user 32.33
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28414E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    38.192       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38147E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.4299       1.0000          .0000       .10000E+07
     5 'Prefactor '    .83049E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .60255E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .99340E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .86450E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.3853       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.5581       1.0000          .0000       .10000E+07
    11 'Prefactor '    107.01       1.0000          .0000       .10000E+07
    12 'Prefactor '    9.5787       1.0000          .0000       .10000E+07
    13 'norm      '    .72105E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .27557E-03   1.0000          .0000       .10000E+07
    15 'norm      '    5.0834       1.0000          .0000       .10000E+07
    16 'norm      '    8.5218       1.0000          .0000       .10000E+07
    17 'Prefactor '    .16061E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    43.593       1.0000          .0000       .10000E+07
    19 'Prefactor '    13.694       1.0000          .0000       .10000E+07
    20 'norm      '    .44091E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .25538E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .96943       1.0000          .0000       .10000E+07
    23 'norm      '    .71576E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .10457E-05   1.0000          .0000       .10000E+07
    25 'Prefactor '    29.478       1.0000          .0000       .10000E+07
    26 'Prefactor '    90.804       1.0000          .0000       .10000E+07
    27 'Prefactor '    .96593E-03   1.0000          .0000       .10000E+07
    28 'Prefactor '    .68495E-03   1.0000          .0000       .10000E+07
    29 'Prefactor '    24.052       1.0000          .0000       .10000E+07
    30 'Normalizat'    .49897       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.2565       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=   3860.252     FROM MIGRAD    STATUS=CONVERGED    171 CALLS     2930 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22649E-07    26.918       -.12316E-05** at limit **
   2  Prefactor     38.634        3.5187        .12427E-06   -.84600E-02
   3  Prefactor     .19429E-08    .76177       -.25348E-06** at limit **
   4  Prefactor     8.4972        4.9992       -.13308E-05   -.84426E-02
   5  Prefactor     .12212E-08    3.3175       -.37011E-06** at limit **
   6  Prefactor     .13689E-06    43.169        .46004E-06** at limit **
   7  Prefactor     .19984E-08    9.6417       -.15922E-06** at limit **
   8  Prefactor     .55511E-09    11.902        .28661E-06** at limit **
   9  Prefactor     1.7384        1.7313        .24390E-06    .22685E-02
  10  Prefactor     2.6161        6.8032        .38070E-07   -.11254E-02
  11  Prefactor     107.32        7.6378        .40625E-06   -.26854    
  12  Prefactor     9.6318        1.2124        .78973E-07    .60397E-02
  13  norm          .34528E-07    4.1859       -.79055E-06** at limit **
  14  norm          .46962E-07    3.7814        .19893E-05** at limit **
  15  norm          5.0496        5.4718       -.53115E-07   -.31965E-02
  16  norm          8.4246        7.4190       -.21304E-05    .15698E-01
  17  Prefactor     .55511E-10    3.0656        .71010E-07** at limit **
  18  Prefactor     44.858        19.511        .31186E-06    .73340E-01
  19  Prefactor     16.639        46.915        .19407E-05    .33418E-02
  20  norm          .55511E-10    2.4003       -.11309E-06** at limit **
  21  Prefactor      .0000        7.2301        .65285E-06** at limit **
  22  norm          .97258        1.0196       -.65479E-07    .87585E-02
  23  norm          .38858E-09    2.9423       -.23969E-06** at limit **
  24  Prefactor      .0000        1.3866       -.13845E-06** at limit **
  25  Prefactor     29.486        2.4837       -.25903E-07    .33789E-01
  26  Prefactor     91.088        4.7359        .16969E-06   -.66450E-01
  27  Prefactor     .71054E-08    3.2374       -.11323E-05** at limit **
  28  Prefactor     .85487E-08    3.1688        .21894E-05** at limit **
  29  Prefactor     25.056        15.625        .61372E-06   -.11090E-01
  30  Normalizat    .49433        .23893        .13218E-04    .63049E-04
  31  Prefactor     1.2575        .26143       -.39735E-06    .11121E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.26485e-08
  Prefactor  = 38.634
  Prefactor  = 1.94289e-09
  Prefactor  = 8.49723
  Prefactor  = 1.22125e-09
  Prefactor  = 1.3689e-07
  Prefactor  = 1.9984e-09
  Prefactor  = 5.55112e-10
  Prefactor  = 1.73842
  Prefactor  = 2.61611
  Prefactor  = 107.319
  Prefactor  = 9.63176
  norm       = 3.45279e-08
  norm       = 4.69624e-08
  norm       = 5.0496
  norm       = 8.42459
  Prefactor  = 5.55112e-11
  Prefactor  = 44.8582
  Prefactor  = 16.6386
  norm       = 5.55112e-11
  Prefactor  = 0
  norm       = 0.972581
  norm       = 3.88578e-10
  Prefactor  = 0
  Prefactor  = 29.4861
  Prefactor  = 91.0884
  Prefactor  = 7.10543e-09
  Prefactor  = 8.54872e-09
  Prefactor  = 25.0557
  Normalizat = 0.49433
  Prefactor  = 1.25749
 **********
 **   18 **HESSE 
 **********

 FCN=   3860.252     FROM HESSE     STATUS=OK           680 CALLS     3610 TOTAL
                     EDM=   .31E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22649E-07    27.062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     38.634        30.161        .16183E-03   -1.5584    
   3  Prefactor     .19429E-08    42.488        .16048E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.4972        9.3465        .34503E-03   -1.5650    
   5  Prefactor     .12212E-08    3.3159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .13689E-06    43.482        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .19984E-08    9.6509        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-09    11.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.7384        43.201        .92370E-03   -1.5682    
  10  Prefactor     2.6161        6.8271        .63805E-03   -1.5676    
  11  Prefactor     107.32        59.610        .96675E-04   -1.5501    
  12  Prefactor     9.6318        13.152        .32355E-03   -1.5646    
  13  norm          .34528E-07    4.9019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .46962E-07    4.8558        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.0496        5.6711        .44571E-03   -1.5663    
  16  norm          8.4246        11.702        .34315E-03   -1.5650    
  17  Prefactor     .55511E-10    3.0647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     44.858        44.996        .15147E-03   -1.5574    
  19  Prefactor     16.639        53.805        .27041E-03   -1.5626    
  20  norm          .55511E-10    2.3915        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        7.2457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .97258        1.0469        .42680E-03   -1.5688    
  23  norm          .38858E-09    2.9422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        1.3908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     29.486        24.259        .18421E-03   -1.5599    
  26  Prefactor     91.088        75.828        .10495E-03   -1.5517    
  27  Prefactor     .71054E-08    3.7285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .85487E-08    3.7087        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     25.056        50.899        .20395E-03   -1.5608    
  30  Normalizat    .49433        .21461        .66472E-01   -1.1268    
  31  Prefactor     1.2575        .22209        .48981E-01   -.84580    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.05851e-06
Minuit parameter uncertainties:
  1  0.00156581
  2  30.1612
  3  0.000575738
  4  9.34649
  5  0.000128461
  6  0.00487913
  7  0.000278665
  8  0.000161843
  9  17.3323
  10  6.82713
  11  59.6104
  12  13.1522
  13  0.000822738
  14  0.000954976
  15  5.67114
  16  11.7022
  17  1.91091e-05
  18  44.9963
  19  53.8065
  20  2.35575e-05
  21  1.56307e-06
  22  1.04691
  23  6.53979e-05
  24  6.88725e-07
  25  24.259
  26  75.8291
  27  0.000326019
  28  0.000356683
  29  50.9004
  30  0.214966
  31  0.222261
Done.

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

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  5.551e-11  2.356e-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:  1.257e+00  2.223e-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:  4.943e-01  2.150e-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: 7.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.63e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/649824/likelihoodResults_696816001_697075201_4FGL_J2328.3-4036_daily_bin1765.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) = 3860.25186039
delta logL = -0.000344893388501

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3860.251518
delta logL = -2.50455786954e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .36993E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    .82332       1.0000          .0000       5.0000    
     3 'Normalizat'    .49455       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2575       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=   3860.252     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      239 TOTAL
                     EDM=   .60E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.6637        .42118E-03** at limit **
   2  alpha         3.1522        1.4555       -.24674E-04     .0000    
   3  Normalizat    .49433        .82520       -.11940E-04   -.11620E-04
   4  Prefactor     1.2575        1.0868        .63703E-05    .25457E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.15223
  Normalizat = 0.494329
  Prefactor  = 1.25749
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   3860.252     FROM HESSE     STATUS=FAILED         7 CALLS      246 TOTAL
                     EDM=   .60E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.6637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8911        1.4555       -.24674E-04    .26395    
   3  Normalizat    .49433        .82520       -.11940E-04   -1.1268    
   4  Prefactor     1.2575        1.0868        .63703E-05   -.84580    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.04333e-12
Minuit parameter uncertainties:
  1  1.7089e-06
  2  1.56239
  3  0.84703
  4  1.10727
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/649824': 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) = 3860.2515155
delta logL = 1.50066625793e-11

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  0.000e+00  1.709e-06  0.000e+00  1.000e+06 ( 1.000e-12)
456        alpha:  3.152e+00  1.562e+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:  1.257e+00  1.107e+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:  4.943e-01  8.470e-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/649824/cmap_HighResolution_696816001_697075201_4FGL_J2328.3-4036_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.63e-05', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2023-02-03 02:05:07.095327', job_id='649824', GAL2='1.26', fit_tolerance='1e-08', EG2='0.49', EG='0.49', time_epoch_completed='1675418707.1', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.26', dlogl='1.50e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='1765' AND source_name='4FGL J2328.3-4036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 02:05:07 PST 2023


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

Job <4FGL_J2328.3-4036_daily_bin1765> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Feb  3 01:50:28 2023
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:51:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:51:28 2023
Terminated at Fri Feb  3 02:05:07 2023
Results reported at Fri Feb  3 02:05:07 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2328.3-4036_daily_bin1765 352.082 -40.6037 696816001 697075201 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 :                                   613.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   819 sec.
    Turnaround time :                            879 sec.

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

