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


Performing analysis on: 4FGL_J2231.0-4416_daily_bin1733
RA = 337.758, Dec = -44.2791
tmin = 688521601, tmax = 688780801
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='708564', job_status='RUN', time_executed='2022-10-30 00:36:47.618596', time_epoch_executed='1667115407.62' WHERE source_name='4FGL J2231.0-4416' and cadence='daily' and bin_id='1733'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/708564

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/708564/ft1_4FGL_J2231.0-4416_daily_bin1733.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/708564/ft2_4FGL_J2231.0-4416_daily_bin1733.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/708564/ft1_4FGL_J2231.0-4416_daily_bin1733.fits outfile=/scratch/kocevski/708564/ft1_filteredMKT_4FGL_J2231.0-4416_daily_bin1733.fits ra=337.758 dec=-44.2791 rad=12.0 tmin=688521601.0 tmax=688780801.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.53
user 3.29
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/708564/ft2_4FGL_J2231.0-4416_daily_bin1733.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/708564/ft2_4FGL_J2231.0-4416_daily_bin1733.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/708564/ft1_filteredMKT_4FGL_J2231.0-4416_daily_bin1733.fits evtable="EVENTS" outfile="/scratch/kocevski/708564/ft1_filtered_4FGL_J2231.0-4416_daily_bin1733.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.50
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 570

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/708564/ft1_filtered_4FGL_J2231.0-4416_daily_bin1733.fits" evtable="EVENTS" scfile=/scratch/kocevski/708564/ft2_4FGL_J2231.0-4416_daily_bin1733.fits sctable="SC_DATA" outfile=/scratch/kocevski/708564/ltcube_688521601_688780801_4FGL_J2231.0-4416_daily_bin1733.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/708564/ft2_4FGL_J2231.0-4416_daily_bin1733.fits
.....................!
real 12.07
user 11.67
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/708564/ft1_filtered_4FGL_J2231.0-4416_daily_bin1733.fits evtable="EVENTS" scfile=/scratch/kocevski/708564/ft2_4FGL_J2231.0-4416_daily_bin1733.fits sctable="SC_DATA" expcube=/scratch/kocevski/708564/ltcube_688521601_688780801_4FGL_J2231.0-4416_daily_bin1733.fits outfile=/scratch/kocevski/708564/expmap_688521601_688780801_4FGL_J2231.0-4416_daily_bin1733.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/708564/ltcube_688521601_688780801_4FGL_J2231.0-4416_daily_bin1733.fits
.....................!
real 191.54
user 185.59
sys 5.58

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 182 point sources and 0 extended sources

Setting source of interest to:
4FGL J2231.0-4416 @ 337.758 -44.2791

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/708564/ft1_filtered_4FGL_J2231.0-4416_daily_bin1733.fits scfile=/scratch/kocevski/708564/ft2_4FGL_J2231.0-4416_daily_bin1733.fits outfile=/scratch/kocevski/708564/cmap_688521601_688780801_4FGL_J2231.0-4416_daily_bin1733.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=337.758 yref=-44.2791 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/708564/ft1_filtered_4FGL_J2231.0-4416_daily_bin1733.fits scfile=/scratch/kocevski/708564/ft2_4FGL_J2231.0-4416_daily_bin1733.fits outfile=/scratch/kocevski/708564/cmap_HighResolution_688521601_688780801_4FGL_J2231.0-4416_daily_bin1733.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=337.758 yref=-44.2791 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.57
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/708564/ft1_filtered_4FGL_J2231.0-4416_daily_bin1733.fits evtable="EVENTS" scfile=/scratch/kocevski/708564/ft2_4FGL_J2231.0-4416_daily_bin1733.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/708564/Model_4FGL_J2231.0-4416_daily_bin1733.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/708564/ft1_filtered_4FGL_J2231.0-4416_daily_bin1733.fits.....................!
real 46.63
user 45.21
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/708564/ft1_filtered_4FGL_J2231.0-4416_daily_bin1733.fits', '/scratch/kocevski/708564/ft2_4FGL_J2231.0-4416_daily_bin1733.fits', expMap='/scratch/kocevski/708564/expmap_688521601_688780801_4FGL_J2231.0-4416_daily_bin1733.fits', expCube='/scratch/kocevski/708564/ltcube_688521601_688780801_4FGL_J2231.0-4416_daily_bin1733.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/708564/Model_4FGL_J2231.0-4416_daily_bin1733.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2231.0-4416'

