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


Performing analysis on: 4FGL_J1123.4-2529_daily_bin1718
RA = 170.868, Dec = -25.488
tmin = 684633601, tmax = 684892801
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='102991', job_status='RUN', time_executed='2022-09-16 15:59:15.943149', time_epoch_executed='1663369155.94' WHERE source_name='4FGL J1123.4-2529' and cadence='daily' and bin_id='1718'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/102991

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/102991/ft1_4FGL_J1123.4-2529_daily_bin1718.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/102991/ft2_4FGL_J1123.4-2529_daily_bin1718.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/102991/ft1_4FGL_J1123.4-2529_daily_bin1718.fits outfile=/scratch/kocevski/102991/ft1_filteredMKT_4FGL_J1123.4-2529_daily_bin1718.fits ra=170.868 dec=-25.488 rad=12.0 tmin=684633601.0 tmax=684892801.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 2.66
user 2.44
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/102991/ft2_4FGL_J1123.4-2529_daily_bin1718.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/102991/ft2_4FGL_J1123.4-2529_daily_bin1718.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/102991/ft1_filteredMKT_4FGL_J1123.4-2529_daily_bin1718.fits evtable="EVENTS" outfile="/scratch/kocevski/102991/ft1_filtered_4FGL_J1123.4-2529_daily_bin1718.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.45
user 0.30
sys 0.14

Number of photons that the gtmktime cut: 743

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/102991/ft1_filtered_4FGL_J1123.4-2529_daily_bin1718.fits" evtable="EVENTS" scfile=/scratch/kocevski/102991/ft2_4FGL_J1123.4-2529_daily_bin1718.fits sctable="SC_DATA" outfile=/scratch/kocevski/102991/ltcube_684633601_684892801_4FGL_J1123.4-2529_daily_bin1718.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/102991/ft2_4FGL_J1123.4-2529_daily_bin1718.fits
.....................!
real 14.58
user 14.18
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/102991/ft1_filtered_4FGL_J1123.4-2529_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/102991/ft2_4FGL_J1123.4-2529_daily_bin1718.fits sctable="SC_DATA" expcube=/scratch/kocevski/102991/ltcube_684633601_684892801_4FGL_J1123.4-2529_daily_bin1718.fits outfile=/scratch/kocevski/102991/expmap_684633601_684892801_4FGL_J1123.4-2529_daily_bin1718.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/102991/ltcube_684633601_684892801_4FGL_J1123.4-2529_daily_bin1718.fits
.....................!
real 157.27
user 152.50
sys 4.47

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

Setting source of interest to:
4FGL J1123.4-2529 @ 170.868 -25.488

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/102991/ft1_filtered_4FGL_J1123.4-2529_daily_bin1718.fits scfile=/scratch/kocevski/102991/ft2_4FGL_J1123.4-2529_daily_bin1718.fits outfile=/scratch/kocevski/102991/cmap_684633601_684892801_4FGL_J1123.4-2529_daily_bin1718.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=170.868 yref=-25.488 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.49
user 0.31
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/102991/ft1_filtered_4FGL_J1123.4-2529_daily_bin1718.fits scfile=/scratch/kocevski/102991/ft2_4FGL_J1123.4-2529_daily_bin1718.fits outfile=/scratch/kocevski/102991/cmap_HighResolution_684633601_684892801_4FGL_J1123.4-2529_daily_bin1718.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=170.868 yref=-25.488 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.48
user 0.33
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/102991/ft1_filtered_4FGL_J1123.4-2529_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/102991/ft2_4FGL_J1123.4-2529_daily_bin1718.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/102991/Model_4FGL_J1123.4-2529_daily_bin1718.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/102991/ft1_filtered_4FGL_J1123.4-2529_daily_bin1718.fits.....................!
real 61.63
user 60.54
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/102991/ft1_filtered_4FGL_J1123.4-2529_daily_bin1718.fits', '/scratch/kocevski/102991/ft2_4FGL_J1123.4-2529_daily_bin1718.fits', expMap='/scratch/kocevski/102991/expmap_684633601_684892801_4FGL_J1123.4-2529_daily_bin1718.fits', expCube='/scratch/kocevski/102991/ltcube_684633601_684892801_4FGL_J1123.4-2529_daily_bin1718.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/102991/Model_4FGL_J1123.4-2529_daily_bin1718.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1123.4-2529'

4FGL J1123.4-2529
   Spectrum: PowerLaw
