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


Performing analysis on: 4FGL_J2234.2-4156_daily_bin1696
RA = 338.568, Dec = -41.9411
tmin = 678931201, tmax = 679190401
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='794079', job_status='RUN', time_executed='2022-07-11 00:38:46.901141', time_epoch_executed='1657525126.9' WHERE source_name='4FGL J2234.2-4156' and cadence='daily' and bin_id='1696'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/794079

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/794079/ft1_4FGL_J2234.2-4156_daily_bin1696.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/794079/ft2_4FGL_J2234.2-4156_daily_bin1696.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/794079/ft1_4FGL_J2234.2-4156_daily_bin1696.fits outfile=/scratch/kocevski/794079/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1696.fits ra=338.568 dec=-41.9411 rad=12.0 tmin=678931201.0 tmax=679190401.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.53
user 3.32
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/794079/ft2_4FGL_J2234.2-4156_daily_bin1696.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/794079/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1696.fits evtable="EVENTS" outfile="/scratch/kocevski/794079/ft1_filtered_4FGL_J2234.2-4156_daily_bin1696.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 445

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/794079/ft1_filtered_4FGL_J2234.2-4156_daily_bin1696.fits" evtable="EVENTS" scfile=/scratch/kocevski/794079/ft2_4FGL_J2234.2-4156_daily_bin1696.fits sctable="SC_DATA" outfile=/scratch/kocevski/794079/ltcube_678931201_679190401_4FGL_J2234.2-4156_daily_bin1696.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/794079/ft2_4FGL_J2234.2-4156_daily_bin1696.fits
.....................!
real 12.05
user 11.71
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/794079/ft1_filtered_4FGL_J2234.2-4156_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/794079/ft2_4FGL_J2234.2-4156_daily_bin1696.fits sctable="SC_DATA" expcube=/scratch/kocevski/794079/ltcube_678931201_679190401_4FGL_J2234.2-4156_daily_bin1696.fits outfile=/scratch/kocevski/794079/expmap_678931201_679190401_4FGL_J2234.2-4156_daily_bin1696.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/794079/ltcube_678931201_679190401_4FGL_J2234.2-4156_daily_bin1696.fits
.....................!
real 192.40
user 187.69
sys 4.37

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/794079/ft1_filtered_4FGL_J2234.2-4156_daily_bin1696.fits scfile=/scratch/kocevski/794079/ft2_4FGL_J2234.2-4156_daily_bin1696.fits outfile=/scratch/kocevski/794079/cmap_678931201_679190401_4FGL_J2234.2-4156_daily_bin1696.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/794079/ft1_filtered_4FGL_J2234.2-4156_daily_bin1696.fits scfile=/scratch/kocevski/794079/ft2_4FGL_J2234.2-4156_daily_bin1696.fits outfile=/scratch/kocevski/794079/cmap_HighResolution_678931201_679190401_4FGL_J2234.2-4156_daily_bin1696.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/794079/ft1_filtered_4FGL_J2234.2-4156_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/794079/ft2_4FGL_J2234.2-4156_daily_bin1696.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/794079/Model_4FGL_J2234.2-4156_daily_bin1696.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/794079/ft1_filtered_4FGL_J2234.2-4156_daily_bin1696.fits.....................!
real 40.08
user 38.81
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1259       1.0000         .10000E-03   10000.    
     2 'norm      '    7.0882       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.1911       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .20287       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .21459E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    61.660       1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.9784       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    101.02       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.6913       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.0889       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.7852       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .70818       1.0000         .10000E-03   10000.    
    20 'Prefactor '    25.196       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      '    10.611       1.0000         .10000E-03   10000.    
    24 'norm      '    9.6574       1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    11.975       1.0000         .10000E-03   10000.    
    27 'Prefactor '    4.0542       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    1.4819       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.3143       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .62313       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=   4928.318     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     3924 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0684        4.5759        .29934E-05   -.68995E-03
   2  norm          7.0913        1.6873       -.15937E-05   -.14974E-02
   3  Prefactor     1.1925        1.2893       -.83364E-08   -.32933E-03
   4  Prefactor     .10000E-03    10.659       -.88134E-06** at limit **
   5  Prefactor     .10018E-03    1043.2       -.64151E-04** at limit **
   6  Prefactor     .10000E-03    12.713       -.35392E-06** at limit **
   7  Prefactor     61.608        5.1497       -.31600E-05    .35039E-02
   8  norm          .10000E-03    4.4208       -.47208E-06** at limit **
   9  Prefactor     4.9775        1.6992       -.31191E-05   -.18938E-02
  10  Prefactor     .10000E-03    1.6461       -.39953E-07** at limit **
  11  Prefactor     101.04        2.0223        .70027E-06    .89553E-03
  12  Prefactor     .10000E-03    4.3824        .14855E-06** at limit **
  13  Prefactor     .10000E-03    7.0901       -.89638E-06** at limit **
  14  Prefactor     4.6633        21.225        .61175E-04    .91128E-03
  15  Prefactor     5.0638        11.441        .34175E-04   -.15562E-02
  16  Prefactor     8.7824        2.4848       -.49214E-05    .57293E-03
  17  Prefactor     .10000E-03    55.547       -.67339E-05** at limit **
  18  Prefactor     .10000E-03    21.751       -.22342E-04** at limit **
  19  Prefactor     .70586        1.4149        .27761E-05    .11827E-02
  20  Prefactor     25.195        1.1205        .65503E-06    .35197E-04
  21  Prefactor     .10001E-03    10.072        .68766E-05** at limit **
  22  Prefactor     .10000E-03    6.7931        .83163E-07** at limit **
  23  norm          10.611        1.0483        .12014E-06    .54454E-04
  24  norm          9.6577        2.8324       -.65775E-06    .12299E-02
  25  norm          .10000E-03    1.3954        .75643E-07** at limit **
  26  norm          11.974        1.0858       -.19616E-06   -.55809E-03
  27  Prefactor     4.0525        5.5236       -.60470E-05   -.73030E-03
  28  Prefactor     .10000E-03    17.716        .44264E-05** at limit **
  29  norm          1.4817        2.1895        .11466E-06    .12579E-03
  30  Prefactor     .10005E-03    16.220        .89427E-05** at limit **
  31  norm          .10000E-03    1.3883        .15392E-06** at limit **
  32  Normalizat    1.3144        .21543       -.64673E-05    .44513E-03
  33  Prefactor     .62311        .19450        .45389E-05    .38471E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.06842
  norm       = 7.09128
  Prefactor  = 1.19252
  Prefactor  = 0.0001
  Prefactor  = 0.000100179
  Prefactor  = 0.000100001
  Prefactor  = 61.6075
  norm       = 0.0001
  Prefactor  = 4.97755
  Prefactor  = 0.0001
  Prefactor  = 101.036
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 4.6633
  Prefactor  = 5.06377
  Prefactor  = 8.78244
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.70586
  Prefactor  = 25.1948
  Prefactor  = 0.000100014
  Prefactor  = 0.0001
  norm       = 10.6106
  norm       = 9.65767
  norm       = 0.0001
  norm       = 11.9738
  Prefactor  = 4.05254
  Prefactor  = 0.0001
  norm       = 1.48175
  Prefactor  = 0.000100049
  norm       = 0.0001
  Normalizat = 1.31437
  Prefactor  = 0.623111
 **********
 **   18 **HESSE 
 **********

 FCN=   4928.318     FROM HESSE     STATUS=OK           779 CALLS     4703 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0684        105.96        .40552E-02   -1.5215    
   2  norm          7.0913        6.2789        .37668E-02   -1.5175    
   3  Prefactor     1.1925        16.102        .10433E-01   -1.5490    
   4  Prefactor     .10000E-03    10.556        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10018E-03    31.847        .13293       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.653        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     61.608        105.15        .12775E-02   -1.4137    
   8  norm          .10000E-03    4.4094        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.9775        8.6581        .45060E-02   -1.5262    
  10  Prefactor     .10000E-03    1.6385        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     101.04        66.391        .10000E-02   -1.3694    
  12  Prefactor     .10000E-03    4.3296        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.1027        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.6633        26.586        .46448E-02   -1.5276    
  15  Prefactor     5.0638        40.686        .44558E-02   -1.5258    
  16  Prefactor     8.7824        13.781        .33808E-02   -1.5115    
  17  Prefactor     .10000E-03    55.659        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    22.302        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .70586        5.4313        .82395E-01   -1.5540    
  20  Prefactor     25.195        25.424        .19951E-02   -1.4704    
  21  Prefactor     .10001E-03    24.867        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    6.7857        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          10.611        10.281        .30750E-02   -1.5056    
  24  norm          9.6577        7.5820        .32238E-02   -1.5086    
  25  norm          .10000E-03    1.3955        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          11.974        9.1675        .28941E-02   -1.5016    
  27  Prefactor     4.0525        6.6707        .50063E-02   -1.5305    
  28  Prefactor     .10000E-03    17.737        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          1.4817        2.2228        .88133E-02   -1.5465    
  30  Prefactor     .10005E-03    25.302        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          .10000E-03    1.3863        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.3144        .19146        .49288E-01   -.83138    
  33  Prefactor     .62311        .17217        .62971E-01   -1.0662    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5715e-06
