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 46 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_J1124.9+4934_daily_bin1762
RA = 171.243, Dec = 49.5674
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='107773', job_status='RUN', time_executed='2023-01-25 00:52:21.305087', time_epoch_executed='1674636741.31' WHERE source_name='4FGL J1124.9+4934' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/107773

Creating custom pfile directory:
/scratch/kocevski/107773/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/107773/ft1_4FGL_J1124.9+4934_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/107773/ft2_4FGL_J1124.9+4934_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/107773/ft1_4FGL_J1124.9+4934_daily_bin1762.fits outfile=/scratch/kocevski/107773/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin1762.fits ra=171.243 dec=49.5674 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.75
user 3.48
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/107773/ft2_4FGL_J1124.9+4934_daily_bin1762.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/107773/ft2_4FGL_J1124.9+4934_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/107773/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/107773/ft1_filtered_4FGL_J1124.9+4934_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.52
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 542

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/107773/ft1_filtered_4FGL_J1124.9+4934_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/107773/ft2_4FGL_J1124.9+4934_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/107773/ltcube_696038401_696297601_4FGL_J1124.9+4934_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/107773/ft2_4FGL_J1124.9+4934_daily_bin1762.fits
.....................!
real 14.43
user 13.87
sys 0.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/107773/ft1_filtered_4FGL_J1124.9+4934_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/107773/ft2_4FGL_J1124.9+4934_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/107773/ltcube_696038401_696297601_4FGL_J1124.9+4934_daily_bin1762.fits outfile=/scratch/kocevski/107773/expmap_696038401_696297601_4FGL_J1124.9+4934_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/107773/ltcube_696038401_696297601_4FGL_J1124.9+4934_daily_bin1762.fits
.....................!
real 193.77
user 186.79
sys 5.97

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

