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


Performing analysis on: 4FGL_J2234.2-4156_daily_bin1747
RA = 338.568, Dec = -41.9411
tmin = 692150401, tmax = 692409601
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='814875', job_status='RUN', time_executed='2022-12-11 01:45:49.826110', time_epoch_executed='1670751949.83' WHERE source_name='4FGL J2234.2-4156' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/814875

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/814875/ft1_4FGL_J2234.2-4156_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/814875/ft2_4FGL_J2234.2-4156_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/814875/ft1_4FGL_J2234.2-4156_daily_bin1747.fits outfile=/scratch/kocevski/814875/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1747.fits ra=338.568 dec=-41.9411 rad=12.0 tmin=692150401.0 tmax=692409601.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.99
user 3.76
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/814875/ft1_filtered_4FGL_J2234.2-4156_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/814875/ft2_4FGL_J2234.2-4156_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/814875/ltcube_692150401_692409601_4FGL_J2234.2-4156_daily_bin1747.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/814875/ft2_4FGL_J2234.2-4156_daily_bin1747.fits
.....................!
real 11.76
user 11.38
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/814875/ft1_filtered_4FGL_J2234.2-4156_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/814875/ft2_4FGL_J2234.2-4156_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/814875/ltcube_692150401_692409601_4FGL_J2234.2-4156_daily_bin1747.fits outfile=/scratch/kocevski/814875/expmap_692150401_692409601_4FGL_J2234.2-4156_daily_bin1747.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/814875/ltcube_692150401_692409601_4FGL_J2234.2-4156_daily_bin1747.fits
.....................!
real 190.94
user 185.23
sys 5.38

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/814875/ft1_filtered_4FGL_J2234.2-4156_daily_bin1747.fits scfile=/scratch/kocevski/814875/ft2_4FGL_J2234.2-4156_daily_bin1747.fits outfile=/scratch/kocevski/814875/cmap_692150401_692409601_4FGL_J2234.2-4156_daily_bin1747.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/814875/ft1_filtered_4FGL_J2234.2-4156_daily_bin1747.fits scfile=/scratch/kocevski/814875/ft2_4FGL_J2234.2-4156_daily_bin1747.fits outfile=/scratch/kocevski/814875/cmap_HighResolution_692150401_692409601_4FGL_J2234.2-4156_daily_bin1747.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/814875/ft1_filtered_4FGL_J2234.2-4156_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/814875/ft2_4FGL_J2234.2-4156_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/814875/Model_4FGL_J2234.2-4156_daily_bin1747.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/814875/ft1_filtered_4FGL_J2234.2-4156_daily_bin1747.fits.....................!
real 38.48
user 37.12
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31636E-02   1.0000          .0000       .10000E+07
     2 'norm      '    6.7692       1.0000          .0000       .10000E+07
     3 'Prefactor '    .86819E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .34654E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    60.540       1.0000          .0000       .10000E+07
     6 'Prefactor '    .53225E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .45661E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .20461E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .20167E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.1854       1.0000          .0000       .10000E+07
    11 'Prefactor '    38.479       1.0000          .0000       .10000E+07
    12 'Prefactor '    .73116E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .21548E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .10044E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10622E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .40123E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .48647E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    28.317       1.0000          .0000       .10000E+07
    19 'Prefactor '    .27664E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .29044E-02   1.0000          .0000       .10000E+07
    21 'norm      '    .25077E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .10904E-03   1.0000          .0000       .10000E+07
    23 'norm      '    4.4663       1.0000          .0000       .10000E+07
    24 'Prefactor '    11.857       1.0000          .0000       .10000E+07
    25 'Prefactor '    .15903E-01   1.0000          .0000       .10000E+07
    26 'norm      '    3.0062       1.0000          .0000       .10000E+07
    27 'Prefactor '    .27812E-02   1.0000          .0000       .10000E+07
    28 'norm      '    6.1076       1.0000          .0000       .10000E+07
    29 'Normalizat'    1.2397       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.0347       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=   4673.185     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     2839 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .64393E-06    5.6775       -.60819E-06** at limit **
   2  norm          6.7517        4.8235        .57035E-07    .36132E-03
   3  Prefactor     .72164E-09    4.4872       -.74057E-06** at limit **
   4  Prefactor     .20783E-06    3.9895        .96938E-07** at limit **
   5  Prefactor     60.680        3.7391        .22529E-07   -.87639E-01
   6  Prefactor     .50515E-08    .81600       -.61720E-07** at limit **
   7  Prefactor     .11402E-06    1.2172       -.11433E-06** at limit **
   8  norm           .0000        2.1597        .23291E-06** at limit **
   9  Prefactor     .16653E-09    3.2529       -.11346E-06** at limit **
  10  Prefactor     3.1778        5.0213        .15230E-06    .23303E-03
  11  Prefactor     38.340        7.7572       -.46624E-07    .12324    
  12  Prefactor     .66891E-07    5.8207        .12281E-06** at limit **
  13  Prefactor     .38153E-06    6.0779       -.33538E-06** at limit **
  14  Prefactor     .33307E-08    4.9498       -.77022E-06** at limit **
  15  Prefactor     .69611E-07    12.320        .48106E-06** at limit **
  16  Prefactor     .77716E-09    12.775        .42911E-06** at limit **
  17  Prefactor     .12346E-06    4.0264       -.26585E-06** at limit **
  18  Prefactor     28.278        1.3135       -.58937E-08    .11358E-01
  19  Prefactor     .28977E-07    7.3560        .11486E-07** at limit **
  20  norm          .21894E-06    7.2136       -.36266E-07** at limit **
  21  norm          .55511E-10    2.4436        .19884E-06** at limit **
  22  norm           .0000        2.6870        .19116E-06** at limit **
  23  norm          4.4674        1.4231       -.35420E-07   -.13376E-01
  24  Prefactor     11.855        1.2665        .14686E-07    .14004E-01
  25  Prefactor     .31419E-07    37.295       -.13681E-06** at limit **
  26  norm          2.9999        4.3747        .12703E-06    .49357E-03
  27  Prefactor     .47296E-07    7.9313        .63974E-07** at limit **
  28  norm          6.1141        1.9373        .16836E-07    .28197E-03
  29  Normalizat    1.2399        .27546        .53095E-05    .16995E-04
  30  Prefactor     1.0349        .25274       -.54436E-05   -.75267E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.43929e-07
  norm       = 6.75166
  Prefactor  = 7.21645e-10
  Prefactor  = 2.07834e-07
  Prefactor  = 60.6803
  Prefactor  = 5.05151e-09
  Prefactor  = 1.1402e-07
  norm       = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 3.17775
  Prefactor  = 38.3395
  Prefactor  = 6.68909e-08
  Prefactor  = 3.81528e-07
  Prefactor  = 3.33067e-09
  Prefactor  = 6.9611e-08
  Prefactor  = 7.77156e-10
  Prefactor  = 1.23457e-07
  Prefactor  = 28.2781
  Prefactor  = 2.89768e-08
  norm       = 2.18936e-07
  norm       = 5.55112e-11
  norm       = 0
  norm       = 4.46745
  Prefactor  = 11.855
  Prefactor  = 3.14193e-08
  norm       = 2.99995
  Prefactor  = 4.72955e-08
  norm       = 6.11413
  Normalizat = 1.23986
  Prefactor  = 1.03486
 **********
 **   18 **HESSE 
 **********

 FCN=   4673.185     FROM HESSE     STATUS=OK           644 CALLS     3483 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .64393E-06    15.975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.7517        4.8210        .38541E-03   -1.5656    
   3  Prefactor     .72164E-09    13.495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .20783E-06    4.6638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     60.680        64.288        .12853E-03   -1.5552    
   6  Prefactor     .50515E-08    8.7502        .11630E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11402E-06    46.368        .15718E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.1740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .16653E-09    3.2693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.1778        5.0458        .56752E-03   -1.5672    
  11  Prefactor     38.340        38.028        .16122E-03   -1.5584    
  12  Prefactor     .66891E-07    6.0373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .38153E-06    10.579        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .33307E-08    13.256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .69611E-07    25.645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .77716E-09    26.257        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .12346E-06    4.4791        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     28.278        36.866        .18795E-03   -1.5602    
  19  Prefactor     .28977E-07    20.153        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .21894E-06    8.2923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .55511E-10    2.4472        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        2.6883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.4674        8.8321        .47621E-03   -1.5666    
  24  Prefactor     11.855        8.7264        .29067E-03   -1.5639    
  25  Prefactor     .31419E-07    37.250        .17323E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          2.9999        5.1490        .58515E-03   -1.5673    
  27  Prefactor     .47296E-07    20.122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          6.1141        7.0023        .40601E-03   -1.5659    
  29  Normalizat    1.2399        .23130        .58850E-01   -.85380    
  30  Prefactor     1.0349        .20818        .58809E-01   -.91576    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28642e-06
