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


Performing analysis on: 4FGL_J1124.9+4934_daily_bin1749
RA = 171.243, Dec = 49.5674
tmin = 692668801, tmax = 692928001
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='949194', job_status='RUN', time_executed='2022-12-17 00:38:34.141135', time_epoch_executed='1671266314.14' WHERE source_name='4FGL J1124.9+4934' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/949194

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/949194/ft1_4FGL_J1124.9+4934_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/949194/ft2_4FGL_J1124.9+4934_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/949194/ft1_4FGL_J1124.9+4934_daily_bin1749.fits outfile=/scratch/kocevski/949194/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin1749.fits ra=171.243 dec=49.5674 rad=12.0 tmin=692668801.0 tmax=692928001.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.65
user 3.43
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/949194/ft2_4FGL_J1124.9+4934_daily_bin1749.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/949194/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin1749.fits evtable="EVENTS" outfile="/scratch/kocevski/949194/ft1_filtered_4FGL_J1124.9+4934_daily_bin1749.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: 608

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/949194/ft1_filtered_4FGL_J1124.9+4934_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/949194/ft2_4FGL_J1124.9+4934_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/949194/ltcube_692668801_692928001_4FGL_J1124.9+4934_daily_bin1749.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/949194/ft2_4FGL_J1124.9+4934_daily_bin1749.fits
.....................!
real 12.00
user 11.63
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/949194/ft1_filtered_4FGL_J1124.9+4934_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/949194/ft2_4FGL_J1124.9+4934_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/949194/ltcube_692668801_692928001_4FGL_J1124.9+4934_daily_bin1749.fits outfile=/scratch/kocevski/949194/expmap_692668801_692928001_4FGL_J1124.9+4934_daily_bin1749.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/949194/ltcube_692668801_692928001_4FGL_J1124.9+4934_daily_bin1749.fits
.....................!
real 190.42
user 184.42
sys 5.68

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/949194/ft1_filtered_4FGL_J1124.9+4934_daily_bin1749.fits scfile=/scratch/kocevski/949194/ft2_4FGL_J1124.9+4934_daily_bin1749.fits outfile=/scratch/kocevski/949194/cmap_692668801_692928001_4FGL_J1124.9+4934_daily_bin1749.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/949194/ft1_filtered_4FGL_J1124.9+4934_daily_bin1749.fits scfile=/scratch/kocevski/949194/ft2_4FGL_J1124.9+4934_daily_bin1749.fits outfile=/scratch/kocevski/949194/cmap_HighResolution_692668801_692928001_4FGL_J1124.9+4934_daily_bin1749.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/949194/ft1_filtered_4FGL_J1124.9+4934_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/949194/ft2_4FGL_J1124.9+4934_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/949194/Model_4FGL_J1124.9+4934_daily_bin1749.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/949194/ft1_filtered_4FGL_J1124.9+4934_daily_bin1749.fits.....................!
real 56.14
user 54.84
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/949194/ft1_filtered_4FGL_J1124.9+4934_daily_bin1749.fits', '/scratch/kocevski/949194/ft2_4FGL_J1124.9+4934_daily_bin1749.fits', expMap='/scratch/kocevski/949194/expmap_692668801_692928001_4FGL_J1124.9+4934_daily_bin1749.fits', expCube='/scratch/kocevski/949194/ltcube_692668801_692928001_4FGL_J1124.9+4934_daily_bin1749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/949194/Model_4FGL_J1124.9+4934_daily_bin1749.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/949194/ft1_filtered_4FGL_J1124.9+4934_daily_bin1749.fits
Spacecraft file(s): /scratch/kocevski/949194/ft2_4FGL_J1124.9+4934_daily_bin1749.fits
Exposure map: /scratch/kocevski/949194/expmap_692668801_692928001_4FGL_J1124.9+4934_daily_bin1749.fits
Exposure cube: /scratch/kocevski/949194/ltcube_692668801_692928001_4FGL_J1124.9+4934_daily_bin1749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/949194/Model_4FGL_J1124.9+4934_daily_bin1749.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) = 6690.15979828

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0335       1.0000          .0000       .10000E+07
     2 'norm      '    2.8395       1.0000          .0000       .10000E+07
     3 'Prefactor '    .41585       1.0000          .0000       .10000E+07
     4 'Prefactor '    59.801       1.0000          .0000       .10000E+07
     5 'norm      '    2.9171       1.0000          .0000       .10000E+07
     6 'Prefactor '    .27708E-04   1.0000          .0000       .10000E+07
     7 'norm      '    2.1233       1.0000          .0000       .10000E+07
     8 'Prefactor '    .27002E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    136.06       1.0000          .0000       .10000E+07
    10 'norm      '    .15055E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .44573E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    35.456       1.0000          .0000       .10000E+07
    13 'norm      '    .45285E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .49286E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .99331       1.0000          .0000       .10000E+07
    16 'norm      '    .23135E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .33279E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    20.907       1.0000          .0000       .10000E+07
    19 'norm      '    .27850E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .12458E-02   1.0000          .0000       .10000E+07
    21 'norm      '    .73641E-04   1.0000          .0000       .10000E+07
    22 'norm      '    1.8867       1.0000          .0000       .10000E+07
    23 'Prefactor '    .36250       1.0000          .0000       .10000E+07
    24 'Normalizat'    .86685       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1469       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=   6690.157     FROM MIGRAD    STATUS=CONVERGED    193 CALLS     2255 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0339        2.3068        .20750E-06    .39377E-03
   2  norm          2.8411        1.4638        .99996E-07    .41587E-03
   3  Prefactor     .76050E-08    69.376        .26054E-05** at limit **
   4  Prefactor     59.884        13.853        .24040E-06   -.57479E-01
   5  norm          2.9205        2.0090        .19574E-06    .41102E-03
   6  Prefactor     .94369E-09    13.489        .42454E-06** at limit **
   7  norm          2.1234        .51550        .15768E-07   -.21436E-02
   8  Prefactor     .13878E-08    7.7748        .70098E-06** at limit **
   9  Prefactor     140.05        96.540       -.11550E-05   -.23610E-01
  10  norm          .24702E-07    11.887        .71420E-06** at limit **
  11  Prefactor     .83267E-09    2.5038       -.19749E-06** at limit **
  12  Prefactor     35.289        23.039        .18591E-06    .82658E-02
  13  norm          .13323E-08    2.5305        .74966E-07** at limit **
  14  Prefactor     .15588E-04    440.67       -.20705E-05** at limit **
  15  norm          .99428        .91785        .23469E-07   -.46317E-02
  16  norm          .94369E-09    3.8025        .12855E-06** at limit **
  17  Prefactor     .49960E-09    1.1863        .47092E-07** at limit **
  18  Prefactor     20.781        27.187        .93186E-06   -.57493E-01
  19  norm          .99920E-09    2.9935        .37862E-06** at limit **
  20  Prefactor     .29976E-08    11.613        .88166E-07** at limit **
  21  norm          .23159E-04    18.082        .90177E-06** at limit **
  22  norm          1.9606        6.5434       -.96443E-06    .99056E-05
  23  Prefactor     .78304E-06    4.2365        .33391E-06** at limit **
  24  Normalizat    .86711        .17216       -.95830E-05   -.42654E-04
  25  Prefactor     1.1463        .22201       -.71001E-05   -.32108E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.03393
  norm       = 2.84108
  Prefactor  = 7.60503e-09
  Prefactor  = 59.8841
  norm       = 2.92046
  Prefactor  = 9.4369e-10
  norm       = 2.12335
  Prefactor  = 1.38778e-09
  Prefactor  = 140.05
  norm       = 2.47025e-08
  Prefactor  = 8.32667e-10
  Prefactor  = 35.2894
  norm       = 1.33227e-09
  Prefactor  = 1.55879e-05
  norm       = 0.994277
  norm       = 9.4369e-10
  Prefactor  = 4.996e-10
  Prefactor  = 20.7814
  norm       = 9.99201e-10
  Prefactor  = 2.9976e-09
  norm       = 2.31593e-05
  norm       = 1.96065
  Prefactor  = 7.8304e-07
  Normalizat = 0.867111
  Prefactor  = 1.14631
 **********
 **   18 **HESSE 
 **********

 FCN=   6690.157     FROM HESSE     STATUS=OK           473 CALLS     2728 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0339        2.3102        .58235E-03   -1.5673    
   2  norm          2.8411        1.4637        .60318E-03   -1.5674    
   3  Prefactor     .76050E-08    69.474        .87673E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     59.884        65.631        .12932E-03   -1.5553    
   5  norm          2.9205        2.0181        .59458E-03   -1.5674    
   6  Prefactor     .94369E-09    13.490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.1234        .51526        .63561E-03   -1.5679    
   8  Prefactor     .13878E-08    7.7747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     140.05        98.985        .85737E-04   -1.5471    
  10  norm          .24702E-07    12.676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .83267E-09    2.5018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     35.289        23.055        .16796E-03   -1.5589    
  13  norm          .13323E-08    2.5224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .15588E-04    455.50        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .99428        .93117        .43528E-03   -1.5688    
  16  norm          .94369E-09    3.8082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .49960E-09    1.1829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     20.781        31.916        .21877E-03   -1.5617    
  19  norm          .99920E-09    2.9855        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .29976E-08    11.622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .23159E-04    1.0853        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.9606        6.6126        .75738E-03   -1.5680    
  23  Prefactor     .78304E-06    63.065        .93966E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .86711        .14812        .44477E-01   -.97626    
  25  Prefactor     1.1463        .18897        .61263E-01   -.88000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03433e-06
