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


Performing analysis on: 4FGL_J2328.3-4036_daily_bin1747
RA = 352.082, Dec = -40.6037
tmin = 692150401, tmax = 692409601
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='817382', job_status='RUN', time_executed='2022-12-11 01:57:06.664274', time_epoch_executed='1670752626.66' WHERE source_name='4FGL J2328.3-4036' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/817382

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/817382/ft1_4FGL_J2328.3-4036_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/817382/ft2_4FGL_J2328.3-4036_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/817382/ft1_4FGL_J2328.3-4036_daily_bin1747.fits outfile=/scratch/kocevski/817382/ft1_filteredMKT_4FGL_J2328.3-4036_daily_bin1747.fits ra=352.082 dec=-40.6037 rad=12.0 tmin=692150401.0 tmax=692409601.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 4.03
user 3.74
sys 0.23

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

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

Number of photons that the gtmktime cut: 373

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/817382/ft1_filtered_4FGL_J2328.3-4036_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/817382/ft2_4FGL_J2328.3-4036_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/817382/ltcube_692150401_692409601_4FGL_J2328.3-4036_daily_bin1747.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/817382/ft2_4FGL_J2328.3-4036_daily_bin1747.fits
.....................!
real 12.04
user 11.64
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/817382/ft1_filtered_4FGL_J2328.3-4036_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/817382/ft2_4FGL_J2328.3-4036_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/817382/ltcube_692150401_692409601_4FGL_J2328.3-4036_daily_bin1747.fits outfile=/scratch/kocevski/817382/expmap_692150401_692409601_4FGL_J2328.3-4036_daily_bin1747.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/817382/ltcube_692150401_692409601_4FGL_J2328.3-4036_daily_bin1747.fits
.....................!
real 194.01
user 187.94
sys 5.10

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/817382/ft1_filtered_4FGL_J2328.3-4036_daily_bin1747.fits scfile=/scratch/kocevski/817382/ft2_4FGL_J2328.3-4036_daily_bin1747.fits outfile=/scratch/kocevski/817382/cmap_692150401_692409601_4FGL_J2328.3-4036_daily_bin1747.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.58
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/817382/ft1_filtered_4FGL_J2328.3-4036_daily_bin1747.fits scfile=/scratch/kocevski/817382/ft2_4FGL_J2328.3-4036_daily_bin1747.fits outfile=/scratch/kocevski/817382/cmap_HighResolution_692150401_692409601_4FGL_J2328.3-4036_daily_bin1747.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/817382/ft1_filtered_4FGL_J2328.3-4036_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/817382/ft2_4FGL_J2328.3-4036_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/817382/Model_4FGL_J2328.3-4036_daily_bin1747.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/817382/ft1_filtered_4FGL_J2328.3-4036_daily_bin1747.fits.....................!
real 35.96
user 34.68
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    99.249       1.0000          .0000       .10000E+07
     2 'Prefactor '    .55513E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    77.690       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.4169       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.7619       1.0000          .0000       .10000E+07
     6 'Prefactor '    45.659       1.0000          .0000       .10000E+07
     7 'Prefactor '    .37189E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .45584E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.9975       1.0000          .0000       .10000E+07
    10 'Prefactor '    .99497E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    37.951       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.3495       1.0000          .0000       .10000E+07
    13 'norm      '    .43258E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .42402E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .46790E-03   1.0000          .0000       .10000E+07
    16 'norm      '    1.5117       1.0000          .0000       .10000E+07
    17 'Prefactor '    15.333       1.0000          .0000       .10000E+07
    18 'Prefactor '    .25776       1.0000          .0000       .10000E+07
    19 'Prefactor '    .29651E-02   1.0000          .0000       .10000E+07
    20 'norm      '    4.5971       1.0000          .0000       .10000E+07
    21 'Prefactor '    .25867E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .51001       1.0000          .0000       .10000E+07
    23 'norm      '    4.8166       1.0000          .0000       .10000E+07
    24 'Prefactor '    .48794E-05   1.0000          .0000       .10000E+07
    25 'Prefactor '    .58809       1.0000          .0000       .10000E+07
    26 'Prefactor '    48.674       1.0000          .0000       .10000E+07
    27 'Prefactor '    .23797E-02   1.0000          .0000       .10000E+07
    28 'Prefactor '    .16208E-05   1.0000          .0000       .10000E+07
    29 'Prefactor '    .69817E-01   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.1422       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .94505       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=   4224.454     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     4334 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     99.242        2.2608        .10283E-08    .68224E-01
   2  Prefactor     .74790E-06    21.596       -.37099E-05** at limit **
   3  Prefactor     77.812        7.1072        .26885E-07   -.24897    
   4  Prefactor     1.3870        7.3423        .51454E-06   -.54361E-03
   5  Prefactor     4.7068        5.5959       -.83750E-07    .49997E-04
   6  Prefactor     45.606        1.4462        .42846E-07   -.12542E-01
   7  Prefactor     .24708E-06    7.9321        .28079E-05** at limit **
   8  Prefactor     .34750E-07    19.376       -.43877E-05** at limit **
   9  Prefactor     3.9598        1.6591       -.34452E-06   -.99855E-02
  10  Prefactor     .11102E-09    5.9270       -.13684E-05** at limit **
  11  Prefactor     37.848        4.5083        .23942E-06   -.69052E-01
  12  Prefactor     2.3670        3.7956        .94161E-06    .51638E-01
  13  norm          .13878E-08    9.8545       -.10461E-05** at limit **
  14  norm           .0000        2.5357       -.97000E-06** at limit **
  15  norm           .0000        2.6545        .22805E-07** at limit **
  16  norm          1.5073        5.8896       -.40645E-06   -.59703E-03
  17  Prefactor     15.360        7.0378       -.20577E-06   -.39186E-02
  18  Prefactor     .64643E-05    7.0551        .32328E-05** at limit **
  19  Prefactor     .11602E-06    9.8933       -.20174E-05** at limit **
  20  norm          4.6689        5.7160        .31113E-06    .34970E-03
  21  Prefactor     .94313E-07    14.250       -.10792E-05** at limit **
  22  norm          .51042        .87811       -.18070E-06   -.31113E-02
  23  norm          4.7535        5.8281        .38320E-06    .97068E-03
  24  Prefactor      .0000        1.2465        .19003E-06** at limit **
  25  Prefactor     .59115E-05    474.91        .79883E-05** at limit **
  26  Prefactor     48.554        3.8176        .84421E-07    .13293E-01
  27  Prefactor     .10769E-07    7.7786        .32989E-05** at limit **
  28  Prefactor     .55511E-10    2.1758        .83338E-06** at limit **
  29  Prefactor     .45747E-06    36.020       -.53671E-05** at limit **
  30  Normalizat    1.1435        .26034       -.80512E-05   -.18476E-03
  31  Prefactor     .94476        .28374        .21008E-06   -.10638E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 99.2417
  Prefactor  = 7.47902e-07
  Prefactor  = 77.8118
  Prefactor  = 1.38702
  Prefactor  = 4.70681
  Prefactor  = 45.6055
  Prefactor  = 2.4708e-07
  Prefactor  = 3.475e-08
  Prefactor  = 3.95984
  Prefactor  = 1.11022e-10
  Prefactor  = 37.8482
  Prefactor  = 2.36701
  norm       = 1.38778e-09
  norm       = 0
  norm       = 0
  norm       = 1.5073
  Prefactor  = 15.3604
  Prefactor  = 6.46433e-06
  Prefactor  = 1.16018e-07
  norm       = 4.66892
  Prefactor  = 9.43134e-08
  norm       = 0.510422
  norm       = 4.7535
  Prefactor  = 0
  Prefactor  = 5.91149e-06
  Prefactor  = 48.554
  Prefactor  = 1.07692e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 4.57467e-07
  Normalizat = 1.14353
  Prefactor  = 0.944757
 **********
 **   18 **HESSE 
 **********

 FCN=   4224.454     FROM HESSE     STATUS=OK           692 CALLS     5026 TOTAL
                     EDM=   .74E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     99.242        86.345        .10038E-03   -1.5509    
   2  Prefactor     .74790E-06    17.836        .98003E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     77.812        84.961        .11346E-03   -1.5532    
   4  Prefactor     1.3870        18.327        .90898E-03   -1.5684    
   5  Prefactor     4.7068        5.6515        .46084E-03   -1.5665    
   6  Prefactor     45.606        43.824        .14800E-03   -1.5573    
   7  Prefactor     .24708E-06    15.699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .34750E-07    21.854        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.9598        24.591        .50418E-03   -1.5668    
  10  Prefactor     .11102E-09    5.9170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     37.848        43.720        .16234E-03   -1.5585    
  12  Prefactor     2.3670        25.264        .66849E-03   -1.5677    
  13  norm          .13878E-08    9.8923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        2.5368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        2.6548        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.5073        5.9427        .86950E-03   -1.5683    
  17  Prefactor     15.360        9.5335        .25552E-03   -1.5630    
  18  Prefactor     .64643E-05    96.929        .10827E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .11602E-06    23.666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.6689        5.7649        .46922E-03   -1.5665    
  21  Prefactor     .94313E-07    24.391        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .51042        1.0611        .17932E-02   -1.5694    
  23  norm          4.7535        5.8668        .45815E-03   -1.5664    
  24  Prefactor      .0000        1.2484        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .59115E-05    43.513        .96789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     48.554        58.418        .14335E-03   -1.5569    
  27  Prefactor     .10769E-07    16.099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .55511E-10    2.1751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .45747E-06    55.005        .14824E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.1435        .23022        .53996E-01   -.88366    
  31  Prefactor     .94476        .23884        .45577E-01   -.94594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.35696e-06