Minuit parameter uncertainties:
  1  0.00641474
  2  4.82096
  3  0.00019829
  4  0.00196902
  5  64.2888
  6  0.000420482
  7  0.00459897
  8  1.50347e-05
  9  4.89501e-05
  10  5.04582
  11  38.0282
  12  0.00127089
  13  0.00401804
  14  0.000419809
  15  0.00267209
  16  0.000288509
  17  0.00148732
  18  36.8665
  19  0.00152898
  20  0.00269481
  21  2.79715e-05
  22  1.28613e-05
  23  8.83209
  24  8.72641
  25  0.00216308
  26  5.14904
  27  0.00195111
  28  7.00229
  29  0.23149
  30  0.208337
Done.

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

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  3.834e+01  3.803e+01  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:  1.035e+00  2.083e-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.240e+00  2.315e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.47
Ra Dec: 338.568 -41.941
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 2.13e-08 +/- 2.12e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 1.49e-05

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) = 4671.80815415
delta logL = 1.37678692222

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4671.80052637
delta logL = 1.38441469996

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.164       1.0000          .0000       .10000E+07
     2 'Index     '    .93667       1.0000          .0000       10.000    
     3 'Normalizat'    1.2484       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0357       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4671.801     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      215 TOTAL
                     EDM=   .49E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 13.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.129        50.530       -.22300E-05   -.42805E-03
   2  Index         .93618        .67779       -.98927E-04    .11534E-04
   3  Normalizat    1.2483        .22362        .68842E-07    .23555E-03
   4  Prefactor     1.0357        .20744        .63830E-06    .19931E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.129
  Index      = 0.936175
  Normalizat = 1.24828
  Prefactor  = 1.03573
 **********
 **   18 **HESSE 
 **********

 FCN=   4671.801     FROM HESSE     STATUS=OK            25 CALLS      240 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.129        50.312        .67462E-05   -1.5589    
   2  Index         .93618        .67538        .10781E-02   -.94888    
   3  Normalizat    1.2483        .27171        .25944E-03   -.85124    
   4  Prefactor     1.0357        .25200        .25995E-03   -.91548    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.13241e-11
