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 164 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2234.2-4156_daily_bin1706
RA = 338.568, Dec = -41.9411
tmin = 681523201, tmax = 681782401
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='507768', job_status='RUN', time_executed='2022-08-10 02:20:24.989526', time_epoch_executed='1660123224.99' WHERE source_name='4FGL J2234.2-4156' and cadence='daily' and bin_id='1706'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/507768

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/507768/ft1_4FGL_J2234.2-4156_daily_bin1706.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/507768/ft2_4FGL_J2234.2-4156_daily_bin1706.fits


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

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

Done.
real 2.68
user 2.41
sys 0.20

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

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

Number of photons that the gtmktime cut: 100

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/507768/ft1_filtered_4FGL_J2234.2-4156_daily_bin1706.fits" evtable="EVENTS" scfile=/scratch/kocevski/507768/ft2_4FGL_J2234.2-4156_daily_bin1706.fits sctable="SC_DATA" outfile=/scratch/kocevski/507768/ltcube_681523201_681782401_4FGL_J2234.2-4156_daily_bin1706.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/507768/ft2_4FGL_J2234.2-4156_daily_bin1706.fits
.....................!
real 14.38
user 13.98
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/507768/ft1_filtered_4FGL_J2234.2-4156_daily_bin1706.fits evtable="EVENTS" scfile=/scratch/kocevski/507768/ft2_4FGL_J2234.2-4156_daily_bin1706.fits sctable="SC_DATA" expcube=/scratch/kocevski/507768/ltcube_681523201_681782401_4FGL_J2234.2-4156_daily_bin1706.fits outfile=/scratch/kocevski/507768/expmap_681523201_681782401_4FGL_J2234.2-4156_daily_bin1706.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/507768/ltcube_681523201_681782401_4FGL_J2234.2-4156_daily_bin1706.fits
.....................!
real 191.41
user 185.86
sys 5.11

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/507768/ft1_filtered_4FGL_J2234.2-4156_daily_bin1706.fits scfile=/scratch/kocevski/507768/ft2_4FGL_J2234.2-4156_daily_bin1706.fits outfile=/scratch/kocevski/507768/cmap_681523201_681782401_4FGL_J2234.2-4156_daily_bin1706.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/507768/ft1_filtered_4FGL_J2234.2-4156_daily_bin1706.fits scfile=/scratch/kocevski/507768/ft2_4FGL_J2234.2-4156_daily_bin1706.fits outfile=/scratch/kocevski/507768/cmap_HighResolution_681523201_681782401_4FGL_J2234.2-4156_daily_bin1706.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.56
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/507768/ft1_filtered_4FGL_J2234.2-4156_daily_bin1706.fits evtable="EVENTS" scfile=/scratch/kocevski/507768/ft2_4FGL_J2234.2-4156_daily_bin1706.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/507768/Model_4FGL_J2234.2-4156_daily_bin1706.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/507768/ft1_filtered_4FGL_J2234.2-4156_daily_bin1706.fits....................!
real 20.25
user 18.92
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/507768/ft1_filtered_4FGL_J2234.2-4156_daily_bin1706.fits', '/scratch/kocevski/507768/ft2_4FGL_J2234.2-4156_daily_bin1706.fits', expMap='/scratch/kocevski/507768/expmap_681523201_681782401_4FGL_J2234.2-4156_daily_bin1706.fits', expCube='/scratch/kocevski/507768/ltcube_681523201_681782401_4FGL_J2234.2-4156_daily_bin1706.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/507768/Model_4FGL_J2234.2-4156_daily_bin1706.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  1.000e-04  1.000e+04 ( 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/507768/ft1_filtered_4FGL_J2234.2-4156_daily_bin1706.fits
Spacecraft file(s): /scratch/kocevski/507768/ft2_4FGL_J2234.2-4156_daily_bin1706.fits
Exposure map: /scratch/kocevski/507768/expmap_681523201_681782401_4FGL_J2234.2-4156_daily_bin1706.fits
Exposure cube: /scratch/kocevski/507768/ltcube_681523201_681782401_4FGL_J2234.2-4156_daily_bin1706.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/507768/Model_4FGL_J2234.2-4156_daily_bin1706.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) = 1125.11592469

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    101.81       1.0000         .10000E-03   10000.    
     2 'norm      '    30.330       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    507.77       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    27.424       1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.635       1.0000         .10000E-03   10000.    
    11 'Prefactor '    48.735       1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.366       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    33.041       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    34.195       1.0000         .10000E-03   10000.    
    19 'Prefactor '    45.815       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    34.566       1.0000         .10000E-03   10000.    
    24 'norm      '    6.0507       1.0000         .10000E-03   10000.    
    25 'norm      '    10.584       1.0000         .10000E-03   10000.    
    26 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    8.0922       1.0000         .10000E-03   10000.    
    28 'Prefactor '    225.26       1.0000         .10000E-03   10000.    
    29 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    44.094       1.0000         .10000E-03   10000.    
    31 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .12670       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0179       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=   1125.089     FROM MIGRAD    STATUS=CONVERGED     92 CALLS     5238 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     101.81        1.0017       -.62555E-07    .91573E-04
   2  norm          30.332        1.0103       -.36296E-07    .14295E-03
   3  Prefactor     .10000E-03    17.048       -.17822E-04** at limit **
   4  Prefactor     .10005E-03    4.6820       -.36914E-05** at limit **
   5  Prefactor     .10052E-03    55.317        .63809E-04** at limit **
   6  Prefactor     .10000E-03    5.8937        .55045E-05** at limit **
   7  Prefactor     507.77        1.1472       -.27280E-06    .18442E-02
   8  norm          .10000E-03    9.9477       -.39212E-05** at limit **
   9  Prefactor     27.423        1.0164       -.37827E-06    .17796E-03
  10  Prefactor     24.635        1.0345       -.17867E-06    .75182E-04
  11  Prefactor     48.737        1.0533        .49788E-06   -.24593E-03
  12  Prefactor     17.371        1.1642       -.91034E-06   -.18397E-03
  13  Prefactor     .10031E-03    12.918        .36512E-05** at limit **
  14  Prefactor     .10042E-03    26.430        .58249E-04** at limit **
  15  Prefactor     .10078E-03    33.349       -.53167E-04** at limit **
  16  Prefactor     33.041        1.0168       -.32184E-06    .17825E-03
  17  Prefactor     .10153E-03    51.433        .36612E-04** at limit **
  18  Prefactor     34.183        2.5118       -.39643E-05    .91551E-03
  19  Prefactor     45.817        1.0050       -.96834E-07    .46742E-03
  20  Prefactor     .10074E-03    15.147       -.39806E-04** at limit **
  21  Prefactor     .10002E-03    245.09       -.29039E-03** at limit **
  22  Prefactor     .10005E-03    8.2109        .14675E-04** at limit **
  23  norm          34.573        1.8690        .27704E-05   -.86951E-03
  24  norm          6.0503        1.0048       -.11795E-06    .86316E-04
  25  norm          10.588        1.4626       -.31905E-05   -.15627E-02
  26  norm          .10000E-03    9.4986       -.18512E-05** at limit **
  27  Prefactor     8.0969        1.4581        .37870E-05   -.25865E-03
  28  Prefactor     225.25        1.8732       -.11431E-05    .31832E-02
  29  norm          .10000E-03    11.600       -.98104E-05** at limit **
  30  Prefactor     44.067        6.1813       -.94750E-05    .36866E-02
  31  norm          .10000E-03    4.5537        .14225E-04** at limit **
  32  Normalizat    .12739        .56086        .23723E-05    .34222E-05
  33  Prefactor     1.0176        .48704        .41060E-05    .61970E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 101.805
  norm       = 30.3318
  Prefactor  = 0.000100003
  Prefactor  = 0.000100054
  Prefactor  = 0.000100516
  Prefactor  = 0.000100001
  Prefactor  = 507.766
  norm       = 0.0001
  Prefactor  = 27.4229
  Prefactor  = 24.6346
  Prefactor  = 48.7366
  Prefactor  = 17.3714
  Prefactor  = 0.000100308
  Prefactor  = 0.000100416
  Prefactor  = 0.000100775
  Prefactor  = 33.041
  Prefactor  = 0.000101531
  Prefactor  = 34.1834
  Prefactor  = 45.8165
  Prefactor  = 0.000100737
  Prefactor  = 0.000100022
  Prefactor  = 0.000100046
  norm       = 34.5726
  norm       = 6.05034
  norm       = 10.5875
  norm       = 0.0001
  Prefactor  = 8.09688
  Prefactor  = 225.25
  norm       = 0.0001
  Prefactor  = 44.0672
  norm       = 0.0001
  Normalizat = 0.127394
  Prefactor  = 1.01755
 **********
 **   18 **HESSE 
 **********

 FCN=   1125.089     FROM HESSE     STATUS=NOT POSDEF   757 CALLS     5995 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     101.81        152.83        .99619E-03   -1.3687    
   2  norm          30.332        26.286        .18188E-02   -1.4606    
   3  Prefactor     .10000E-03    16.255        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10005E-03    15.598        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10052E-03    91.615        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.460        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     507.77        562.60        .45549E-03   -1.1162    
   8  norm          .10000E-03    8.9070        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     27.423        41.681        .19125E-02   -1.4660    
  10  Prefactor     24.635        28.105        .20177E-02   -1.4715    
  11  Prefactor     48.737        179.55        .14360E-02   -1.4311    
  12  Prefactor     17.371        33.088        .24027E-02   -1.4874    
  13  Prefactor     .10031E-03    36.076        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10042E-03    33.914        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10078E-03    44.637        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     33.041        44.184        .17428E-02   -1.4558    
  17  Prefactor     .10153E-03    99.601        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     34.183        94.610        .17132E-02   -1.4538    
  19  Prefactor     45.817        66.719        .14809E-02   -1.4353    
  20  Prefactor     .10074E-03    39.003        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10002E-03    232.32        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10005E-03    15.411        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          34.573        74.160        .17040E-02   -1.4531    
  24  norm          6.0503        9.8539        .40807E-02   -1.5216    
  25  norm          10.588        12.318        .30789E-02   -1.5057    
  26  norm          .10000E-03    8.5178        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     8.0969        17.493        .35235E-02   -1.5139    
  28  Prefactor     225.25        337.10        .67392E-03   -1.2695    
  29  norm          .10000E-03    10.356        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     44.067        106.54        .15094E-02   -1.4379    
  31  norm          .10000E-03    4.0761        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .12739        9.7861        .16684       -1.3536    
  33  Prefactor     1.0176        1.9227        .42353E-01   -.92147    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.89618e-06
