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


Performing analysis on: 4FGL_J2234.2-4156_daily_bin1721
RA = 338.568, Dec = -41.9411
tmin = 685411201, tmax = 685670401
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='70670', job_status='RUN', time_executed='2022-09-24 01:13:17.766516', time_epoch_executed='1664007197.77' WHERE source_name='4FGL J2234.2-4156' and cadence='daily' and bin_id='1721'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/70670

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/70670/ft1_4FGL_J2234.2-4156_daily_bin1721.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/70670/ft2_4FGL_J2234.2-4156_daily_bin1721.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/70670/ft1_4FGL_J2234.2-4156_daily_bin1721.fits outfile=/scratch/kocevski/70670/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1721.fits ra=338.568 dec=-41.9411 rad=12.0 tmin=685411201.0 tmax=685670401.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.27
user 4.94
sys 0.27

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

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

Number of photons that the gtmktime cut: 630

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/70670/ft1_filtered_4FGL_J2234.2-4156_daily_bin1721.fits" evtable="EVENTS" scfile=/scratch/kocevski/70670/ft2_4FGL_J2234.2-4156_daily_bin1721.fits sctable="SC_DATA" outfile=/scratch/kocevski/70670/ltcube_685411201_685670401_4FGL_J2234.2-4156_daily_bin1721.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/70670/ft2_4FGL_J2234.2-4156_daily_bin1721.fits
.....................!
real 14.35
user 13.89
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/70670/ft1_filtered_4FGL_J2234.2-4156_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/70670/ft2_4FGL_J2234.2-4156_daily_bin1721.fits sctable="SC_DATA" expcube=/scratch/kocevski/70670/ltcube_685411201_685670401_4FGL_J2234.2-4156_daily_bin1721.fits outfile=/scratch/kocevski/70670/expmap_685411201_685670401_4FGL_J2234.2-4156_daily_bin1721.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/70670/ltcube_685411201_685670401_4FGL_J2234.2-4156_daily_bin1721.fits
.....................!
real 194.08
user 187.53
sys 4.62

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/70670/ft1_filtered_4FGL_J2234.2-4156_daily_bin1721.fits scfile=/scratch/kocevski/70670/ft2_4FGL_J2234.2-4156_daily_bin1721.fits outfile=/scratch/kocevski/70670/cmap_685411201_685670401_4FGL_J2234.2-4156_daily_bin1721.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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/70670/ft1_filtered_4FGL_J2234.2-4156_daily_bin1721.fits scfile=/scratch/kocevski/70670/ft2_4FGL_J2234.2-4156_daily_bin1721.fits outfile=/scratch/kocevski/70670/cmap_HighResolution_685411201_685670401_4FGL_J2234.2-4156_daily_bin1721.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.56
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .70983E-04   1.0000          .0000       .10000E+07
     2 'norm      '    11.734       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.3906       1.0000          .0000       .10000E+07
     4 'Prefactor '    .39397E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    23.235       1.0000          .0000       .10000E+07
     6 'Prefactor '    .21120E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .85250E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .44797E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .19551E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12283E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .25045E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.9994       1.0000          .0000       .10000E+07
    13 'Prefactor '    10.194       1.0000          .0000       .10000E+07
    14 'Prefactor '    4.5414       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.9269       1.0000          .0000       .10000E+07
    16 'Prefactor '    29.708       1.0000          .0000       .10000E+07
    17 'Prefactor '    3.9524       1.0000          .0000       .10000E+07
    18 'Prefactor '    18.989       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.5199       1.0000          .0000       .10000E+07
    20 'norm      '    2.9886       1.0000          .0000       .10000E+07
    21 'norm      '    .39926E-04   1.0000          .0000       .10000E+07
    22 'norm      '    1.1258       1.0000          .0000       .10000E+07
    23 'norm      '    .13666E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    8.8246       1.0000          .0000       .10000E+07
    25 'Prefactor '    .88403E-03   1.0000          .0000       .10000E+07
    26 'norm      '    .15570E-04   1.0000          .0000       .10000E+07
    27 'Prefactor '    6.0809       1.0000          .0000       .10000E+07
    28 'norm      '    .81925       1.0000          .0000       .10000E+07
    29 'Normalizat'    .85039       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .74418       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=   6869.719     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     2198 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .34417E-07    7.1444       -.49097E-06** at limit **
   2  norm          11.732        4.1483       -.23732E-07   -.16641E-02
   3  Prefactor     2.3914        3.3834        .20781E-06    .33271E-03
   4  Prefactor     .55511E-10    1.3794        .10256E-06** at limit **
   5  Prefactor     23.139        5.0694        .94565E-07    .17581E-01
   6  Prefactor     .27756E-09    3.6312       -.43411E-07** at limit **
   7  Prefactor     .80164E-06    45.927        .94221E-06** at limit **
   8  norm           .0000        2.0764        .70651E-06** at limit **
   9  Prefactor      .0000        1.5751        .19363E-06** at limit **
  10  Prefactor      .0000        1.2399       -.19668E-06** at limit **
  11  Prefactor     .11935E-07    91.743       -.17466E-05** at limit **
  12  Prefactor     4.0137        4.2136       -.12151E-06   -.28641E-02
  13  Prefactor     10.181        2.7006       -.50077E-07   -.49981E-01
  14  Prefactor     4.5360        2.1328        .14570E-07   -.76993E-02
  15  Prefactor     9.6982        19.974        .20037E-06    .20307E-01
  16  Prefactor     29.638        6.1090       -.65074E-07   -.20766    
  17  Prefactor     3.9359        4.1608       -.10584E-07   -.55059E-03
  18  Prefactor     19.195        24.562       -.53116E-06    .46789E-01
  19  Prefactor     4.5137        1.0971       -.19777E-07   -.10323E-01
  20  norm          2.9805        1.5639        .40185E-07    .47707E-02
  21  norm           .0000        1.2939        .41098E-07** at limit **
  22  norm          1.1244        2.4663       -.31377E-06   -.90997E-03
  23  norm           .0000        2.8232        .25621E-06** at limit **
  24  Prefactor     8.9052        5.1550        .17929E-07   -.38774E-02
  25  Prefactor     .20539E-07    7.5208        .38128E-07** at limit **
  26  norm          .11102E-09    .52097       -.94495E-07** at limit **
  27  Prefactor     6.1034        1.7781        .30518E-07    .71842E-02
  28  norm          .81886        1.9615       -.25824E-07   -.46894E-03
  29  Normalizat    .85079        .16469        .62579E-05    .43364E-04
  30  Prefactor     .74396        .15426       -.41428E-05    .19016E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.44169e-08
  norm       = 11.7316
  Prefactor  = 2.39145
  Prefactor  = 5.55112e-11
  Prefactor  = 23.1391
  Prefactor  = 2.77556e-10
  Prefactor  = 8.01637e-07
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.19349e-08
  Prefactor  = 4.01373
  Prefactor  = 10.1813
  Prefactor  = 4.53598
  Prefactor  = 9.69815
  Prefactor  = 29.6383
  Prefactor  = 3.93593
  Prefactor  = 19.1947
  Prefactor  = 4.51367
  norm       = 2.98047
  norm       = 0
  norm       = 1.12445
  norm       = 0
  Prefactor  = 8.90519
  Prefactor  = 2.05391e-08
  norm       = 1.11022e-10
  Prefactor  = 6.10335
  norm       = 0.818862
  Normalizat = 0.85079
  Prefactor  = 0.743965
 **********
 **   18 **HESSE 
 **********

 FCN=   6869.719     FROM HESSE     STATUS=OK           650 CALLS     2848 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .34417E-07    7.2578        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          11.732        4.1487        .29219E-03   -1.5639    
   3  Prefactor     2.3914        3.3970        .66212E-03   -1.5677    
   4  Prefactor     .55511E-10    1.4344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     23.139        23.823        .20751E-03   -1.5612    
   6  Prefactor     .27756E-09    3.6258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .80164E-06    48.938        .14344E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.0763        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.5920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.4585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11935E-07    91.630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.0137        4.2731        .50406E-03   -1.5668    
  13  Prefactor     10.181        11.367        .31358E-03   -1.5644    
  14  Prefactor     4.5360        14.283        .47216E-03   -1.5665    
  15  Prefactor     9.6982        20.259        .31780E-03   -1.5646    
  16  Prefactor     29.638        10.928        .18350E-03   -1.5599    
  17  Prefactor     3.9359        4.1722        .50715E-03   -1.5668    
  18  Prefactor     19.195        28.727        .22956E-03   -1.5620    
  19  Prefactor     4.5137        9.0280        .47331E-03   -1.5665    
  20  norm          2.9805        9.6704        .58697E-03   -1.5673    
  21  norm           .0000        1.4610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.1244        3.0368        .43875E-02   -1.5687    
  23  norm           .0000        2.8242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     8.9052        6.0635        .33718E-03   -1.5648    
  25  Prefactor     .20539E-07    7.6074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .11102E-09    1.4999        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     6.1034        12.238        .40691E-03   -1.5659    
  28  norm          .81886        1.9807        .51511E-03   -1.5690    
  29  Normalizat    .85079        .14132        .44264E-01   -.98212    
  30  Prefactor     .74396        .13129        .42986E-01   -1.0183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48735e-07
