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


Performing analysis on: 4FGL_J2234.2-4156_daily_bin1776
RA = 338.568, Dec = -41.9411
tmin = 699667201, tmax = 699926401
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='845115', job_status='RUN', time_executed='2023-03-08 01:23:55.703514', time_epoch_executed='1678267435.7' WHERE source_name='4FGL J2234.2-4156' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/845115

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/845115/ft1_4FGL_J2234.2-4156_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/845115/ft2_4FGL_J2234.2-4156_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/845115/ft1_4FGL_J2234.2-4156_daily_bin1776.fits outfile=/scratch/kocevski/845115/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1776.fits ra=338.568 dec=-41.9411 rad=12.0 tmin=699667201.0 tmax=699926401.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.89
user 3.68
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/845115/ft2_4FGL_J2234.2-4156_daily_bin1776.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/845115/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/845115/ft1_filtered_4FGL_J2234.2-4156_daily_bin1776.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.48
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 618

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/845115/ft1_filtered_4FGL_J2234.2-4156_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/845115/ft2_4FGL_J2234.2-4156_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/845115/ltcube_699667201_699926401_4FGL_J2234.2-4156_daily_bin1776.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/845115/ft2_4FGL_J2234.2-4156_daily_bin1776.fits
.....................!
real 11.97
user 11.62
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/845115/ft1_filtered_4FGL_J2234.2-4156_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/845115/ft2_4FGL_J2234.2-4156_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/845115/ltcube_699667201_699926401_4FGL_J2234.2-4156_daily_bin1776.fits outfile=/scratch/kocevski/845115/expmap_699667201_699926401_4FGL_J2234.2-4156_daily_bin1776.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/845115/ltcube_699667201_699926401_4FGL_J2234.2-4156_daily_bin1776.fits
.....................!
real 191.01
user 186.13
sys 4.58

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/845115/ft1_filtered_4FGL_J2234.2-4156_daily_bin1776.fits scfile=/scratch/kocevski/845115/ft2_4FGL_J2234.2-4156_daily_bin1776.fits outfile=/scratch/kocevski/845115/cmap_699667201_699926401_4FGL_J2234.2-4156_daily_bin1776.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/845115/ft1_filtered_4FGL_J2234.2-4156_daily_bin1776.fits scfile=/scratch/kocevski/845115/ft2_4FGL_J2234.2-4156_daily_bin1776.fits outfile=/scratch/kocevski/845115/cmap_HighResolution_699667201_699926401_4FGL_J2234.2-4156_daily_bin1776.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/845115/ft1_filtered_4FGL_J2234.2-4156_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/845115/ft2_4FGL_J2234.2-4156_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/845115/Model_4FGL_J2234.2-4156_daily_bin1776.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/845115/ft1_filtered_4FGL_J2234.2-4156_daily_bin1776.fits.....................!
real 48.77
user 47.47
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31684E-03   1.0000          .0000       .10000E+07
     2 'norm      '    8.6989       1.0000          .0000       .10000E+07
     3 'Prefactor '    .65751E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .50258E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.9267       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.9037       1.0000          .0000       .10000E+07
     7 'Prefactor '    15.035       1.0000          .0000       .10000E+07
     8 'norm      '    .51690E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.434       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.1582       1.0000          .0000       .10000E+07
    11 'Prefactor '    .85468E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    5.2349       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.452       1.0000          .0000       .10000E+07
    14 'Prefactor '    .36547E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12200E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    23.816       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0581       1.0000          .0000       .10000E+07
    18 'Prefactor '    46.956       1.0000          .0000       .10000E+07
    19 'Prefactor '    .12206E-05   1.0000          .0000       .10000E+07
    20 'norm      '    .20080E-03   1.0000          .0000       .10000E+07
    21 'norm      '    .27471E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .19231E-03   1.0000          .0000       .10000E+07
    23 'norm      '    16.486       1.0000          .0000       .10000E+07
    24 'Prefactor '    1.3622       1.0000          .0000       .10000E+07
    25 'Prefactor '    .74199E-01   1.0000          .0000       .10000E+07
    26 'norm      '    8.5499       1.0000          .0000       .10000E+07
    27 'Prefactor '    7.3440       1.0000          .0000       .10000E+07
    28 'norm      '    1.7603       1.0000          .0000       .10000E+07
    29 'Normalizat'    .89307       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .93757       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=   6666.962     FROM MIGRAD    STATUS=CONVERGED    222 CALLS     2255 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12297E-05    71.560        .20377E-05** at limit **
   2  norm          8.6926        4.9993       -.15717E-06    .33752E-03
   3  Prefactor     .38858E-09    5.7519       -.68071E-06** at limit **
   4  Prefactor     .14257E-05    10.779       -.17570E-05** at limit **
   5  Prefactor     2.7801        20.641       -.14413E-05   -.26582E-01
   6  Prefactor     3.8421        6.6530       -.71128E-06    .25667E-02
   7  Prefactor     16.867        70.832        .96923E-06   -.58182E-02
   8  norm           .0000        2.8548       -.57495E-06** at limit **
   9  Prefactor     10.442        7.2092        .32127E-07    .14903E-02
  10  Prefactor     1.1569        1.8674       -.21684E-06   -.24708E-03
  11  Prefactor     .89345E-06    11.630       -.13239E-05** at limit **
  12  Prefactor     5.2005        4.7568        .29851E-06    .12290E-02
  13  Prefactor     14.501        3.0943       -.10305E-07   -.36270E-01
  14  Prefactor      .0000        50.023       -.10521E-05** at limit **
  15  Prefactor     .71054E-08    7.9039       -.69211E-06** at limit **
  16  Prefactor     23.799        5.9424        .45960E-06    .83703E-01
  17  Prefactor     4.0537        6.6994        .20353E-06    .84552E-03
  18  Prefactor     48.179        29.284        .71981E-06   -.87313E-01
  19  Prefactor     .12990E-07    21.759        .22409E-06** at limit **
  20  norm          .11102E-09    4.0671       -.33281E-06** at limit **
  21  norm           .0000        2.1829       -.33280E-06** at limit **
  22  norm           .0000        2.0328        .13840E-06** at limit **
  23  norm          16.468        10.205        .82045E-07    .21367E-01
  24  Prefactor     1.3954        7.3683        .23003E-06   -.68426E-03
  25  Prefactor     .99132E-05    116.51        .26816E-05** at limit **
  26  norm          8.5407        5.1248        .38984E-06    .64899E-03
  27  Prefactor     7.3199        10.567       -.14328E-05    .56141E-02
  28  norm          1.7813        4.7699        .99674E-06   -.99894E-05
  29  Normalizat    .89282        .19274        .27974E-05   -.16346E-04
  30  Prefactor     .93746        .18103       -.24510E-05   -.19787E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.22968e-06
  norm       = 8.69262
  Prefactor  = 3.88578e-10
  Prefactor  = 1.42575e-06
  Prefactor  = 2.78011
  Prefactor  = 3.8421
  Prefactor  = 16.8665
  norm       = 0
  Prefactor  = 10.4416
  Prefactor  = 1.15692
  Prefactor  = 8.93452e-07
  Prefactor  = 5.20047
  Prefactor  = 14.5011
  Prefactor  = 0
  Prefactor  = 7.10543e-09
  Prefactor  = 23.7985
  Prefactor  = 4.05372
  Prefactor  = 48.1787
  Prefactor  = 1.29896e-08
  norm       = 1.11022e-10
  norm       = 0
  norm       = 0
  norm       = 16.4682
  Prefactor  = 1.39545
  Prefactor  = 9.91324e-06
  norm       = 8.54072
  Prefactor  = 7.31988
  norm       = 1.78126
  Normalizat = 0.892816
  Prefactor  = 0.937458
 **********
 **   18 **HESSE 
 **********

 FCN=   6666.962     FROM HESSE     STATUS=OK           656 CALLS     2911 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12297E-05    73.233        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.6926        5.0014        .33962E-03   -1.5649    
   3  Prefactor     .38858E-09    5.6542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .14257E-05    17.940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.7801        70.294        .59353E-03   -1.5675    
   6  Prefactor     3.8421        6.9243        .51041E-03   -1.5669    
   7  Prefactor     16.867        72.686        .25804E-03   -1.5626    
   8  norm           .0000        2.8544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.442        7.2493        .30994E-03   -1.5643    
  10  Prefactor     1.1569        1.9209        .10713E-02   -1.5686    
  11  Prefactor     .89345E-06    15.846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.2005        4.7802        .43909E-03   -1.5662    
  13  Prefactor     14.501        15.601        .26321E-03   -1.5632    
  14  Prefactor      .0000        14.926        .10560E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .71054E-08    7.9248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.799        11.726        .20496E-03   -1.5610    
  17  Prefactor     4.0537        6.7436        .50028E-03   -1.5668    
  18  Prefactor     48.179        36.121        .14595E-03   -1.5569    
  19  Prefactor     .12990E-07    21.752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .11102E-09    4.0704        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        2.1824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        2.0318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          16.468        10.347        .24640E-03   -1.5627    
  24  Prefactor     1.3954        8.3625        .93514E-03   -1.5684    
  25  Prefactor     .99132E-05    37.381        .14682E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          8.5407        5.8830        .34258E-03   -1.5650    
  27  Prefactor     7.3199        12.510        .36987E-03   -1.5654    
  28  norm          1.7813        4.9370        .78947E-03   -1.5681    
  29  Normalizat    .89282        .17124        .44813E-01   -.96713    
  30  Prefactor     .93746        .15581        .45482E-01   -.94844    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81207e-06
