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


Performing analysis on: 4FGL_J2234.2-4156_daily_bin1777
RA = 338.568, Dec = -41.9411
tmin = 699926401, tmax = 700185601
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='925597', job_status='RUN', time_executed='2023-03-11 01:26:44.233846', time_epoch_executed='1678526804.23' WHERE source_name='4FGL J2234.2-4156' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/925597

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/925597/ft1_4FGL_J2234.2-4156_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/925597/ft2_4FGL_J2234.2-4156_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/925597/ft1_4FGL_J2234.2-4156_daily_bin1777.fits outfile=/scratch/kocevski/925597/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1777.fits ra=338.568 dec=-41.9411 rad=12.0 tmin=699926401.0 tmax=700185601.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.63
user 3.41
sys 0.20

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

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

Number of photons that the gtmktime cut: 596

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/925597/ft1_filtered_4FGL_J2234.2-4156_daily_bin1777.fits" evtable="EVENTS" scfile=/scratch/kocevski/925597/ft2_4FGL_J2234.2-4156_daily_bin1777.fits sctable="SC_DATA" outfile=/scratch/kocevski/925597/ltcube_699926401_700185601_4FGL_J2234.2-4156_daily_bin1777.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/925597/ft2_4FGL_J2234.2-4156_daily_bin1777.fits
.....................!
real 12.06
user 11.64
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/925597/ft1_filtered_4FGL_J2234.2-4156_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/925597/ft2_4FGL_J2234.2-4156_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/925597/ltcube_699926401_700185601_4FGL_J2234.2-4156_daily_bin1777.fits outfile=/scratch/kocevski/925597/expmap_699926401_700185601_4FGL_J2234.2-4156_daily_bin1777.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/925597/ltcube_699926401_700185601_4FGL_J2234.2-4156_daily_bin1777.fits
.....................!
real 193.84
user 188.20
sys 5.19

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/925597/ft1_filtered_4FGL_J2234.2-4156_daily_bin1777.fits scfile=/scratch/kocevski/925597/ft2_4FGL_J2234.2-4156_daily_bin1777.fits outfile=/scratch/kocevski/925597/cmap_699926401_700185601_4FGL_J2234.2-4156_daily_bin1777.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/925597/ft1_filtered_4FGL_J2234.2-4156_daily_bin1777.fits scfile=/scratch/kocevski/925597/ft2_4FGL_J2234.2-4156_daily_bin1777.fits outfile=/scratch/kocevski/925597/cmap_HighResolution_699926401_700185601_4FGL_J2234.2-4156_daily_bin1777.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/925597/ft1_filtered_4FGL_J2234.2-4156_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/925597/ft2_4FGL_J2234.2-4156_daily_bin1777.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/925597/Model_4FGL_J2234.2-4156_daily_bin1777.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/925597/ft1_filtered_4FGL_J2234.2-4156_daily_bin1777.fits.....................!
real 49.69
user 48.37
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23394E-03   1.0000          .0000       .10000E+07
     2 'norm      '    20.679       1.0000          .0000       .10000E+07
     3 'Prefactor '    .37003E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.4705       1.0000          .0000       .10000E+07
     5 'Prefactor '    .26394E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .88831E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    22.687       1.0000          .0000       .10000E+07
     8 'norm      '    .20881E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .89260E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .89373E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.0630       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.0527       1.0000          .0000       .10000E+07
    13 'Prefactor '    .47518E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .12141E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    54.255       1.0000          .0000       .10000E+07
    16 'Prefactor '    32.851       1.0000          .0000       .10000E+07
    17 'Prefactor '    .25050E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    10.439       1.0000          .0000       .10000E+07
    19 'Prefactor '    .28761E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .96825E-03   1.0000          .0000       .10000E+07
    21 'norm      '    .17585E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .40778E-04   1.0000          .0000       .10000E+07
    23 'norm      '    .34975E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    1.5862       1.0000          .0000       .10000E+07
    25 'Prefactor '    37.174       1.0000          .0000       .10000E+07
    26 'norm      '    .19807E-03   1.0000          .0000       .10000E+07
    27 'Prefactor '    .12507E-02   1.0000          .0000       .10000E+07
    28 'norm      '    1.9586       1.0000          .0000       .10000E+07
    29 'Normalizat'    1.0486       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .98257       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=   6386.659     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     2740 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46074E-07    4.5968       -.62605E-06** at limit **
   2  norm          20.692        5.7593       -.36586E-07   -.11189E-02
   3  Prefactor     .58731E-07    4.4666        .60209E-07** at limit **
   4  Prefactor     2.4699        1.8257        .17160E-06    .76802E-03
   5  Prefactor     .37803E-07    33.715        .56152E-06** at limit **
   6  Prefactor     .13878E-08    4.0146        .54629E-06** at limit **
   7  Prefactor     22.256        20.339       -.10860E-05    .46410E-01
   8  norm           .0000        1.9297       -.89129E-07** at limit **
   9  Prefactor     .22204E-09    2.3881        .51652E-06** at limit **
  10  Prefactor      .0000        1.1356        .13307E-08** at limit **
  11  Prefactor     2.6823        95.649        .40168E-05    .50382E-02
  12  Prefactor     4.0767        5.6154       -.25711E-07    .20821E-03
  13  Prefactor     .21094E-08    9.7070        .33657E-07** at limit **
  14  Prefactor     .38858E-09    16.773       -.10670E-06** at limit **
  15  Prefactor     54.183        4.9502        .14041E-06    .27485E-02
  16  Prefactor     32.874        1.6715        .72526E-07   -.10794E-01
  17  Prefactor     .55511E-10    2.3586       -.16930E-06** at limit **
  18  Prefactor     9.9623        4.1809       -.26143E-07   -.13264E-01
  19  Prefactor     .66613E-09    2.9227        .63476E-06** at limit **
  20  norm          .28866E-08    4.9250       -.48571E-06** at limit **
  21  norm           .0000        1.9626        .56543E-07** at limit **
  22  norm           .0000        1.5422        .71315E-07** at limit **
  23  norm          .77716E-09    3.4625       -.60207E-06** at limit **
  24  Prefactor     1.5881        3.3848        .55969E-07    .21302E-03
  25  Prefactor     37.684        14.820        .41251E-06    .39651E-01
  26  norm          .99920E-09    2.7695       -.88716E-06** at limit **
  27  Prefactor     .72720E-08    5.6874        .51163E-06** at limit **
  28  norm          1.9251        3.6188       -.26942E-07   -.19341E-03
  29  Normalizat    1.0479        .20946       -.13765E-05    .83539E-04
  30  Prefactor     .98284        .19769        .38259E-06    .60189E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.60743e-08
  norm       = 20.6917
  Prefactor  = 5.87308e-08
  Prefactor  = 2.46993
  Prefactor  = 3.78031e-08
  Prefactor  = 1.38778e-09
  Prefactor  = 22.2563
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 2.68229
  Prefactor  = 4.07674
  Prefactor  = 2.10942e-09
  Prefactor  = 3.88578e-10
  Prefactor  = 54.1833
  Prefactor  = 32.874
  Prefactor  = 5.55112e-11
  Prefactor  = 9.96227
  Prefactor  = 6.66134e-10
  norm       = 2.88658e-09
  norm       = 0
  norm       = 0
  norm       = 7.77156e-10
  Prefactor  = 1.58812
  Prefactor  = 37.684
  norm       = 9.99201e-10
  Prefactor  = 7.27196e-09
  norm       = 1.92505
  Normalizat = 1.04787
  Prefactor  = 0.982842
 **********
 **   18 **HESSE 
 **********

 FCN=   6386.659     FROM HESSE     STATUS=OK           638 CALLS     3378 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46074E-07    8.3933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          20.692        5.8739        .21997E-03   -1.5617    
   3  Prefactor     .58731E-07    7.8173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.4699        7.5731        .65028E-03   -1.5677    
   5  Prefactor     .37803E-07    34.350        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .13878E-08    4.0426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.256        42.736        .21000E-03   -1.5614    
   8  norm           .0000        1.9298        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .22204E-09    2.4380        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.1335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.6823        165.07        .71912E-03   -1.5675    
  12  Prefactor     4.0767        5.8134        .50062E-03   -1.5668    
  13  Prefactor     .21094E-08    10.083        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .38858E-09    16.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     54.183        28.997        .13577E-03   -1.5561    
  16  Prefactor     32.874        16.881        .17450E-03   -1.5593    
  17  Prefactor     .55511E-10    2.3556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.9623        29.133        .30986E-03   -1.5645    
  19  Prefactor     .66613E-09    2.9384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .28866E-08    4.9947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        1.9625        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        1.5408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .77716E-09    3.4771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.5881        3.4291        .84252E-03   -1.5683    
  25  Prefactor     37.684        33.719        .16403E-03   -1.5585    
  26  norm          .99920E-09    2.7789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .72720E-08    5.9126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          1.9251        3.7376        .74097E-03   -1.5680    
  29  Normalizat    1.0479        .18525        .40648E-01   -.91443    
  30  Prefactor     .98284        .17075        .46049E-01   -.93304    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.7916e-07