Minuit parameter uncertainties:
  1  0.000999332
  2  4.14873
  3  3.39698
  4  1.79675e-05
  5  23.8228
  6  6.33794e-05
  7  0.0125271
  8  6.41256e-06
  9  1.23936e-06
  10  2.29442e-06
  11  0.00209041
  12  4.27313
  13  11.3671
  14  14.2836
  15  20.2591
  16  10.928
  17  4.17224
  18  28.7277
  19  9.02808
  20  9.67049
  21  6.78243e-06
  22  3.03676
  23  8.50231e-06
  24  6.06347
  25  0.000790092
  26  2.38981e-05
  27  12.2385
  28  1.98068
  29  0.141381
  30  0.131343
Done.

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

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  1.193e-08  2.090e-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:  7.440e-01  1.313e-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.508e-01  1.414e-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.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/70670/likelihoodResults_685411201_685670401_4FGL_J2234.2-4156_daily_bin1721.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) = 6869.72513698
delta logL = -0.00564297787969

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6868.48417546
delta logL = 1.23531854537

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42833E-02   1.0000          .0000       .10000E+07
     2 'Index     '    5.6094       1.0000          .0000       10.000    
     3 'Normalizat'    .77667       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78882       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=   6869.719     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      351 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .36804E-07    33.387        .42118E-03** at limit **
   2  Index         1.6050        7.5681        .50000        .34333E-08
   3  Normalizat    .85079        .15774        .43305E-01   -.54485E-03
   4  Prefactor     .74397        .15205        .43572E-01    .79908E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.68039e-08
  Index      = 1.60502
  Normalizat = 0.850788
  Prefactor  = 0.743968
 **********
 **   18 **HESSE 
 **********

 FCN=   6869.719     FROM HESSE     STATUS=OK            29 CALLS      380 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .36804E-07    27.689        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6050        7.3332        .50000       -46.377    
   3  Normalizat    .85079        .15687        .22005E-03   -2.1595    
   4  Prefactor     .74397        .15121        .22419E-03   -1.0183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91127e-09
