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


Performing analysis on: 4FGL_J2234.2-4156_daily_bin1731
RA = 338.568, Dec = -41.9411
tmin = 688003201, tmax = 688262401
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='551191', job_status='RUN', time_executed='2022-10-24 00:40:52.412294', time_epoch_executed='1666597252.41' WHERE source_name='4FGL J2234.2-4156' and cadence='daily' and bin_id='1731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551191

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551191/ft1_4FGL_J2234.2-4156_daily_bin1731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551191/ft2_4FGL_J2234.2-4156_daily_bin1731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551191/ft1_4FGL_J2234.2-4156_daily_bin1731.fits outfile=/scratch/kocevski/551191/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1731.fits ra=338.568 dec=-41.9411 rad=12.0 tmin=688003201.0 tmax=688262401.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.50
user 3.28
sys 0.21

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

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

Number of photons that the gtmktime cut: 429

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551191/ft1_filtered_4FGL_J2234.2-4156_daily_bin1731.fits" evtable="EVENTS" scfile=/scratch/kocevski/551191/ft2_4FGL_J2234.2-4156_daily_bin1731.fits sctable="SC_DATA" outfile=/scratch/kocevski/551191/ltcube_688003201_688262401_4FGL_J2234.2-4156_daily_bin1731.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/551191/ft2_4FGL_J2234.2-4156_daily_bin1731.fits
.....................!
real 11.86
user 11.49
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551191/ft1_filtered_4FGL_J2234.2-4156_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551191/ft2_4FGL_J2234.2-4156_daily_bin1731.fits sctable="SC_DATA" expcube=/scratch/kocevski/551191/ltcube_688003201_688262401_4FGL_J2234.2-4156_daily_bin1731.fits outfile=/scratch/kocevski/551191/expmap_688003201_688262401_4FGL_J2234.2-4156_daily_bin1731.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/551191/ltcube_688003201_688262401_4FGL_J2234.2-4156_daily_bin1731.fits
.....................!
real 190.15
user 185.46
sys 4.29

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/551191/ft1_filtered_4FGL_J2234.2-4156_daily_bin1731.fits scfile=/scratch/kocevski/551191/ft2_4FGL_J2234.2-4156_daily_bin1731.fits outfile=/scratch/kocevski/551191/cmap_688003201_688262401_4FGL_J2234.2-4156_daily_bin1731.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.38
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/551191/ft1_filtered_4FGL_J2234.2-4156_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551191/ft2_4FGL_J2234.2-4156_daily_bin1731.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/551191/Model_4FGL_J2234.2-4156_daily_bin1731.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/551191/ft1_filtered_4FGL_J2234.2-4156_daily_bin1731.fits.....................!
real 40.84
user 39.53
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    86.253       1.0000          .0000       .10000E+07
     2 'norm      '    7.7311       1.0000          .0000       .10000E+07
     3 'Prefactor '    21.766       1.0000          .0000       .10000E+07
     4 'Prefactor '    .31434E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    20.121       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.0975       1.0000          .0000       .10000E+07
     7 'Prefactor '    .27738E-04   1.0000          .0000       .10000E+07
     8 'norm      '    6.5687       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.251       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15641       1.0000          .0000       .10000E+07
    11 'Prefactor '    .69293E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .75083       1.0000          .0000       .10000E+07
    13 'Prefactor '    .27543E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .10585E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .15333E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    16.822       1.0000          .0000       .10000E+07
    17 'Prefactor '    .13397E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    19.526       1.0000          .0000       .10000E+07
    19 'Prefactor '    .44972E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .44593E-04   1.0000          .0000       .10000E+07
    21 'norm      '    .13959E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .19744E-03   1.0000          .0000       .10000E+07
    23 'norm      '    4.8606       1.0000          .0000       .10000E+07
    24 'Prefactor '    6.2148       1.0000          .0000       .10000E+07
    25 'Prefactor '    .92508E-01   1.0000          .0000       .10000E+07
    26 'norm      '    11.743       1.0000          .0000       .10000E+07
    27 'Prefactor '    .49992E-04   1.0000          .0000       .10000E+07
    28 'norm      '    2.7675       1.0000          .0000       .10000E+07
    29 'Normalizat'    .66873       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1646       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=   4791.951     FROM MIGRAD    STATUS=CONVERGED    246 CALLS     2860 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     87.722        50.919       -.44661E-06    .66295E-01
   2  norm          7.6552        5.7844        .64437E-07   -.10595E-02
   3  Prefactor     21.751        11.662       -.47569E-07   -.48536E-02
   4  Prefactor      .0000        3.4763       -.33425E-07** at limit **
   5  Prefactor     21.131        28.425        .22694E-06   -.71876E-01
   6  Prefactor     3.9862        8.8243        .35690E-06   -.47024E-02
   7  Prefactor     .38823E-05    40.210       -.70687E-06** at limit **
   8  norm          6.5625        7.8587       -.12693E-06   -.20563E-03
   9  Prefactor     10.282        6.8151       -.32695E-06   -.25275E-01
  10  Prefactor     .10959        31.796       -.75791E-06** at limit **
  11  Prefactor     .35704E-05    24.528        .15482E-06** at limit **
  12  Prefactor     .75787        5.7701        .37043E-07   -.49148E-02
  13  Prefactor     .58115E-06    37.009       -.14729E-05** at limit **
  14  Prefactor     .49485E-05    362.83        .32888E-06** at limit **
  15  Prefactor     .83267E-08    17.887        .74686E-07** at limit **
  16  Prefactor     16.823        12.479        .21311E-07   -.84585E-02
  17  Prefactor     .12768E-08    4.5186       -.34323E-06** at limit **
  18  Prefactor     20.106        3.4243        .54888E-08   -.10419E-01
  19  Prefactor     .55511E-10    5.6288       -.69851E-07** at limit **
  20  norm          .55067E-07    11.125       -.47222E-06** at limit **
  21  norm          .55511E-10    3.2484        .30111E-07** at limit **
  22  norm          .11102E-08    4.2085       -.37986E-07** at limit **
  23  norm          4.8494        8.3234        .74126E-07   -.14800E-02
  24  Prefactor     6.2124        6.2263       -.94568E-07   -.73700E-03
  25  Prefactor     .28755E-07    192.73        .10000E-05** at limit **
  26  norm          11.757        6.4029       -.10805E-06   -.14725E-02
  27  Prefactor     .54290E-07    11.023        .57845E-06** at limit **
  28  norm          2.7760        4.4460        .18070E-07    .35364E-04
  29  Normalizat    .66939        .24803        .79036E-05    .11599E-04
  30  Prefactor     1.1631        .23248       -.18508E-05    .96019E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 87.722
  norm       = 7.65519
  Prefactor  = 21.7513
  Prefactor  = 0
  Prefactor  = 21.1314
  Prefactor  = 3.98622
  Prefactor  = 3.88228e-06
  norm       = 6.5625
  Prefactor  = 10.2823
  Prefactor  = 0.109594
  Prefactor  = 3.57037e-06
  Prefactor  = 0.757867
  Prefactor  = 5.81146e-07
  Prefactor  = 4.94849e-06
  Prefactor  = 8.32667e-09
  Prefactor  = 16.8233
  Prefactor  = 1.27676e-09
  Prefactor  = 20.1063
  Prefactor  = 5.55112e-11
  norm       = 5.50671e-08
  norm       = 5.55112e-11
  norm       = 1.11022e-09
  norm       = 4.84942
  Prefactor  = 6.21238
  Prefactor  = 2.87548e-08
  norm       = 11.7567
  Prefactor  = 5.42899e-08
  norm       = 2.77604
  Normalizat = 0.669388
  Prefactor  = 1.16314
 **********
 **   18 **HESSE 
 **********

 FCN=   4791.951     FROM HESSE     STATUS=OK           654 CALLS     3514 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     87.722        56.913        .10768E-03   -1.5521    
   2  norm          7.6552        5.8491        .36041E-03   -1.5653    
   3  Prefactor     21.751        11.784        .21440E-03   -1.5615    
   4  Prefactor      .0000        3.4763        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     21.131        42.908        .22300E-03   -1.5616    
   6  Prefactor     3.9862        9.2654        .49779E-03   -1.5668    
   7  Prefactor     .38823E-05    49.263        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.5625        7.8653        .39132E-03   -1.5657    
   9  Prefactor     10.282        10.277        .31271E-03   -1.5644    
  10  Prefactor     .10959        2.1205        .76149E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .35704E-05    42.014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .75787        6.1027        .56675E-03   -1.5691    
  13  Prefactor     .58115E-06    37.838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .49485E-05    361.92        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .83267E-08    45.360        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.823        12.484        .24392E-03   -1.5626    
  17  Prefactor     .12768E-08    4.6064        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     20.106        29.695        .22638E-03   -1.5618    
  19  Prefactor     .55511E-10    5.6366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .55067E-07    11.280        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .55511E-10    3.2498        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .11102E-08    4.3075        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.8494        8.3499        .45603E-03   -1.5664    
  24  Prefactor     6.2124        6.2284        .40244E-03   -1.5658    
  25  Prefactor     .28755E-07    189.66        .14135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          11.757        6.4776        .29209E-03   -1.5639    
  27  Prefactor     .54290E-07    11.190        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          2.7760        4.4612        .61153E-03   -1.5675    
  29  Normalizat    .66939        .21188        .66314E-01   -1.0511    
  30  Prefactor     1.1631        .19953        .35526E-01   -.87473    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24196e-06
