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


Performing analysis on: 4FGL_J2231.0-4416_daily_bin1748
RA = 337.758, Dec = -44.2791
tmin = 692409601, tmax = 692668801
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='898180', job_status='RUN', time_executed='2022-12-14 01:24:27.440266', time_epoch_executed='1671009867.44' WHERE source_name='4FGL J2231.0-4416' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/898180

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/898180/ft1_4FGL_J2231.0-4416_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/898180/ft2_4FGL_J2231.0-4416_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/898180/ft1_4FGL_J2231.0-4416_daily_bin1748.fits outfile=/scratch/kocevski/898180/ft1_filteredMKT_4FGL_J2231.0-4416_daily_bin1748.fits ra=337.758 dec=-44.2791 rad=12.0 tmin=692409601.0 tmax=692668801.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.58
user 3.34
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/898180/ft2_4FGL_J2231.0-4416_daily_bin1748.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/898180/ft1_filteredMKT_4FGL_J2231.0-4416_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/898180/ft1_filtered_4FGL_J2231.0-4416_daily_bin1748.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: 426

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/898180/ft1_filtered_4FGL_J2231.0-4416_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/898180/ft2_4FGL_J2231.0-4416_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/898180/ltcube_692409601_692668801_4FGL_J2231.0-4416_daily_bin1748.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/898180/ft2_4FGL_J2231.0-4416_daily_bin1748.fits
.....................!
real 11.86
user 11.51
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/898180/ft1_filtered_4FGL_J2231.0-4416_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/898180/ft2_4FGL_J2231.0-4416_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/898180/ltcube_692409601_692668801_4FGL_J2231.0-4416_daily_bin1748.fits outfile=/scratch/kocevski/898180/expmap_692409601_692668801_4FGL_J2231.0-4416_daily_bin1748.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/898180/ltcube_692409601_692668801_4FGL_J2231.0-4416_daily_bin1748.fits
.....................!
real 190.55
user 185.56
sys 4.57

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/898180/ft1_filtered_4FGL_J2231.0-4416_daily_bin1748.fits scfile=/scratch/kocevski/898180/ft2_4FGL_J2231.0-4416_daily_bin1748.fits outfile=/scratch/kocevski/898180/cmap_692409601_692668801_4FGL_J2231.0-4416_daily_bin1748.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/898180/ft1_filtered_4FGL_J2231.0-4416_daily_bin1748.fits scfile=/scratch/kocevski/898180/ft2_4FGL_J2231.0-4416_daily_bin1748.fits outfile=/scratch/kocevski/898180/cmap_HighResolution_692409601_692668801_4FGL_J2231.0-4416_daily_bin1748.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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/898180/ft1_filtered_4FGL_J2231.0-4416_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/898180/ft2_4FGL_J2231.0-4416_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/898180/Model_4FGL_J2231.0-4416_daily_bin1748.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/898180/ft1_filtered_4FGL_J2231.0-4416_daily_bin1748.fits.....................!
real 39.98
user 38.59
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/898180/ft1_filtered_4FGL_J2231.0-4416_daily_bin1748.fits', '/scratch/kocevski/898180/ft2_4FGL_J2231.0-4416_daily_bin1748.fits', expMap='/scratch/kocevski/898180/expmap_692409601_692668801_4FGL_J2231.0-4416_daily_bin1748.fits', expCube='/scratch/kocevski/898180/ltcube_692409601_692668801_4FGL_J2231.0-4416_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/898180/Model_4FGL_J2231.0-4416_daily_bin1748.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/898180/ft1_filtered_4FGL_J2231.0-4416_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/898180/ft2_4FGL_J2231.0-4416_daily_bin1748.fits
Exposure map: /scratch/kocevski/898180/expmap_692409601_692668801_4FGL_J2231.0-4416_daily_bin1748.fits
Exposure cube: /scratch/kocevski/898180/ltcube_692409601_692668801_4FGL_J2231.0-4416_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/898180/Model_4FGL_J2231.0-4416_daily_bin1748.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) = 4711.10484933

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.260       1.0000          .0000       .10000E+07
     2 'Prefactor '    .23788E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .35579E-03   1.0000          .0000       .10000E+07
     4 'norm      '    17.970       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.6678       1.0000          .0000       .10000E+07
     6 'Prefactor '    .59532E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    12.222       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.1030       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.9621       1.0000          .0000       .10000E+07
    10 'Prefactor '    .32418E-03   1.0000          .0000       .10000E+07
    11 'norm      '    1.0665       1.0000          .0000       .10000E+07
    12 'Prefactor '    .18517E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .72153E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .33749E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .63103E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    12.364       1.0000          .0000       .10000E+07
    17 'Prefactor '    .13980E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .62611E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .31248E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .42950E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    5.1751       1.0000          .0000       .10000E+07
    22 'norm      '    .23138E-03   1.0000          .0000       .10000E+07
    23 'norm      '    13.970       1.0000          .0000       .10000E+07
    24 'norm      '    .18982E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    4.9245       1.0000          .0000       .10000E+07
    26 'Prefactor '    .48152E-01   1.0000          .0000       .10000E+07
    27 'norm      '    .12285E-04   1.0000          .0000       .10000E+07
    28 'Prefactor '    3.1350       1.0000          .0000       .10000E+07
    29 'norm      '    .25661       1.0000          .0000       .10000E+07
    30 'Normalizat'    1.1069       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0047       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=   4711.088     FROM MIGRAD    STATUS=CONVERGED    217 CALLS     3057 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.266        3.5943        .17896E-07    .71456E-01
   2  Prefactor     .46629E-08    5.6573       -.45048E-07** at limit **
   3  Prefactor     .91299E-06    2.8780       -.10226E-06** at limit **
   4  norm          17.968        6.6633       -.92273E-08   -.72106E-02
   5  Prefactor     3.6640        4.0066        .47491E-07    .40873E-01
   6  Prefactor     .55511E-10    3.4202        .52261E-07** at limit **
   7  Prefactor     11.539        46.126        .64123E-08    .13511E-01
   8  Prefactor     5.1342        2.4947        .10142E-07   -.89865E-02
   9  Prefactor     5.9662        4.8800        .81684E-07    .38447E-02
  10  Prefactor     .37537E-06    59.386       -.60090E-06** at limit **
  11  norm          1.0476        7.0606        .10793E-06    .66310E-03
  12  Prefactor     .12212E-08    9.3271       -.31072E-06** at limit **
  13  Prefactor      .0000        1.5668        .44068E-08** at limit **
  14  Prefactor     .13156E-07    13.748       -.15471E-06** at limit **
  15  Prefactor     .27756E-09    4.2507        .69190E-07** at limit **
  16  Prefactor     12.370        2.2397       -.17194E-07    .20172E-01
  17  Prefactor     .37026E-07    9.1242        .12875E-06** at limit **
  18  Prefactor     .19112E-06    46.863       -.29905E-06** at limit **
  19  Prefactor     .11102E-09    3.1197       -.14394E-07** at limit **
  20  Prefactor     .10930E-06    5.0042        .36545E-07** at limit **
  21  Prefactor     5.1626        2.3444       -.12164E-07   -.17521E-02
  22  norm          .10547E-08    5.2593       -.67975E-07** at limit **
  23  norm          13.975        8.8069        .50215E-08   -.60854E-02
  24  norm           .0000        1.7507       -.82166E-07** at limit **
  25  Prefactor     4.9671        6.6996       -.15961E-07    .74773E-02
  26  Prefactor     .55511E-10    24.057        .12923E-06** at limit **
  27  norm           .0000        1.5247        .18178E-08** at limit **
  28  Prefactor     3.0430        7.6516        .44029E-07   -.15094E-01
  29  norm          .25627        .95052       -.93706E-07   -.27579E-02
  30  Normalizat    1.1073        .23703       -.30738E-05    .45322E-04
  31  Prefactor     1.0048        .21840        .35551E-05    .10673E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.2657
  Prefactor  = 4.66294e-09
  Prefactor  = 9.12992e-07
  norm       = 17.9677
  Prefactor  = 3.66402
  Prefactor  = 5.55112e-11
  Prefactor  = 11.5389
  Prefactor  = 5.13424
  Prefactor  = 5.96624
  Prefactor  = 3.75366e-07
  norm       = 1.04761
  Prefactor  = 1.22125e-09
  Prefactor  = 0
  Prefactor  = 1.31561e-08
  Prefactor  = 2.77556e-10
  Prefactor  = 12.3702
  Prefactor  = 3.70259e-08
  Prefactor  = 1.91125e-07
  Prefactor  = 1.11022e-10
  Prefactor  = 1.09301e-07
  Prefactor  = 5.16263
  norm       = 1.05471e-09
  norm       = 13.9748
  norm       = 0
  Prefactor  = 4.96706
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 3.04295
  norm       = 0.256269
  Normalizat = 1.10729
  Prefactor  = 1.00477
 **********
 **   18 **HESSE 
 **********

 FCN=   4711.088     FROM HESSE     STATUS=OK           684 CALLS     3741 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.266        11.795        .28583E-03   -1.5638    
   2  Prefactor     .46629E-08    12.100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .91299E-06    14.995        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          17.968        6.6974        .23599E-03   -1.5623    
   5  Prefactor     3.6640        12.404        .52717E-03   -1.5670    
   6  Prefactor     .55511E-10    3.4253        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.539        53.423        .28629E-03   -1.5640    
   8  Prefactor     5.1342        9.4258        .44484E-03   -1.5663    
   9  Prefactor     5.9662        4.9342        .41100E-03   -1.5659    
  10  Prefactor     .37537E-06    60.643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.0476        7.1616        .11796E-02   -1.5687    
  12  Prefactor     .12212E-08    9.7784        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.5666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .13156E-07    13.919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .27756E-09    4.2464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.370        20.985        .28463E-03   -1.5638    
  17  Prefactor     .37026E-07    10.434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .19112E-06    47.596        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .11102E-09    3.1217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10930E-06    11.743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.1626        15.912        .44167E-03   -1.5663    
  22  norm          .10547E-08    5.2721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          13.975        8.7338        .26772E-03   -1.5633    
  24  norm           .0000        1.7518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     4.9671        10.708        .45299E-03   -1.5663    
  26  Prefactor     .55511E-10    23.871        .15615E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm           .0000        1.5254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     3.0430        64.734        .57230E-03   -1.5673    
  29  norm          .25627        .85978        .28479E-02   -1.5718    
  30  Normalizat    1.1073        .20869        .56721E-01   -.89518    
  31  Prefactor     1.0048        .18848        .44263E-01   -.92571    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.4076e-07
