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


Performing analysis on: 4FGL_J2234.2-4156_daily_bin1703
RA = 338.568, Dec = -41.9411
tmin = 680745601, tmax = 681004801
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='324165', job_status='RUN', time_executed='2022-08-01 01:25:00.546294', time_epoch_executed='1659342300.55' WHERE source_name='4FGL J2234.2-4156' and cadence='daily' and bin_id='1703'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/324165

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/324165/ft1_4FGL_J2234.2-4156_daily_bin1703.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/324165/ft2_4FGL_J2234.2-4156_daily_bin1703.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/324165/ft1_4FGL_J2234.2-4156_daily_bin1703.fits outfile=/scratch/kocevski/324165/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1703.fits ra=338.568 dec=-41.9411 rad=12.0 tmin=680745601.0 tmax=681004801.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.01
user 2.78
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/324165/ft2_4FGL_J2234.2-4156_daily_bin1703.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/324165/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1703.fits evtable="EVENTS" outfile="/scratch/kocevski/324165/ft1_filtered_4FGL_J2234.2-4156_daily_bin1703.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.53
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 147

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/324165/ft1_filtered_4FGL_J2234.2-4156_daily_bin1703.fits" evtable="EVENTS" scfile=/scratch/kocevski/324165/ft2_4FGL_J2234.2-4156_daily_bin1703.fits sctable="SC_DATA" outfile=/scratch/kocevski/324165/ltcube_680745601_681004801_4FGL_J2234.2-4156_daily_bin1703.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/324165/ft2_4FGL_J2234.2-4156_daily_bin1703.fits
.....................!
real 16.16
user 15.76
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/324165/ft1_filtered_4FGL_J2234.2-4156_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/324165/ft2_4FGL_J2234.2-4156_daily_bin1703.fits sctable="SC_DATA" expcube=/scratch/kocevski/324165/ltcube_680745601_681004801_4FGL_J2234.2-4156_daily_bin1703.fits outfile=/scratch/kocevski/324165/expmap_680745601_681004801_4FGL_J2234.2-4156_daily_bin1703.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/324165/ltcube_680745601_681004801_4FGL_J2234.2-4156_daily_bin1703.fits
.....................!
real 193.63
user 187.26
sys 5.04

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/324165/ft1_filtered_4FGL_J2234.2-4156_daily_bin1703.fits scfile=/scratch/kocevski/324165/ft2_4FGL_J2234.2-4156_daily_bin1703.fits outfile=/scratch/kocevski/324165/cmap_680745601_681004801_4FGL_J2234.2-4156_daily_bin1703.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.56
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/324165/ft1_filtered_4FGL_J2234.2-4156_daily_bin1703.fits scfile=/scratch/kocevski/324165/ft2_4FGL_J2234.2-4156_daily_bin1703.fits outfile=/scratch/kocevski/324165/cmap_HighResolution_680745601_681004801_4FGL_J2234.2-4156_daily_bin1703.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/324165/ft1_filtered_4FGL_J2234.2-4156_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/324165/ft2_4FGL_J2234.2-4156_daily_bin1703.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/324165/Model_4FGL_J2234.2-4156_daily_bin1703.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/324165/ft1_filtered_4FGL_J2234.2-4156_daily_bin1703.fits.....................!
real 23.14
user 21.81
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/324165/ft1_filtered_4FGL_J2234.2-4156_daily_bin1703.fits', '/scratch/kocevski/324165/ft2_4FGL_J2234.2-4156_daily_bin1703.fits', expMap='/scratch/kocevski/324165/expmap_680745601_681004801_4FGL_J2234.2-4156_daily_bin1703.fits', expCube='/scratch/kocevski/324165/ltcube_680745601_681004801_4FGL_J2234.2-4156_daily_bin1703.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/324165/Model_4FGL_J2234.2-4156_daily_bin1703.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  1.000e-04  1.000e+04 ( 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/324165/ft1_filtered_4FGL_J2234.2-4156_daily_bin1703.fits
Spacecraft file(s): /scratch/kocevski/324165/ft2_4FGL_J2234.2-4156_daily_bin1703.fits
Exposure map: /scratch/kocevski/324165/expmap_680745601_681004801_4FGL_J2234.2-4156_daily_bin1703.fits
Exposure cube: /scratch/kocevski/324165/ltcube_680745601_681004801_4FGL_J2234.2-4156_daily_bin1703.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/324165/Model_4FGL_J2234.2-4156_daily_bin1703.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) = 1707.09165539

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13539E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    39.830       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10724E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.491       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10416E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.177       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10824E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    103.23       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    10.526       1.0000         .10000E-03   10000.    
    27 'Prefactor '    15.343       1.0000         .10000E-03   10000.    
    28 'Prefactor '    13.300       1.0000         .10000E-03   10000.    
    29 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    5.4721       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .82511       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .87775       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1707.071     FROM MIGRAD    STATUS=CONVERGED    874 CALLS     4514 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7094.0       -.17373E-02** at limit **
   2  norm          .10000E-03    32.658       -.21440E-04** at limit **
   3  Prefactor     .10000E-03    63.900       -.28840E-04** at limit **
   4  Prefactor     .10000E-03    40.966        .23117E-04** at limit **
   5  Prefactor     .10000E-03    131.48        .29852E-04** at limit **
   6  Prefactor     39.814        39.000        .18317E-06    .83678E-05
   7  Prefactor     .10000E-03    287.62       -.79550E-04** at limit **
   8  norm          .10000E-03    6.2050        .25304E-06** at limit **
   9  Prefactor     .10000E-03    34.031       -.16570E-04** at limit **
  10  Prefactor     10.489        11.975        .57901E-06   -.96389E-04
  11  Prefactor     .10000E-03    290.28       -.87084E-04** at limit **
  12  Prefactor     .10000E-03    19.701       -.15257E-05** at limit **
  13  Prefactor     17.219        76.810        .57156E-04   -.36316E-04
  14  Prefactor     .10004E-03    200.39        .56862E-04** at limit **
  15  Prefactor     .10000E-03    51.122        .24533E-04** at limit **
  16  Prefactor     .10000E-03    12.569        .34801E-06** at limit **
  17  Prefactor     .10000E-03    149.83        .58524E-04** at limit **
  18  Prefactor     .10000E-03    26.366        .13860E-04** at limit **
  19  Prefactor     .10000E-03    50.028        .20916E-04** at limit **
  20  Prefactor     103.22        92.535       -.56243E-05   -.44532E-04
  21  Prefactor     .10000E-03    71.029       -.52270E-04** at limit **
  22  Prefactor     .10000E-03    5.6472        .29107E-07** at limit **
  23  norm          .10000E-03    11.456       -.88276E-07** at limit **
  24  norm          .10000E-03    4.5040       -.11197E-07** at limit **
  25  norm          .10000E-03    3.3006       -.22008E-07** at limit **
  26  norm          10.527        14.817       -.41539E-06   -.76598E-03
  27  Prefactor     15.344        9.0448        .11051E-05   -.32510E-04
  28  Prefactor     13.316        47.355        .12636E-04   -.24237E-04
  29  norm          .10000E-03    3.5991       -.11884E-06** at limit **
  30  Prefactor     .10000E-03    6.2413       -.23553E-06** at limit **
  31  norm          5.4724        5.9968       -.59808E-06   -.86667E-04
  32  Normalizat    .82453        .35584       -.99057E-05   -.11210E-03
  33  Prefactor     .87826        .33725       -.26442E-06   -.19520E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.8137
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 10.4889
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 17.219
  Prefactor  = 0.000100037
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 103.222
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 10.5272
  Prefactor  = 15.3436
  Prefactor  = 13.3158
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.47235
  Normalizat = 0.824528
  Prefactor  = 0.878262
 **********
 **   18 **HESSE 
 **********

 FCN=   1707.071     FROM HESSE     STATUS=OK           671 CALLS     5185 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7094.2        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    32.665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    63.903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    40.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    131.56        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     39.814        39.017        .63512E-04   -1.4445    
   7  Prefactor     .10000E-03    287.62        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    6.2052        .10053E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    34.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.489        12.011        .12370E-03   -1.5060    
  11  Prefactor     .10000E-03    290.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    19.917        .17891E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.219        77.062        .96636E-04   -1.4878    
  14  Prefactor     .10004E-03    200.86        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    51.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.621        .14307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    149.96        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    26.487        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    52.092        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     103.22        92.568        .39574E-04   -1.3672    
  21  Prefactor     .10000E-03    71.068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    5.6491        .95904E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    11.490        .13660E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    4.5140        .85622E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    3.3078        .73280E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          10.527        14.827        .61748E-03   -1.5059    
  27  Prefactor     15.344        9.0417        .92162E-04   -1.4924    
  28  Prefactor     13.316        47.505        .10983E-03   -1.4978    
  29  norm          .10000E-03    3.6058        .76271E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    6.2468        .10082E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          5.4724        5.9752        .97271E-04   -1.5240    
  32  Normalizat    .82453        .42417        .25546E-03   -.99165    
  33  Prefactor     .87826        .40065        .25102E-03   -.96905    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75014e-09
