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


Performing analysis on: 4FGL_J2234.2-4156_daily_bin1762
RA = 338.568, Dec = -41.9411
tmin = 696038401, tmax = 696297601
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='121959', job_status='RUN', time_executed='2023-01-25 01:43:19.003500', time_epoch_executed='1674639799.0' WHERE source_name='4FGL J2234.2-4156' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/121959

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/121959/ft1_4FGL_J2234.2-4156_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/121959/ft2_4FGL_J2234.2-4156_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/121959/ft1_4FGL_J2234.2-4156_daily_bin1762.fits outfile=/scratch/kocevski/121959/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1762.fits ra=338.568 dec=-41.9411 rad=12.0 tmin=696038401.0 tmax=696297601.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.68
user 3.45
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/121959/ft2_4FGL_J2234.2-4156_daily_bin1762.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/121959/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/121959/ft1_filtered_4FGL_J2234.2-4156_daily_bin1762.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.54
user 0.32
sys 0.18

Number of photons that the gtmktime cut: 421

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/121959/ft1_filtered_4FGL_J2234.2-4156_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/121959/ft2_4FGL_J2234.2-4156_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/121959/ltcube_696038401_696297601_4FGL_J2234.2-4156_daily_bin1762.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/121959/ft2_4FGL_J2234.2-4156_daily_bin1762.fits
.....................!
real 14.38
user 13.98
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/121959/ft1_filtered_4FGL_J2234.2-4156_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/121959/ft2_4FGL_J2234.2-4156_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/121959/ltcube_696038401_696297601_4FGL_J2234.2-4156_daily_bin1762.fits outfile=/scratch/kocevski/121959/expmap_696038401_696297601_4FGL_J2234.2-4156_daily_bin1762.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/121959/ltcube_696038401_696297601_4FGL_J2234.2-4156_daily_bin1762.fits
.....................!
real 193.77
user 188.14
sys 5.22

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/121959/ft1_filtered_4FGL_J2234.2-4156_daily_bin1762.fits scfile=/scratch/kocevski/121959/ft2_4FGL_J2234.2-4156_daily_bin1762.fits outfile=/scratch/kocevski/121959/cmap_696038401_696297601_4FGL_J2234.2-4156_daily_bin1762.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.57
user 0.39
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/121959/ft1_filtered_4FGL_J2234.2-4156_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/121959/ft2_4FGL_J2234.2-4156_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/121959/Model_4FGL_J2234.2-4156_daily_bin1762.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/121959/ft1_filtered_4FGL_J2234.2-4156_daily_bin1762.fits.....................!
real 40.24
user 38.84
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92930E-05   1.0000          .0000       .10000E+07
     2 'norm      '    10.017       1.0000          .0000       .10000E+07
     3 'Prefactor '    8.1619       1.0000          .0000       .10000E+07
     4 'Prefactor '    .12328E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .36103E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    7.7510       1.0000          .0000       .10000E+07
     7 'Prefactor '    145.70       1.0000          .0000       .10000E+07
     8 'norm      '    .10173E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    18.299       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12657E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    .16888E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4299       1.0000          .0000       .10000E+07
    13 'Prefactor '    42.252       1.0000          .0000       .10000E+07
    14 'Prefactor '    15.584       1.0000          .0000       .10000E+07
    15 'Prefactor '    11.619       1.0000          .0000       .10000E+07
    16 'Prefactor '    20.535       1.0000          .0000       .10000E+07
    17 'Prefactor '    .63586E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .18328E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    9.5460       1.0000          .0000       .10000E+07
    20 'norm      '    .43418E-03   1.0000          .0000       .10000E+07
    21 'norm      '    .88439E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .37581E-07   1.0000          .0000       .10000E+07
    23 'norm      '    6.9097       1.0000          .0000       .10000E+07
    24 'Prefactor '    .49330E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    30.377       1.0000          .0000       .10000E+07
    26 'norm      '    .20983E-07   1.0000          .0000       .10000E+07
    27 'Prefactor '    .10191E-03   1.0000          .0000       .10000E+07
    28 'norm      '    .74334E-03   1.0000          .0000       .10000E+07
    29 'Normalizat'    .92297       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1067       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=   4729.682     FROM MIGRAD    STATUS=CONVERGED    246 CALLS     2844 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20913E-05    59.922       -.42713E-06** at limit **
   2  norm          10.057        6.7185       -.11669E-06    .13477E-02
   3  Prefactor     8.1758        8.8288       -.76281E-07    .99880E-03
   4  Prefactor     .84932E-08    9.1725       -.13339E-06** at limit **
   5  Prefactor     .97633E-06    25.991        .77198E-06** at limit **
   6  Prefactor     4.0422        23.636       -.13863E-05    .42495E-01
   7  Prefactor     200.54        242.50        .49122E-05    .12794E-01
   8  norm           .0000        2.7697       -.16186E-06** at limit **
   9  Prefactor     18.389        13.022        .56973E-06    .67228E-01
  10  Prefactor      .0000        1.1203        .82026E-07** at limit **
  11  Prefactor     .59119E-07    29.462        .76161E-06** at limit **
  12  Prefactor     3.4214        4.2365        .12410E-07    .12091E-02
  13  Prefactor     43.542        28.956        .24159E-06   -.67152E-01
  14  Prefactor     15.414        8.0795        .19696E-06   -.25107E-01
  15  Prefactor     10.966        18.830        .29585E-06   -.60444E-01
  16  Prefactor     20.440        18.256        .51087E-06    .81431E-02
  17  Prefactor      .0000        4.5126       -.16115E-06** at limit **
  18  Prefactor      .0000        18.244        .95629E-08** at limit **
  19  Prefactor     9.5623        12.354        .99438E-08    .32087E-02
  20  norm           .0000        4.1902        .41558E-06** at limit **
  21  norm           .0000        3.6620       -.11345E-06** at limit **
  22  norm           .0000        1.9793       -.95151E-08** at limit **
  23  norm          6.8881        7.9977        .47464E-07    .81850E-03
  24  Prefactor     .19789E-05    10.505        .11141E-06** at limit **
  25  Prefactor     31.972        16.447        .14431E-06   -.35607E-01
  26  norm           .0000        2.3343        .73882E-07** at limit **
  27  Prefactor      .0000        5.3069       -.42914E-07** at limit **
  28  norm          .83267E-09    6.3793        .13186E-06** at limit **
  29  Normalizat    .92068        .26505       -.60151E-06    .26954E-04
  30  Prefactor     1.1062        .23712        .16328E-05    .40877E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.09133e-06
  norm       = 10.0569
  Prefactor  = 8.17583
  Prefactor  = 8.49321e-09
  Prefactor  = 9.7633e-07
  Prefactor  = 4.04224
  Prefactor  = 200.545
  norm       = 0
  Prefactor  = 18.3894
  Prefactor  = 0
  Prefactor  = 5.91194e-08
  Prefactor  = 3.42143
  Prefactor  = 43.5421
  Prefactor  = 15.4138
  Prefactor  = 10.9663
  Prefactor  = 20.4399
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 9.56233
  norm       = 0
  norm       = 0
  norm       = 0
  norm       = 6.88807
  Prefactor  = 1.97892e-06
  Prefactor  = 31.9724
  norm       = 0
  Prefactor  = 0
  norm       = 8.32667e-10
  Normalizat = 0.920683
  Prefactor  = 1.10623
 **********
 **   18 **HESSE 
 **********

 FCN=   4729.682     FROM HESSE     STATUS=OK           650 CALLS     3494 TOTAL
                     EDM=   .78E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20913E-05    67.377        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          10.057        6.7152        .31635E-03   -1.5645    
   3  Prefactor     8.1758        8.8315        .35069E-03   -1.5651    
   4  Prefactor     .84932E-08    9.2171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .97633E-06    31.368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.0422        28.145        .35994E-03   -1.5668    
   7  Prefactor     200.54        257.07        .82851E-04   -1.5425    
   8  norm           .0000        2.7585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.389        13.754        .23386E-03   -1.5622    
  10  Prefactor      .0000        1.1215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .59119E-07    31.265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.4214        4.2685        .54592E-03   -1.5671    
  13  Prefactor     43.542        36.146        .15386E-03   -1.5576    
  14  Prefactor     15.414        24.762        .25344E-03   -1.5629    
  15  Prefactor     10.966        31.159        .29365E-03   -1.5642    
  16  Prefactor     20.440        18.316        .22074E-03   -1.5618    
  17  Prefactor      .0000        4.5041        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        18.215        .17149E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.5623        12.370        .32411E-03   -1.5646    
  20  norm           .0000        4.1908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        3.6668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        1.9781        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          6.8881        7.9966        .38143E-03   -1.5655    
  24  Prefactor     .19789E-05    5.1454        .57611E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     31.972        38.557        .18147E-03   -1.5595    
  26  norm           .0000        2.3405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        5.2987        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .83267E-09    6.3556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .92068        .23315        .45194E-01   -.95737    
  30  Prefactor     1.1062        .20317        .54913E-01   -.89268    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.79071e-07
