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


Performing analysis on: 4FGL_J2328.3-4036_daily_bin1731
RA = 352.082, Dec = -40.6037
tmin = 688003201, tmax = 688262401
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='551297', job_status='RUN', time_executed='2022-10-24 00:41:22.847304', time_epoch_executed='1666597282.85' WHERE source_name='4FGL J2328.3-4036' and cadence='daily' and bin_id='1731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551297

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551297/ft1_4FGL_J2328.3-4036_daily_bin1731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551297/ft2_4FGL_J2328.3-4036_daily_bin1731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551297/ft1_4FGL_J2328.3-4036_daily_bin1731.fits outfile=/scratch/kocevski/551297/ft1_filteredMKT_4FGL_J2328.3-4036_daily_bin1731.fits ra=352.082 dec=-40.6037 rad=12.0 tmin=688003201.0 tmax=688262401.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.51
user 3.31
sys 0.19

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

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

Number of photons that the gtmktime cut: 397

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551297/ft1_filtered_4FGL_J2328.3-4036_daily_bin1731.fits" evtable="EVENTS" scfile=/scratch/kocevski/551297/ft2_4FGL_J2328.3-4036_daily_bin1731.fits sctable="SC_DATA" outfile=/scratch/kocevski/551297/ltcube_688003201_688262401_4FGL_J2328.3-4036_daily_bin1731.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/551297/ft2_4FGL_J2328.3-4036_daily_bin1731.fits
.....................!
real 15.27
user 14.91
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551297/ft1_filtered_4FGL_J2328.3-4036_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551297/ft2_4FGL_J2328.3-4036_daily_bin1731.fits sctable="SC_DATA" expcube=/scratch/kocevski/551297/ltcube_688003201_688262401_4FGL_J2328.3-4036_daily_bin1731.fits outfile=/scratch/kocevski/551297/expmap_688003201_688262401_4FGL_J2328.3-4036_daily_bin1731.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/551297/ltcube_688003201_688262401_4FGL_J2328.3-4036_daily_bin1731.fits
.....................!
real 189.94
user 185.53
sys 4.07

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/551297/ft1_filtered_4FGL_J2328.3-4036_daily_bin1731.fits scfile=/scratch/kocevski/551297/ft2_4FGL_J2328.3-4036_daily_bin1731.fits outfile=/scratch/kocevski/551297/cmap_688003201_688262401_4FGL_J2328.3-4036_daily_bin1731.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.16

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

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/551297/ft1_filtered_4FGL_J2328.3-4036_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551297/ft2_4FGL_J2328.3-4036_daily_bin1731.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/551297/Model_4FGL_J2328.3-4036_daily_bin1731.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/551297/ft1_filtered_4FGL_J2328.3-4036_daily_bin1731.fits.....................!
real 36.43
user 35.10
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47469E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    15.173       1.0000          .0000       .10000E+07
     3 'Prefactor '    82.932       1.0000          .0000       .10000E+07
     4 'Prefactor '    5.5395       1.0000          .0000       .10000E+07
     5 'Prefactor '    .47208       1.0000          .0000       .10000E+07
     6 'Prefactor '    .32196E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23901E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    7.5668       1.0000          .0000       .10000E+07
     9 'Prefactor '    21.847       1.0000          .0000       .10000E+07
    10 'Prefactor '    .99526E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    26.752       1.0000          .0000       .10000E+07
    12 'Prefactor '    .35231E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .47218E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .74995E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .38624E-03   1.0000          .0000       .10000E+07
    16 'norm      '    4.3518       1.0000          .0000       .10000E+07
    17 'Prefactor '    8.6721       1.0000          .0000       .10000E+07
    18 'Prefactor '    .18046E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .11822E-05   1.0000          .0000       .10000E+07
    20 'norm      '    10.596       1.0000          .0000       .10000E+07
    21 'Prefactor '    .77716E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .46859       1.0000          .0000       .10000E+07
    23 'norm      '    2.0629       1.0000          .0000       .10000E+07
    24 'Prefactor '    4.5506       1.0000          .0000       .10000E+07
    25 'Prefactor '    .78119E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    48.169       1.0000          .0000       .10000E+07
    27 'Prefactor '    8.0999       1.0000          .0000       .10000E+07
    28 'Prefactor '    .91856E-03   1.0000          .0000       .10000E+07
    29 'Prefactor '    .19806E-03   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.0440       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .67179       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=   4362.151     FROM MIGRAD    STATUS=CONVERGED    232 CALLS     3007 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16098E-08    13.491       -.75946E-06** at limit **
   2  Prefactor     15.078        3.1608       -.19888E-06    .69190E-02
   3  Prefactor     85.561        36.569        .19867E-05   -.70117E-02
   4  Prefactor     5.5469        5.9532        .28671E-06   -.10897E-02
   5  Prefactor     .46129        13.161        .55915E-06    .70414E-03
   6  Prefactor     .16887E-05    55.196       -.49574E-05** at limit **
   7  Prefactor     .47184E-08    119.51       -.11000E-04** at limit **
   8  Prefactor     7.7726        5.2563        .43146E-06   -.16106E-01
   9  Prefactor     21.802        15.091        .74778E-06    .75831E-02
  10  Prefactor      .0000        5.0803        .76510E-06** at limit **
  11  Prefactor     25.962        13.797       -.53942E-06   -.57380E-01
  12  Prefactor     .17358E-06    9.1836        .20136E-05** at limit **
  13  norm          .28810E-07    7.8911        .15863E-05** at limit **
  14  norm           .0000        5.6918        .12146E-05** at limit **
  15  norm           .0000        5.1738       -.75743E-06** at limit **
  16  norm          4.4383        7.1221       -.11245E-05    .53258E-03
  17  Prefactor     8.7111        6.7306       -.18460E-06   -.90703E-03
  18  Prefactor     .28633E-06    61.209        .39579E-06** at limit **
  19  Prefactor     .90117E-06    9.1186       -.10940E-05** at limit **
  20  norm          10.627        5.8371       -.23221E-06   -.19569E-02
  21  Prefactor     .16653E-09    8.7983        .26031E-06** at limit **
  22  norm          .46906        .84751        .28280E-07   -.45363E-03
  23  norm          2.0618        3.2010        .50587E-06   -.14797E-02
  24  Prefactor     4.5305        3.4255        .85183E-07   -.34075E-03
  25  Prefactor     .92704E-08    24.142        .57936E-05** at limit **
  26  Prefactor     46.429        17.811        .25975E-06   -.31864E-01
  27  Prefactor     8.1423        6.0979       -.18777E-06    .17166E-03
  28  Prefactor      .0000        4.6434        .76177E-07** at limit **
  29  Prefactor     .35355E-06    15.310       -.21011E-06** at limit **
  30  Normalizat    1.0423        .23006        .11789E-04    .43734E-04
  31  Prefactor     .67293        .24335        .50189E-05   -.47456E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.60982e-09
  Prefactor  = 15.0776
  Prefactor  = 85.5609
  Prefactor  = 5.54692
  Prefactor  = 0.46129
  Prefactor  = 1.6887e-06
  Prefactor  = 4.71845e-09
  Prefactor  = 7.77256
  Prefactor  = 21.8016
  Prefactor  = 0
  Prefactor  = 25.9623
  Prefactor  = 1.73583e-07
  norm       = 2.88103e-08
  norm       = 0
  norm       = 0
  norm       = 4.43832
  Prefactor  = 8.71105
  Prefactor  = 2.86327e-07
  Prefactor  = 9.01168e-07
  norm       = 10.6269
  Prefactor  = 1.66533e-10
  norm       = 0.469058
  norm       = 2.06183
  Prefactor  = 4.53047
  Prefactor  = 9.27036e-09
  Prefactor  = 46.4286
  Prefactor  = 8.14229
  Prefactor  = 0
  Prefactor  = 3.53551e-07
  Normalizat = 1.04227
  Prefactor  = 0.672929
 **********
 **   18 **HESSE 
 **********

 FCN=   4362.151     FROM HESSE     STATUS=OK           690 CALLS     3697 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16098E-08    13.496        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.078        20.474        .25686E-03   -1.5630    
   3  Prefactor     85.561        62.969        .10982E-03   -1.5523    
   4  Prefactor     5.5469        5.9613        .42663E-03   -1.5661    
   5  Prefactor     .46129        5.0440        .44166E-02   -1.5694    
   6  Prefactor     .16887E-05    63.817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .47184E-08    179.24        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.7726        30.323        .36434E-03   -1.5652    
   9  Prefactor     21.802        15.133        .21400E-03   -1.5615    
  10  Prefactor      .0000        5.0653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     25.962        32.299        .19338E-03   -1.5606    
  12  Prefactor     .17358E-06    18.555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .28810E-07    18.562        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        5.6875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        5.1730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.4383        7.1417        .48261E-03   -1.5666    
  17  Prefactor     8.7111        6.6717        .34015E-03   -1.5649    
  18  Prefactor     .28633E-06    80.089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .90117E-06    19.599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          10.627        5.8556        .30756E-03   -1.5643    
  21  Prefactor     .16653E-09    8.7619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .46906        .91359        .18133E-02   -1.5722    
  23  norm          2.0618        3.2278        .71914E-03   -1.5679    
  24  Prefactor     4.5305        3.4449        .47167E-03   -1.5665    
  25  Prefactor     .92704E-08    25.832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     46.429        43.532        .14410E-03   -1.5572    
  27  Prefactor     8.1423        6.1081        .35204E-03   -1.5651    
  28  Prefactor      .0000        4.6262        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .35355E-06    22.512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.0423        .19518        .40975E-01   -.91627    
  31  Prefactor     .67293        .20422        .63556E-01   -1.0460    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25688e-07