Setting source of interest to:
4FGL J1124.9+4934 @ 171.243 49.5674

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/107773/ft1_filtered_4FGL_J1124.9+4934_daily_bin1762.fits scfile=/scratch/kocevski/107773/ft2_4FGL_J1124.9+4934_daily_bin1762.fits outfile=/scratch/kocevski/107773/cmap_696038401_696297601_4FGL_J1124.9+4934_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=171.243 yref=49.5674 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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/107773/ft1_filtered_4FGL_J1124.9+4934_daily_bin1762.fits scfile=/scratch/kocevski/107773/ft2_4FGL_J1124.9+4934_daily_bin1762.fits outfile=/scratch/kocevski/107773/cmap_HighResolution_696038401_696297601_4FGL_J1124.9+4934_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=171.243 yref=49.5674 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.59
user 0.40
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/107773/ft1_filtered_4FGL_J1124.9+4934_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/107773/ft2_4FGL_J1124.9+4934_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/107773/Model_4FGL_J1124.9+4934_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/107773/ft1_filtered_4FGL_J1124.9+4934_daily_bin1762.fits.....................!
real 53.27
user 51.56
sys 1.45

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/107773/ft1_filtered_4FGL_J1124.9+4934_daily_bin1762.fits', '/scratch/kocevski/107773/ft2_4FGL_J1124.9+4934_daily_bin1762.fits', expMap='/scratch/kocevski/107773/expmap_696038401_696297601_4FGL_J1124.9+4934_daily_bin1762.fits', expCube='/scratch/kocevski/107773/ltcube_696038401_696297601_4FGL_J1124.9+4934_daily_bin1762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/107773/Model_4FGL_J1124.9+4934_daily_bin1762.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1124.9+4934'

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  6.417e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
353        alpha:  1.519e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
354         beta:  1.498e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  2.941e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/107773/ft1_filtered_4FGL_J1124.9+4934_daily_bin1762.fits
Spacecraft file(s): /scratch/kocevski/107773/ft2_4FGL_J1124.9+4934_daily_bin1762.fits
Exposure map: /scratch/kocevski/107773/expmap_696038401_696297601_4FGL_J1124.9+4934_daily_bin1762.fits
Exposure cube: /scratch/kocevski/107773/ltcube_696038401_696297601_4FGL_J1124.9+4934_daily_bin1762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/107773/Model_4FGL_J1124.9+4934_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) = 6015.18143134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.8024       1.0000          .0000       .10000E+07
     2 'norm      '    .41311       1.0000          .0000       .10000E+07
     3 'Prefactor '    .41721E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .22730E-02   1.0000          .0000       .10000E+07
     5 'norm      '    3.7845       1.0000          .0000       .10000E+07
     6 'Prefactor '    37.902       1.0000          .0000       .10000E+07
     7 'norm      '    1.4015       1.0000          .0000       .10000E+07
     8 'Prefactor '    15.824       1.0000          .0000       .10000E+07
     9 'Prefactor '    25.085       1.0000          .0000       .10000E+07
    10 'norm      '    .46892E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.5003       1.0000          .0000       .10000E+07
    12 'Prefactor '    20.680       1.0000          .0000       .10000E+07
    13 'norm      '    2.3240       1.0000          .0000       .10000E+07
    14 'Prefactor '    .54677E-01   1.0000          .0000       .10000E+07
    15 'norm      '    .34472E-07   1.0000          .0000       .10000E+07
    16 'norm      '    8.2396       1.0000          .0000       .10000E+07
    17 'Prefactor '    3.7626       1.0000          .0000       .10000E+07
    18 'Prefactor '    85.385       1.0000          .0000       .10000E+07
    19 'norm      '    .12540E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    .64278E-03   1.0000          .0000       .10000E+07
    21 'norm      '    .40533       1.0000          .0000       .10000E+07
    22 'norm      '    .30531E-08   1.0000          .0000       .10000E+07
    23 'Prefactor '    .45940E-02   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.2558       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .62812       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6015.178     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     2112 TOTAL
                     EDM=   .46E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.8115        3.5361        .16545E-07   -.11697E-03
   2  norm          .41218        1.4595        .14948E-06   -.11801E-02
   3  Prefactor     .72164E-09    64.508        .11694E-06** at limit **
   4  Prefactor      .0000        20.173        .18251E-06** at limit **
   5  norm          3.7873        2.1401       -.10490E-06    .16901E-02
   6  Prefactor     37.349        27.809       -.83835E-07   -.25061E-01
   7  norm          1.4013        .43745        .54994E-08   -.22443E-02
   8  Prefactor     15.823        15.557        .17643E-06    .52036E-02
   9  Prefactor     24.990        1.3294        .36708E-08   -.55165E-02
  10  norm          .11102E-07    8.3847       -.39274E-06** at limit **
  11  Prefactor     1.4989        6.1442        .64263E-06   -.10543E-02
  12  Prefactor     20.687        2.0433        .23467E-07   -.21874E-02
  13  norm          2.3224        2.6772       -.57331E-07    .22089E-04
  14  Prefactor      .0000        30.568       -.12538E-06** at limit **
  15  norm           .0000        .38555        .35124E-08** at limit **
  16  norm          8.2433        8.6157        .59470E-07   -.22012E-03
  17  Prefactor     3.7617        3.5213        .98556E-07   -.11173E-02
  18  Prefactor     86.177        45.512        .10263E-06   -.23537E-01
  19  norm           .0000        1.5781        .15979E-06** at limit **
  20  Prefactor      .0000        7.4447        .10734E-06** at limit **
  21  norm          .40861        1.6750        .41818E-07   -.37824E-03
  22  norm           .0000        2.3476       -.12746E-06** at limit **
  23  Prefactor     .99365E-08    8.1595       -.20025E-06** at limit **
  24  Normalizat    1.2559        .19462        .34492E-05   -.90485E-04
  25  Prefactor     .62799        .23528       -.60683E-05   -.29552E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.81154
  norm       = 0.412182
  Prefactor  = 7.21645e-10
  Prefactor  = 0
  norm       = 3.78725
  Prefactor  = 37.3493
  norm       = 1.40132
  Prefactor  = 15.8226
  Prefactor  = 24.9897
  norm       = 1.11022e-08
  Prefactor  = 1.49887
  Prefactor  = 20.687
  norm       = 2.32239
  Prefactor  = 0
  norm       = 0
  norm       = 8.24325
  Prefactor  = 3.76167
  Prefactor  = 86.1767
  norm       = 0
  Prefactor  = 0
  norm       = 0.408613
  norm       = 0
  Prefactor  = 9.9365e-09
  Normalizat = 1.25588
  Prefactor  = 0.627991
 **********
 **   18 **HESSE 
 **********

 FCN=   6015.178     FROM HESSE     STATUS=OK           479 CALLS     2591 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.8115        3.5380        .38446E-03   -1.5656    
   2  norm          .41218        1.4622        .87983E-03   -1.5695    
   3  Prefactor     .72164E-09    64.620        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        20.154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.7873        2.1527        .51867E-03   -1.5669    
   6  Prefactor     37.349        51.751        .16245E-03   -1.5586    
   7  norm          1.4013        .43602        .63103E-03   -1.5684    
   8  Prefactor     15.823        17.216        .25151E-03   -1.5628    
   9  Prefactor     24.990        39.180        .19970E-03   -1.5608    
  10  norm          .11102E-07    14.083        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.4989        6.3996        .87393E-03   -1.5683    
  12  Prefactor     20.687        22.237        .21997E-03   -1.5617    
  13  norm          2.3224        2.6922        .67253E-03   -1.5677    
  14  Prefactor      .0000        30.334        .15359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        .38890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.2433        8.6505        .34902E-03   -1.5651    
  17  Prefactor     3.7617        3.5292        .52023E-03   -1.5669    
  18  Prefactor     86.177        54.822        .10823E-03   -1.5522    
  19  norm           .0000        1.5814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        7.4610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .40861        1.6723        .88872E-03   -1.5695    
  22  norm           .0000        2.3424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .99365E-08    14.244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.2559        .17419        .33648E-01   -.84893    
  25  Prefactor     .62799        .21017        .78876E-01   -1.0642    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46787e-06
