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


Performing analysis on: 4FGL_J2234.2-4156_daily_bin1774
RA = 338.568, Dec = -41.9411
tmin = 699148801, tmax = 699408001
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='697911', job_status='RUN', time_executed='2023-03-02 01:41:59.385746', time_epoch_executed='1677750119.39' WHERE source_name='4FGL J2234.2-4156' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/697911

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/697911/ft1_4FGL_J2234.2-4156_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/697911/ft2_4FGL_J2234.2-4156_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/697911/ft1_4FGL_J2234.2-4156_daily_bin1774.fits outfile=/scratch/kocevski/697911/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1774.fits ra=338.568 dec=-41.9411 rad=12.0 tmin=699148801.0 tmax=699408001.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.85
user 2.64
sys 0.19

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

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

Number of photons that the gtmktime cut: 62

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/697911/ft1_filtered_4FGL_J2234.2-4156_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/697911/ft2_4FGL_J2234.2-4156_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/697911/ltcube_699148801_699408001_4FGL_J2234.2-4156_daily_bin1774.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/697911/ft2_4FGL_J2234.2-4156_daily_bin1774.fits
.....................!
real 12.36
user 12.05
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/697911/ft1_filtered_4FGL_J2234.2-4156_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/697911/ft2_4FGL_J2234.2-4156_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/697911/ltcube_699148801_699408001_4FGL_J2234.2-4156_daily_bin1774.fits outfile=/scratch/kocevski/697911/expmap_699148801_699408001_4FGL_J2234.2-4156_daily_bin1774.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/697911/ltcube_699148801_699408001_4FGL_J2234.2-4156_daily_bin1774.fits
.....................!
real 190.66
user 184.86
sys 5.48

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/697911/ft1_filtered_4FGL_J2234.2-4156_daily_bin1774.fits scfile=/scratch/kocevski/697911/ft2_4FGL_J2234.2-4156_daily_bin1774.fits outfile=/scratch/kocevski/697911/cmap_699148801_699408001_4FGL_J2234.2-4156_daily_bin1774.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.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/697911/ft1_filtered_4FGL_J2234.2-4156_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/697911/ft2_4FGL_J2234.2-4156_daily_bin1774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/697911/Model_4FGL_J2234.2-4156_daily_bin1774.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/697911/ft1_filtered_4FGL_J2234.2-4156_daily_bin1774.fits.....................!
real 17.21
user 15.95
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52799       1.0000          .0000       .10000E+07
     2 'norm      '    .51662       1.0000          .0000       .10000E+07
     3 'Prefactor '    70.521       1.0000          .0000       .10000E+07
     4 'Prefactor '    1365.8       1.0000          .0000       .10000E+07
     5 'Prefactor '    .58681       1.0000          .0000       .10000E+07
     6 'Prefactor '    .58700E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .51440       1.0000          .0000       .10000E+07
     8 'norm      '    .57137E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    3631.5       1.0000          .0000       .10000E+07
    10 'Prefactor '    .16103E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    185.00       1.0000          .0000       .10000E+07
    12 'Prefactor '    30.741       1.0000          .0000       .10000E+07
    13 'Prefactor '    .42731       1.0000          .0000       .10000E+07
    14 'Prefactor '    .27730       1.0000          .0000       .10000E+07
    15 'Prefactor '    36.098       1.0000          .0000       .10000E+07
    16 'Prefactor '    .18859E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    6.9608       1.0000          .0000       .10000E+07
    18 'Prefactor '    .17077E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .10556E-01   1.0000          .0000       .10000E+07
    20 'norm      '    26.774       1.0000          .0000       .10000E+07
    21 'norm      '    .42638E-05   1.0000          .0000       .10000E+07
    22 'norm      '    .26236E-02   1.0000          .0000       .10000E+07
    23 'norm      '    45.104       1.0000          .0000       .10000E+07
    24 'Prefactor '    45.244       1.0000          .0000       .10000E+07
    25 'Prefactor '    .87380E-02   1.0000          .0000       .10000E+07
    26 'norm      '    7.4078       1.0000          .0000       .10000E+07
    27 'Prefactor '    .33701E-02   1.0000          .0000       .10000E+07
    28 'norm      '    5.8973       1.0000          .0000       .10000E+07
    29 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    30 'Prefactor '    .77199       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=   675.6467     FROM MIGRAD    STATUS=CONVERGED    338 CALLS     4270 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .77544E-06    179.89        .17063E-06** at limit **
   2  norm          .22841E-04    166.07       -.19690E-06** at limit **
   3  Prefactor     .11950E-04    792.48       -.12712E-05** at limit **
   4  Prefactor     1497.7        1298.4       -.70434E-07    .93662E-01
   5  Prefactor     .11256E-05    218.33       -.22031E-06** at limit **
   6  Prefactor     .55511E-10    25.049        .59786E-07** at limit **
   7  Prefactor     .15299E-04    169.97        .10355E-05** at limit **
   8  norm          .55511E-10    9.5478       -.17689E-06** at limit **
   9  Prefactor     3488.3        1228.4        .22043E-07    .14347    
  10  Prefactor     .11102E-09    21.309       -.46533E-07** at limit **
  11  Prefactor     197.67        393.03        .15644E-05   -.11850E-02
  12  Prefactor     30.776        21.878        .34559E-06   -.11995E-01
  13  Prefactor     .23537E-07    137.57       -.13610E-05** at limit **
  14  Prefactor      .0000        93.482       -.90722E-06** at limit **
  15  Prefactor     36.222        37.858        .74976E-07    .21925E-02
  16  Prefactor     .11102E-09    48.184       -.13964E-05** at limit **
  17  Prefactor     7.0783        26.359       -.49790E-06   -.76210E-02
  18  Prefactor     .72164E-09    33.122       -.15871E-07** at limit **
  19  Prefactor     .55511E-10    13.611        .96686E-07** at limit **
  20  norm          26.629        31.401        .26538E-06   -.55100E-01
  21  norm           .0000        5.7591       -.24269E-06** at limit **
  22  norm          .66613E-09    27.455        .89443E-06** at limit **
  23  norm          45.721        12.932       -.88941E-08   -.28332    
  24  Prefactor     45.324        19.270        .35981E-06   -.81869E-02
  25  Prefactor     .55511E-10    36.861       -.14140E-06** at limit **
  26  norm          7.4638        10.797        .54171E-07    .18129E-02
  27  Prefactor     .45519E-08    35.049        .15968E-05** at limit **
  28  norm          5.9148        7.8250       -.68951E-07   -.41247E-03
  29  Normalizat    .10000E-01    .95267        .79370E-04** at limit **
  30  Prefactor     .77461        .31259        .41923E-04   -.19690E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.75435e-07
  norm       = 2.28411e-05
  Prefactor  = 1.19497e-05
  Prefactor  = 1497.75
  Prefactor  = 1.1256e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 1.5299e-05
  norm       = 5.55112e-11
  Prefactor  = 3488.25
  Prefactor  = 1.11022e-10
  Prefactor  = 197.671
  Prefactor  = 30.7756
  Prefactor  = 2.35367e-08
  Prefactor  = 0
  Prefactor  = 36.2217
  Prefactor  = 1.11022e-10
  Prefactor  = 7.07825
  Prefactor  = 7.21645e-10
  Prefactor  = 5.55112e-11
  norm       = 26.6288
  norm       = 0
  norm       = 6.66134e-10
  norm       = 45.7213
  Prefactor  = 45.3239
  Prefactor  = 5.55112e-11
  norm       = 7.46379
  Prefactor  = 4.55191e-09
  norm       = 5.91484
  Normalizat = 0.01
  Prefactor  = 0.774606
 **********
 **   18 **HESSE 
 **********

 FCN=   675.6467     FROM HESSE     STATUS=OK           636 CALLS     4906 TOTAL
                     EDM=   .36E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .77544E-06    182.27        .75943E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .22841E-04    176.76        .77055E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11950E-04    788.94        .11909E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1497.7        1709.4        .27077E-04   -1.4934    
   5  Prefactor     .11256E-05    219.76        .70418E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    25.082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .15299E-04    174.95        .77274E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .55511E-10    9.5614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3488.3        1702.2        .16625E-04   -1.4526    
  10  Prefactor     .11102E-09    21.091        .17308E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     197.67        392.36        .73528E-04   -1.5427    
  12  Prefactor     30.776        22.028        .18039E-03   -1.5597    
  13  Prefactor     .23537E-07    138.55        .86388E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        94.648        .10536E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     36.222        38.112        .16646E-03   -1.5588    
  16  Prefactor     .11102E-09    48.890        .17113E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.0783        66.822        .38001E-03   -1.5655    
  18  Prefactor     .72164E-09    33.145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .55511E-10    13.657        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          26.629        32.331        .19330E-03   -1.5605    
  21  norm           .0000        5.7948        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .66613E-09    27.248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          45.721        41.717        .14891E-03   -1.5573    
  24  Prefactor     45.324        19.362        .14868E-03   -1.5573    
  25  Prefactor     .55511E-10    36.954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          7.4638        10.837        .36826E-03   -1.5653    
  27  Prefactor     .45519E-08    35.023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          5.9148        7.8344        .41329E-03   -1.5659    
  29  Normalizat    .10000E-01    .77332        .18021       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .77461        .37537        .43352E-01   -1.0067    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5978e-05
