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


Performing analysis on: 4FGL_J2234.2-4156_daily_bin1756
RA = 338.568, Dec = -41.9411
tmin = 694483201, tmax = 694742401
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='26917', job_status='RUN', time_executed='2023-01-07 01:43:14.563600', time_epoch_executed='1673084594.56' WHERE source_name='4FGL J2234.2-4156' and cadence='daily' and bin_id='1756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/26917

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/26917/ft1_4FGL_J2234.2-4156_daily_bin1756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/26917/ft2_4FGL_J2234.2-4156_daily_bin1756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/26917/ft1_4FGL_J2234.2-4156_daily_bin1756.fits outfile=/scratch/kocevski/26917/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1756.fits ra=338.568 dec=-41.9411 rad=12.0 tmin=694483201.0 tmax=694742401.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 2.96
user 2.73
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/26917/ft2_4FGL_J2234.2-4156_daily_bin1756.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/26917/ft2_4FGL_J2234.2-4156_daily_bin1756.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/26917/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1756.fits evtable="EVENTS" outfile="/scratch/kocevski/26917/ft1_filtered_4FGL_J2234.2-4156_daily_bin1756.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.16

Number of photons that the gtmktime cut: 491

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/26917/ft1_filtered_4FGL_J2234.2-4156_daily_bin1756.fits" evtable="EVENTS" scfile=/scratch/kocevski/26917/ft2_4FGL_J2234.2-4156_daily_bin1756.fits sctable="SC_DATA" outfile=/scratch/kocevski/26917/ltcube_694483201_694742401_4FGL_J2234.2-4156_daily_bin1756.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/26917/ft2_4FGL_J2234.2-4156_daily_bin1756.fits
.....................!
real 15.72
user 15.33
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/26917/ft1_filtered_4FGL_J2234.2-4156_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/26917/ft2_4FGL_J2234.2-4156_daily_bin1756.fits sctable="SC_DATA" expcube=/scratch/kocevski/26917/ltcube_694483201_694742401_4FGL_J2234.2-4156_daily_bin1756.fits outfile=/scratch/kocevski/26917/expmap_694483201_694742401_4FGL_J2234.2-4156_daily_bin1756.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/26917/ltcube_694483201_694742401_4FGL_J2234.2-4156_daily_bin1756.fits
.....................!
real 192.23
user 186.03
sys 5.76

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