Minuit parameter uncertainties:
  1  3.53805
  2  1.4622
  3  0.000435368
  4  3.78879e-05
  5  2.15269
  6  51.7516
  7  0.436019
  8  17.216
  9  39.1807
  10  0.000790286
  11  6.19425
  12  22.2367
  13  2.69222
  14  2.72065e-05
  15  1.14501e-08
  16  8.65048
  17  3.52922
  18  54.8225
  19  6.2591e-06
  20  2.36751e-06
  21  1.65326
  22  6.749e-06
  23  0.000751795
  24  0.174273
  25  0.21043
Done.

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

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  1.110e-08  7.903e-04  0.000e+00  1.000e+06 ( 1.000e-14)
353        alpha:  1.519e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
354         beta:  1.498e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  2.941e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
704    Prefactor:  6.280e-01  2.104e-01  0.000e+00  1.000e+01 ( 1.000e+00)
705        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
706        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
703   Normalization:  1.256e+00  1.743e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 171.243 49.567
Photon Flux Upper Limit: 1.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.13e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/107773/likelihoodResults_696038401_696297601_4FGL_J1124.9+4934_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): 102
logL (Free Index) = 6015.1784223
delta logL = -0.000211076937376

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6015.17821125
delta logL = -2.95494828606e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27256E-07   1.0000          .0000       .10000E+07
     2 'alpha     '    .17519E-01   1.0000          .0000       5.0000    
     3 'Normalizat'    1.2559       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62795       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6015.178     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      241 TOTAL
                     EDM=   .42E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        5.5395        .42118E-03** at limit **
   2  alpha         2.4103        1.1249        .77989E-04     .0000    
   3  Normalizat    1.2559        1.0897       -.23189E-05    .11814E-05
   4  Prefactor     .62799        .97668        .43513E-05   -.15539E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.41026
  Normalizat = 1.25588
  Prefactor  = 0.62799
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6015.178     FROM HESSE     STATUS=FAILED         9 CALLS      250 TOTAL
                     EDM=   .42E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        5.5395        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.2020        1.2178        .77989E-04   -.35905E-01
   3  Normalizat    1.2559        1.0897       -.23189E-05   -.84893    
   4  Prefactor     .62799        .97668        .43513E-05   -1.0642    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.16197e-13
Minuit parameter uncertainties:
  1  5.93876e-06
  2  1.16684
  3  1.11051
  4  1.00519
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/107773': 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): 101
logL (Free Index) = 6015.17821122
delta logL = 3.98358679377e-10

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  0.000e+00  5.939e-06  0.000e+00  1.000e+06 ( 1.000e-14)
353        alpha:  2.410e+00  1.167e+00  0.000e+00  5.000e+00 ( 1.000e+00)
354         beta:  1.498e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  2.941e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
704    Prefactor:  6.280e-01  1.005e+00  0.000e+00  1.000e+01 ( 1.000e+00)
705        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
706        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
703   Normalization:  1.256e+00  1.111e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 171.243 49.567

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/107773/cmap_HighResolution_696038401_696297601_4FGL_J1124.9+4934_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.13e-05', job_status='DONE', photon_flux_upper_limit='1.43e-08', time_completed='2023-01-25 01:04:02.827756', job_id='107773', GAL2='0.63', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1674637442.83', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='3.98e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.52' WHERE bin_id='1762' AND source_name='4FGL J1124.9+4934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:04:02 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 107773: <4FGL_J1124.9+4934_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1124.9+4934_daily_bin1762> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jan 25 00:50:19 2023
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:51:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:51:26 2023
Terminated at Wed Jan 25 01:04:03 2023
Results reported at Wed Jan 25 01:04:03 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1124.9+4934_daily_bin1762 171.243 49.5674 696038401 696297601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1124.9+4934 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   702.36 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             321.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   757 sec.
    Turnaround time :                            824 sec.

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