284    Prefactor:  1.199e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
285        Index:  2.239e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  1.433e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/102991/ft1_filtered_4FGL_J1123.4-2529_daily_bin1718.fits
Spacecraft file(s): /scratch/kocevski/102991/ft2_4FGL_J1123.4-2529_daily_bin1718.fits
Exposure map: /scratch/kocevski/102991/expmap_684633601_684892801_4FGL_J1123.4-2529_daily_bin1718.fits
Exposure cube: /scratch/kocevski/102991/ltcube_684633601_684892801_4FGL_J1123.4-2529_daily_bin1718.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/102991/Model_4FGL_J1123.4-2529_daily_bin1718.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) = 8164.54815187

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .62841E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .98011E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    14.634       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.8892       1.0000          .0000       .10000E+07
     5 'Prefactor '    .54109E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .76609       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11578E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .38330E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .33113       1.0000          .0000       .10000E+07
    10 'Prefactor '    9.7815       1.0000          .0000       .10000E+07
    11 'Prefactor '    .16021E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .17764E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    82.504       1.0000          .0000       .10000E+07
    14 'Prefactor '    .16503       1.0000          .0000       .10000E+07
    15 'norm      '    23.068       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.5675       1.0000          .0000       .10000E+07
    17 'norm      '    2.7393       1.0000          .0000       .10000E+07
    18 'Prefactor '    4.3385       1.0000          .0000       .10000E+07
    19 'Prefactor '    39.634       1.0000          .0000       .10000E+07
    20 'Prefactor '    .82063E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .49212E-01   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.4119       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .85074       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8164.547     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     2747 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13928E-06    5.6303        .77438E-07** at limit **
   2  norm           .0000        4.2324       -.23821E-08** at limit **
   3  Prefactor     14.626        1.1194       -.15931E-08    .12133E-01
   4  Prefactor     3.8910        3.5040       -.20929E-07   -.29339E-03
   5  Prefactor     .55511E-10    5.4371       -.13171E-07** at limit **
   6  Prefactor     .77379        .84345       -.15774E-07    .13172E-01
   7  Prefactor     .61062E-09    4.8469       -.12600E-06** at limit **
   8  Prefactor     .19929E-07    9.5769        .23883E-06** at limit **
   9  Prefactor     .33885E-05    27.798       -.41176E-06** at limit **
  10  Prefactor     9.7950        2.6983       -.23827E-07   -.37279E-01
  11  Prefactor     .43576E-07    15.922       -.90050E-07** at limit **
  12  norm           .0000        .50289       -.15055E-07** at limit **
  13  Prefactor     82.438        4.5356       -.22439E-07    .53297E-01
  14  Prefactor     .19072        27.554        .68384E-06** at limit **
  15  norm          23.038        1.2230        .53951E-08    .26707E-02
  16  Prefactor     1.4217        4.5924       -.18717E-06    .65935E-02
  17  norm          2.7968        4.7508       -.64210E-07   -.31365E-02
  18  Prefactor     4.3121        5.2220        .10025E-07   -.18670E-02
  19  Prefactor     39.553        7.8084       -.58952E-07    .11361    
  20  Prefactor     .22093E-07    7.1294       -.27715E-07** at limit **
  21  Prefactor     .55511E-10    26.951       -.18951E-06** at limit **
  22  Normalizat    1.4121        .26157        .19401E-05    .10294E-03
  23  Prefactor     .85080        .13248       -.27163E-06    .13319E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.39277e-07
  norm       = 0
  Prefactor  = 14.6263
  Prefactor  = 3.89098
  Prefactor  = 5.55112e-11
  Prefactor  = 0.773792
  Prefactor  = 6.10623e-10
  Prefactor  = 1.99285e-08
  Prefactor  = 3.38846e-06
  Prefactor  = 9.79505
  Prefactor  = 4.35763e-08
  norm       = 0
  Prefactor  = 82.4384
  Prefactor  = 0.19072
  norm       = 23.0376
  Prefactor  = 1.42168
  norm       = 2.79682
  Prefactor  = 4.31211
  Prefactor  = 39.5531
  Prefactor  = 2.20934e-08
  Prefactor  = 5.55112e-11
  Normalizat = 1.41208
  Prefactor  = 0.850799
 **********
 **   18 **HESSE 
 **********

 FCN=   8164.547     FROM HESSE     STATUS=OK           422 CALLS     3169 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13928E-06    14.245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        4.1608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.626        13.972        .26157E-03   -1.5631    
   4  Prefactor     3.8910        3.5158        .51139E-03   -1.5669    
   5  Prefactor     .55511E-10    5.4877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .77379        8.6264        .55498E-03   -1.5690    
   7  Prefactor     .61062E-09    4.8613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .19929E-07    16.196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .33885E-05    61.881        .97943E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.7950        12.555        .32016E-03   -1.5645    
  11  Prefactor     .43576E-07    18.480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .49997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     82.438        23.324        .11010E-03   -1.5526    
  14  Prefactor     .19072        2.5815        .84180E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          23.038        17.760        .20826E-03   -1.5612    
  16  Prefactor     1.4217        236.87        .84901E-03   -1.5684    
  17  norm          2.7968        13.224        .61490E-03   -1.5675    
  18  Prefactor     4.3121        5.5282        .48336E-03   -1.5666    
  19  Prefactor     39.553        29.980        .15886E-03   -1.5582    
  20  Prefactor     .22093E-07    13.308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .55511E-10    26.968        .15572E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.4121        .22803        .70674E-01   -.80280    
  23  Prefactor     .85080        .11054        .44374E-01   -.97882    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82092e-06
