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


Performing analysis on: 4FGL_J2234.2-4156_weekly_bin759
RA = 338.568, Dec = -41.9411
tmin = 698025601, tmax = 698630401
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='608011', job_status='RUN', time_executed='2023-02-21 04:41:52.106578', time_epoch_executed='1676983312.11' WHERE source_name='4FGL J2234.2-4156' and cadence='weekly' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/608011

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/608011/ft1_4FGL_J2234.2-4156_weekly_bin759.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/608011/ft2_4FGL_J2234.2-4156_weekly_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/608011/ft1_4FGL_J2234.2-4156_weekly_bin759.fits outfile=/scratch/kocevski/608011/ft1_filteredMKT_4FGL_J2234.2-4156_weekly_bin759.fits ra=338.568 dec=-41.9411 rad=12.0 tmin=698025601.0 tmax=698630401.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 8.61
user 8.27
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/608011/ft2_4FGL_J2234.2-4156_weekly_bin759.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/608011/ft1_filteredMKT_4FGL_J2234.2-4156_weekly_bin759.fits evtable="EVENTS" outfile="/scratch/kocevski/608011/ft1_filtered_4FGL_J2234.2-4156_weekly_bin759.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.56
user 0.39
sys 0.14

Number of photons that the gtmktime cut: 611

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/608011/ft1_filtered_4FGL_J2234.2-4156_weekly_bin759.fits" evtable="EVENTS" scfile=/scratch/kocevski/608011/ft2_4FGL_J2234.2-4156_weekly_bin759.fits sctable="SC_DATA" outfile=/scratch/kocevski/608011/ltcube_698025601_698630401_4FGL_J2234.2-4156_weekly_bin759.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/608011/ft2_4FGL_J2234.2-4156_weekly_bin759.fits
.....................!
real 29.82
user 29.34
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/608011/ft1_filtered_4FGL_J2234.2-4156_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/608011/ft2_4FGL_J2234.2-4156_weekly_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/608011/ltcube_698025601_698630401_4FGL_J2234.2-4156_weekly_bin759.fits outfile=/scratch/kocevski/608011/expmap_698025601_698630401_4FGL_J2234.2-4156_weekly_bin759.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/608011/ltcube_698025601_698630401_4FGL_J2234.2-4156_weekly_bin759.fits
.....................!
real 190.53
user 185.39
sys 4.73

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/608011/ft1_filtered_4FGL_J2234.2-4156_weekly_bin759.fits scfile=/scratch/kocevski/608011/ft2_4FGL_J2234.2-4156_weekly_bin759.fits outfile=/scratch/kocevski/608011/cmap_698025601_698630401_4FGL_J2234.2-4156_weekly_bin759.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.59
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/608011/ft1_filtered_4FGL_J2234.2-4156_weekly_bin759.fits scfile=/scratch/kocevski/608011/ft2_4FGL_J2234.2-4156_weekly_bin759.fits outfile=/scratch/kocevski/608011/cmap_HighResolution_698025601_698630401_4FGL_J2234.2-4156_weekly_bin759.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.42
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/608011/ft1_filtered_4FGL_J2234.2-4156_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/608011/ft2_4FGL_J2234.2-4156_weekly_bin759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/608011/Model_4FGL_J2234.2-4156_weekly_bin759.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/608011/ft1_filtered_4FGL_J2234.2-4156_weekly_bin759.fits.....................!
real 50.38
user 48.33
sys 1.37

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.943       1.0000          .0000       .10000E+07
     2 'norm      '    22.392       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.9933       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.1505       1.0000          .0000       .10000E+07
     5 'Prefactor '    72.609       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.2934       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15087E-01   1.0000          .0000       .10000E+07
     8 'norm      '    2.4089       1.0000          .0000       .10000E+07
     9 'Prefactor '    .71992E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27200E-08   1.0000          .0000       .10000E+07
    11 'Prefactor '    .51358E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .50697E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    7.0579       1.0000          .0000       .10000E+07
    14 'Prefactor '    38.721       1.0000          .0000       .10000E+07
    15 'Prefactor '    22.259       1.0000          .0000       .10000E+07
    16 'Prefactor '    .61061E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .83265E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .29704E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .17380E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .16148E-03   1.0000          .0000       .10000E+07
    21 'norm      '    .64797E-05   1.0000          .0000       .10000E+07
    22 'norm      '    1.6088       1.0000          .0000       .10000E+07
    23 'norm      '    .27893E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    3.6241       1.0000          .0000       .10000E+07
    25 'Prefactor '    40.469       1.0000          .0000       .10000E+07
    26 'norm      '    3.9168       1.0000          .0000       .10000E+07
    27 'Prefactor '    .64716E-05   1.0000          .0000       .10000E+07
    28 'norm      '    .61259E-04   1.0000          .0000       .10000E+07
    29 'Normalizat'    .86361       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .88009       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=   6618.118     FROM MIGRAD    STATUS=CONVERGED    177 CALLS     2854 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.917        2.1233       -.12312E-08   -.15425E-01
   2  norm          22.404        5.9019       -.12211E-07   -.18078E-02
   3  Prefactor     3.0235        6.2836       -.17839E-07   -.73853E-03
   4  Prefactor     3.1164        5.3048        .38391E-07   -.78837E-03
   5  Prefactor     72.714        1.6088        .62504E-08   -.24080E-01
   6  Prefactor     4.3094        3.0718        .42903E-08   -.27601E-01
   7  Prefactor     .96478E-07    13.674       -.78852E-07** at limit **
   8  norm          2.4089        3.1599       -.14443E-07    .14815E-03
   9  Prefactor     .11102E-09    3.9765        .58906E-07** at limit **
  10  Prefactor      .0000        1.0369       -.95250E-08** at limit **
  11  Prefactor     .33085E-07    17.253       -.19208E-06** at limit **
  12  Prefactor     .77716E-09    2.1848       -.35994E-07** at limit **
  13  Prefactor     7.2321        1.4451       -.19877E-08   -.80009E-02
  14  Prefactor     38.502        5.2708        .18190E-08    .46217E-01
  15  Prefactor     22.138        3.8671       -.91337E-08    .58080E-02
  16  Prefactor     .49960E-09    8.2231        .50520E-07** at limit **
  17  Prefactor     .28483E-06    7.4893        .78920E-07** at limit **
  18  Prefactor     .77716E-09    12.577       -.38375E-07** at limit **
  19  Prefactor     .12768E-07    50.072        .11853E-07** at limit **
  20  norm          .11102E-09    3.3588       -.17011E-07** at limit **
  21  norm           .0000        1.7720        .19171E-07** at limit **
  22  norm          1.6371        4.2022        .50249E-06   -.20839E-03
  23  norm          .55511E-10    2.3395       -.37231E-07** at limit **
  24  Prefactor     3.6234        4.9563       -.22056E-08   -.88251E-03
  25  Prefactor     41.595        43.068        .20341E-06   -.59392E-02
  26  norm          3.8168        5.9733       -.14020E-06   -.12686E-02
  27  Prefactor     .19512E-06    11.338        .71917E-07** at limit **
  28  norm          .14433E-08    2.0371       -.35172E-07** at limit **
  29  Normalizat    .86279        .18606        .66575E-06   -.19222E-06
  30  Prefactor     .88057        .17710       -.22679E-06   -.16775E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.9169
  norm       = 22.4036
  Prefactor  = 3.02346
  Prefactor  = 3.11636
  Prefactor  = 72.7141
  Prefactor  = 4.30944
  Prefactor  = 9.64784e-08
  norm       = 2.40893
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 3.30846e-08
  Prefactor  = 7.77156e-10
  Prefactor  = 7.23211
  Prefactor  = 38.5024
  Prefactor  = 22.1379
  Prefactor  = 4.996e-10
  Prefactor  = 2.84828e-07
  Prefactor  = 7.77156e-10
  Prefactor  = 1.27676e-08
  norm       = 1.11022e-10
  norm       = 0
  norm       = 1.63708
  norm       = 5.55112e-11
  Prefactor  = 3.62345
  Prefactor  = 41.595
  norm       = 3.81685
  Prefactor  = 1.95122e-07
  norm       = 1.44329e-09
  Normalizat = 0.862789
  Prefactor  = 0.880566
 **********
 **   18 **HESSE 
 **********

 FCN=   6618.118     FROM HESSE     STATUS=OK           646 CALLS     3500 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.917        36.037        .22400E-03   -1.5619    
   2  norm          22.404        6.2663        .21138E-03   -1.5613    
   3  Prefactor     3.0235        7.6592        .58648E-03   -1.5673    
   4  Prefactor     3.1164        5.5023        .57082E-03   -1.5673    
   5  Prefactor     72.714        36.179        .11736E-03   -1.5537    
   6  Prefactor     4.3094        7.3921        .48597E-03   -1.5666    
   7  Prefactor     .96478E-07    44.183        .17384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.4089        3.1706        .65935E-03   -1.5677    
   9  Prefactor     .11102E-09    3.9833        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.0368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .33085E-07    18.168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .77716E-09    2.2666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.2321        18.045        .37737E-03   -1.5654    
  14  Prefactor     38.502        24.758        .16072E-03   -1.5584    
  15  Prefactor     22.138        20.706        .21201E-03   -1.5614    
  16  Prefactor     .49960E-09    8.2332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .28483E-06    20.243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .77716E-09    12.694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .12768E-07    49.666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .11102E-09    3.3638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        1.7755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.6371        4.1151        .83493E-03   -1.5682    
  23  norm          .55511E-10    2.3454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.6234        4.9839        .53047E-03   -1.5670    
  25  Prefactor     41.595        43.093        .15721E-03   -1.5579    
  26  norm          3.8168        5.8869        .50952E-03   -1.5669    
  27  Prefactor     .19512E-06    17.123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .14433E-08    2.1848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .86279        .16360        .44435E-01   -.97780    
  30  Prefactor     .88057        .15198        .44751E-01   -.96824    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.40589e-07
