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


Performing analysis on: 4FGL_J2234.2-4156_daily_bin1750
RA = 338.568, Dec = -41.9411
tmin = 692928001, tmax = 693187201
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='28406', job_status='RUN', time_executed='2022-12-20 01:58:56.023605', time_epoch_executed='1671530336.02' WHERE source_name='4FGL J2234.2-4156' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28406

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28406/ft1_4FGL_J2234.2-4156_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28406/ft2_4FGL_J2234.2-4156_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28406/ft1_4FGL_J2234.2-4156_daily_bin1750.fits outfile=/scratch/kocevski/28406/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1750.fits ra=338.568 dec=-41.9411 rad=12.0 tmin=692928001.0 tmax=693187201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.51
user 3.29
sys 0.20

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

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

Number of photons that the gtmktime cut: 490

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28406/ft1_filtered_4FGL_J2234.2-4156_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/28406/ft2_4FGL_J2234.2-4156_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/28406/ltcube_692928001_693187201_4FGL_J2234.2-4156_daily_bin1750.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/28406/ft2_4FGL_J2234.2-4156_daily_bin1750.fits
.....................!
real 11.80
user 11.42
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28406/ft1_filtered_4FGL_J2234.2-4156_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/28406/ft2_4FGL_J2234.2-4156_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/28406/ltcube_692928001_693187201_4FGL_J2234.2-4156_daily_bin1750.fits outfile=/scratch/kocevski/28406/expmap_692928001_693187201_4FGL_J2234.2-4156_daily_bin1750.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/28406/ltcube_692928001_693187201_4FGL_J2234.2-4156_daily_bin1750.fits
.....................!
real 191.51
user 185.28
sys 5.64

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/28406/ft1_filtered_4FGL_J2234.2-4156_daily_bin1750.fits scfile=/scratch/kocevski/28406/ft2_4FGL_J2234.2-4156_daily_bin1750.fits outfile=/scratch/kocevski/28406/cmap_692928001_693187201_4FGL_J2234.2-4156_daily_bin1750.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.54
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28406/ft1_filtered_4FGL_J2234.2-4156_daily_bin1750.fits scfile=/scratch/kocevski/28406/ft2_4FGL_J2234.2-4156_daily_bin1750.fits outfile=/scratch/kocevski/28406/cmap_HighResolution_692928001_693187201_4FGL_J2234.2-4156_daily_bin1750.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.54
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/28406/ft1_filtered_4FGL_J2234.2-4156_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/28406/ft2_4FGL_J2234.2-4156_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/28406/Model_4FGL_J2234.2-4156_daily_bin1750.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/28406/ft1_filtered_4FGL_J2234.2-4156_daily_bin1750.fits.....................!
real 42.56
user 41.19
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/28406/ft1_filtered_4FGL_J2234.2-4156_daily_bin1750.fits', '/scratch/kocevski/28406/ft2_4FGL_J2234.2-4156_daily_bin1750.fits', expMap='/scratch/kocevski/28406/expmap_692928001_693187201_4FGL_J2234.2-4156_daily_bin1750.fits', expCube='/scratch/kocevski/28406/ltcube_692928001_693187201_4FGL_J2234.2-4156_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/28406/Model_4FGL_J2234.2-4156_daily_bin1750.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/28406/ft1_filtered_4FGL_J2234.2-4156_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/28406/ft2_4FGL_J2234.2-4156_daily_bin1750.fits
Exposure map: /scratch/kocevski/28406/expmap_692928001_693187201_4FGL_J2234.2-4156_daily_bin1750.fits
Exposure cube: /scratch/kocevski/28406/ltcube_692928001_693187201_4FGL_J2234.2-4156_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/28406/Model_4FGL_J2234.2-4156_daily_bin1750.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) = 5350.70023264

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .70972E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .44214E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .82984E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    17.180       1.0000          .0000       .10000E+07
     5 'Prefactor '    51.033       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.5757       1.0000          .0000       .10000E+07
     7 'Prefactor '    .35173E-03   1.0000          .0000       .10000E+07
     8 'norm      '    4.3801       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.4780       1.0000          .0000       .10000E+07
    10 'Prefactor '    .65113E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .13433E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.6642       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11532E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    25.084       1.0000          .0000       .10000E+07
    15 'Prefactor '    .25090E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .42674E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    7.5786       1.0000          .0000       .10000E+07
    18 'Prefactor '    18.188       1.0000          .0000       .10000E+07
    19 'Prefactor '    .10396E-04   1.0000          .0000       .10000E+07
    20 'norm      '    5.6862       1.0000          .0000       .10000E+07
    21 'norm      '    .10053E-04   1.0000          .0000       .10000E+07
    22 'norm      '    .50375E-02   1.0000          .0000       .10000E+07
    23 'norm      '    4.9924       1.0000          .0000       .10000E+07
    24 'Prefactor '    .14432E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    .58449E-04   1.0000          .0000       .10000E+07
    26 'norm      '    2.9139       1.0000          .0000       .10000E+07
    27 'Prefactor '    .20250E-03   1.0000          .0000       .10000E+07
    28 'norm      '    4.1002       1.0000          .0000       .10000E+07
    29 'Normalizat'    1.0773       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .77179       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=   5350.650     FROM MIGRAD    STATUS=CONVERGED    223 CALLS     2801 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .75812E-06    16.436       -.45785E-08** at limit **
   2  norm           .0000        1.5293       -.65956E-07** at limit **
   3  Prefactor     .38858E-09    6.8844       -.60422E-07** at limit **
   4  Prefactor     17.205        10.022        .32086E-08   -.51394E-03
   5  Prefactor     52.306        9.4512        .14187E-07   -.38854E-02
   6  Prefactor     1.5527        7.6022        .71769E-06   -.41193E-03
   7  Prefactor     .12323E-07    152.70       -.15016E-05** at limit **
   8  norm          4.3881        5.2194        .81871E-07   -.18681E-03
   9  Prefactor     4.4870        8.3839        .87176E-07   -.65271E-04
  10  Prefactor      .0000        4.4428       -.68698E-07** at limit **
  11  Prefactor     .38186E-06    28.745        .28148E-06** at limit **
  12  Prefactor     2.6726        3.9446        .69769E-07   -.29445E-03
  13  Prefactor     .74885E-07    50.898       -.10026E-06** at limit **
  14  Prefactor     25.353        3.7256        .31340E-08   -.13009E-01
  15  Prefactor     .24101E-05    3.6550       -.88662E-07** at limit **
  16  Prefactor     .35139E-07    13.783       -.12698E-06** at limit **
  17  Prefactor     7.5810        6.3480        .66188E-07   -.69512E-04
  18  Prefactor     18.234        1.1544        .62641E-08   -.29017E-02
  19  Prefactor      .0000        8.1100       -.11645E-06** at limit **
  20  norm          5.6862        7.6935        .50466E-07   -.71581E-04
  21  norm           .0000        1.9611       -.94754E-07** at limit **
  22  norm           .0000        10.425        .13727E-06** at limit **
  23  norm          5.0104        6.4952       -.47973E-07    .25560E-04
  24  Prefactor      .0000        3.0282       -.45417E-07** at limit **
  25  Prefactor     .15328E-05    12.860        .29796E-06** at limit **
  26  norm          2.9013        4.6956       -.17980E-06    .54800E-03
  27  Prefactor     .84877E-07    14.280       -.50710E-06** at limit **
  28  norm          4.1159        4.0819       -.35304E-08    .26546E-03
  29  Normalizat    1.0767        .20710        .42951E-06   -.45828E-05
  30  Prefactor     .77162        .19325       -.99030E-06   -.33854E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.58116e-07
  norm       = 0
  Prefactor  = 3.88578e-10
  Prefactor  = 17.2051
  Prefactor  = 52.3056
  Prefactor  = 1.55265
  Prefactor  = 1.23235e-08
  norm       = 4.38808
  Prefactor  = 4.48696
  Prefactor  = 0
  Prefactor  = 3.81861e-07
  Prefactor  = 2.67259
  Prefactor  = 7.48845e-08
  Prefactor  = 25.3525
  Prefactor  = 2.41007e-06
  Prefactor  = 3.51386e-08
  Prefactor  = 7.58102
  Prefactor  = 18.2342
  Prefactor  = 0
  norm       = 5.68619
  norm       = 0
  norm       = 0
  norm       = 5.0104
  Prefactor  = 0
  Prefactor  = 1.53283e-06
  norm       = 2.90133
  Prefactor  = 8.48766e-08
  norm       = 4.11586
  Normalizat = 1.07666
  Prefactor  = 0.771622
 **********
 **   18 **HESSE 
 **********

 FCN=   5350.650     FROM HESSE     STATUS=OK           648 CALLS     3449 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .75812E-06    23.031        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        1.5329        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .38858E-09    6.8658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.205        10.036        .24137E-03   -1.5625    
   5  Prefactor     52.306        35.309        .13999E-03   -1.5563    
   6  Prefactor     1.5527        7.8979        .84615E-03   -1.5683    
   7  Prefactor     .12323E-07    152.63        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.3881        5.2240        .48100E-03   -1.5666    
   9  Prefactor     4.4870        8.4061        .47557E-03   -1.5666    
  10  Prefactor      .0000        4.3769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .38186E-06    32.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.6726        3.9913        .62417E-03   -1.5675    
  13  Prefactor     .74885E-07    55.032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     25.353        27.385        .19971E-03   -1.5607    
  15  Prefactor     .24101E-05    20.114        .10385E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .35139E-07    14.375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.5810        6.3659        .36405E-03   -1.5653    
  18  Prefactor     18.234        22.929        .23457E-03   -1.5623    
  19  Prefactor      .0000        8.0862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.6862        7.6985        .42100E-03   -1.5660    
  21  norm           .0000        1.9633        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        10.324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          5.0104        6.5083        .44984E-03   -1.5663    
  24  Prefactor      .0000        3.0295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .15328E-05    26.047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          2.9013        4.7495        .59493E-03   -1.5674    
  27  Prefactor     .84877E-07    15.515        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          4.1159        4.1037        .49763E-03   -1.5667    
  29  Normalizat    1.0767        .18514        .39009E-01   -.90505    
  30  Prefactor     .77162        .16849        .43349E-01   -1.0078    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05898e-06