Minuit parameter uncertainties:
  1  0.023741
  2  6.7152
  3  8.83152
  4  0.000559533
  5  0.011068
  6  21.3325
  7  257.086
  8  1.4329e-06
  9  13.7539
  10  2.42353e-06
  11  0.00271956
  12  4.26853
  13  36.1466
  14  24.7617
  15  31.1593
  16  18.3157
  17  1.10893e-05
  18  1.01922e-06
  19  12.3697
  20  1.88887e-05
  21  9.93704e-06
  22  3.19608e-06
  23  7.99663
  24  0.00638192
  25  38.5575
  26  3.3088e-06
  27  1.20966e-05
  28  0.00014718
  29  0.233402
  30  0.203312
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  1.106e+00  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:  9.207e-01  2.334e-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: 6.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/121959/likelihoodResults_696038401_696297601_4FGL_J2234.2-4156_daily_bin1762.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) = 4729.69712874
delta logL = -0.0153020600392

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4729.68182697
delta logL = -2.90795469482e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13997E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .93032       1.0000          .0000       10.000    
     3 'Normalizat'    .92052       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1063       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=   4729.682     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      194 TOTAL
                     EDM=   .22E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    32.206       -.19208E-05** at limit **
   2  Index         1.4112        5.0094       -.66167E-04   -.19959E-11
   3  Normalizat    .92068        .24719       -.19069E-04   -.91317E-04
   4  Prefactor     1.1062        .23296        .70604E-05   -.15695E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.41123
  Normalizat = 0.920684
  Prefactor  = 1.10623
 **********
 **   18 **HESSE 
 **********

 FCN=   4729.682     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      227 TOTAL
                     EDM=   .40E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .28240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4112        5.8662        .45390       -.80057    
   3  Normalizat    .92068        .50201E-03    .45163E-01   -.95737    
   4  Prefactor     1.1062        .47319E-03    .54913E-01   -.89268    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.01182e-15
Minuit parameter uncertainties:
  1  7.10971e-06
  2  36472.1
  3  0.00050201
  4  0.000473186
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/121959': 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) = 4729.68182668
delta logL = 9.26775101107e-10

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  5.551e-11  7.110e-06  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.411e+00  3.647e+04  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.106e+00  4.732e-04  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:  9.207e-01  5.020e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 338.568 -41.941

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/121959/cmap_HighResolution_696038401_696297601_4FGL_J2234.2-4156_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.04e-03', job_status='DONE', photon_flux_upper_limit='6.73e-08', time_completed='2023-01-25 01:54:19.567653', job_id='121959', GAL2='1.11', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1674640459.57', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='9.27e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1762' AND source_name='4FGL J2234.2-4156' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:54:19 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 121959: <4FGL_J2234.2-4156_daily_bin1762> in cluster <slac> Done

Job <4FGL_J2234.2-4156_daily_bin1762> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jan 25 01:40:19 2023
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 01:42:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 01:42:15 2023
Terminated at Wed Jan 25 01:54:20 2023
Results reported at Wed Jan 25 01:54:20 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.2-4156_daily_bin1762 338.568 -41.9411 696038401 696297601 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 :                                   662.49 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             286.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            841 sec.

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

