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


Performing analysis on: 4FGL_J2234.2-4156_daily_bin1758
RA = 338.568, Dec = -41.9411
tmin = 695001601, tmax = 695260801
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='384915', job_status='RUN', time_executed='2023-01-13 01:54:22.731531', time_epoch_executed='1673603662.73' WHERE source_name='4FGL J2234.2-4156' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/384915

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/384915/ft1_4FGL_J2234.2-4156_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/384915/ft2_4FGL_J2234.2-4156_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/384915/ft1_4FGL_J2234.2-4156_daily_bin1758.fits outfile=/scratch/kocevski/384915/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1758.fits ra=338.568 dec=-41.9411 rad=12.0 tmin=695001601.0 tmax=695260801.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.81
user 2.57
sys 0.22

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

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

Number of photons that the gtmktime cut: 458

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/384915/ft1_filtered_4FGL_J2234.2-4156_daily_bin1758.fits" evtable="EVENTS" scfile=/scratch/kocevski/384915/ft2_4FGL_J2234.2-4156_daily_bin1758.fits sctable="SC_DATA" outfile=/scratch/kocevski/384915/ltcube_695001601_695260801_4FGL_J2234.2-4156_daily_bin1758.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/384915/ft2_4FGL_J2234.2-4156_daily_bin1758.fits
.....................!
real 16.79
user 16.39
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/384915/ft1_filtered_4FGL_J2234.2-4156_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/384915/ft2_4FGL_J2234.2-4156_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/384915/ltcube_695001601_695260801_4FGL_J2234.2-4156_daily_bin1758.fits outfile=/scratch/kocevski/384915/expmap_695001601_695260801_4FGL_J2234.2-4156_daily_bin1758.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/384915/ltcube_695001601_695260801_4FGL_J2234.2-4156_daily_bin1758.fits
.....................!
real 191.48
user 186.68
sys 4.42

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/384915/ft1_filtered_4FGL_J2234.2-4156_daily_bin1758.fits scfile=/scratch/kocevski/384915/ft2_4FGL_J2234.2-4156_daily_bin1758.fits outfile=/scratch/kocevski/384915/cmap_695001601_695260801_4FGL_J2234.2-4156_daily_bin1758.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/384915/ft1_filtered_4FGL_J2234.2-4156_daily_bin1758.fits scfile=/scratch/kocevski/384915/ft2_4FGL_J2234.2-4156_daily_bin1758.fits outfile=/scratch/kocevski/384915/cmap_HighResolution_695001601_695260801_4FGL_J2234.2-4156_daily_bin1758.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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/384915/ft1_filtered_4FGL_J2234.2-4156_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/384915/ft2_4FGL_J2234.2-4156_daily_bin1758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/384915/Model_4FGL_J2234.2-4156_daily_bin1758.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/384915/ft1_filtered_4FGL_J2234.2-4156_daily_bin1758.fits.....................!
real 41.16
user 39.84
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27855E-01   1.0000          .0000       .10000E+07
     2 'norm      '    15.864       1.0000          .0000       .10000E+07
     3 'Prefactor '    11.315       1.0000          .0000       .10000E+07
     4 'Prefactor '    .78785E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.1170       1.0000          .0000       .10000E+07
     6 'Prefactor '    18.110       1.0000          .0000       .10000E+07
     7 'Prefactor '    .23331E-02   1.0000          .0000       .10000E+07
     8 'norm      '    1.2923       1.0000          .0000       .10000E+07
     9 'Prefactor '    .15321E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    5.3140       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.7079       1.0000          .0000       .10000E+07
    12 'Prefactor '    .31018       1.0000          .0000       .10000E+07
    13 'Prefactor '    17.936       1.0000          .0000       .10000E+07
    14 'Prefactor '    .58998E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .18919E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    10.218       1.0000          .0000       .10000E+07
    17 'Prefactor '    .15362E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .27837E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.7213       1.0000          .0000       .10000E+07
    20 'norm      '    .38792E-03   1.0000          .0000       .10000E+07
    21 'norm      '    .70838E-06   1.0000          .0000       .10000E+07
    22 'norm      '    3.5771       1.0000          .0000       .10000E+07
    23 'norm      '    .50067       1.0000          .0000       .10000E+07
    24 'Prefactor '    .13006E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    60.503       1.0000          .0000       .10000E+07
    26 'norm      '    3.2884       1.0000          .0000       .10000E+07
    27 'Prefactor '    .25230E-02   1.0000          .0000       .10000E+07
    28 'norm      '    2.2389       1.0000          .0000       .10000E+07
    29 'Normalizat'    .89431       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1965       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=   5043.316     FROM MIGRAD    STATUS=CONVERGED    196 CALLS     2823 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17208E-08    50.577       -.33116E-06** at limit **
   2  norm          15.885        8.0775       -.70755E-07   -.11157E-01
   3  Prefactor     11.412        10.343       -.87029E-07    .73223E-01
   4  Prefactor     .32196E-08    30.561        .17879E-06** at limit **
   5  Prefactor     .94115E-04    140.75       -.40469E-06** at limit **
   6  Prefactor     18.275        8.9435       -.28257E-07   -.87485E-01
   7  Prefactor     .11585E-05    93.705       -.56982E-06** at limit **
   8  norm          1.2692        4.5857       -.12119E-06   -.70125E-03
   9  Prefactor     .27311E-07    4.0007        .11394E-06** at limit **
  10  Prefactor     5.3186        4.7907       -.17004E-07    .97938E-03
  11  Prefactor     7.6870        31.257        .24195E-06    .32853E-02
  12  Prefactor     .30858        15.391        .34478E-07   -.12954E-01
  13  Prefactor     17.954        1.4848        .79687E-08    .13644E-01
  14  Prefactor     .20556E-06    11.611        .24706E-07** at limit **
  15  Prefactor     .15710E-07    19.686        .81434E-07** at limit **
  16  Prefactor     10.607        12.032       -.24666E-07   -.30800E-01
  17  Prefactor     .30531E-07    3.9979        .12017E-06** at limit **
  18  Prefactor     .15155E-07    5.2902        .13768E-06** at limit **
  19  Prefactor     1.7622        7.1978        .12724E-06    .32922E-03
  20  norm           .0000        4.2841        .36970E-07** at limit **
  21  norm          .11102E-09    1.8835       -.16699E-06** at limit **
  22  norm          3.5726        3.5382       -.40877E-07   -.12084E-02
  23  norm          .53087        2.8413       -.10480E-07    .59817E-02
  24  Prefactor      .0000        2.7242        .62268E-07** at limit **
  25  Prefactor     61.424        26.781        .73579E-07    .20278E-01
  26  norm          3.2623        3.6050        .16782E-07    .30099E-03
  27  Prefactor     .45908E-07    7.4294        .16395E-06** at limit **
  28  norm          2.2342        2.7313       -.53494E-08   -.77803E-04
  29  Normalizat    .89146        .26377        .44538E-05    .69903E-04
  30  Prefactor     1.1977        .24726       -.31358E-05    .38011E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.72085e-09
  norm       = 15.8849
  Prefactor  = 11.4123
  Prefactor  = 3.21965e-09
  Prefactor  = 9.41145e-05
  Prefactor  = 18.2749
  Prefactor  = 1.15852e-06
  norm       = 1.26915
  Prefactor  = 2.73115e-08
  Prefactor  = 5.31857
  Prefactor  = 7.68695
  Prefactor  = 0.30858
  Prefactor  = 17.9543
  Prefactor  = 2.05558e-07
  Prefactor  = 1.57097e-08
  Prefactor  = 10.6072
  Prefactor  = 3.05311e-08
  Prefactor  = 1.51545e-08
  Prefactor  = 1.76221
  norm       = 0
  norm       = 1.11022e-10
  norm       = 3.57261
  norm       = 0.530871
  Prefactor  = 0
  Prefactor  = 61.4245
  norm       = 3.26228
  Prefactor  = 4.59077e-08
  norm       = 2.23415
  Normalizat = 0.89146
  Prefactor  = 1.19771
 **********
 **   18 **HESSE 
 **********

 FCN=   5043.316     FROM HESSE     STATUS=OK           664 CALLS     3487 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17208E-08    50.484        .16566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          15.885        8.1264        .25120E-03   -1.5628    
   3  Prefactor     11.412        12.184        .29758E-03   -1.5640    
   4  Prefactor     .32196E-08    30.481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .94115E-04    65.561        .14527E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.275        14.468        .23508E-03   -1.5622    
   7  Prefactor     .11585E-05    106.47        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.2692        4.6471        .97339E-03   -1.5685    
   9  Prefactor     .27311E-07    4.1075        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.3186        4.8481        .43575E-03   -1.5662    
  11  Prefactor     7.6870        61.603        .38719E-03   -1.5653    
  12  Prefactor     .30858        4.6646        .82757E-02   -1.5697    
  13  Prefactor     17.954        28.366        .23622E-03   -1.5623    
  14  Prefactor     .20556E-06    13.411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .15710E-07    19.766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.607        14.134        .31322E-03   -1.5643    
  17  Prefactor     .30531E-07    4.1169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .15155E-07    12.725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.7622        7.2593        .80034E-03   -1.5681    
  20  norm           .0000        4.2897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .11102E-09    1.8871        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.5726        3.5394        .53408E-03   -1.5670    
  23  norm          .53087        8.4978        .78642E-02   -1.5693    
  24  Prefactor      .0000        2.7244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     61.424        41.439        .12857E-03   -1.5551    
  26  norm          3.2623        3.7758        .55810E-03   -1.5672    
  27  Prefactor     .45908E-07    12.868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          2.2342        2.7443        .68664E-03   -1.5678    
  29  Normalizat    .89146        .22865        .44829E-01   -.96761    
  30  Prefactor     1.1977        .20707        .54580E-01   -.86402    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65308e-07