Minuit parameter uncertainties:
  1  0.00835703
  2  2.13888e-06
  3  0.000100383
  4  10.0355
  5  35.3089
  6  7.00363
  7  0.0027414
  8  5.224
  9  8.40609
  10  2.27433e-06
  11  0.00703837
  12  3.99126
  13  0.0040603
  14  27.3851
  15  0.0139252
  16  0.00142142
  17  6.36592
  18  22.9286
  19  1.71936e-07
  20  7.69852
  21  1.9443e-06
  22  2.35192e-05
  23  6.5083
  24  5.29278e-07
  25  0.0126374
  26  4.74947
  27  0.0022948
  28  4.10369
  29  0.185255
  30  0.168606
Done.

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

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  3.819e-07  7.038e-03  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:  7.716e-01  1.686e-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:  1.077e+00  1.853e-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: 5.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/28406/likelihoodResults_692928001_693187201_4FGL_J2234.2-4156_daily_bin1750.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) = 5350.04486387
delta logL = 0.604688915169

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5350.02270202
delta logL = 0.626850764583

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5350.023     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      496 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .36517E-01    .69567        .31130E-03** at limit **
   2  Index         4.8386        2.2548        .80636E-01   -.23029E-03
   3  Normalizat    1.0203        .39636E-01    .43352E-01   -.21662E-03
   4  Prefactor     .80400        .37840E-01    .43773E-01   -.14380E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0365165
  Index      = 4.83863
  Normalizat = 1.02034
  Prefactor  = 0.803997
 **********
 **   18 **HESSE 
 **********

 FCN=   5350.023     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      529 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .36517E-01    1.9006        .14273E-04   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.8386        4.1451        .40050E-02   -.32279E-01
   3  Normalizat    1.0203        .14698        .23086E-03   -.92352    
   4  Prefactor     .80400        .13864        .24432E-03   -.99581    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.96149e-10