Minuit parameter uncertainties:
  1  153.428
  2  26.2959
  3  0.000430812
  4  0.00183011
  5  0.013776
  6  0.000210492
  7  568.949
  8  1.34731e-05
  9  41.7254
  10  28.1197
  11  181.601
  12  33.1225
  13  0.00667549
  14  0.00751485
  15  0.0117749
  16  44.2278
  17  0.0247346
  18  95.0295
  19  66.8281
  20  0.0107269
  21  0.00450588
  22  0.00167713
  23  74.3588
  24  9.85653
  25  12.3211
  26  5.07122e-06
  27  17.5044
  28  340.067
  29  8.48619e-06
  30  107.009
  31  1.12928e-05
  32  3.24713
  33  2.08383
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1125.08859786

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  4.874e+01  1.816e+02  1.000e-04  1.000e+04 ( 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.018e+00  2.084e+00  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.274e-01  3.247e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.16
Ra Dec: 338.568 -41.941
Photon Flux Upper Limit: 2.77e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.08e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/507768/likelihoodResults_681523201_681782401_4FGL_J2234.2-4156_daily_bin1706.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): 102
logL (Free Index) = 1124.18426624
delta logL = 0.904331617694

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1124.17520085
delta logL = 0.913397013262

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2940       1.0000         .10000E-03   10000.    
     2 'Index     '    3.8984       1.0000          .0000       10.000    
     3 'Normalizat'    .10006E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0787       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=   1124.175     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      346 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2881        80.956        .67749E-02   -.96054E-04
   2  Index         3.8996        3.6425        .52050E-01    .16434E-04
   3  Normalizat    .10000E-01    .24457        .22938    ** at limit **
   4  Prefactor     1.0791        .16761        .38460E-01   -.31812E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.28812
  Index      = 3.8996
  Normalizat = 0.01
  Prefactor  = 1.07906
 **********
 **   18 **HESSE 
 **********

 FCN=   1124.175     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      379 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2881        126.10        .47322E-04   -1.5405    
   2  Index         3.8996        6.8765        .22112E-02   -.22190    
   3  Normalizat    .10000E-01    7.3227        .13624E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0791        .23205        .23952E-03   -.90139    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.04718e-09