Minuit parameter uncertainties:
  1  2.31016
  2  1.46367
  3  0.00145363
  4  65.632
  5  2.01808
  6  0.000226004
  7  0.51526
  8  0.000206955
  9  98.9861
  10  0.00111871
  11  9.14872e-05
  12  23.0547
  13  0.000115952
  14  0.16854
  15  0.931165
  16  0.000120588
  17  4.95349e-05
  18  31.9165
  19  0.000108268
  20  0.000371726
  21  0.0100269
  22  6.61258
  23  0.0140548
  24  0.14819
  25  0.189084
Done.

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

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  2.470e-08  1.119e-03  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:  1.146e+00  1.891e-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:  8.671e-01  1.482e-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.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.71e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/949194/likelihoodResults_692668801_692928001_4FGL_J1124.9+4934_daily_bin1749.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) = 6690.15699862
delta logL = -9.26514348976e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6690.15698948
delta logL = -1.23945937958e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .37625E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    .29601       1.0000          .0000       5.0000    
     3 'Normalizat'    .86715       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1463       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=   6690.157     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      280 TOTAL
                     EDM=   .28E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.9084        .42118E-03** at limit **
   2  alpha         .90897E-01    .33953        .78349E-03     .0000    
   3  Normalizat    .86711        1.2039        .22179E-05    .57003E-05
   4  Prefactor     1.1463        1.1236       -.58572E-07    .13086E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 0.0908972
  Normalizat = 0.867111
  Prefactor  = 1.14631
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6690.157     FROM HESSE     STATUS=FAILED         7 CALLS      287 TOTAL
                     EDM=   .28E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.9084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .71366E-01    .35393        .78349E-03   -1.3003    
   3  Normalizat    .86711        1.2039        .22179E-05   -.97626    
   4  Prefactor     1.1463        1.1236       -.58572E-07   -.88000    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.82687e-13