Minuit parameter uncertainties:
  1  0.000693508
  2  2.53195e-05
  3  1.35497e-05
  4  9.78371e-06
  5  9.52835e-05
  6  39.0419
  7  0.000223811
  8  3.0027e-06
  9  0.000687369
  10  12.0137
  11  0.000562489
  12  0.000256387
  13  73.0111
  14  0.00550321
  15  0.00027194
  16  5.11861e-05
  17  0.000239313
  18  0.000207426
  19  0.000456006
  20  92.6977
  21  0.000140916
  22  8.52108e-06
  23  2.70741e-05
  24  3.75612e-06
  25  9.35492e-06
  26  14.8322
  27  9.04254
  28  47.6407
  29  2.53951e-05
  30  5.86335e-06
  31  5.9758
  32  0.42589
  33  0.402
Done.

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

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  5.625e-04  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.992e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  2.380e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  8.783e-01  4.020e-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.245e-01  4.259e-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: 1.88e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.41e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/324165/likelihoodResults_680745601_681004801_4FGL_J2234.2-4156_daily_bin1703.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) = 1707.07098877
delta logL = -1.62265478139e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1707.07097259
delta logL = -3.89952674595e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9681       1.0000          .0000       10.000    
     3 'Normalizat'    .82453       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87827       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1705.814     FROM MIGRAD    STATUS=CONVERGED    149 CALLS      330 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0017        34.734        .92961E-02   -.11694E-02
   2  Index         4.0388        2.6624        .47607E-01   -.21871E-03
   3  Normalizat    .59589        .11622        .25546E-02    .31982E-03
   4  Prefactor     1.0133        .11617        .25102E-02    .41844E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.00171
  Index      = 4.03885
  Normalizat = 0.595895
  Prefactor  = 1.01327
 **********
 **   18 **HESSE 
 **********

 FCN=   1705.814     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      359 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0017        51.207        .41428E-04   -1.5425    
   2  Index         4.0388        3.3136        .20111E-02   -.19343    
   3  Normalizat    .59589        .39028        .10218E-03   -1.0816    
   4  Prefactor     1.0133        .38897        .10041E-03   -.92288    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.45263e-09