Minuit parameter uncertainties:
  1  56.9137
  2  5.84914
  3  11.784
  4  2.82977e-06
  5  42.9091
  6  9.26542
  7  0.027659
  8  7.86532
  9  10.2767
  10  0.96415
  11  0.0244956
  12  4.30118
  13  0.00937849
  14  0.0846443
  15  0.00122863
  16  12.4838
  17  0.000152011
  18  29.6952
  19  2.81264e-05
  20  0.00157651
  21  3.15593e-05
  22  0.00013984
  23  8.3499
  24  6.2284
  25  0.00467098
  26  6.47761
  27  0.00155859
  28  4.46122
  29  0.212142
  30  0.199664
Done.

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

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  3.570e-06  2.450e-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:  1.163e+00  1.997e-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:  6.694e-01  2.121e-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.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/551191/likelihoodResults_688003201_688262401_4FGL_J2234.2-4156_daily_bin1731.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) = 4791.96279917
delta logL = -0.0114683158708

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 4790.41285235
delta logL = 1.53847850083

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13323E-07   1.0000          .0000       .10000E+07
     2 'Index     '    9.9999       1.0000          .0000       10.000    
     3 'Normalizat'    .53437       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2543       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=   4791.951     FROM MIGRAD    STATUS=CONVERGED    141 CALLS      619 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    8588.3        .42118E-03** at limit **
   2  Index         1.6627        7.4087        .50000       -.28304E-11
   3  Normalizat    .66939        .16332        .66310E-01   -.81640E-05
   4  Prefactor     1.1631        .16044        .50401E-01    .43446E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.66265
  Normalizat = 0.669388
  Prefactor  = 1.16314
 **********
 **   18 **HESSE 
 **********

 FCN=   4791.951     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      646 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    530.93        .40525E-02   -16998.    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6627        9.1382        .50000       -.67387E+06
   3  Normalizat    .66939        .18631E-01    .29344E-03   -13.618    
   4  Prefactor     1.1631        .18320E-01    .22282E-03   -8.5500    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.61284e-11
