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


Performing analysis on: 4FGL_J1124.9+4934_weekly_bin752
RA = 171.243, Dec = 49.5674
tmin = 693792001, tmax = 694396801
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='438026', job_status='RUN', time_executed='2023-01-03 01:41:29.743448', time_epoch_executed='1672738889.74' WHERE source_name='4FGL J1124.9+4934' and cadence='weekly' and bin_id='752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/438026

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/438026/ft1_4FGL_J1124.9+4934_weekly_bin752.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/438026/ft2_4FGL_J1124.9+4934_weekly_bin752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/438026/ft1_4FGL_J1124.9+4934_weekly_bin752.fits outfile=/scratch/kocevski/438026/ft1_filteredMKT_4FGL_J1124.9+4934_weekly_bin752.fits ra=171.243 dec=49.5674 rad=12.0 tmin=693792001.0 tmax=694396801.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 8.72
user 8.34
sys 0.32

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/438026/ft2_4FGL_J1124.9+4934_weekly_bin752.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/438026/ft1_filteredMKT_4FGL_J1124.9+4934_weekly_bin752.fits evtable="EVENTS" outfile="/scratch/kocevski/438026/ft1_filtered_4FGL_J1124.9+4934_weekly_bin752.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.56
user 0.37
sys 0.18

Number of photons that the gtmktime cut: 871

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/438026/ft1_filtered_4FGL_J1124.9+4934_weekly_bin752.fits" evtable="EVENTS" scfile=/scratch/kocevski/438026/ft2_4FGL_J1124.9+4934_weekly_bin752.fits sctable="SC_DATA" outfile=/scratch/kocevski/438026/ltcube_693792001_694396801_4FGL_J1124.9+4934_weekly_bin752.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/438026/ft2_4FGL_J1124.9+4934_weekly_bin752.fits
.....................!
real 36.80
user 36.12
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/438026/ft1_filtered_4FGL_J1124.9+4934_weekly_bin752.fits evtable="EVENTS" scfile=/scratch/kocevski/438026/ft2_4FGL_J1124.9+4934_weekly_bin752.fits sctable="SC_DATA" expcube=/scratch/kocevski/438026/ltcube_693792001_694396801_4FGL_J1124.9+4934_weekly_bin752.fits outfile=/scratch/kocevski/438026/expmap_693792001_694396801_4FGL_J1124.9+4934_weekly_bin752.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/438026/ltcube_693792001_694396801_4FGL_J1124.9+4934_weekly_bin752.fits
.....................!
real 193.47
user 187.64
sys 5.39

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/438026/ft1_filtered_4FGL_J1124.9+4934_weekly_bin752.fits scfile=/scratch/kocevski/438026/ft2_4FGL_J1124.9+4934_weekly_bin752.fits outfile=/scratch/kocevski/438026/cmap_693792001_694396801_4FGL_J1124.9+4934_weekly_bin752.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.60
user 0.41
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/438026/ft1_filtered_4FGL_J1124.9+4934_weekly_bin752.fits scfile=/scratch/kocevski/438026/ft2_4FGL_J1124.9+4934_weekly_bin752.fits outfile=/scratch/kocevski/438026/cmap_HighResolution_693792001_694396801_4FGL_J1124.9+4934_weekly_bin752.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.61
user 0.46
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0953       1.0000          .0000       .10000E+07
     2 'norm      '    .91982E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .47523E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .52633E-01   1.0000          .0000       .10000E+07
     5 'norm      '    2.1944       1.0000          .0000       .10000E+07
     6 'Prefactor '    .35532E-02   1.0000          .0000       .10000E+07
     7 'norm      '    3.2443       1.0000          .0000       .10000E+07
     8 'Prefactor '    .36443E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .31829E-02   1.0000          .0000       .10000E+07
    10 'norm      '    79.416       1.0000          .0000       .10000E+07
    11 'Prefactor '    19.507       1.0000          .0000       .10000E+07
    12 'Prefactor '    .27544E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .71663       1.0000          .0000       .10000E+07
    14 'Prefactor '    .89846E-01   1.0000          .0000       .10000E+07
    15 'norm      '    .52879       1.0000          .0000       .10000E+07
    16 'norm      '    .21884E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .83061E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    17.600       1.0000          .0000       .10000E+07
    19 'norm      '    .97122E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    .59606E-03   1.0000          .0000       .10000E+07
    21 'norm      '    1.2012       1.0000          .0000       .10000E+07
    22 'norm      '    9.5628       1.0000          .0000       .10000E+07
    23 'Prefactor '    8.2420       1.0000          .0000       .10000E+07
    24 'Normalizat'    .91996       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .89977       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=   9543.149     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     1710 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0958        2.0971       -.23340E-07    .13976E-03
   2  norm           .0000        .46930        .80465E-07** at limit **
   3  Prefactor     .19318E-07    21.813       -.43478E-06** at limit **
   4  Prefactor     .55511E-10    61.117       -.86184E-06** at limit **
   5  norm          2.1941        1.3470        .13204E-06   -.16564E-02
   6  Prefactor     .36893E-06    199.72        .11813E-05** at limit **
   7  norm          3.2442        .49738        .96371E-09   -.71397E-04
   8  Prefactor     .33307E-09    6.7054       -.59031E-06** at limit **
   9  Prefactor     .25091E-07    17.332        .74913E-06** at limit **
  10  norm          80.812        44.307       -.15346E-06    .24562E-01
  11  Prefactor     19.505        6.6818       -.21677E-06   -.11629E-02
  12  Prefactor     .20539E-08    10.601       -.13076E-05** at limit **
  13  norm          .71976        1.5436        .94758E-07   -.47970E-03
  14  Prefactor     .11935E-07    93.564       -.73905E-06** at limit **
  15  norm          .52964        .49640       -.63640E-07    .25474E-03
  16  norm          .32752E-08    14.435       -.31000E-06** at limit **
  17  Prefactor      .0000        .90886       -.82377E-07** at limit **
  18  Prefactor     17.411        5.2322        .14438E-07   -.11277    
  19  norm           .0000        1.2722        .62000E-07** at limit **
  20  Prefactor     .11102E-09    4.8099       -.49324E-06** at limit **
  21  norm          1.2013        1.3538        .79221E-07   -.25180E-03
  22  norm          9.5291        4.5972       -.21489E-06    .53005E-03
  23  Prefactor     8.2378        9.6149        .30777E-06   -.13079E-03
  24  Normalizat    .92013        .14369        .12965E-04   -.86183E-04
  25  Prefactor     .89956        .17901       -.13678E-04   -.39781E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.09576
  norm       = 0
  Prefactor  = 1.93179e-08
  Prefactor  = 5.55112e-11
  norm       = 2.19409
  Prefactor  = 3.68927e-07
  norm       = 3.24421
  Prefactor  = 3.33067e-10
  Prefactor  = 2.5091e-08
  norm       = 80.8122
  Prefactor  = 19.5049
  Prefactor  = 2.05391e-09
  norm       = 0.719757
  Prefactor  = 1.19349e-08
  norm       = 0.529637
  norm       = 3.27516e-09
  Prefactor  = 0
  Prefactor  = 17.4108
  norm       = 0
  Prefactor  = 1.11022e-10
  norm       = 1.20128
  norm       = 9.52907
  Prefactor  = 8.23781
  Normalizat = 0.920126
  Prefactor  = 0.899562
 **********
 **   18 **HESSE 
 **********

 FCN=   9543.149     FROM HESSE     STATUS=OK           475 CALLS     2185 TOTAL
                     EDM=   .63E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0958        2.0967        .49793E-03   -1.5667    
   2  norm           .0000        .46782        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .19318E-07    21.882        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    60.837        .15437E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.1941        1.3456        .69439E-03   -1.5678    
   6  Prefactor     .36893E-06    199.81        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.2442        .49670        .56207E-03   -1.5672    
   8  Prefactor     .33307E-09    6.7111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .25091E-07    17.399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          80.812        44.790        .11222E-03   -1.5528    
  11  Prefactor     19.505        6.6612        .22649E-03   -1.5620    
  12  Prefactor     .20539E-08    10.604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .71976        1.5593        .59369E-03   -1.5691    
  14  Prefactor     .11935E-07    8.0282        .14210E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .52964        .52705        .75865E-03   -1.5693    
  16  norm          .32752E-08    14.249        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        .90302        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     17.411        28.903        .23846E-03   -1.5625    
  19  norm           .0000        1.2673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .11102E-09    4.8169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.2013        1.3779        .10351E-02   -1.5686    
  22  norm          9.5291        4.6045        .32382E-03   -1.5646    
  23  Prefactor     8.2378        9.6372        .34897E-03   -1.5651    
  24  Normalizat    .92013        .12338        .45156E-01   -.95756    
  25  Prefactor     .89956        .15357        .45002E-01   -.96156    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.2993e-07
