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


Performing analysis on: 4FGL_J2328.3-4036_daily_bin1719
RA = 352.082, Dec = -40.6037
tmin = 684892801, tmax = 685152001
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='668342', job_status='RUN', time_executed='2022-09-18 01:24:51.637891', time_epoch_executed='1663489491.64' WHERE source_name='4FGL J2328.3-4036' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/668342

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/668342/ft1_4FGL_J2328.3-4036_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/668342/ft2_4FGL_J2328.3-4036_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/668342/ft1_4FGL_J2328.3-4036_daily_bin1719.fits outfile=/scratch/kocevski/668342/ft1_filteredMKT_4FGL_J2328.3-4036_daily_bin1719.fits ra=352.082 dec=-40.6037 rad=12.0 tmin=684892801.0 tmax=685152001.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.17
user 2.91
sys 0.23

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

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

Number of photons that the gtmktime cut: 2

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/668342/ft1_filtered_4FGL_J2328.3-4036_daily_bin1719.fits" evtable="EVENTS" scfile=/scratch/kocevski/668342/ft2_4FGL_J2328.3-4036_daily_bin1719.fits sctable="SC_DATA" outfile=/scratch/kocevski/668342/ltcube_684892801_685152001_4FGL_J2328.3-4036_daily_bin1719.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/668342/ft2_4FGL_J2328.3-4036_daily_bin1719.fits
.....................!
real 16.26
user 15.77
sys 0.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/668342/ft1_filtered_4FGL_J2328.3-4036_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/668342/ft2_4FGL_J2328.3-4036_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/668342/ltcube_684892801_685152001_4FGL_J2328.3-4036_daily_bin1719.fits outfile=/scratch/kocevski/668342/expmap_684892801_685152001_4FGL_J2328.3-4036_daily_bin1719.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/668342/ltcube_684892801_685152001_4FGL_J2328.3-4036_daily_bin1719.fits
.....................!
real 192.16
user 185.13
sys 6.31

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/668342/ft1_filtered_4FGL_J2328.3-4036_daily_bin1719.fits scfile=/scratch/kocevski/668342/ft2_4FGL_J2328.3-4036_daily_bin1719.fits outfile=/scratch/kocevski/668342/cmap_684892801_685152001_4FGL_J2328.3-4036_daily_bin1719.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/668342/ft1_filtered_4FGL_J2328.3-4036_daily_bin1719.fits scfile=/scratch/kocevski/668342/ft2_4FGL_J2328.3-4036_daily_bin1719.fits outfile=/scratch/kocevski/668342/cmap_HighResolution_684892801_685152001_4FGL_J2328.3-4036_daily_bin1719.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.60
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/668342/ft1_filtered_4FGL_J2328.3-4036_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/668342/ft2_4FGL_J2328.3-4036_daily_bin1719.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/668342/Model_4FGL_J2328.3-4036_daily_bin1719.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/668342/ft1_filtered_4FGL_J2328.3-4036_daily_bin1719.fits..!
real 13.89
user 12.55
sys 1.27

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

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 28.0107104749

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 25.4020429687

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5574       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.2359       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.9220       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.2411       1.0000          .0000       .10000E+07
     5 'Prefactor '    13.606       1.0000          .0000       .10000E+07
     6 'Prefactor '    .86737E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.5846       1.0000          .0000       .10000E+07
     8 'Prefactor '    149.50       1.0000          .0000       .10000E+07
     9 'Prefactor '    .61898       1.0000          .0000       .10000E+07
    10 'Prefactor '    .38618E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .86489       1.0000          .0000       .10000E+07
    12 'Prefactor '    .29969       1.0000          .0000       .10000E+07
    13 'norm      '    .48703       1.0000          .0000       .10000E+07
    14 'norm      '    .22841       1.0000          .0000       .10000E+07
    15 'norm      '    .87876       1.0000          .0000       .10000E+07
    16 'norm      '    7.1048       1.0000          .0000       .10000E+07
    17 'Prefactor '    .84146       1.0000          .0000       .10000E+07
    18 'Prefactor '    7.0294       1.0000          .0000       .10000E+07
    19 'Prefactor '    7.1105       1.0000          .0000       .10000E+07
    20 'norm      '    4.6266       1.0000          .0000       .10000E+07
    21 'Prefactor '    2.7653       1.0000          .0000       .10000E+07
    22 'norm      '    .25415       1.0000          .0000       .10000E+07
    23 'norm      '    1.8078       1.0000          .0000       .10000E+07
    24 'Prefactor '    .43850       1.0000          .0000       .10000E+07
    25 'Prefactor '    2.1345       1.0000          .0000       .10000E+07
    26 'Prefactor '    8.1040       1.0000          .0000       .10000E+07
    27 'Prefactor '    1.6803       1.0000          .0000       .10000E+07
    28 'Prefactor '    .25075       1.0000          .0000       .10000E+07
    29 'Prefactor '    8.1546       1.0000          .0000       .10000E+07
    30 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    31 'Prefactor '    .44461E-09   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=   25.36651     FROM MIGRAD    STATUS=CONVERGED    190 CALLS      506 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1021        110.06       -.65558E-04    .14233E-01
   2  Prefactor     .49178E-02    1079.2        .71853E-04** at limit **
   3  Prefactor     .15969E-04    816.62        .32607E-04** at limit **
   4  Prefactor      .0000        53.093       -.18084E-06** at limit **
   5  Prefactor     13.598        15.180        .14426E-04   -.26470E-03
   6  Prefactor     .73275E-08    142.76        .13566E-04** at limit **
   7  Prefactor     .88818E-09    137.26       -.12445E-04** at limit **
   8  Prefactor     153.14        84.609        .78581E-05    .24588    
   9  Prefactor     .39024E-07    285.78       -.16324E-05** at limit **
  10  Prefactor      .0000        53.317       -.70226E-05** at limit **
  11  Prefactor     .10048E-07    149.27       -.15018E-05** at limit **
  12  Prefactor      .0000        291.05       -.13931E-05** at limit **
  13  norm          .16425E-05    709.74       -.15895E-04** at limit **
  14  norm          .55511E-10    378.32        .29617E-04** at limit **
  15  norm          .22542E-01    351.10       -.82292E-04** at limit **
  16  norm          2.4369        1345.1       -.23011E-03    .41741E-01
  17  Prefactor     .53255E-05    484.69       -.85365E-04** at limit **
  18  Prefactor     2.1147        1559.1       -.24786E-03    .42576E-01
  19  Prefactor     7.1105        1.0025         .0000         .0000    
  20  norm          .16545        2989.3       -.31898E-03** at limit **
  21  Prefactor     .37443E-02    413.31        .54271E-04** at limit **
  22  norm           .0000        117.51        .12272E-06** at limit **
  23  norm          1.8078        1.0445         .0000         .0000    
  24  Prefactor     .91252E-04    1173.5       -.24936E-04** at limit **
  25  Prefactor     .20614E-01    1704.4       -.25668E-03** at limit **
  26  Prefactor     8.1040        1.0019         .0000         .0000    
  27  Prefactor     1.6803        1.0530         .0000         .0000    
  28  Prefactor     .27813E-03    137.33       -.39314E-04** at limit **
  29  Prefactor     8.1546        1.0019         .0000         .0000    
  30  Normalizat    .10000E-01    .21713        .66132E-04** at limit **
  31  Prefactor     .55511E-15    .22584       -.28405E-04** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.1021
  Prefactor  = 0.0049178
  Prefactor  = 1.59694e-05
  Prefactor  = 0
  Prefactor  = 13.5981
  Prefactor  = 7.32747e-09
  Prefactor  = 8.88178e-10
  Prefactor  = 153.137
  Prefactor  = 3.90243e-08
  Prefactor  = 0
  Prefactor  = 1.00475e-08
  Prefactor  = 0
  norm       = 1.64252e-06
  norm       = 5.55112e-11
  norm       = 0.0225423
  norm       = 2.43693
  Prefactor  = 5.32552e-06
  Prefactor  = 2.11468
  Prefactor  = 7.11054
  norm       = 0.16545
  Prefactor  = 0.00374435
  norm       = 0
  norm       = 1.80785
  Prefactor  = 9.12519e-05
  Prefactor  = 0.0206142
  Prefactor  = 8.10404
  Prefactor  = 1.68027
  Prefactor  = 0.000278126
  Prefactor  = 8.15459
  Normalizat = 0.01
  Prefactor  = 5.55112e-16
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   25.36651     FROM HESSE     STATUS=FAILED        83 CALLS      589 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.1021        77275.        .39166E-03   -1.5663    
   2  Prefactor     .49178E-02    1468.6        .40176E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .15969E-04    1009.6        .38109E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        53.113        .10060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.598        15.176        .27129E-03   -1.5634    
   6  Prefactor     .73275E-08    142.67        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .88818E-09    137.21        .63450E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     153.14        154.52        .81792E-04   -1.5460    
   9  Prefactor     .39024E-07    285.85        .67545E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        53.275        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10048E-07    149.21        .48218E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        291.04        .10217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .16425E-05    709.71        .80025E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .55511E-10    378.42        .11291E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .22542E-01    3415.6        .47240E-03   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.4369        18583.        .37611E-03   -1.5677    
  17  Prefactor     .53255E-05    512.93        .49894E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.1147        16980.        .37814E-03   -1.5679    
  19  Prefactor     33948.        33941.         .0000       -1.5655    
  20  norm          .16545        .19023       -.31898E-03   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .37443E-02    .93572E-01    .54271E-04   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        .29604        .12272E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.8078        1.0445         .0000       -1.5681    
  24  Prefactor     .91252E-04    .18128       -.24936E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .20614E-01    .12437       -.25668E-03   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     8.1040        1.0019         .0000       -1.5651    
  27  Prefactor     1.6803        1.0530         .0000       -1.5682    
  28  Prefactor     .27813E-03    .29890       -.39314E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     8.1546        1.0019         .0000       -1.5651    
  30  Normalizat    .10000E-01    .25505        .66132E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .55511E-15    .25504       -.28405E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.38445e-10