Minuit parameter uncertainties:
  1  0.000294491
  2  20.4741
  3  62.9691
  4  5.96127
  5  3.05074
  6  0.0207624
  7  0.0018434
  8  30.3235
  9  15.1331
  10  1.91159e-05
  11  32.2994
  12  0.00358957
  13  0.00146241
  14  6.69129e-06
  15  2.09332e-05
  16  7.14173
  17  6.6717
  18  0.00957752
  19  0.00840517
  20  5.85558
  21  7.04604e-05
  22  0.913594
  23  3.22778
  24  3.44487
  25  0.000979091
  26  43.5319
  27  6.10808
  28  1.02886e-05
  29  0.00564246
  30  0.195311
  31  0.204445
Done.

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

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  1.063e+01  5.856e+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:  6.729e-01  2.044e-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.042e+00  1.953e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.05
Ra Dec: 352.082 -40.604
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 8.03e-08 +/- 4.42e-08
Energy Flux (Fixed Index): 2.80e-05 +/- 1.55e-05

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) = 4361.92203959
delta logL = 0.229118181491

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4361.91510743
delta logL = 0.23605033864

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.6695       1.0000          .0000       .10000E+07
     2 'alpha     '    2.7488       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0108       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69833       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=   4361.915     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      262 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.6654        75.562        .36187E-03    .12116E-02
   2  alpha         2.7481        3.8669        .21805        .42854E-04
   3  Normalizat    1.0105        .94879E-01    .45532E-01    .31509E-05
   4  Prefactor     .69873        .92445E-01    .62500E-01    .13489E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.66539
  alpha      = 2.7481
  Normalizat = 1.01048
  Prefactor  = 0.698733
 **********
 **   18 **HESSE 
 **********

 FCN=   4361.915     FROM HESSE     STATUS=OK            33 CALLS      295 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.6654        7.1037        .87808E-05   -1.5653    
   2  alpha         2.7481        .70202        .89453E-02    .99403E-01
   3  Normalizat    1.0105        .22877        .21418E-03   -.92680    
   4  Prefactor     .69873        .24666        .27648E-03   -1.0358    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45739e-09