Minuit parameter uncertainties:
  1  50.8198
  2  6.27951
  3  8.76637
  4  1.12875e-05
  5  0.00477776
  6  0.000247952
  7  105.471
  8  2.29933e-05
  9  8.66027
  10  2.55726e-06
  11  66.4394
  12  1.10791e-06
  13  0.000159769
  14  22.2839
  15  28.7337
  16  13.7865
  17  0.000861609
  18  5.77677e-05
  19  3.9162
  20  25.4347
  21  0.00116314
  22  5.108e-05
  23  10.2825
  24  7.58273
  25  4.30806e-06
  26  9.16853
  27  6.67195
  28  0.000156292
  29  2.22289
  30  0.00222646
  31  1.34487e-06
  32  0.191559
  33  0.172319
Done.

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

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  1.010e+02  6.644e+01  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:  6.231e-01  1.723e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  1.314e+00  1.916e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.00
Ra Dec: 338.568 -41.941
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 5.62e-08 +/- 3.70e-08
Energy Flux (Fixed Index): 3.96e-05 +/- 2.61e-05

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) = 4926.83909741
delta logL = 1.47866944629

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4926.81986125
delta logL = 1.49790560625

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.352       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9469       1.0000          .0000       10.000    
     3 'Normalizat'    1.2338       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66820       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=   4926.820     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      290 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.323        182.02        .21671E-02    .98187E-04
   2  Index         2.9478        2.1194        .63507E-01    .44474E-05
   3  Normalizat    1.2327        .94459E-01    .50562E-01   -.38309E-03
   4  Prefactor     .66894        .77310E-01    .60949E-01   -.33138E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.3232
  Index      = 2.94783
  Normalizat = 1.23267
  Prefactor  = 0.668943
 **********
 **   18 **HESSE 
 **********

 FCN=   4926.820     FROM HESSE     STATUS=OK            29 CALLS      319 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.323        66.754        .86682E-04   -1.4784    
   2  Index         2.9478        1.2663        .26186E-02   -.42293    
   3  Normalizat    1.2327        .22666        .22354E-03   -.85599    
   4  Prefactor     .66894        .20304        .26960E-03   -1.0476    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60633e-09