Minuit parameter uncertainties:
  1  0.00124401
  2  5.8739
  3  0.00135517
  4  7.57315
  5  0.00227862
  6  0.000150255
  7  42.7363
  8  6.18434e-06
  9  4.62525e-05
  10  1.09066e-06
  11  42.0851
  12  5.81344
  13  0.000290926
  14  0.000157828
  15  28.997
  16  16.8813
  17  1.79591e-05
  18  29.1333
  19  8.87625e-05
  20  0.000240118
  21  4.43883e-06
  22  5.65317e-06
  23  0.00010375
  24  3.42915
  25  33.7194
  26  0.00010402
  27  0.000414867
  28  3.73756
  29  0.185361
  30  0.170843
Done.

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

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  2.682e+00  4.209e+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.828e-01  1.708e-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.048e+00  1.854e-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: 6.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/925597/likelihoodResults_699926401_700185601_4FGL_J2234.2-4156_daily_bin1777.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) = 6386.27845769
delta logL = 0.380165880425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6386.17663383
delta logL = 0.481989735124

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45117       1.0000          .0000       .10000E+07
     2 'Index     '    3.9322       1.0000          .0000       10.000    
     3 'Normalizat'    .99203       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0134       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=   6386.177     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      247 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .45005        9.7152        .83782E-03    .11103E-01
   2  Index         3.9351        2.5062        .85019E-01    .18975E-03
   3  Normalizat    .99199        .40556E-01    .46067E-01   -.82331E-04
   4  Prefactor     1.0135        .38700E-01    .42865E-01   -.94606E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.450052
  Index      = 3.93514
  Normalizat = 0.991988
  Prefactor  = 1.01347
 **********
 **   18 **HESSE 
 **********

 FCN=   6386.177     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      280 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .45005        26.794        .57785E-05   -1.5695    
   2  Index         3.9351        6.9129        .49920E-02   -.21461    
   3  Normalizat    .99199        .17118        .25672E-03   -.93299    
   4  Prefactor     1.0135        .15960        .24283E-03   -.92282    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.03065e-06