4FGL J2231.0-4416
   Spectrum: PowerLaw
305    Prefactor:  1.304e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.427e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  7.453e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/708564/ft1_filtered_4FGL_J2231.0-4416_daily_bin1733.fits
Spacecraft file(s): /scratch/kocevski/708564/ft2_4FGL_J2231.0-4416_daily_bin1733.fits
Exposure map: /scratch/kocevski/708564/expmap_688521601_688780801_4FGL_J2231.0-4416_daily_bin1733.fits
Exposure cube: /scratch/kocevski/708564/ltcube_688521601_688780801_4FGL_J2231.0-4416_daily_bin1733.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/708564/Model_4FGL_J2231.0-4416_daily_bin1733.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) = 6150.64448069

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9464       1.0000          .0000       .10000E+07
     2 'Prefactor '    16.906       1.0000          .0000       .10000E+07
     3 'Prefactor '    .33450E-03   1.0000          .0000       .10000E+07
     4 'norm      '    7.1023       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.0830       1.0000          .0000       .10000E+07
     6 'Prefactor '    12.618       1.0000          .0000       .10000E+07
     7 'Prefactor '    40.498       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.5142       1.0000          .0000       .10000E+07
     9 'Prefactor '    9.5892       1.0000          .0000       .10000E+07
    10 'Prefactor '    20.504       1.0000          .0000       .10000E+07
    11 'norm      '    .97244E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19475E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .40303E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    20.398       1.0000          .0000       .10000E+07
    15 'Prefactor '    .68343E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.4088       1.0000          .0000       .10000E+07
    17 'Prefactor '    .65849E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .15392E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .13691E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.1458       1.0000          .0000       .10000E+07
    21 'Prefactor '    20.893       1.0000          .0000       .10000E+07
    22 'norm      '    .66274E-04   1.0000          .0000       .10000E+07
    23 'norm      '    7.3290       1.0000          .0000       .10000E+07
    24 'norm      '    .72296E-05   1.0000          .0000       .10000E+07
    25 'Prefactor '    .22864E-05   1.0000          .0000       .10000E+07
    26 'Prefactor '    .28154E-02   1.0000          .0000       .10000E+07
    27 'norm      '    .11385E-04   1.0000          .0000       .10000E+07
    28 'Prefactor '    18.840       1.0000          .0000       .10000E+07
    29 'norm      '    3.2432       1.0000          .0000       .10000E+07
    30 'Normalizat'    .88904       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0651       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6150.573     FROM MIGRAD    STATUS=CONVERGED    225 CALLS     3012 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9950        7.6715       -.69103E-07    .48613E-03
   2  Prefactor     15.355        34.868       -.19928E-05    .38994E-03
   3  Prefactor      .0000        3.5023        .59057E-07** at limit **
   4  norm          7.1519        4.4834        .14370E-06   -.76889E-03
   5  Prefactor     4.1009        6.8947       -.26207E-07    .30447E-03
   6  Prefactor     12.637        8.8964       -.43046E-07   -.63125E-04
   7  Prefactor     40.930        4.7020        .22255E-06    .18816E-02
   8  Prefactor     2.2082        10.050       -.29018E-06   -.75918E-03
   9  Prefactor     9.5444        4.8825        .23150E-06   -.45264E-02
  10  Prefactor     25.172        92.871        .25291E-05   -.52175E-03
  11  norm          .55511E-10    2.1598        .26227E-06** at limit **
  12  Prefactor     .55511E-10    5.5349       -.49485E-06** at limit **
  13  Prefactor     .34972E-08    13.100        .60229E-06** at limit **
  14  Prefactor     20.156        4.5933       -.17829E-06    .17089E-01
  15  Prefactor     .45797E-06    66.953       -.26820E-05** at limit **
  16  Prefactor     7.3644        3.2597        .40184E-07   -.10713E-01
  17  Prefactor     .60507E-08    17.472       -.27914E-07** at limit **
  18  Prefactor     .99920E-09    25.531       -.14481E-05** at limit **
  19  Prefactor      .0000        2.5316        .76896E-07** at limit **
  20  Prefactor     4.9567        18.429        .17712E-05   -.69839E-02
  21  Prefactor     20.668        6.2087        .19051E-07   -.29621E-01
  22  norm          .55511E-10    2.7950        .20884E-06** at limit **
  23  norm          7.3306        5.2568        .57288E-07   -.24054E-03
  24  norm           .0000        1.2353        .46242E-07** at limit **
  25  Prefactor     .55511E-10    8.9100       -.34693E-06** at limit **
  26  Prefactor     .49405E-08    16.024       -.11186E-05** at limit **
  27  norm           .0000        1.1281        .11626E-06** at limit **
  28  Prefactor     18.881        14.510        .16084E-06    .95143E-02
  29  norm          3.2444        1.5580       -.64274E-07    .38761E-02
  30  Normalizat    .88980        .20978       -.15288E-04   -.68954E-04
  31  Prefactor     1.0649        .20205        .12085E-04   -.16349E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.99501
  Prefactor  = 15.3552
  Prefactor  = 0
  norm       = 7.15189
  Prefactor  = 4.10091
  Prefactor  = 12.6366
  Prefactor  = 40.93
  Prefactor  = 2.20823
  Prefactor  = 9.54441
  Prefactor  = 25.1724
  norm       = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 3.4972e-09
  Prefactor  = 20.1563
  Prefactor  = 4.57967e-07
  Prefactor  = 7.36445
  Prefactor  = 6.05072e-09
  Prefactor  = 9.99201e-10
  Prefactor  = 0
  Prefactor  = 4.95665
  Prefactor  = 20.6684
  norm       = 5.55112e-11
  norm       = 7.33062
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 4.94049e-09
  norm       = 0
  Prefactor  = 18.8806
  norm       = 3.24439
  Normalizat = 0.889797
  Prefactor  = 1.06489
 **********
 **   18 **HESSE 
 **********

 FCN=   6150.573     FROM HESSE     STATUS=OK           698 CALLS     3710 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9950        7.6962        .41155E-03   -1.5659    
   2  Prefactor     15.355        35.506        .24332E-03   -1.5630    
   3  Prefactor      .0000        3.4868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.1519        4.4994        .37617E-03   -1.5654    
   5  Prefactor     4.1009        6.9188        .49870E-03   -1.5667    
   6  Prefactor     12.637        8.9052        .28174E-03   -1.5637    
   7  Prefactor     40.930        38.957        .15715E-03   -1.5580    
   8  Prefactor     2.2082        11.814        .64410E-03   -1.5678    
   9  Prefactor     9.5444        4.9084        .32337E-03   -1.5646    
  10  Prefactor     25.172        96.429        .22091E-03   -1.5608    
  11  norm          .55511E-10    2.1645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    5.5402        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .34972E-08    2.1347        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     20.156        37.108        .22148E-03   -1.5618    
  15  Prefactor     .45797E-06    4.1731        .52471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.3644        20.205        .36823E-03   -1.5654    
  17  Prefactor     .60507E-08    17.654        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .99920E-09    24.746        .17361E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        2.5300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.9567        90.780        .49480E-03   -1.5663    
  21  Prefactor     20.668        16.803        .21884E-03   -1.5617    
  22  norm          .55511E-10    2.8001        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          7.3306        5.2539        .37025E-03   -1.5654    
  24  norm           .0000        1.2384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .55511E-10    8.9005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .49405E-08    16.300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm           .0000        1.1308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     18.881        15.679        .23047E-03   -1.5621    
  29  norm          3.2444        1.5827        .56217E-03   -1.5672    
  30  Normalizat    .88980        .18697        .44761E-01   -.96820    
  31  Prefactor     1.0649        .17375        .39096E-01   -.90597    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.48159e-07