Minuit parameter uncertainties:
  1  0.00281738
  2  6.16055e-06
  3  13.972
  4  3.51584
  5  3.08674e-05
  6  5.16723
  7  0.000107724
  8  0.00113629
  9  0.028961
  10  12.5554
  11  0.00179467
  12  8.18049e-07
  13  23.3242
  14  1.40336
  15  17.7602
  16  36.7033
  17  12.1629
  18  5.52825
  19  29.9804
  20  0.00108452
  21  8.31902e-05
  22  0.228194
  23  0.110566
Done.

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

Extracting fit parameters...

4FGL J1123.4-2529
   Spectrum: PowerLaw
284    Prefactor:  9.795e+00  1.256e+01  0.000e+00  1.000e+06 ( 1.000e-13)
285        Index:  2.239e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  1.433e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
588    Prefactor:  8.508e-01  1.106e-01  0.000e+00  1.000e+01 ( 1.000e+00)
589        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
590        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
587   Normalization:  1.412e+00  2.282e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.79
Ra Dec: 170.868 -25.488
Photon Flux Upper Limit: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/102991/likelihoodResults_684633601_684892801_4FGL_J1123.4-2529_daily_bin1718.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) = 8164.28667389
delta logL = 0.260094530133

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8164.26505871
delta logL = 0.28170970166

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6415       1.0000          .0000       .10000E+07
     2 'Index     '    3.0786       1.0000          .0000       10.000    
     3 'Normalizat'    1.3616       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86820       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5910E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8164.265     FROM MIGRAD    STATUS=FAILED        84 CALLS      334 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6419        124.73        .15549E-04    .12471E-01
   2  Index         3.0786        6.5233        .57517E-02    .38821E-03
   3  Normalizat    1.3616        .34133        .31757E-03    .31880E-03
   4  Prefactor     .86820        .16591        .19830E-03    .38652E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8164.265     FROM SIMPLEX   STATUS=UNCHANGED     97 CALLS      431 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6419        124.73        .21949E-04   -1.5670    
   2  Index         3.0786        6.5233        .12988E-02   -.39443    
   3  Normalizat    1.3616        .34133        .37485E-03   -.81746    
   4  Prefactor     .86820        .16591        .20816E-03   -.97261    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8164.265     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      460 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6423        8.8590        .62194E-06    .16950E-01
   2  Index         3.0786        1.2190        .23007E-03    .26130E-03
   3  Normalizat    1.3616        .27124        .63514E-04    .32795E-03
   4  Prefactor     .86820        .13538        .39659E-04    .39060E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.64234
  Index      = 3.07855
  Normalizat = 1.36161
  Prefactor  = 0.868202
 **********
 **   18 **HESSE 
 **********

 FCN=   8164.265     FROM HESSE     STATUS=OK            23 CALLS      483 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6423        8.7111        .37360E-06   -1.5670    
   2  Index         3.0786        1.1990        .92027E-05   -.39444    
   3  Normalizat    1.3616        .27119        .12703E-04   -.81746    
   4  Prefactor     .86820        .13536        .79318E-05   -.97261    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.13773e-10
Minuit parameter uncertainties:
  1  8.71114
  2  1.21286
  3  0.271476
  4  0.135414
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/102991': 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) = 8164.2650587
delta logL = 0.281709711094

Extracting fit parameters...

4FGL J1123.4-2529
   Spectrum: PowerLaw
284    Prefactor:  3.642e+00  8.711e+00  0.000e+00  1.000e+06 ( 1.000e-13)
285        Index:  3.079e+00  1.213e+00  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  1.433e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
588    Prefactor:  8.682e-01  1.354e-01  0.000e+00  1.000e+01 ( 1.000e+00)
589        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
590        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
587   Normalization:  1.362e+00  2.715e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 170.868 -25.488
Photon Index (Free Index): 3.08 +/- 1.21
Photon Flux (Free Index): 6.37e-08 +/- 6.87e-08
Energy Flux (Free Index): 1.23e-05 +/- 1.20e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/102991/cmap_HighResolution_684633601_684892801_4FGL_J1123.4-2529_daily_bin1718.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.09e-03', comment='SUCCESS', energy_flux2='1.23e-05', dlogl='2.82e-01', photon_flux2='6.37e-08', job_status='DONE', time_completed='2022-09-16 16:10:27.966514', photon_index_error2='1.21', photon_index2='3.08', ts='0.79', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='1.19e-07', energy_flux_error2='1.20e-05', EG='1.41', time_epoch_completed='1663369827.97', return_code='0', job_id='102991', GAL2='0.87', EG2='1.36', return_code2='0', photon_flux_error2='6.87e-08', ts2='1.41', photon_index='2.24' WHERE bin_id='1718' AND source_name='4FGL J1123.4-2529' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:10:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 102991: <4FGL_J1123.4-2529_daily_bin1718> in cluster <slac> Done

Job <4FGL_J1123.4-2529_daily_bin1718> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 16 15:55:12 2022
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:55:58 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:55:58 2022
Terminated at Fri Sep 16 16:10:28 2022
Results reported at Fri Sep 16 16:10:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1123.4-2529_daily_bin1718 170.868 -25.488 684633601 684892801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1123.4-2529 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   673.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             257.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            916 sec.

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