Minuit parameter uncertainties:
  1  36.0374
  2  6.26632
  3  7.65918
  4  5.50228
  5  36.1796
  6  7.39209
  7  0.0041293
  8  3.1706
  9  4.04464e-05
  10  2.24359e-07
  11  0.00155054
  12  8.3876e-05
  13  18.0454
  14  24.7577
  15  20.7059
  16  0.000130171
  17  0.00480226
  18  0.00020117
  19  0.00159419
  20  3.3593e-05
  21  2.89153e-06
  22  4.11507
  23  2.02732e-05
  24  4.98395
  25  43.0931
  26  5.88691
  27  0.00365584
  28  0.000113358
  29  0.163698
  30  0.152055
Done.

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

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  3.308e-08  1.551e-03  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:  8.806e-01  1.521e-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.628e-01  1.637e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/608011/likelihoodResults_698025601_698630401_4FGL_J2234.2-4156_weekly_bin759.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) = 6618.14421976
delta logL = -0.0265111739609

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6618.1177086
delta logL = -1.97060217033e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19101E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .99042       1.0000          .0000       10.000    
     3 'Normalizat'    .86277       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88059       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=   6617.910     FROM MIGRAD    STATUS=CONVERGED    136 CALLS      291 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .54105E-02    .12304        .21537E-03** at limit **
   2  Index         5.3051        2.0866        .10574        .13060E-03
   3  Normalizat    .82961        .22880E-01    .44424E-01    .11554E-03
   4  Prefactor     .90024        .22231E-01    .44757E-01    .14655E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0054105
  Index      = 5.30507
  Normalizat = 0.829615
  Prefactor  = 0.900245
 **********
 **   18 **HESSE 
 **********

 FCN=   6617.910     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      324 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .54105E-02    .73371        .97047E-06   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.3051        7.6430        .59673E-02    .61053E-01
   3  Normalizat    .82961        .13157        .24889E-03   -.98979    
   4  Prefactor     .90024        .12564        .23173E-03   -.96133    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.31179e-09