Minuit parameter uncertainties:
  1  0.0237778
  2  0.127084
  3  0.194217
  4  1709.96
  5  0.0314564
  6  8.77691e-05
  7  0.103475
  8  3.80441e-05
  9  1702.42
  10  8.94683e-05
  11  392.414
  12  22.0283
  13  0.00361312
  14  3.33173e-06
  15  38.1121
  16  0.000133632
  17  43.4971
  18  0.000309133
  19  5.58288e-05
  20  32.3308
  21  7.17563e-06
  22  0.000270574
  23  41.7168
  24  19.3621
  25  8.98287e-05
  26  10.8371
  27  0.000797283
  28  7.83444
  29  3.19141e-06
  30  0.376617
Done.

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

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  1.977e+02  3.924e+02  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.992e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  2.380e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  7.746e-01  3.766e-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.191e-06  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/697911/likelihoodResults_699148801_699408001_4FGL_J2234.2-4156_daily_bin1774.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 674.855595669
delta logL = 0.791143315218

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 674.717168397
delta logL = 0.929570586969

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.9692       1.0000          .0000       .10000E+07
     2 'Index     '    3.8568       1.0000          .0000       10.000    
     3 'Normalizat'    .10003E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72517       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   674.7172     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      322 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.9403        300.88        .56480E-05   -.13068E-02
   2  Index         3.8582        6.7994        .16098E-02   -.13679E-04
   3  Normalizat    .10000E-01    .47699        .91242E-02** at limit **
   4  Prefactor     .72534        .26987        .26022E-03   -.18838E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.94026
  Index      = 3.85818
  Normalizat = 0.01
  Prefactor  = 0.725345
 **********
 **   18 **HESSE 
 **********

 FCN=   674.7172     FROM HESSE     STATUS=OK            25 CALLS      347 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.9403        32.749        .22592E-06   -1.5655    
   2  Index         3.8582        1.6025        .64392E-04   -.23040    
   3  Normalizat    .10000E-01    .47867        .18248E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .72534        .26913        .52045E-04   -1.0254    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.59691e-10