Minuit parameter uncertainties:
  1  1272.58
  2  5.37619
  3  0.253993
  4  6.30472e-06
  5  15.1764
  6  0.00204434
  7  0.000689582
  8  154.522
  9  0.00667802
  10  6.86324e-05
  11  0.00245125
  12  6.35146e-05
  13  0.0682939
  14  0.000215742
  15  17.5594
  16  426.938
  17  0.104539
  18  380.071
  19  1.00249
  20  0.190233
  21  0.0374362
  22  2.76304e-06
  23  1.04454
  24  0.0081345
  25  0.101267
  26  1.00192
  27  1.05303
  28  0.0182353
  29  1.00189
  30  1.68396e-07
  31  2.79502e-08
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 25.3665132409

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  1.654e-01  1.902e-01  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:  5.551e-16  2.795e-08  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.000e-02  1.684e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 352.082 -40.604
Photon Flux Upper Limit: 2.08e-04 ph cm-2 s-1
Energy Flux Upper Limit: 7.27e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/668342/likelihoodResults_684892801_685152001_4FGL_J2328.3-4036_daily_bin1719.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) = 25.3665132536
delta logL = -1.26494228425e-08

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 25.3664952891
delta logL = 1.79518818761e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10806E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    3.5526       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .19678E-08   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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   25.36650     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      254 TOTAL
                     EDM=   .76E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .66613E-09    139.51        .84235E-03** at limit **
   2  alpha         2.3067        2.9339        .50000        .10658E-12
   3  Normalizat    .10000E-01    .13027E-04    .73475E-03** at limit **
   4  Prefactor      .0000        .13530E-04    .74846E-03** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 6.66134e-10
  alpha      = 2.30666
  Normalizat = 0.01
  Prefactor  = 0
 **********
 **   18 **HESSE 
 **********

 FCN=   25.36650     FROM HESSE     STATUS=NOT POSDEF    25 CALLS      279 TOTAL
                     EDM=   .40E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .66613E-09    669.71        .16847E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3067        3.7234        .51000       -.77413E-01
   3  Normalizat    .10000E-01    .62561E-04    .14695E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        .64977E-04    .14969E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.98351e-14
