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 159 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin1666
RA = 338.543, Dec = -26.9375
tmin = 671155201, tmax = 671414401
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='414503', job_status='RUN', time_executed='2022-04-12 00:38:25.965678', time_epoch_executed='1649749105.97' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='1666'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/414503

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/414503/ft1_4FGL_J2234.1-2656_daily_bin1666.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/414503/ft2_4FGL_J2234.1-2656_daily_bin1666.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/414503/ft1_4FGL_J2234.1-2656_daily_bin1666.fits outfile=/scratch/kocevski/414503/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin1666.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=671155201.0 tmax=671414401.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 5.29
user 4.99
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/414503/ft2_4FGL_J2234.1-2656_daily_bin1666.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/414503/ft2_4FGL_J2234.1-2656_daily_bin1666.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/414503/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin1666.fits evtable="EVENTS" outfile="/scratch/kocevski/414503/ft1_filtered_4FGL_J2234.1-2656_daily_bin1666.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.14

Number of photons that the gtmktime cut: 744

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/414503/ft1_filtered_4FGL_J2234.1-2656_daily_bin1666.fits" evtable="EVENTS" scfile=/scratch/kocevski/414503/ft2_4FGL_J2234.1-2656_daily_bin1666.fits sctable="SC_DATA" outfile=/scratch/kocevski/414503/ltcube_671155201_671414401_4FGL_J2234.1-2656_daily_bin1666.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/414503/ft2_4FGL_J2234.1-2656_daily_bin1666.fits
.....................!
real 11.84
user 11.51
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/414503/ft1_filtered_4FGL_J2234.1-2656_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414503/ft2_4FGL_J2234.1-2656_daily_bin1666.fits sctable="SC_DATA" expcube=/scratch/kocevski/414503/ltcube_671155201_671414401_4FGL_J2234.1-2656_daily_bin1666.fits outfile=/scratch/kocevski/414503/expmap_671155201_671414401_4FGL_J2234.1-2656_daily_bin1666.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/414503/ltcube_671155201_671414401_4FGL_J2234.1-2656_daily_bin1666.fits
.....................!
real 189.55
user 185.23
sys 4.02

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 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2234.1-2656 @ 338.543 -26.9375

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/414503/ft1_filtered_4FGL_J2234.1-2656_daily_bin1666.fits scfile=/scratch/kocevski/414503/ft2_4FGL_J2234.1-2656_daily_bin1666.fits outfile=/scratch/kocevski/414503/cmap_671155201_671414401_4FGL_J2234.1-2656_daily_bin1666.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.543 yref=-26.9375 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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/414503/ft1_filtered_4FGL_J2234.1-2656_daily_bin1666.fits scfile=/scratch/kocevski/414503/ft2_4FGL_J2234.1-2656_daily_bin1666.fits outfile=/scratch/kocevski/414503/cmap_HighResolution_671155201_671414401_4FGL_J2234.1-2656_daily_bin1666.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.543 yref=-26.9375 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.56
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/414503/ft1_filtered_4FGL_J2234.1-2656_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414503/ft2_4FGL_J2234.1-2656_daily_bin1666.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/414503/Model_4FGL_J2234.1-2656_daily_bin1666.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/414503/ft1_filtered_4FGL_J2234.1-2656_daily_bin1666.fits.....................!
real 60.77
user 59.55
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/414503/ft1_filtered_4FGL_J2234.1-2656_daily_bin1666.fits', '/scratch/kocevski/414503/ft2_4FGL_J2234.1-2656_daily_bin1666.fits', expMap='/scratch/kocevski/414503/expmap_671155201_671414401_4FGL_J2234.1-2656_daily_bin1666.fits', expCube='/scratch/kocevski/414503/ltcube_671155201_671414401_4FGL_J2234.1-2656_daily_bin1666.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/414503/Model_4FGL_J2234.1-2656_daily_bin1666.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2234.1-2656'

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  9.136e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.955e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
240         beta:  7.158e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
241           Eb:  1.166e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/414503/ft1_filtered_4FGL_J2234.1-2656_daily_bin1666.fits
Spacecraft file(s): /scratch/kocevski/414503/ft2_4FGL_J2234.1-2656_daily_bin1666.fits
Exposure map: /scratch/kocevski/414503/expmap_671155201_671414401_4FGL_J2234.1-2656_daily_bin1666.fits
Exposure cube: /scratch/kocevski/414503/ltcube_671155201_671414401_4FGL_J2234.1-2656_daily_bin1666.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/414503/Model_4FGL_J2234.1-2656_daily_bin1666.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) = 8116.91561449

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0853       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10429E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .73240       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    91.732       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.0187       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.677       1.0000         .10000E-03   10000.    
    13 'norm      '    .46542       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.4661       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    23.204       1.0000         .10000E-03   10000.    
    18 'Prefactor '    23.456       1.0000         .10000E-03   10000.    
    19 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.2623       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .75449       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1273       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5320E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8116.913     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2525 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0820        2.3550        .46732E-07   -.76718E-03
   2  Prefactor     .10000E-03    5.6683       -.15308E-07** at limit **
   3  Prefactor     .10000E-03    51.878       -.31104E-05** at limit **
   4  norm          .10000E-03    1.3364        .19068E-06** at limit **
   5  norm          .73240        .26046       -.66608E-07    .30469E-03
   6  Prefactor     .10000E-03    7.5949        .15057E-05** at limit **
   7  Prefactor     .10000E-03    6.0692       -.10176E-05** at limit **
   8  Prefactor     .10000E-03    1.7929        .90598E-07** at limit **
   9  Prefactor     91.729        56.468       -.17996E-05    .28834E-04
  10  norm          .10000E-03    7.8847       -.10990E-05** at limit **
  11  Prefactor     8.0191        8.1992       -.63078E-07   -.51671E-06
  12  Prefactor     14.677        10.332        .22511E-06   -.19010E-04
  13  norm          .46601        1.1453        .18359E-06    .22509E-03
  14  Prefactor     .10000E-03    11.818       -.58923E-05** at limit **
  15  Prefactor     4.4657        9.0227        .84570E-06   -.80494E-04
  16  norm          .10000E-03    1.2166        .29728E-06** at limit **
  17  Prefactor     23.205        17.976        .31250E-07   -.38759E-03
  18  Prefactor     23.454        10.974       -.12840E-05   -.94495E-03
  19  norm          .10000E-03    .38605        .32170E-06** at limit **
  20  Prefactor     .10000E-03    12.072        .40735E-05** at limit **
  21  Prefactor     3.2632        7.5640        .19926E-05   -.23848E-03
  22  Normalizat    .75447        .16064        .49687E-06   -.16810E-03
  23  Prefactor     1.1273        .14466       -.42198E-06   -.12050E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.08201
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.732399
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 91.7295
  norm       = 0.0001
  Prefactor  = 8.01906
  Prefactor  = 14.677
  norm       = 0.466014
  Prefactor  = 0.0001
  Prefactor  = 4.46573
  norm       = 0.0001
  Prefactor  = 23.2049
  Prefactor  = 23.4537
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.26319
  Normalizat = 0.754466
  Prefactor  = 1.12734
 **********
 **   18 **HESSE 
 **********

 FCN=   8116.913     FROM HESSE     STATUS=OK           368 CALLS     2893 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0820        11.046        .14296E-02   -1.5419    
   2  Prefactor     .10000E-03    5.6823        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    52.082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.3658        .10159E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .73240        .25997        .26502E-04   -1.5537    
   6  Prefactor     .10000E-03    7.7087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.0708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.8153        .11778E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     91.729        56.356        .41957E-04   -1.3790    
  10  norm          .10000E-03    7.9009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.0191        8.2016        .14159E-03   -1.5142    
  12  Prefactor     14.677        10.341        .10455E-03   -1.4942    
  13  norm          .46601        .95870        .14673E-02   -1.5571    
  14  Prefactor     .10000E-03    11.452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.4657        9.0443        .19053E-03   -1.5285    
  16  norm          .10000E-03    1.2288        .97062E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     23.205        18.076        .83155E-04   -1.4744    
  18  Prefactor     23.454        10.771        .82707E-04   -1.4739    
  19  norm          .10000E-03    .86166        .96635E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    11.910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.2632        7.4390        .22422E-03   -1.5347    
  22  Normalizat    .75447        .18796        .27090E-03   -1.0178    
  23  Prefactor     1.1273        .17040        .21319E-03   -.88597    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03847e-09
