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


Performing analysis on: 4FGL_J2234.2-4156_daily_bin1768
RA = 338.568, Dec = -41.9411
tmin = 697593601, tmax = 697852801
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='284684', job_status='RUN', time_executed='2023-02-12 01:46:20.867937', time_epoch_executed='1676195180.87' WHERE source_name='4FGL J2234.2-4156' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/284684

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/284684/ft1_4FGL_J2234.2-4156_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/284684/ft2_4FGL_J2234.2-4156_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/284684/ft1_4FGL_J2234.2-4156_daily_bin1768.fits outfile=/scratch/kocevski/284684/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1768.fits ra=338.568 dec=-41.9411 rad=12.0 tmin=697593601.0 tmax=697852801.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.64
user 3.43
sys 0.19

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

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

Number of photons that the gtmktime cut: 549

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/284684/ft1_filtered_4FGL_J2234.2-4156_daily_bin1768.fits" evtable="EVENTS" scfile=/scratch/kocevski/284684/ft2_4FGL_J2234.2-4156_daily_bin1768.fits sctable="SC_DATA" outfile=/scratch/kocevski/284684/ltcube_697593601_697852801_4FGL_J2234.2-4156_daily_bin1768.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/284684/ft2_4FGL_J2234.2-4156_daily_bin1768.fits
.....................!
real 14.88
user 14.47
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/284684/ft1_filtered_4FGL_J2234.2-4156_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/284684/ft2_4FGL_J2234.2-4156_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/284684/ltcube_697593601_697852801_4FGL_J2234.2-4156_daily_bin1768.fits outfile=/scratch/kocevski/284684/expmap_697593601_697852801_4FGL_J2234.2-4156_daily_bin1768.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/284684/ltcube_697593601_697852801_4FGL_J2234.2-4156_daily_bin1768.fits
.....................!
real 192.90
user 187.85
sys 4.68

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/284684/ft1_filtered_4FGL_J2234.2-4156_daily_bin1768.fits scfile=/scratch/kocevski/284684/ft2_4FGL_J2234.2-4156_daily_bin1768.fits outfile=/scratch/kocevski/284684/cmap_697593601_697852801_4FGL_J2234.2-4156_daily_bin1768.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.56
user 0.38
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/284684/ft1_filtered_4FGL_J2234.2-4156_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/284684/ft2_4FGL_J2234.2-4156_daily_bin1768.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/284684/Model_4FGL_J2234.2-4156_daily_bin1768.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/284684/ft1_filtered_4FGL_J2234.2-4156_daily_bin1768.fits.....................!
real 46.00
user 44.65
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28393E-02   1.0000          .0000       .10000E+07
     2 'norm      '    8.2598       1.0000          .0000       .10000E+07
     3 'Prefactor '    16.351       1.0000          .0000       .10000E+07
     4 'Prefactor '    16.016       1.0000          .0000       .10000E+07
     5 'Prefactor '    61.143       1.0000          .0000       .10000E+07
     6 'Prefactor '    .37244E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .15500E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .15382E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .44454E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.6566       1.0000          .0000       .10000E+07
    11 'Prefactor '    9.6736       1.0000          .0000       .10000E+07
    12 'Prefactor '    .82484       1.0000          .0000       .10000E+07
    13 'Prefactor '    .37191E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    54.335       1.0000          .0000       .10000E+07
    15 'Prefactor '    35.818       1.0000          .0000       .10000E+07
    16 'Prefactor '    8.1104       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4183       1.0000          .0000       .10000E+07
    18 'Prefactor '    77.048       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21179E-03   1.0000          .0000       .10000E+07
    20 'norm      '    4.7817       1.0000          .0000       .10000E+07
    21 'norm      '    .72554E-04   1.0000          .0000       .10000E+07
    22 'norm      '    8.6831       1.0000          .0000       .10000E+07
    23 'norm      '    23.789       1.0000          .0000       .10000E+07
    24 'Prefactor '    10.485       1.0000          .0000       .10000E+07
    25 'Prefactor '    36.535       1.0000          .0000       .10000E+07
    26 'norm      '    .52930E-03   1.0000          .0000       .10000E+07
    27 'Prefactor '    .28300E-04   1.0000          .0000       .10000E+07
    28 'norm      '    .94770       1.0000          .0000       .10000E+07
    29 'Normalizat'    .80954       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .92390       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=   5986.682     FROM MIGRAD    STATUS=CONVERGED    192 CALLS     2881 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .52600E-05    36.678       -.11015E-07** at limit **
   2  norm          8.2416        4.5372       -.61816E-07   -.13768E-02
   3  Prefactor     16.239        7.1918       -.97169E-07   -.31803E-01
   4  Prefactor     16.008        5.7985       -.82833E-07    .34718E-01
   5  Prefactor     62.188        13.562        .31945E-07   -.24965E-01
   6  Prefactor     .11102E-09    10.097        .27646E-06** at limit **
   7  Prefactor     .37976E-05    171.77       -.34707E-06** at limit **
   8  norm           .0000        2.7928       -.20954E-06** at limit **
   9  Prefactor     .96711E-01    1.0827       -.96632E-07** at limit **
  10  Prefactor     4.6626        4.1131        .39992E-07   -.26357E-03
  11  Prefactor     8.8462        7.0741       -.36220E-07   -.34991E-03
  12  Prefactor     .84618        3.8915        .34126E-06    .18164E-02
  13  Prefactor     .54567E-07    23.790       -.33310E-06** at limit **
  14  Prefactor     53.467        11.303        .25574E-07   -.20454    
  15  Prefactor     35.369        11.720        .47030E-07   -.13754    
  16  Prefactor     7.9832        12.918       -.20238E-06   -.12126E-01
  17  Prefactor     1.4653        6.1008        .97252E-07   -.14035E-03
  18  Prefactor     74.688        31.578       -.63751E-07   -.16309    
  19  Prefactor      .0000        3.2219       -.31555E-06** at limit **
  20  norm          4.8974        6.6767       -.14259E-06   -.60065E-04
  21  norm           .0000        2.2749       -.89183E-07** at limit **
  22  norm          8.6199        5.5268        .35294E-06    .10319E-02
  23  norm          23.736        2.0567       -.12157E-07    .14421E-01
  24  Prefactor     10.509        5.5427       -.19208E-07    .80736E-04
  25  Prefactor     37.075        10.669        .47318E-07   -.47396E-01
  26  norm          .12157E-07    14.349       -.49640E-06** at limit **
  27  Prefactor     .37748E-08    11.420        .26130E-06** at limit **
  28  norm          .87320        3.3324        .50952E-06   -.74928E-04
  29  Normalizat    .81146        .21560        .13263E-04    .47912E-05
  30  Prefactor     .92352        .20219       -.10054E-04    .19795E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.26001e-06
  norm       = 8.24162
  Prefactor  = 16.2389
  Prefactor  = 16.0084
  Prefactor  = 62.1885
  Prefactor  = 1.11022e-10
  Prefactor  = 3.79757e-06
  norm       = 0
  Prefactor  = 0.0967107
  Prefactor  = 4.66262
  Prefactor  = 8.84618
  Prefactor  = 0.846184
  Prefactor  = 5.45675e-08
  Prefactor  = 53.467
  Prefactor  = 35.3693
  Prefactor  = 7.98317
  Prefactor  = 1.46533
  Prefactor  = 74.6875
  Prefactor  = 0
  norm       = 4.89736
  norm       = 0
  norm       = 8.61994
  norm       = 23.7359
  Prefactor  = 10.5087
  Prefactor  = 37.0747
  norm       = 1.21569e-08
  Prefactor  = 3.77476e-09
  norm       = 0.873202
  Normalizat = 0.811459
  Prefactor  = 0.923523
 **********
 **   18 **HESSE 
 **********

 FCN=   5986.682     FROM HESSE     STATUS=OK           660 CALLS     3541 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .52600E-05    42.831        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.2416        4.5559        .34859E-03   -1.5651    
   3  Prefactor     16.239        11.557        .24742E-03   -1.5627    
   4  Prefactor     16.008        12.782        .25000E-03   -1.5628    
   5  Prefactor     62.188        37.669        .12789E-03   -1.5550    
   6  Prefactor     .11102E-09    10.082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .37976E-05    174.12        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.7918        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .96711E-01    4.0458        .11410E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.6626        4.1559        .46614E-03   -1.5665    
  11  Prefactor     8.8462        35.812        .32195E-03   -1.5648    
  12  Prefactor     .84618        4.0069        .51102E-03   -1.5690    
  13  Prefactor     .54567E-07    23.840        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     53.467        28.300        .13567E-03   -1.5562    
  15  Prefactor     35.369        27.514        .16711E-03   -1.5589    
  16  Prefactor     7.9832        13.135        .35181E-03   -1.5651    
  17  Prefactor     1.4653        6.2552        .90832E-03   -1.5684    
  18  Prefactor     74.688        40.128        .11393E-03   -1.5535    
  19  Prefactor      .0000        3.2232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.8974        6.6854        .45986E-03   -1.5664    
  21  norm           .0000        2.2764        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          8.6199        5.8137        .33993E-03   -1.5649    
  23  norm          23.736        11.957        .20508E-03   -1.5611    
  24  Prefactor     10.509        5.5446        .30917E-03   -1.5643    
  25  Prefactor     37.075        34.989        .16546E-03   -1.5586    
  26  norm          .12157E-07    14.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .37748E-08    11.401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .87320        3.4385        .42517E-03   -1.5689    
  29  Normalizat    .81146        .19827        .43735E-01   -.99645    
  30  Prefactor     .92352        .17447        .45309E-01   -.95324    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.45823e-06