Minuit parameter uncertainties:
  1  0.526897
  2  4.88803
  3  0.147034
  4  0.138697
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28406': 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) = 5350.02269839
delta logL = 0.626854392031

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  3.652e-02  5.269e-01  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  4.839e+00  4.888e+00  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.040e-01  1.387e-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:  1.020e+00  1.470e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.32
Ra Dec: 338.568 -41.941
Photon Index (Free Index): 4.84 +/- 4.89
Photon Flux (Free Index): 4.38e-08 +/- 4.23e-08
Energy Flux (Free Index): 5.91e-06 +/- 6.72e-06

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/28406/cmap_HighResolution_692928001_693187201_4FGL_J2234.2-4156_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.23e-03', comment='SUCCESS', energy_flux2='5.91e-06', dlogl='6.27e-01', photon_flux2='4.38e-08', job_status='DONE', time_completed='2022-12-20 02:10:07.165294', photon_index_error2='4.89', photon_index2='4.84', ts='-0.00', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', photon_flux_upper_limit='5.65e-08', energy_flux_error2='6.72e-06', EG='1.08', time_epoch_completed='1671531007.17', return_code='0', job_id='28406', GAL2='0.80', EG2='1.02', return_code2='102', photon_flux_error2='4.23e-08', ts2='1.32', photon_index='1.99' WHERE bin_id='1750' AND source_name='4FGL J2234.2-4156' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 02:10:07 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 28406: <4FGL_J2234.2-4156_daily_bin1750> in cluster <slac> Done

Job <4FGL_J2234.2-4156_daily_bin1750> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Dec 20 01:55:17 2022
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:55:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:55:18 2022
Terminated at Tue Dec 20 02:10:07 2022
Results reported at Tue Dec 20 02:10:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.2-4156_daily_bin1750 338.568 -41.9411 692928001 693187201 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 :                                   672.40 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             267.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   889 sec.
    Turnaround time :                            890 sec.

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