Minuit parameter uncertainties:
  1  86.3458
  2  0.00730474
  3  84.9625
  4  10.0838
  5  5.65151
  6  43.8247
  7  0.00393921
  8  0.00174301
  9  19.7362
  10  4.69331e-05
  11  43.7199
  12  15.4662
  13  0.00023634
  14  1.6364e-05
  15  7.26149e-07
  16  5.94268
  17  9.53349
  18  0.0500641
  19  0.00331421
  20  5.76489
  21  0.00303334
  22  1.06112
  23  5.86679
  24  5.2167e-06
  25  0.0320767
  26  58.4183
  27  0.000832284
  28  1.82264e-05
  29  0.0100328
  30  0.230426
  31  0.239106
Done.

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

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  4.669e+00  5.765e+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

GAL_V02
   Spectrum: PowerLaw
587    Prefactor:  9.448e-01  2.391e-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.144e+00  2.304e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.11
Ra Dec: 352.082 -40.604
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 3.53e-08 +/- 4.35e-08
Energy Flux (Fixed Index): 1.23e-05 +/- 1.52e-05

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

Saving results to:
/scratch/kocevski/817382/likelihoodResults_692150401_692409601_4FGL_J2328.3-4036_daily_bin1747.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4224.45392307
delta logL = 0.000460657322947

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4224.45388571
delta logL = 0.000498009861076

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.6688       1.0000          .0000       .10000E+07
     2 'alpha     '    2.3649       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1419       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94575       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=   4224.454     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      187 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.6259        6.1970        .46551E-03    .45064E-02
   2  alpha         2.3695        1.2122        .41228E-01   -.55253E-04
   3  Normalizat    1.1418        .22062        .54030E-01    .29780E-04
   4  Prefactor     .94591        .23730        .45585E-01    .18456E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.62595
  alpha      = 2.36948
  Normalizat = 1.14184
  Prefactor  = 0.945913
 **********
 **   18 **HESSE 
 **********

 FCN=   4224.454     FROM HESSE     STATUS=OK            31 CALLS      218 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.6259        5.5305        .15365E-04   -1.5665    
   2  alpha         2.3695        1.1001        .16491E-02   -.52231E-01
   3  Normalizat    1.1418        .26472        .23890E-03   -.88420    
   4  Prefactor     .94591        .28410        .28152E-03   -.94555    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10223e-09