Minuit parameter uncertainties:
  1  0.0300198
  2  4.55588
  3  11.5568
  4  12.7821
  5  37.6693
  6  6.64615e-05
  7  0.0514312
  8  5.42427e-06
  9  1.25103
  10  4.15591
  11  35.598
  12  3.68273
  13  0.00228145
  14  28.3006
  15  27.5137
  16  13.1348
  17  6.05507
  18  40.1284
  19  9.54396e-06
  20  6.68537
  21  4.39423e-06
  22  5.81368
  23  11.9575
  24  5.54457
  25  34.9895
  26  0.000833072
  27  0.000415804
  28  3.43852
  29  0.19845
  30  0.174579
Done.

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

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  8.846e+00  3.560e+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:  9.235e-01  1.746e-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.115e-01  1.985e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/284684/likelihoodResults_697593601_697852801_4FGL_J2234.2-4156_daily_bin1768.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) = 5986.55059887
delta logL = 0.131681454841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5986.51268057
delta logL = 0.169599753296

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1441       1.0000          .0000       .10000E+07
     2 'Index     '    3.0192       1.0000          .0000       10.000    
     3 'Normalizat'    .79134       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93357       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=   5986.513     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      236 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1243        204.77        .57144E-03    .71449E-02
   2  Index         3.0208        6.4969        .10910        .19522E-03
   3  Normalizat    .79107        .50695E-01    .43497E-01   -.52683E-04
   4  Prefactor     .93384        .45519E-01    .45431E-01   -.39457E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.12435
  Index      = 3.02079
  Normalizat = 0.791073
  Prefactor  = 0.933844
 **********
 **   18 **HESSE 
 **********

 FCN=   5986.513     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      269 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1243        457.17        .22647E-04   -1.5673    
   2  Index         3.0208        5.3001        .83722E-02   -.40698    
   3  Normalizat    .79107        .19824        .26910E-03   -1.0040    
   4  Prefactor     .93384        .17759        .24136E-03   -.94968    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.32982e-09