Setting source of interest to:
4FGL J2234.2-4156 @ 338.568 -41.9411

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/26917/ft1_filtered_4FGL_J2234.2-4156_daily_bin1756.fits scfile=/scratch/kocevski/26917/ft2_4FGL_J2234.2-4156_daily_bin1756.fits outfile=/scratch/kocevski/26917/cmap_694483201_694742401_4FGL_J2234.2-4156_daily_bin1756.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=338.568 yref=-41.9411 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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/26917/ft1_filtered_4FGL_J2234.2-4156_daily_bin1756.fits scfile=/scratch/kocevski/26917/ft2_4FGL_J2234.2-4156_daily_bin1756.fits outfile=/scratch/kocevski/26917/cmap_HighResolution_694483201_694742401_4FGL_J2234.2-4156_daily_bin1756.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=338.568 yref=-41.9411 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/26917/ft1_filtered_4FGL_J2234.2-4156_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/26917/ft2_4FGL_J2234.2-4156_daily_bin1756.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/26917/Model_4FGL_J2234.2-4156_daily_bin1756.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/26917/ft1_filtered_4FGL_J2234.2-4156_daily_bin1756.fits.....................!
real 42.12
user 40.76
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/26917/ft1_filtered_4FGL_J2234.2-4156_daily_bin1756.fits', '/scratch/kocevski/26917/ft2_4FGL_J2234.2-4156_daily_bin1756.fits', expMap='/scratch/kocevski/26917/expmap_694483201_694742401_4FGL_J2234.2-4156_daily_bin1756.fits', expCube='/scratch/kocevski/26917/ltcube_694483201_694742401_4FGL_J2234.2-4156_daily_bin1756.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/26917/Model_4FGL_J2234.2-4156_daily_bin1756.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2234.2-4156'

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  4.331e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.992e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  2.380e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/26917/ft1_filtered_4FGL_J2234.2-4156_daily_bin1756.fits
Spacecraft file(s): /scratch/kocevski/26917/ft2_4FGL_J2234.2-4156_daily_bin1756.fits
Exposure map: /scratch/kocevski/26917/expmap_694483201_694742401_4FGL_J2234.2-4156_daily_bin1756.fits
Exposure cube: /scratch/kocevski/26917/ltcube_694483201_694742401_4FGL_J2234.2-4156_daily_bin1756.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/26917/Model_4FGL_J2234.2-4156_daily_bin1756.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) = 5358.51313691

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.993       1.0000          .0000       .10000E+07
     2 'norm      '    18.397       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.6613       1.0000          .0000       .10000E+07
     4 'Prefactor '    .50382E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    8.5101       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.2628       1.0000          .0000       .10000E+07
     7 'Prefactor '    .45283       1.0000          .0000       .10000E+07
     8 'norm      '    .29915E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .62537E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.7529       1.0000          .0000       .10000E+07
    11 'Prefactor '    .15574E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .35075E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    37.558       1.0000          .0000       .10000E+07
    14 'Prefactor '    .28265E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .57151E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    19.624       1.0000          .0000       .10000E+07
    17 'Prefactor '    .24686       1.0000          .0000       .10000E+07
    18 'Prefactor '    24.066       1.0000          .0000       .10000E+07
    19 'Prefactor '    .47604E-05   1.0000          .0000       .10000E+07
    20 'norm      '    11.929       1.0000          .0000       .10000E+07
    21 'norm      '    .44704E-05   1.0000          .0000       .10000E+07
    22 'norm      '    .22872E-04   1.0000          .0000       .10000E+07
    23 'norm      '    3.7789       1.0000          .0000       .10000E+07
    24 'Prefactor '    .73386E-07   1.0000          .0000       .10000E+07
    25 'Prefactor '    11.432       1.0000          .0000       .10000E+07
    26 'norm      '    2.0151       1.0000          .0000       .10000E+07
    27 'Prefactor '    .66730E-06   1.0000          .0000       .10000E+07
    28 'norm      '    3.6004       1.0000          .0000       .10000E+07
    29 'Normalizat'    .99440       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .86317       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5358.416     FROM MIGRAD    STATUS=CONVERGED    175 CALLS     2209 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.272        21.923        .14365E-06    .11210    
   2  norm          18.362        7.6078       -.97084E-08    .47638E-02
   3  Prefactor     5.6560        7.7525       -.55181E-07   -.10026E-01
   4  Prefactor     .11102E-07    14.722       -.18346E-06** at limit **
   5  Prefactor     8.8267        3.7153        .52425E-07    .20024E-02
   6  Prefactor     1.2555        4.9020        .55093E-07   -.23486E-01
   7  Prefactor     .10087E-04    59.690       -.17053E-06** at limit **
   8  norm           .0000        6.1206       -.78429E-07** at limit **
   9  Prefactor     .28765E-04    84.232       -.81887E-06** at limit **
  10  Prefactor     3.6997        4.4000        .11435E-08   -.14661E-02
  11  Prefactor     .44842E-06    1.5281        .87765E-08** at limit **
  12  Prefactor     .22204E-09    1.3986       -.10278E-06** at limit **
  13  Prefactor     37.078        15.336       -.15627E-08   -.64904E-01
  14  Prefactor     .12446E-06    26.381       -.19529E-06** at limit **
  15  Prefactor     .16653E-08    9.2518       -.23105E-07** at limit **
  16  Prefactor     19.686        1.4438        .39024E-09   -.42784E-01
  17  Prefactor     .29203        .93388       -.23617E-07    .11381E-01
  18  Prefactor     23.451        9.0413       -.14133E-07   -.62721E-01
  19  Prefactor     .11102E-09    3.4721        .10839E-06** at limit **
  20  norm          11.821        5.5958       -.14343E-07    .18448E-01
  21  norm           .0000        1.5080       -.24189E-07** at limit **
  22  norm          .55511E-10    1.8182        .42584E-07** at limit **
  23  norm          3.6941        5.3442        .80869E-08    .39233E-01
  24  Prefactor      .0000        4.8950        .56474E-07** at limit **
  25  Prefactor     11.329        2.3202       -.10108E-07    .45352E-01
  26  norm          2.0180        2.7384       -.46774E-07   -.59626E-02
  27  Prefactor      .0000        4.5038        .10544E-06** at limit **
  28  norm          3.5986        3.4812        .44189E-07    .17479E-02
  29  Normalizat    .99533        .20755       -.25388E-06   -.45216E-03
  30  Prefactor     .86287        .20213       -.16688E-05   -.46931E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.2724
  norm       = 18.3624
  Prefactor  = 5.65599
  Prefactor  = 1.11022e-08
  Prefactor  = 8.82667
  Prefactor  = 1.25555
  Prefactor  = 1.00873e-05
  norm       = 0
  Prefactor  = 2.8765e-05
  Prefactor  = 3.69972
  Prefactor  = 4.48419e-07
  Prefactor  = 2.22045e-10
  Prefactor  = 37.0778
  Prefactor  = 1.24456e-07
  Prefactor  = 1.66533e-09
  Prefactor  = 19.6863
  Prefactor  = 0.292028
  Prefactor  = 23.4513
  Prefactor  = 1.11022e-10
  norm       = 11.8214
  norm       = 0
  norm       = 5.55112e-11
  norm       = 3.69414
  Prefactor  = 0
  Prefactor  = 11.3292
  norm       = 2.01796
  Prefactor  = 0
  norm       = 3.5986
  Normalizat = 0.995325
  Prefactor  = 0.862867
 **********
 **   18 **HESSE 
 **********

 FCN=   5358.416     FROM HESSE     STATUS=OK           658 CALLS     2867 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.272        41.390        .17412E-03   -1.5591    
   2  norm          18.362        7.7116        .23324E-03   -1.5622    
   3  Prefactor     5.6560        7.8540        .42194E-03   -1.5660    
   4  Prefactor     .11102E-07    14.766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.8267        67.715        .34339E-03   -1.5649    
   6  Prefactor     1.2555        20.793        .99159E-03   -1.5686    
   7  Prefactor     .10087E-04    136.54        .83604E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        6.0880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .28765E-04    8.3126        .58126E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.6997        4.4383        .52093E-03   -1.5669    
  11  Prefactor     .44842E-06    60.447        .17347E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .22204E-09    1.3993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     37.078        23.661        .16319E-03   -1.5586    
  14  Prefactor     .12446E-06    29.165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .16653E-08    9.2837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     19.686        12.323        .22582E-03   -1.5619    
  17  Prefactor     .29203        5.1345        .88909E-02   -1.5697    
  18  Prefactor     23.451        21.675        .20389E-03   -1.5611    
  19  Prefactor     .11102E-09    3.4900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          11.821        8.6891        .28979E-03   -1.5639    
  21  norm           .0000        1.5104        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .55511E-10    1.8167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.6941        8.7247        .51907E-03   -1.5670    
  24  Prefactor      .0000        4.9178        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     11.329        15.883        .29605E-03   -1.5641    
  26  norm          2.0180        2.8826        .72888E-03   -1.5680    
  27  Prefactor      .0000        4.5431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          3.5986        3.4990        .53228E-03   -1.5670    
  29  Normalizat    .99533        .18618        .46097E-01   -.93187    
  30  Prefactor     .86287        .17367        .44534E-01   -.97451    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01156e-06