Minuit parameter uncertainties:
  1  20.2675
  2  3.63782
  3  0.392099
  4  0.39006
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/324165': 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) = 1705.81439181
delta logL = 1.25658073771

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  2.002e+00  2.027e+01  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  4.039e+00  3.638e+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  3.901e-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:  5.959e-01  3.921e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.89
Ra Dec: 338.568 -41.941
Photon Index (Free Index): 4.04 +/- 3.64
Photon Flux (Free Index): 2.40e-07 +/- 1.93e-07
Energy Flux (Free Index): 3.57e-05 +/- 3.02e-05

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/324165/cmap_HighResolution_680745601_681004801_4FGL_J2234.2-4156_daily_bin1703.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.41e-02', comment='SUCCESS', energy_flux2='3.57e-05', dlogl='1.26e+00', photon_flux2='2.40e-07', job_status='DONE', time_completed='2022-08-01 01:33:12.924560', photon_index_error2='3.64', photon_index2='4.04', ts='-0.00', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.88e-07', energy_flux_error2='3.02e-05', EG='0.82', time_epoch_completed='1659342792.92', return_code='0', job_id='324165', GAL2='1.01', EG2='0.60', return_code2='102', photon_flux_error2='1.93e-07', ts2='2.89', photon_index='1.99' WHERE bin_id='1703' AND source_name='4FGL J2234.2-4156' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug  1 01:33:12 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 324165: <4FGL_J2234.2-4156_daily_bin1703> in cluster <slac> Done

Job <4FGL_J2234.2-4156_daily_bin1703> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Aug  1 01:20:22 2022
Job was executed on host(s) <bullet0162>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug  1 01:22:00 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug  1 01:22:00 2022
Terminated at Mon Aug  1 01:33:13 2022
Results reported at Mon Aug  1 01:33:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.2-4156_daily_bin1703 338.568 -41.9411 680745601 681004801 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 :                                   491.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             247.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   673 sec.
    Turnaround time :                            771 sec.

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

