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


Performing analysis on: 4FGL_J2234.2-4156_daily_bin1769
RA = 338.568, Dec = -41.9411
tmin = 697852801, tmax = 698112001
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='446400', job_status='RUN', time_executed='2023-02-15 01:39:15.428515', time_epoch_executed='1676453955.43' WHERE source_name='4FGL J2234.2-4156' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/446400

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/446400/ft1_4FGL_J2234.2-4156_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/446400/ft2_4FGL_J2234.2-4156_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/446400/ft1_4FGL_J2234.2-4156_daily_bin1769.fits outfile=/scratch/kocevski/446400/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1769.fits ra=338.568 dec=-41.9411 rad=12.0 tmin=697852801.0 tmax=698112001.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 4.39
user 4.14
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/446400/ft1_filtered_4FGL_J2234.2-4156_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/446400/ft2_4FGL_J2234.2-4156_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/446400/ltcube_697852801_698112001_4FGL_J2234.2-4156_daily_bin1769.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/446400/ft2_4FGL_J2234.2-4156_daily_bin1769.fits
.....................!
real 12.27
user 11.88
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/446400/ft1_filtered_4FGL_J2234.2-4156_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/446400/ft2_4FGL_J2234.2-4156_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/446400/ltcube_697852801_698112001_4FGL_J2234.2-4156_daily_bin1769.fits outfile=/scratch/kocevski/446400/expmap_697852801_698112001_4FGL_J2234.2-4156_daily_bin1769.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/446400/ltcube_697852801_698112001_4FGL_J2234.2-4156_daily_bin1769.fits
.....................!
real 191.61
user 186.66
sys 4.44

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/446400/ft1_filtered_4FGL_J2234.2-4156_daily_bin1769.fits scfile=/scratch/kocevski/446400/ft2_4FGL_J2234.2-4156_daily_bin1769.fits outfile=/scratch/kocevski/446400/cmap_697852801_698112001_4FGL_J2234.2-4156_daily_bin1769.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.65
user 0.38
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/446400/ft1_filtered_4FGL_J2234.2-4156_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/446400/ft2_4FGL_J2234.2-4156_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/446400/Model_4FGL_J2234.2-4156_daily_bin1769.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/446400/ft1_filtered_4FGL_J2234.2-4156_daily_bin1769.fits.....................!
real 45.22
user 43.28
sys 1.33

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .89108E-03   1.0000          .0000       .10000E+07
     2 'norm      '    7.0563       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.5617       1.0000          .0000       .10000E+07
     4 'Prefactor '    5.5013       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13403E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    10.049       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.7692       1.0000          .0000       .10000E+07
     8 'norm      '    4.4000       1.0000          .0000       .10000E+07
     9 'Prefactor '    .76887E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12434E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .34923E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .16085E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .84996E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    12.440       1.0000          .0000       .10000E+07
    15 'Prefactor '    21.010       1.0000          .0000       .10000E+07
    16 'Prefactor '    .63222E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .22223E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .22188E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .45320E-03   1.0000          .0000       .10000E+07
    20 'norm      '    4.4747       1.0000          .0000       .10000E+07
    21 'norm      '    .17268E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .57351E-05   1.0000          .0000       .10000E+07
    23 'norm      '    .27542E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .61468E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    14.983       1.0000          .0000       .10000E+07
    26 'norm      '    6.2541       1.0000          .0000       .10000E+07
    27 'Prefactor '    .88998E-03   1.0000          .0000       .10000E+07
    28 'norm      '    2.9437       1.0000          .0000       .10000E+07
    29 'Normalizat'    .77347       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.0262       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=   5839.830     FROM MIGRAD    STATUS=CONVERGED    211 CALLS     2838 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .69583E-06    14.762        .40491E-08** at limit **
   2  norm          7.0606        4.3007       -.55191E-07   -.21548E-03
   3  Prefactor     3.5528        8.3057       -.18870E-07    .88007E-04
   4  Prefactor     5.5005        7.1751       -.19288E-06   -.30132E-03
   5  Prefactor     .47073E-07    5.8864        .18234E-06** at limit **
   6  Prefactor     10.101        11.559        .34337E-06    .34240E-03
   7  Prefactor     2.7480        1761.4       -.93894E-05    .39560E-03
   8  norm          4.3899        4.8948        .25518E-07    .66400E-04
   9  Prefactor     .90805E-06    8.9164        .32303E-06** at limit **
  10  Prefactor      .0000        1.7717        .20715E-07** at limit **
  11  Prefactor     .51031E-06    18.122       -.51832E-06** at limit **
  12  Prefactor      .0000        1.4972        .40761E-07** at limit **
  13  Prefactor     .40690E-07    8.9315        .51916E-07** at limit **
  14  Prefactor     12.441        11.832       -.11624E-06    .54064E-02
  15  Prefactor     20.940        4.4568       -.43293E-07    .97509E-02
  16  Prefactor     .36582E-07    26.836       -.97108E-06** at limit **
  17  Prefactor      .0000        2.6603        .22298E-07** at limit **
  18  Prefactor     .33085E-07    10.047        .32649E-06** at limit **
  19  Prefactor     .12490E-07    8.7576        .18627E-06** at limit **
  20  norm          4.4746        6.2826        .31732E-06    .52468E-03
  21  norm           .0000        2.0655       -.22036E-07** at limit **
  22  norm           .0000        1.6619       -.12425E-07** at limit **
  23  norm           .0000        3.5197        .61857E-07** at limit **
  24  Prefactor     .70388E-07    4.1918        .19500E-06** at limit **
  25  Prefactor     14.893        5.6389       -.10676E-06   -.13872E-01
  26  norm          6.2650        3.5741       -.25883E-07    .27950E-03
  27  Prefactor     .12346E-06    4.2699        .18400E-06** at limit **
  28  norm          2.9449        3.1798       -.63541E-07   -.17672E-03
  29  Normalizat    .77340        .18902       -.65860E-07    .12498E-04
  30  Prefactor     1.0265        .18908        .11213E-05    .15124E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.95832e-07
  norm       = 7.06063
  Prefactor  = 3.55284
  Prefactor  = 5.50051
  Prefactor  = 4.70735e-08
  Prefactor  = 10.1013
  Prefactor  = 2.74796
  norm       = 4.38986
  Prefactor  = 9.08051e-07
  Prefactor  = 0
  Prefactor  = 5.10314e-07
  Prefactor  = 0
  Prefactor  = 4.06897e-08
  Prefactor  = 12.4408
  Prefactor  = 20.9397
  Prefactor  = 3.65818e-08
  Prefactor  = 0
  Prefactor  = 3.30846e-08
  Prefactor  = 1.249e-08
  norm       = 4.47455
  norm       = 0
  norm       = 0
  norm       = 0
  Prefactor  = 7.03881e-08
  Prefactor  = 14.8931
  norm       = 6.26501
  Prefactor  = 1.23457e-07
  norm       = 2.94493
  Normalizat = 0.773401
  Prefactor  = 1.0265
 **********
 **   18 **HESSE 
 **********

 FCN=   5839.830     FROM HESSE     STATUS=OK           642 CALLS     3480 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69583E-06    20.336        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.0606        4.2996        .37741E-03   -1.5655    
   3  Prefactor     3.5528        8.3682        .53528E-03   -1.5670    
   4  Prefactor     5.5005        7.2256        .42814E-03   -1.5661    
   5  Prefactor     .47073E-07    13.639        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.101        12.528        .31585E-03   -1.5644    
   7  Prefactor     2.7480        2116.1        .51976E-03   -1.5675    
   8  norm          4.3899        4.9023        .47988E-03   -1.5666    
   9  Prefactor     .90805E-06    15.463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.7631        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .51031E-06    22.340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.4951        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .40690E-07    9.2939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.441        11.875        .28376E-03   -1.5637    
  15  Prefactor     20.940        23.961        .21823E-03   -1.5616    
  16  Prefactor     .36582E-07    28.373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        2.6609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .33085E-07    10.347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .12490E-07    8.8729        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.4746        6.2971        .47575E-03   -1.5666    
  21  norm           .0000        2.0659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        1.6627        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        3.5200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .70388E-07    15.848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     14.893        25.258        .25849E-03   -1.5631    
  26  norm          6.2650        3.8218        .40116E-03   -1.5658    
  27  Prefactor     .12346E-06    14.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          2.9449        3.2073        .59170E-03   -1.5674    
  29  Normalizat    .77340        .16470        .43263E-01   -1.0106    
  30  Prefactor     1.0265        .16178        .41572E-01   -.91851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60871e-07