Minuit parameter uncertainties:
  1  0.126012
  2  7.70806
  3  0.13162
  4  0.125685
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/608011': 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) = 6617.91010513
delta logL = 0.207603453078

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  5.411e-03  1.260e-01  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  5.305e+00  7.708e+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:  9.002e-01  1.257e-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.296e-01  1.316e-01  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/608011/cmap_HighResolution_698025601_698630401_4FGL_J2234.2-4156_weekly_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.81e-08', time_completed='2023-02-21 04:55:16.550686', job_id='608011', GAL2='0.90', fit_tolerance='1e-08', EG2='0.83', EG='0.86', time_epoch_completed='1676984116.55', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='2.08e-01', ts2='0.46', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='759' AND source_name='4FGL J2234.2-4156' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 21 04:55:16 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 608011: <4FGL_J2234.2-4156_weekly_bin759> in cluster <slac> Done

Job <4FGL_J2234.2-4156_weekly_bin759> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Feb 21 04:40:25 2023
Job was executed on host(s) <bullet0236>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 04:40:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 04:40:26 2023
Terminated at Tue Feb 21 04:55:16 2023
Results reported at Tue Feb 21 04:55:16 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.2-4156_weekly_bin759 338.568 -41.9411 698025601 698630401 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 :                                   805.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             300.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            891 sec.

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