Minuit parameter uncertainties:
  1  34.047
  2  5.39475
  3  0.000513129
  4  0.232269
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/507768': 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) = 1124.17519796
delta logL = 0.913399896142

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  2.288e+00  3.405e+01  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  3.900e+00  5.395e+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:  1.079e+00  2.323e-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.000e-02  5.131e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.06
Ra Dec: 338.568 -41.941
Photon Index (Free Index): 3.90 +/- 5.39
Photon Flux (Free Index): 1.85e-07 +/- 1.90e-07
Energy Flux (Free Index): 2.81e-05 +/- 3.16e-05

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/507768/cmap_HighResolution_681523201_681782401_4FGL_J2234.2-4156_daily_bin1706.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.08e-02', comment='SUCCESS', energy_flux2='2.81e-05', dlogl='9.13e-01', photon_flux2='1.85e-07', job_status='DONE', time_completed='2022-08-10 02:27:58.144496', photon_index_error2='5.39', photon_index2='3.90', ts='0.16', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='2.77e-07', energy_flux_error2='3.16e-05', EG='0.13', time_epoch_completed='1660123678.14', return_code='102', job_id='507768', GAL2='1.08', EG2='0.01', return_code2='102', photon_flux_error2='1.90e-07', ts2='2.06', photon_index='1.99' WHERE bin_id='1706' AND source_name='4FGL J2234.2-4156' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 10 02:27:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 507768: <4FGL_J2234.2-4156_daily_bin1706> in cluster <slac> Done

Job <4FGL_J2234.2-4156_daily_bin1706> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Aug 10 02:15:31 2022
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 10 02:17:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Aug 10 02:17:32 2022
Terminated at Wed Aug 10 02:27:59 2022
Results reported at Wed Aug 10 02:27:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.2-4156_daily_bin1706 338.568 -41.9411 681523201 681782401 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 :                                   456.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   626 sec.
    Turnaround time :                            748 sec.

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