Minuit parameter uncertainties:
  1  1.18152e-06
  2  0.356167
  3  1.24449
  4  1.14829
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/949194': 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) = 6690.15698936
delta logL = 9.74978320301e-10

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  0.000e+00  1.182e-06  0.000e+00  1.000e+06 ( 1.000e-14)
353        alpha:  9.090e-02  3.562e-01  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:  1.146e+00  1.148e+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:  8.671e-01  1.244e+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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/949194/cmap_HighResolution_692668801_692928001_4FGL_J1124.9+4934_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.71e-05', job_status='DONE', photon_flux_upper_limit='1.29e-08', time_completed='2022-12-17 00:51:05.262939', job_id='949194', GAL2='1.15', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1671267065.26', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='9.75e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.52' WHERE bin_id='1749' AND source_name='4FGL J1124.9+4934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 00:51:05 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 949194: <4FGL_J1124.9+4934_daily_bin1749> in cluster <slac> Done

Job <4FGL_J1124.9+4934_daily_bin1749> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Dec 17 00:35:22 2022
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:35:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:35:23 2022
Terminated at Sat Dec 17 00:51:06 2022
Results reported at Sat Dec 17 00:51:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1124.9+4934_daily_bin1749 171.243 49.5674 692668801 692928001 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 :                                   753.30 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             276.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   942 sec.
    Turnaround time :                            944 sec.

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