Minuit parameter uncertainties:
  1  0.0003638
  2  14.2422
  3  0.0186311
  4  0.01832
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551191': 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) = 4791.95133081
delta logL = 4.24670361099e-08

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  5.551e-11  3.638e-04  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.663e+00  1.424e+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.163e+00  1.832e-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:  6.694e-01  1.863e-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/551191/cmap_HighResolution_688003201_688262401_4FGL_J2234.2-4156_daily_bin1731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.84e-03', job_status='DONE', photon_flux_upper_limit='6.46e-08', time_completed='2022-10-24 00:52:08.604128', job_id='551191', GAL2='1.16', fit_tolerance='1e-08', EG2='0.67', EG='0.67', time_epoch_completed='1666597928.6', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='4.25e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1731' AND source_name='4FGL J2234.2-4156' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct 24 00:52:08 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 551191: <4FGL_J2234.2-4156_daily_bin1731> in cluster <slac> Done

Job <4FGL_J2234.2-4156_daily_bin1731> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Oct 24 00:40:24 2022
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct 24 00:40:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct 24 00:40:25 2022
Terminated at Mon Oct 24 00:52:09 2022
Results reported at Mon Oct 24 00:52:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.2-4156_daily_bin1731 338.568 -41.9411 688003201 688262401 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 :                                   678.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   703 sec.
    Turnaround time :                            705 sec.

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