Minuit parameter uncertainties:
  1  30.1524
  2  1.63294
  3  2.52849e-05
  4  0.269619
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/697911': 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): 0
logL (Free Index) = 674.717164935
delta logL = 0.929574048661

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  6.940e+00  3.015e+01  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  3.858e+00  1.633e+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:  7.253e-01  2.696e-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  2.528e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.42
Ra Dec: 338.568 -41.941
Photon Index (Free Index): 3.86 +/- 1.63
Photon Flux (Free Index): 4.99e-07 +/- 4.58e-07
Energy Flux (Free Index): 7.65e-05 +/- 6.54e-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/697911/cmap_HighResolution_699148801_699408001_4FGL_J2234.2-4156_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.95e-02', comment='SUCCESS', energy_flux2='7.65e-05', dlogl='9.30e-01', photon_flux2='4.99e-07', job_status='DONE', time_completed='2023-03-02 01:48:19.118462', photon_index_error2='1.63', photon_index2='3.86', ts='0.55', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', photon_flux_upper_limit='6.60e-07', energy_flux_error2='6.54e-05', EG='0.01', time_epoch_completed='1677750499.12', return_code='0', job_id='697911', GAL2='0.73', EG2='0.01', return_code2='0', photon_flux_error2='4.58e-07', ts2='2.42', photon_index='1.99' WHERE bin_id='1774' AND source_name='4FGL J2234.2-4156' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 01:48:19 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 697911: <4FGL_J2234.2-4156_daily_bin1774> in cluster <slac> Done

Job <4FGL_J2234.2-4156_daily_bin1774> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Mar  2 01:40:20 2023
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 01:40:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 01:40:22 2023
Terminated at Thu Mar  2 01:48:19 2023
Results reported at Thu Mar  2 01:48:19 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.2-4156_daily_bin1774 338.568 -41.9411 699148801 699408001 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 :                                   382.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             270.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   477 sec.
    Turnaround time :                            479 sec.

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