Minuit parameter uncertainties:
  1  75.5934
  2  10.0675
  3  0.198419
  4  0.177701
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/284684': 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) = 5986.51267783
delta logL = 0.169602493566

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  3.124e+00  7.559e+01  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  3.021e+00  1.007e+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:  9.338e-01  1.777e-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:  7.911e-01  1.984e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
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/284684/cmap_HighResolution_697593601_697852801_4FGL_J2234.2-4156_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.79e-03', job_status='DONE', photon_flux_upper_limit='6.39e-08', time_completed='2023-02-12 01:59:09.621944', job_id='284684', GAL2='0.93', fit_tolerance='1e-08', EG2='0.79', EG='0.81', time_epoch_completed='1676195949.62', return_code2='102', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='1.70e-01', ts2='0.44', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1768' AND source_name='4FGL J2234.2-4156' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 01:59:09 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 284684: <4FGL_J2234.2-4156_daily_bin1768> in cluster <slac> Done

Job <4FGL_J2234.2-4156_daily_bin1768> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Feb 12 01:45:15 2023
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 01:45:59 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 01:45:59 2023
Terminated at Sun Feb 12 01:59:10 2023
Results reported at Sun Feb 12 01:59:10 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.2-4156_daily_bin1768 338.568 -41.9411 697593601 697852801 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 :                                   771.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            835 sec.

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