Minuit parameter uncertainties:
  1  7.6962
  2  35.5065
  3  1.66791e-05
  4  4.49936
  5  6.91884
  6  8.90519
  7  38.957
  8  10.2151
  9  4.90838
  10  96.4353
  11  1.9598e-05
  12  3.6737e-05
  13  0.000172864
  14  37.108
  15  0.00276493
  16  20.2053
  17  0.000653952
  18  0.000310487
  19  6.33025e-06
  20  42.4255
  21  16.803
  22  2.23762e-05
  23  5.25387
  24  3.90193e-06
  25  4.69228e-05
  26  0.00056667
  27  5.98888e-06
  28  15.6793
  29  1.58273
  30  0.187102
  31  0.173847
Done.

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

Extracting fit parameters...

4FGL J2231.0-4416
   Spectrum: PowerLaw
305    Prefactor:  3.497e-09  1.729e-04  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.427e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  7.453e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.065e+00  1.738e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  8.898e-01  1.871e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 337.758 -44.279
Photon Flux Upper Limit: 6.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.10e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/708564/likelihoodResults_688521601_688780801_4FGL_J2231.0-4416_daily_bin1733.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) = 6150.58669473
delta logL = -0.0132359754998

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6150.57345892
delta logL = -1.64905031852e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11519E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.4565       1.0000          .0000       10.000    
     3 'Normalizat'    .88978       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0650       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6150.573     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      272 TOTAL
                     EDM=   .51E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15654E-07    .19773E-01    .42118E-02** at limit **
   2  Index         1.8419        8.9980        .50000       -.50704E-08
   3  Normalizat    .88980        .38129E-03    .44771E-01    .55145E-03
   4  Prefactor     1.0649        .36908E-03    .39104E-01    .70048E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.56541e-08
  Index      = 1.84193
  Normalizat = 0.889796
  Prefactor  = 1.06489
 **********
 **   18 **HESSE 
 **********

 FCN=   6150.573     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      303 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15654E-07    22.770        .24239E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8419        5.7534        .50000       -.68363    
   3  Normalizat    .88980        .62431E-02    .25975E-03   -.96820    
   4  Prefactor     1.0649        .60453E-02    .23076E-03   -.90597    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.25031e-09