Minuit parameter uncertainties:
  1  0.00201918
  2  3.68356
  3  0.156951
  4  0.151289
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/70670': 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) = 6869.719494
delta logL = -8.84938344825e-10

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  3.680e-08  2.019e-03  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.605e+00  3.684e+00  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  2.380e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  7.440e-01  1.513e-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.508e-01  1.570e-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 -9.398e-02 [aplpy.core]
INFO: Auto-setting vmax to  1.043e+00 [aplpy.core]
Saving /scratch/kocevski/70670/cmap_HighResolution_685411201_685670401_4FGL_J2234.2-4156_daily_bin1721.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.20e-03', job_status='DONE', photon_flux_upper_limit='4.26e-08', time_completed='2022-09-24 01:25:38.581464', job_id='70670', GAL2='0.74', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1664007938.58', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='-8.85e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1721' AND source_name='4FGL J2234.2-4156' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 24 01:25:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 70670: <4FGL_J2234.2-4156_daily_bin1721> in cluster <slac> Done

Job <4FGL_J2234.2-4156_daily_bin1721> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Sep 24 01:10:38 2022
Job was executed on host(s) <bullet0174>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 24 01:13:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 24 01:13:01 2022
Terminated at Sat Sep 24 01:25:39 2022
Results reported at Sat Sep 24 01:25:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.2-4156_daily_bin1721 338.568 -41.9411 685411201 685670401 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 :                                   736.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             323.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   757 sec.
    Turnaround time :                            901 sec.

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