Minuit parameter uncertainties:
  1  0.000591384
  2  8.1264
  3  12.1844
  4  0.000626691
  5  0.157103
  6  14.4684
  7  0.0222125
  8  4.64708
  9  0.00067003
  10  4.84809
  11  43.5226
  12  2.3995
  13  28.366
  14  0.0033207
  15  0.00111521
  16  14.1336
  17  0.000708947
  18  0.000878691
  19  7.15331
  20  2.0332e-05
  21  2.6968e-05
  22  3.5394
  23  4.24793
  24  9.41715e-06
  25  41.4395
  26  3.77584
  27  0.00153756
  28  2.74426
  29  0.228899
  30  0.207213
Done.

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

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  7.687e+00  4.352e+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.198e+00  2.072e-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.915e-01  2.289e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 338.568 -41.941
Photon Flux Upper Limit: 7.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/384915/likelihoodResults_695001601_695260801_4FGL_J2234.2-4156_daily_bin1758.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) = 5043.03134169
delta logL = 0.28471542086

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5042.99427086
delta logL = 0.321786246042

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26109       1.0000          .0000       .10000E+07
     2 'Index     '    4.1692       1.0000          .0000       10.000    
     3 'Normalizat'    .83837       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2292       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=   5042.994     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      277 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26063        6.1516        .10230E-02    .16069E-01
   2  Index         4.1706        2.5261        .84209E-01    .17647E-03
   3  Normalizat    .83866        .39985E-01    .65010E-01    .10832E-04
   4  Prefactor     1.2290        .39509E-01    .53970E-01   -.66109E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.260626
  Index      = 4.17063
  Normalizat = 0.838659
  Prefactor  = 1.22902
 **********
 **   18 **HESSE 
 **********

 FCN=   5042.994     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      312 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26063        21.063        .46894E-04   -1.5698    
   2  Index         4.1706        7.0717        .50846E-02   -.16664    
   3  Normalizat    .83866        .16392        .28758E-03   -.98650    
   4  Prefactor     1.2290        .15950        .23862E-03   -.85443    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.086e-07