Minuit parameter uncertainties:
  1  6.9452
  2  5.60225
  3  0.171275
  4  0.159671
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/925597': 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) = 6386.17662089
delta logL = 0.482002677412

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  1.013e+00  1.597e-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:  9.920e-01  1.713e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.02
Ra Dec: 338.568 -41.941
Photon Index (Free Index): 3.94 +/- 5.60
Photon Flux (Free Index): 4.02e-08 +/- 4.70e-08
Energy Flux (Free Index): 6.08e-06 +/- 7.32e-06

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/925597/cmap_HighResolution_699926401_700185601_4FGL_J2234.2-4156_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.64e-03', comment='SUCCESS', energy_flux2='6.08e-06', dlogl='4.82e-01', photon_flux2='4.02e-08', job_status='DONE', time_completed='2023-03-11 01:38:47.304298', photon_index_error2='5.60', photon_index2='3.94', ts='0.00', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='6.19e-08', energy_flux_error2='7.32e-06', EG='1.05', time_epoch_completed='1678527527.3', return_code='0', job_id='925597', GAL2='1.01', EG2='0.99', return_code2='102', photon_flux_error2='4.70e-08', ts2='1.02', photon_index='1.99' WHERE bin_id='1777' AND source_name='4FGL J2234.2-4156' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 01:38:47 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0173>
Subject: Job 925597: <4FGL_J2234.2-4156_daily_bin1777> in cluster <slac> Done

Job <4FGL_J2234.2-4156_daily_bin1777> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Mar 11 01:25:16 2023
Job was executed on host(s) <bullet0173>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 01:25:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 01:25:17 2023
Terminated at Sat Mar 11 01:38:48 2023
Results reported at Sat Mar 11 01:38:48 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.2-4156_daily_bin1777 338.568 -41.9411 699926401 700185601 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 :                                   725.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             319.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            812 sec.

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