Minuit parameter uncertainties:
  1  7.10366
  2  0.711691
  3  0.228991
  4  0.247051
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551297': 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) = 4361.91510201
delta logL = 0.236055758466

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  7.665e+00  7.104e+00  0.000e+00  1.000e+06 ( 1.000e-12)
456        alpha:  2.748e+00  7.117e-01  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:  6.987e-01  2.471e-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.010e+00  2.290e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.51
Ra Dec: 352.082 -40.604
Photon Index (Free Index): 2.75 +/- 0.71
Photon Flux (Free Index): 1.01e-07 +/- 5.68e-08
Energy Flux (Free Index): 2.44e-05 +/- 1.36e-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/551297/cmap_HighResolution_688003201_688262401_4FGL_J2328.3-4036_daily_bin1731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.03e-08', energy_flux2='2.44e-05', photon_flux_error='4.42e-08', dlogl='2.36e-01', energy_flux='2.80e-05', photon_flux2='1.01e-07', job_status='DONE', time_completed='2022-10-24 00:51:05.651256', photon_index_error2='0.71', photon_index2='2.75', ts='6.05', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', energy_flux_error2='1.36e-05', EG='1.04', time_epoch_completed='1666597865.65', return_code='0', job_id='551297', GAL2='0.70', EG2='1.01', return_code2='0', energy_flux_error='1.55e-05', photon_flux_error2='5.68e-08', ts2='6.51', photon_index='2.33' WHERE bin_id='1731' AND source_name='4FGL J2328.3-4036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct 24 00:51:05 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 551297: <4FGL_J2328.3-4036_daily_bin1731> in cluster <slac> Done

Job <4FGL_J2328.3-4036_daily_bin1731> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Oct 24 00:40:32 2022
Job was executed on host(s) <bullet0236>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct 24 00:40:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct 24 00:40:33 2022
Terminated at Mon Oct 24 00:51:06 2022
Results reported at Mon Oct 24 00:51:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2328.3-4036_daily_bin1731 352.082 -40.6037 688003201 688262401 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 :                                   584.58 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             372.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   632 sec.
    Turnaround time :                            634 sec.

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