Minuit parameter uncertainties:
  1  4.68603
  2  6.40916
  3  0.164015
  4  0.159561
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/384915': 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) = 5042.99426781
delta logL = 0.321789300473

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  2.606e-01  4.686e+00  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  4.171e+00  6.409e+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.229e+00  1.596e-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.387e-01  1.640e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
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/384915/cmap_HighResolution_695001601_695260801_4FGL_J2234.2-4156_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-03', job_status='DONE', photon_flux_upper_limit='7.34e-08', time_completed='2023-01-13 02:05:20.505431', job_id='384915', GAL2='1.23', fit_tolerance='1e-08', EG2='0.84', EG='0.89', time_epoch_completed='1673604320.51', return_code2='102', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='3.22e-01', ts2='0.73', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1758' AND source_name='4FGL J2234.2-4156' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 02:05:20 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 384915: <4FGL_J2234.2-4156_daily_bin1758> in cluster <slac> Done

Job <4FGL_J2234.2-4156_daily_bin1758> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Jan 13 01:50:17 2023
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 01:51:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 01:51:24 2023
Terminated at Fri Jan 13 02:05:21 2023
Results reported at Fri Jan 13 02:05:21 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.2-4156_daily_bin1758 338.568 -41.9411 695001601 695260801 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 :                                   660.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   836 sec.
    Turnaround time :                            904 sec.

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