Minuit parameter uncertainties:
  1  0.00119406
  2  8237.28
  3  0.00624308
  4  0.00604528
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/708564': 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) = 6150.57345875
delta logL = -7.78527464718e-10

Extracting fit parameters...

4FGL J2231.0-4416
   Spectrum: PowerLaw
305    Prefactor:  1.565e-08  1.194e-03  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  1.842e+00  8.237e+03  0.000e+00  1.000e+01 (-1.000e+00)
307        Scale:  7.453e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.065e+00  6.045e-03  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  8.898e-01  6.243e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 337.758 -44.279

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/708564/cmap_HighResolution_688521601_688780801_4FGL_J2231.0-4416_daily_bin1733.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.10e-03', job_status='DONE', photon_flux_upper_limit='6.59e-08', time_completed='2022-10-30 00:49:12.405580', job_id='708564', GAL2='1.06', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1667116152.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='-7.79e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1733' AND source_name='4FGL J2231.0-4416' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 30 00:49:12 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 708564: <4FGL_J2231.0-4416_daily_bin1733> in cluster <slac> Done

Job <4FGL_J2231.0-4416_daily_bin1733> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Oct 30 00:35:36 2022
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct 30 00:35:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct 30 00:35:37 2022
Terminated at Sun Oct 30 00:49:13 2022
Results reported at Sun Oct 30 00:49:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2231.0-4416_daily_bin1733 337.758 -44.2791 688521601 688780801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2231.0-4416 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   747.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            817 sec.

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