Minuit parameter uncertainties:
  1  0.00752349
  2  4.29965
  3  8.36821
  4  7.22557
  5  0.00160251
  6  12.5283
  7  152.565
  8  4.90225
  9  0.00749437
  10  2.31191e-06
  11  0.00675281
  12  1.96261e-06
  13  0.00122976
  14  11.8749
  15  23.9608
  16  0.00203803
  17  7.56166e-06
  18  0.00117007
  19  0.000665296
  20  6.29708
  21  4.02466e-06
  22  2.02004e-06
  23  1.10725e-05
  24  0.00211268
  25  25.2585
  26  3.82178
  27  0.00264416
  28  3.20727
  29  0.164802
  30  0.161856
Done.

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

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  5.103e-07  6.753e-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:  1.026e+00  1.619e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  7.734e-01  1.648e-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: 4.68e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/446400/likelihoodResults_697852801_698112001_4FGL_J2234.2-4156_daily_bin1769.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) = 5839.85161535
delta logL = -0.0214593959217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5839.83015745
delta logL = -1.49306742969e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10481E-04   1.0000          .0000       .10000E+07
     2 'Index     '    .44610       1.0000          .0000       10.000    
     3 'Normalizat'    .77354       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0263       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=   5839.830     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      200 TOTAL
                     EDM=   .16E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        23.785        .10948E-06** at limit **
   2  Index         1.9686        5.6897       -.56779E-05     .0000    
   3  Normalizat    .77340        .18722       -.35971E-05    .28988E-05
   4  Prefactor     1.0265        .18731        .66846E-05    .54293E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.96862
  Normalizat = 0.773401
  Prefactor  = 1.0265
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5839.830     FROM HESSE     STATUS=FAILED        11 CALLS      211 TOTAL
                     EDM=   .16E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        22.584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .41325        1.7820       -.56779E-05   -.65137    
   3  Normalizat    .77340        1.1127       -.35971E-05   -1.0106    
   4  Prefactor     1.0265        1.2253        .66846E-05   -.91851    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.56357e-13
Minuit parameter uncertainties:
  1  2.18871e-05
  2  1.54724
  3  1.14822
  4  1.26133
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/446400': 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): 101
logL (Free Index) = 5839.83015595
delta logL = 1.14187059808e-08

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  2.189e-05  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.969e+00  1.547e+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.026e+00  1.261e+00  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  7.734e-01  1.148e+00  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/446400/cmap_HighResolution_697852801_698112001_4FGL_J2234.2-4156_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.51e-03', job_status='DONE', photon_flux_upper_limit='4.68e-08', time_completed='2023-02-15 01:50:36.706085', job_id='446400', GAL2='1.03', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1676454636.71', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.14e-08', ts2='0.00', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1769' AND source_name='4FGL J2234.2-4156' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:50:36 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 446400: <4FGL_J2234.2-4156_daily_bin1769> in cluster <slac> Done

Job <4FGL_J2234.2-4156_daily_bin1769> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Feb 15 01:35:14 2023
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 01:35:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 01:35:15 2023
Terminated at Wed Feb 15 01:50:37 2023
Results reported at Wed Feb 15 01:50:37 2023

Your job looked like:

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

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