Minuit parameter uncertainties:
  1  11.7947
  2  0.000475377
  3  0.00740013
  4  6.69739
  5  12.4039
  6  3.36709e-05
  7  49.6571
  8  9.42584
  9  4.93418
  10  0.00954194
  11  5.47818
  12  0.000220266
  13  1.84065e-06
  14  0.000856478
  15  6.94345e-05
  16  20.9856
  17  0.00124271
  18  0.0060318
  19  3.51799e-05
  20  0.00226572
  21  15.912
  22  0.000150582
  23  8.73384
  24  1.32349e-05
  25  10.7076
  26  6.12439e-05
  27  2.26283e-06
  28  28.0705
  29  0.859784
  30  0.208843
  31  0.188604
Done.

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

Extracting fit parameters...

4FGL J2231.0-4416
   Spectrum: PowerLaw
305    Prefactor:  0.000e+00  1.841e-06  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.005e+00  1.886e-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:  1.107e+00  2.088e-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.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.25e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/898180/likelihoodResults_692409601_692668801_4FGL_J2231.0-4416_daily_bin1748.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) = 4711.0918049
delta logL = -0.00379905802947

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4711.08800601
delta logL = -1.6889134713e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14544E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.4300       1.0000          .0000       10.000    
     3 'Normalizat'    1.1072       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0048       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4711.088     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      235 TOTAL
                     EDM=   .39E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.9507        .42118E-03** at limit **
   2  Index         2.0958        1.2284       -.63027E-05     .0000    
   3  Normalizat    1.1073        1.1504        .24151E-05   -.15882E-04
   4  Prefactor     1.0048        1.2867       -.27291E-05   -.14981E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.09579
  Normalizat = 1.10729
  Prefactor  = 1.00477
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4711.088     FROM HESSE     STATUS=FAILED         9 CALLS      244 TOTAL
                     EDM=   .39E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.9507        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .47845        1.7528       -.63027E-05   -.61976    
   3  Normalizat    1.1073        1.1504        .24151E-05   -.89518    
   4  Prefactor     1.0048        1.2867       -.27291E-05   -.92571    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.87592e-13
