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


Performing analysis on: 4FGL_J2234.2-4156_daily_bin1773
RA = 338.568, Dec = -41.9411
tmin = 698889601, tmax = 699148801
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='805835', job_status='RUN', time_executed='2023-02-27 10:38:58.149994', time_epoch_executed='1677523138.15' WHERE source_name='4FGL J2234.2-4156' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/805835

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/805835/ft1_4FGL_J2234.2-4156_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/805835/ft2_4FGL_J2234.2-4156_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/805835/ft1_4FGL_J2234.2-4156_daily_bin1773.fits outfile=/scratch/kocevski/805835/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1773.fits ra=338.568 dec=-41.9411 rad=12.0 tmin=698889601.0 tmax=699148801.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.96
user 2.73
sys 0.20

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

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

Number of photons that the gtmktime cut: 40

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/805835/ft1_filtered_4FGL_J2234.2-4156_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/805835/ft2_4FGL_J2234.2-4156_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/805835/ltcube_698889601_699148801_4FGL_J2234.2-4156_daily_bin1773.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/805835/ft2_4FGL_J2234.2-4156_daily_bin1773.fits
.....................!
real 14.70
user 14.30
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/805835/ft1_filtered_4FGL_J2234.2-4156_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/805835/ft2_4FGL_J2234.2-4156_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/805835/ltcube_698889601_699148801_4FGL_J2234.2-4156_daily_bin1773.fits outfile=/scratch/kocevski/805835/expmap_698889601_699148801_4FGL_J2234.2-4156_daily_bin1773.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/805835/ltcube_698889601_699148801_4FGL_J2234.2-4156_daily_bin1773.fits
.....................!
real 191.67
user 185.83
sys 5.23

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/805835/ft1_filtered_4FGL_J2234.2-4156_daily_bin1773.fits scfile=/scratch/kocevski/805835/ft2_4FGL_J2234.2-4156_daily_bin1773.fits outfile=/scratch/kocevski/805835/cmap_698889601_699148801_4FGL_J2234.2-4156_daily_bin1773.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/805835/ft1_filtered_4FGL_J2234.2-4156_daily_bin1773.fits scfile=/scratch/kocevski/805835/ft2_4FGL_J2234.2-4156_daily_bin1773.fits outfile=/scratch/kocevski/805835/cmap_HighResolution_698889601_699148801_4FGL_J2234.2-4156_daily_bin1773.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=338.568 yref=-41.9411 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/805835/ft1_filtered_4FGL_J2234.2-4156_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/805835/ft2_4FGL_J2234.2-4156_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/805835/Model_4FGL_J2234.2-4156_daily_bin1773.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/805835/ft1_filtered_4FGL_J2234.2-4156_daily_bin1773.fits....................!
real 15.82
user 14.63
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     2 'norm      '    14.968       1.0000          .0000       .10000E+07
     3 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     4 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
     5 'Prefactor '    78.394       1.0000          .0000       .10000E+07
     6 'Prefactor '    .15299E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .47046E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
     9 'Prefactor '    .10000E+07   1.0000          .0000       .10000E+07
    10 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    11 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
    12 'Prefactor '    .77716E-09   1.0000          .0000       .10000E+07
    13 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    14 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    15 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
    16 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    17 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    18 'Prefactor '    .27992E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    2.8043       1.0000          .0000       .10000E+07
    20 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    21 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    22 'norm      '    .19429E-08   1.0000          .0000       .10000E+07
    23 'norm      '     .0000       1.0000          .0000       .10000E+07
    24 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    25 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    26 'norm      '     .0000       1.0000          .0000       .10000E+07
    27 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    28 'norm      '     .0000       1.0000          .0000       .10000E+07
    29 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    30 'Prefactor '    .15264       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   370.3864     FROM MIGRAD    STATUS=CONVERGED    866 CALLS     5429 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        24.702        .19967E-07** at limit **
   2  norm          14.968        14.178       -.10641E-06    .38685E-03
   3  Prefactor      .0000        13.857       -.78320E-06** at limit **
   4  Prefactor      .0000        18.688       -.17470E-06** at limit **
   5  Prefactor     78.252        348.26       -.12663E-04   -.60048E-05
   6  Prefactor     .55511E-10    50.505        .34622E-05** at limit **
   7  Prefactor      .0000        923.88       -.33831E-04** at limit **
   8  norm           .0000        47.566       -.12611E-05** at limit **
   9  Prefactor     .10000E+07    20922.        .17847E-02** at limit **
  10  Prefactor      .0000        52.200       -.12137E-05** at limit **
  11  Prefactor      .0000        531.84        .56656E-04** at limit **
  12  Prefactor      .0000        30.604       -.62379E-07** at limit **
  13  Prefactor      .0000        448.33       -.44653E-06** at limit **
  14  Prefactor      .0000        229.46        .13393E-05** at limit **
  15  Prefactor      .0000        61.154        .55984E-05** at limit **
  16  Prefactor      .0000        59.463       -.65062E-05** at limit **
  17  Prefactor      .0000        13.520        .18985E-06** at limit **
  18  Prefactor     .72164E-09    420.68       -.31793E-04** at limit **
  19  Prefactor     2.8043        36.166       -.88040E-05   -.22350E-03
  20  norm           .0000        14.433       -.83354E-06** at limit **
  21  norm          .55511E-10    5.0964        .18587E-07** at limit **
  22  norm           .0000        5.0664       -.54250E-08** at limit **
  23  norm           .0000        8.2034        .89859E-08** at limit **
  24  Prefactor      .0000        3.2139        .94777E-08** at limit **
  25  Prefactor      .0000        14.184        .14951E-05** at limit **
  26  norm           .0000        2.1844        .11068E-08** at limit **
  27  Prefactor      .0000        5.9387        .63078E-08** at limit **
  28  norm           .0000        2.4788        .33585E-08** at limit **
  29  Normalizat    .10000E-01    .44681E-01    .62982E-06** at limit **
  30  Prefactor     .15266        .15215        .20329E-04    .18143E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 14.968
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 78.2523
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1e+06
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 7.21645e-10
  Prefactor  = 2.80432
  norm       = 0
  norm       = 5.55112e-11
  norm       = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 0
  Normalizat = 0.01
  Prefactor  = 0.152664
 **********
 **   18 **HESSE 
 **********

 FCN=   370.3864     FROM HESSE     STATUS=OK           566 CALLS     5995 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        24.702        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          14.968        14.194        .68246E-05   -1.5631    
   3  Prefactor      .0000        13.857        .70010E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        18.688        .81302E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     78.252        349.19        .22590E-04   -1.5531    
   6  Prefactor     .55511E-10    50.508        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        923.91        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        47.566        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E+07    20919.        .84235E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        52.200        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        531.84        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        30.605        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        448.33        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        229.46        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        61.163        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        59.463        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        13.520        .69154E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .72164E-09    420.94        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.8043        36.411        .22520E-04   -1.5674    
  20  norm           .0000        14.434        .71449E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .55511E-10    5.0968        .42457E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        5.0666        .42331E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        8.2035        .53866E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        3.2141        .33716E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor      .0000        14.184        .70830E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm           .0000        2.1844        .27796E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        5.9389        .45832E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm           .0000        2.4788        .29610E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .10000E-01    .44698E-01    .12573E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .15266        .15144        .22314E-03   -1.3230    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.48989e-10