Minuit parameter uncertainties:
  1  66.9894
  2  1.28319
  3  0.226845
  4  0.203265
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/794079': 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) = 4926.81984854
delta logL = 1.49791831776

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  2.132e+01  6.699e+01  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  2.948e+00  1.283e+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:  6.689e-01  2.033e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  1.233e+00  2.268e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.11
Ra Dec: 338.568 -41.941
Photon Index (Free Index): 2.95 +/- 1.28
Photon Flux (Free Index): 1.25e-07 +/- 7.17e-08
Energy Flux (Free Index): 2.57e-05 +/- 1.58e-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/794079/cmap_HighResolution_678931201_679190401_4FGL_J2234.2-4156_daily_bin1696.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.62e-08', energy_flux2='2.57e-05', photon_flux_error='3.70e-08', dlogl='1.50e+00', energy_flux='3.96e-05', photon_flux2='1.25e-07', job_status='DONE', time_completed='2022-07-11 00:49:58.147500', photon_index_error2='1.28', photon_index2='2.95', ts='4.00', fit_tolerance='1e-08', GAL='0.62', photon_index_error='0.00', energy_flux_error2='1.58e-05', EG='1.31', time_epoch_completed='1657525798.15', return_code='0', job_id='794079', GAL2='0.67', EG2='1.23', return_code2='0', energy_flux_error='2.61e-05', photon_flux_error2='7.17e-08', ts2='7.11', photon_index='1.99' WHERE bin_id='1696' AND source_name='4FGL J2234.2-4156' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 11 00:49:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 794079: <4FGL_J2234.2-4156_daily_bin1696> in cluster <slac> Done

Job <4FGL_J2234.2-4156_daily_bin1696> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Jul 11 00:35:23 2022
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 11 00:35:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jul 11 00:35:23 2022
Terminated at Mon Jul 11 00:49:59 2022
Results reported at Mon Jul 11 00:49:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.2-4156_daily_bin1696 338.568 -41.9411 678931201 679190401 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 :                                   674.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             280.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   875 sec.
    Turnaround time :                            876 sec.

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