Minuit parameter uncertainties:
  1  0.0189793
  2  5.00141
  3  9.24724e-05
  4  0.0101149
  5  27.9594
  6  6.92429
  7  70.0289
  8  1.06479e-05
  9  7.24931
  10  1.92085
  11  0.00752526
  12  4.78016
  13  15.6015
  14  3.92358e-05
  15  0.000475127
  16  11.7262
  17  6.74364
  18  36.1216
  19  0.00106353
  20  3.92167e-05
  21  2.92071e-06
  22  1.44364e-06
  23  10.3469
  24  6.83213
  25  0.0385004
  26  5.88296
  27  12.51
  28  4.93699
  29  0.17134
  30  0.155883
Done.

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

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  8.935e-07  7.525e-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:  9.375e-01  1.559e-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:  8.928e-01  1.713e-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: 3.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.80e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/845115/likelihoodResults_699667201_699926401_4FGL_J2234.2-4156_daily_bin1776.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) = 6666.99218811
delta logL = -0.0302429858966

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6666.96194745
delta logL = -2.32764250541e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21542E-04   1.0000          .0000       .10000E+07
     2 'Index     '    .63947       1.0000          .0000       10.000    
     3 'Normalizat'    .89300       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93725       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=   6666.962     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      201 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12768E-08    14.722       -.11198E-04** at limit **
   2  Index         2.1071        5.8737        .65616E-03    .12522E-09
   3  Normalizat    .89282        .18314        .28365E-04    .53325E-03
   4  Prefactor     .93745        .17719        .13087E-04    .17302E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.27676e-09
  Index      = 2.10709
  Normalizat = 0.892823
  Prefactor  = 0.937453
 **********
 **   18 **HESSE 
 **********

 FCN=   6666.962     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      234 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12768E-08    .25940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1071        6.0419        .41590       -.61699    
   3  Normalizat    .89282        .52330E-03    .44812E-01   -.96713    
   4  Prefactor     .93745        .50627E-03    .45478E-01   -.94844    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.20703e-12