Minuit parameter uncertainties:
  1  9.59391
  2  3.04413e-06
  3  0.000165974
  4  1.26849e-06
  5  0.259975
  6  2.8844e-05
  7  1.50171e-05
  8  1.11192e-06
  9  56.3887
  10  2.09726e-05
  11  8.20277
  12  10.3427
  13  0.958735
  14  0.000120344
  15  9.04707
  16  4.11911e-06
  17  18.0803
  18  10.7722
  19  2.14086e-05
  20  8.12267e-05
  21  7.44115
  22  0.188125
  23  0.170485
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.000e-04  2.097e-05  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.955e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
240         beta:  7.158e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
241           Eb:  1.166e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.127e+00  1.705e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  7.545e-01  1.881e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 338.543 -26.938
Photon Flux Upper Limit: 3.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.15e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/414503/likelihoodResults_671155201_671414401_4FGL_J2234.1-2656_daily_bin1666.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) = 8116.91377364
delta logL = -0.000602750842518

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8116.91317117
delta logL = -2.85283022095e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9538       1.0000          .0000       5.0000    
     3 'Normalizat'    .75460       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1272       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5320E+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=   8116.913     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      221 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    1338.6        .18142E-02** at limit **
   2  alpha         1.9453        2.8122        .16987        .25432E-06
   3  Normalizat    .75447        .68453E-01    .27090E-03    .16787E-06
   4  Prefactor     1.1273        .64980E-01    .21319E-03    .15998E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100006
  alpha      = 1.94528
  Normalizat = 0.754467
  Prefactor  = 1.12734
 **********
 **   18 **HESSE 
 **********

 FCN=   8116.913     FROM HESSE     STATUS=OK            23 CALLS      244 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    7.9113        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9453        3.4408        .67947E-02   -.22375    
   3  Normalizat    .75447        .17515        .10836E-04   -1.0178    
   4  Prefactor     1.1273        .16629        .85278E-05   -.88597    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73943e-09
Minuit parameter uncertainties:
  1  0.000442201
  2  304.419
  3  0.175277
  4  0.166371
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/414503': 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) = 8116.91317088
delta logL = 1.079570211e-09

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.000e-04  4.422e-04  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.945e+00  3.044e+02  0.000e+00  5.000e+00 ( 1.000e+00)
240         beta:  7.158e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
241           Eb:  1.166e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.127e+00  1.664e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  7.545e-01  1.753e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 338.543 -26.938

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/414503/cmap_HighResolution_671155201_671414401_4FGL_J2234.1-2656_daily_bin1666.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.15e-05', job_status='DONE', photon_flux_upper_limit='3.09e-08', time_completed='2022-04-12 00:50:28.713634', job_id='414503', GAL2='1.13', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1649749828.71', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='1.08e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1666' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Apr 12 00:50:28 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 414503: <4FGL_J2234.1-2656_daily_bin1666> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin1666> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 12 00:35:38 2022
Job was executed on host(s) <bullet0199>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 12 00:35:39 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 12 00:35:39 2022
Terminated at Tue Apr 12 00:50:29 2022
Results reported at Tue Apr 12 00:50:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin1666 338.543 -26.9375 671155201 671414401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2234.1-2656 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   725.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            891 sec.

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