Minuit parameter uncertainties:
  1  41.3906
  2  7.71158
  3  7.85406
  4  0.000809454
  5  48.8964
  6  10.2189
  7  0.0742257
  8  6.76717e-06
  9  0.0309266
  10  4.43835
  11  0.010413
  12  3.4466e-05
  13  23.6615
  14  0.00381053
  15  0.000248988
  16  12.3233
  17  2.44902
  18  21.6747
  19  3.81619e-05
  20  8.68906
  21  6.17482e-06
  22  2.03449e-05
  23  8.72471
  24  4.31202e-06
  25  15.8827
  26  2.88261
  27  1.72067e-05
  28  3.49899
  29  0.186297
  30  0.173781
Done.

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

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  4.484e-07  1.041e-02  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.992e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  2.380e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  8.629e-01  1.738e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  9.953e-01  1.863e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 338.568 -41.941
Photon Flux Upper Limit: 6.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.79e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/26917/likelihoodResults_694483201_694742401_4FGL_J2234.2-4156_daily_bin1756.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5358.42370871
delta logL = -0.00793373538454

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 5357.61431808
delta logL = 0.801456891412

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86042E-08   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .92019       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91216       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5358.416     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      737 TOTAL
                     EDM=   .62E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    49.564        .20809E-05** at limit **
   2  Index         1.8315        .28371        .80923E-05   -.61131E-11
   3  Normalizat    .99533        .20193       -.31554E-04    .16993E-03
   4  Prefactor     .86287        .20085       -.31124E-04   -.13840E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 1.83152
  Normalizat = 0.995328
  Prefactor  = 0.862867
 **********
 **   18 **HESSE 
 **********

 FCN=   5358.416     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      774 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    3175.0        .42118E-03   -28998.    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8315        5.0780        .50000       -89228.    
   3  Normalizat    .99533        .37507E-01    .45159E-01   -19.781    
   4  Prefactor     .86287        .37322E-01    .45160E-01   -14.733    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.23894e-10
Minuit parameter uncertainties:
  1  0.00143779
  2  30.9861
  3  0.0375082
  4  0.0373226
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/26917': 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) = 5358.41577497
delta logL = 3.72529029846e-09

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  1.665e-10  1.438e-03  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.832e+00  3.099e+01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  2.380e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  8.629e-01  3.732e-02  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  9.953e-01  3.751e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 338.568 -41.941

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/26917/cmap_HighResolution_694483201_694742401_4FGL_J2234.2-4156_daily_bin1756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.79e-03', job_status='DONE', photon_flux_upper_limit='6.39e-08', time_completed='2023-01-07 01:54:07.977241', job_id='26917', GAL2='0.86', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1673085247.98', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='3.73e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1756' AND source_name='4FGL J2234.2-4156' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan  7 01:54:08 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 26917: <4FGL_J2234.2-4156_daily_bin1756> in cluster <slac> Done

Job <4FGL_J2234.2-4156_daily_bin1756> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Jan  7 01:40:15 2023
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan  7 01:41:38 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan  7 01:41:38 2023
Terminated at Sat Jan  7 01:54:08 2023
Results reported at Sat Jan  7 01:54:08 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.2-4156_daily_bin1756 338.568 -41.9411 694483201 694742401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2234.2-4156 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   656.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            833 sec.

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