Minuit parameter uncertainties:
  1  2.09666
  2  6.17612e-07
  3  0.00129947
  4  0.000115857
  5  1.3456
  6  0.0171714
  7  0.496699
  8  9.49054e-05
  9  0.00132155
  10  44.7898
  11  6.66118
  12  0.000296557
  13  1.5593
  14  0.00061905
  15  0.527049
  16  0.000431946
  17  1.98484e-06
  18  28.9034
  19  1.39093e-06
  20  4.62259e-05
  21  1.37787
  22  4.60451
  23  9.63722
  24  0.123415
  25  0.153646
Done.

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

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  8.081e+01  4.479e+01  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:  8.996e-01  1.536e-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:  9.201e-01  1.234e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.59
Ra Dec: 171.243 49.567
Photon Index (Fixed Index): 1.52 +/- 0.00
Photon Flux (Fixed Index): 1.39e-08 +/- 7.70e-09
Energy Flux (Fixed Index): 4.00e-05 +/- 2.22e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9542.60298684
delta logL = 0.545586686676

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9542.59907238
delta logL = 0.549501145708

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    65.329       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9903       1.0000          .0000       5.0000    
     3 'Normalizat'    .91661       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89468       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.

 FCN=   9542.599     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      270 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          65.263        622.78        .12373E-03    .51454E-05
   2  alpha         1.9884        3.4935        .30446        .71593E-04
   3  Normalizat    .91657        .68086E-01    .45113E-01    .15454E-04
   4  Prefactor     .89512        .64891E-01    .44937E-01    .22583E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 65.2629
  alpha      = 1.98843
  Normalizat = 0.916569
  Prefactor  = 0.895124
 **********
 **   18 **HESSE 
 **********

 FCN=   9542.599     FROM HESSE     STATUS=OK            31 CALLS      301 TOTAL
                     EDM=   .47E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          65.263        43.441        .49492E-05   -1.5546    
   2  alpha         1.9884        .45531        .10351E-01   -.20608    
   3  Normalizat    .91657        .13967        .22176E-03   -.95880    
   4  Prefactor     .89512        .17747        .28332E-03   -.96312    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.66482e-12