Minuit parameter uncertainties:
  1  5.53055
  2  1.1392
  3  0.265028
  4  0.284544
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/817382': 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) = 4224.45385349
delta logL = 0.000530230696313

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  4.626e+00  5.531e+00  0.000e+00  1.000e+06 ( 1.000e-12)
456        alpha:  2.369e+00  1.139e+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.459e-01  2.845e-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.142e+00  2.650e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.11
Ra Dec: 352.082 -40.604
Photon Index (Free Index): 2.37 +/- 1.14
Photon Flux (Free Index): 3.66e-08 +/- 5.82e-08
Energy Flux (Free Index): 1.23e-05 +/- 1.42e-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/817382/cmap_HighResolution_692150401_692409601_4FGL_J2328.3-4036_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.65e-05', comment='SUCCESS', photon_flux='3.53e-08', energy_flux2='1.23e-05', photon_flux_error='4.35e-08', dlogl='5.30e-04', energy_flux='1.23e-05', photon_flux2='3.66e-08', job_status='DONE', time_completed='2022-12-11 02:08:26.872439', photon_index_error2='1.14', photon_index2='2.37', ts='1.11', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.33e-07', energy_flux_error2='1.42e-05', EG='1.14', time_epoch_completed='1670753306.87', return_code='0', job_id='817382', GAL2='0.95', EG2='1.14', return_code2='0', energy_flux_error='1.52e-05', photon_flux_error2='5.82e-08', ts2='1.11', photon_index='2.33' WHERE bin_id='1747' AND source_name='4FGL J2328.3-4036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 02:08:26 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 817382: <4FGL_J2328.3-4036_daily_bin1747> in cluster <slac> Done

Job <4FGL_J2328.3-4036_daily_bin1747> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Dec 11 01:55:13 2022
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:55:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:55:14 2022
Terminated at Sun Dec 11 02:08:27 2022
Results reported at Sun Dec 11 02:08:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2328.3-4036_daily_bin1747 352.082 -40.6037 692150401 692409601 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 :                                   681.48 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             293.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            794 sec.

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