Minuit parameter uncertainties:
  1  2.00485e-06
  2  14.1939
  3  6.98364e-07
  4  5.5636e-06
  5  330.637
  6  8.7299e-05
  7  0.000297838
  8  5.22349e-06
  9  0.00557751
  10  6.19502e-06
  11  4.6331e-06
  12  1.52428e-05
  13  5.15033e-07
  14  1.52151e-06
  15  6.71195e-07
  16  2.66817e-09
  17  1.05591e-07
  18  0.00111559
  19  20.2099
  20  5.25116e-06
  21  3.22358e-05
  22  8.87357e-06
  23  6.84673e-07
  24  1.04675e-05
  25  3.85719e-07
  26  5.11049e-07
  27  6.47553e-06
  28  4.14634e-08
  29  3.41328e-07
  30  0.151825
Done.

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

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  4.633e-06  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.527e-01  1.518e-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  3.413e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 338.568 -41.941
Photon Flux Upper Limit: 1.77e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.33e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/805835/likelihoodResults_698889601_699148801_4FGL_J2234.2-4156_daily_bin1773.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) = 370.387343972
delta logL = -0.000896009357234

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 370.386447963
delta logL = -9.14667452889e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .70960E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.1906       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .15266       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=   370.3864     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      210 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83267E-09    1056.2        .23829E-05** at limit **
   2  Index         1.1654        7.3533       -.16571E-03   -.31958E-12
   3  Normalizat    .10000E-01    .44601E-01    .42519E-04** at limit **
   4  Prefactor     .15266        .14455        .24520E-03   -.31089E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.32667e-10
  Index      = 1.16536
  Normalizat = 0.01
  Prefactor  = 0.152655
 **********
 **   18 **HESSE 
 **********

 FCN=   370.3864     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      247 TOTAL
                     EDM=   .90E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83267E-09    23.626        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1654        5.1398        .50000       -.87404    
   3  Normalizat    .10000E-01    .20152E-05    .56950E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15266        .97726E-03    .50377E-01   -1.3231    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.98325e-14
Minuit parameter uncertainties:
  1  0.000281751
  2  72256.1
  3  8.70888e-09
  4  0.000977259
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/805835': 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) = 370.386447963
delta logL = -4.45254499937e-10

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  8.327e-10  2.818e-04  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.165e+00  7.226e+04  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.527e-01  9.773e-04  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  1.000e-02  8.709e-09  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/805835/cmap_HighResolution_698889601_699148801_4FGL_J2234.2-4156_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.33e-01', job_status='DONE', photon_flux_upper_limit='1.77e-06', time_completed='2023-02-27 10:45:08.644847', job_id='805835', GAL2='0.15', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1677523508.64', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.15', dlogl='-4.45e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1773' AND source_name='4FGL J2234.2-4156' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:45:08 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 805835: <4FGL_J2234.2-4156_daily_bin1773> in cluster <slac> Done

Job <4FGL_J2234.2-4156_daily_bin1773> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Feb 27 10:35:20 2023
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 10:35:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 10:35:21 2023
Terminated at Mon Feb 27 10:45:09 2023
Results reported at Mon Feb 27 10:45:09 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.2-4156_daily_bin1773 338.568 -41.9411 698889601 699148801 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 :                                   372.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             226.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   587 sec.
    Turnaround time :                            589 sec.

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