Minuit parameter uncertainties:
  1  43.4408
  2  0.457983
  3  0.139722
  4  0.177587
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/438026': 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) = 9542.59904248
delta logL = 0.549531044295

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  6.526e+01  4.344e+01  0.000e+00  1.000e+06 ( 1.000e-14)
353        alpha:  1.988e+00  4.580e-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:  8.951e-01  1.776e-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:  9.166e-01  1.397e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.68
Ra Dec: 171.243 49.567
Photon Index (Free Index): 1.99 +/- 0.46
Photon Flux (Free Index): 2.32e-08 +/- 1.56e-08
Energy Flux (Free Index): 2.43e-05 +/- 1.65e-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/438026/cmap_HighResolution_693792001_694396801_4FGL_J1124.9+4934_weekly_bin752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.39e-08', energy_flux2='2.43e-05', photon_flux_error='7.70e-09', dlogl='5.50e-01', energy_flux='4.00e-05', photon_flux2='2.32e-08', job_status='DONE', time_completed='2023-01-03 01:55:30.301891', photon_index_error2='0.46', photon_index2='1.99', ts='10.59', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='1.65e-05', EG='0.92', time_epoch_completed='1672739730.3', return_code='0', job_id='438026', GAL2='0.90', EG2='0.92', return_code2='0', energy_flux_error='2.22e-05', photon_flux_error2='1.56e-08', ts2='11.68', photon_index='1.52' WHERE bin_id='752' AND source_name='4FGL J1124.9+4934' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan  3 01:55:30 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 438026: <4FGL_J1124.9+4934_weekly_bin752> in cluster <slac> Done

Job <4FGL_J1124.9+4934_weekly_bin752> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Jan  3 01:40:25 2023
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan  3 01:40:40 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan  3 01:40:40 2023
Terminated at Tue Jan  3 01:55:31 2023
Results reported at Tue Jan  3 01:55:31 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1124.9+4934_weekly_bin752 171.243 49.5674 693792001 694396801 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 :                                   838.00 sec.
    Max Memory :                                 1096 MB
    Average Memory :                             315.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   891 sec.
    Turnaround time :                            906 sec.

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