Minuit parameter uncertainties:
  1  3.6481e-05
  2  5333.99
  3  0.000523296
  4  0.000506272
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/845115': 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) = 6666.96194509
delta logL = 2.75767888525e-08

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  1.277e-09  3.648e-05  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  2.107e+00  5.334e+03  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:  9.375e-01  5.063e-04  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:  8.928e-01  5.233e-04  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/845115/cmap_HighResolution_699667201_699926401_4FGL_J2234.2-4156_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.80e-03', job_status='DONE', photon_flux_upper_limit='3.74e-08', time_completed='2023-03-08 01:35:35.154365', job_id='845115', GAL2='0.94', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1678268135.15', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='2.76e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1776' AND source_name='4FGL J2234.2-4156' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 01:35:35 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 845115: <4FGL_J2234.2-4156_daily_bin1776> in cluster <slac> Done

Job <4FGL_J2234.2-4156_daily_bin1776> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Mar  8 01:20:27 2023
Job was executed on host(s) <bullet0159>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 01:20:39 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 01:20:39 2023
Terminated at Wed Mar  8 01:35:35 2023
Results reported at Wed Mar  8 01:35:35 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.2-4156_daily_bin1776 338.568 -41.9411 699667201 699926401 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 :                                   701.32 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             268.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   896 sec.
    Turnaround time :                            908 sec.

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