Minuit parameter uncertainties:
  1  0.00132278
  2  1.19007e+06
  3  4.99229e-11
  4  5.80163e-11
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/668342': 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): 102
logL (Free Index) = 25.366495277
delta logL = 1.7963936692e-05

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  6.661e-10  1.323e-03  0.000e+00  1.000e+06 ( 1.000e-12)
456        alpha:  2.307e+00  1.190e+06  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:  0.000e+00  5.802e-11  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.000e-02  4.992e-11  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/668342/cmap_HighResolution_684892801_685152001_4FGL_J2328.3-4036_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.27e-02', job_status='DONE', photon_flux_upper_limit='2.08e-04', time_completed='2022-09-18 01:30:17.407615', job_id='668342', GAL2='0.00', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1663489817.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.00', dlogl='1.80e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='1719' AND source_name='4FGL J2328.3-4036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 01:30:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 668342: <4FGL_J2328.3-4036_daily_bin1719> in cluster <slac> Done

Job <4FGL_J2328.3-4036_daily_bin1719> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 18 01:20:26 2022
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 01:21:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 01:21:23 2022
Terminated at Sun Sep 18 01:30:18 2022
Results reported at Sun Sep 18 01:30:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2328.3-4036_daily_bin1719 352.082 -40.6037 684892801 685152001 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 :                                   327.29 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             297.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   534 sec.
    Turnaround time :                            592 sec.

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