Minuit parameter uncertainties:
  1  2.15995e-06
  2  1.24788
  3  1.17815
  4  1.32965
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/898180': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 4711.08800584
delta logL = 1.27329258248e-11

Extracting fit parameters...

4FGL J2231.0-4416
   Spectrum: PowerLaw
305    Prefactor:  0.000e+00  2.160e-06  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.096e+00  1.248e+00  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.005e+00  1.330e+00  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:  1.107e+00  1.178e+00  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/898180/cmap_HighResolution_692409601_692668801_4FGL_J2231.0-4416_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.25e-03', job_status='DONE', photon_flux_upper_limit='6.78e-08', time_completed='2022-12-14 01:35:07.136503', job_id='898180', GAL2='1.00', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1671010507.14', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.27e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1748' AND source_name='4FGL J2231.0-4416' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:35:07 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 898180: <4FGL_J2231.0-4416_daily_bin1748> in cluster <slac> Done

Job <4FGL_J2231.0-4416_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 01:20:25 2022
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:20:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:20:26 2022
Terminated at Wed Dec 14 01:35:07 2022
Results reported at Wed Dec 14 01:35:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2231.0-4416_daily_bin1748 337.758 -44.2791 692409601 692668801 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 :                                   641.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   881 sec.
    Turnaround time :                            882 sec.

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