Minuit parameter uncertainties:
  1  50.3127
  2  0.681586
  3  0.27202
  4  0.252287
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/814875': 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): 0
logL (Free Index) = 4671.80052573
delta logL = 1.38441533889

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  3.513e+01  5.031e+01  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  9.362e-01  6.816e-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:  1.036e+00  2.523e-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.248e+00  2.720e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.23
Ra Dec: 338.568 -41.941
Photon Index (Free Index): 0.94 +/- 0.68
Photon Flux (Free Index): 5.93e-09 +/- 7.11e-09
Energy Flux (Free Index): 9.97e-05 +/- 1.34e-04

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/814875/cmap_HighResolution_692150401_692409601_4FGL_J2234.2-4156_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.13e-08', energy_flux2='9.97e-05', photon_flux_error='2.12e-08', dlogl='1.38e+00', energy_flux='1.50e-05', photon_flux2='5.93e-09', job_status='DONE', time_completed='2022-12-11 01:55:13.630641', photon_index_error2='0.68', photon_index2='0.94', ts='4.47', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='1.34e-04', EG='1.24', time_epoch_completed='1670752513.63', return_code='0', job_id='814875', GAL2='1.04', EG2='1.25', return_code2='0', energy_flux_error='1.49e-05', photon_flux_error2='7.11e-09', ts2='7.23', photon_index='1.99' WHERE bin_id='1747' AND source_name='4FGL J2234.2-4156' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:55:13 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 814875: <4FGL_J2234.2-4156_daily_bin1747> in cluster <slac> Done

Job <4FGL_J2234.2-4156_daily_bin1747> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Dec 11 01:45:17 2022
Job was executed on host(s) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:45:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:45:18 2022
Terminated at Sun Dec 11 01:55:14 2022
Results reported at Sun Dec 11 01:55:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.2-4156_daily_bin1747 338.568 -41.9411 692150401 692409601 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 :                                   566.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   595 sec.
    Turnaround time :                            597 sec.

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

