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


Performing analysis on: 4FGL_J1124.9+4934_daily_bin1714
RA = 171.243, Dec = 49.5674
tmin = 683596801, tmax = 683856001
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='103016', job_status='RUN', time_executed='2022-09-16 16:00:19.235925', time_epoch_executed='1663369219.24' WHERE source_name='4FGL J1124.9+4934' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103016

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103016/ft1_4FGL_J1124.9+4934_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103016/ft2_4FGL_J1124.9+4934_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103016/ft1_4FGL_J1124.9+4934_daily_bin1714.fits outfile=/scratch/kocevski/103016/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin1714.fits ra=171.243 dec=49.5674 rad=12.0 tmin=683596801.0 tmax=683856001.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.92
user 2.68
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/103016/ft2_4FGL_J1124.9+4934_daily_bin1714.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/103016/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin1714.fits evtable="EVENTS" outfile="/scratch/kocevski/103016/ft1_filtered_4FGL_J1124.9+4934_daily_bin1714.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.44
user 0.30
sys 0.14

Number of photons that the gtmktime cut: 603

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103016/ft1_filtered_4FGL_J1124.9+4934_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/103016/ft2_4FGL_J1124.9+4934_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/103016/ltcube_683596801_683856001_4FGL_J1124.9+4934_daily_bin1714.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/103016/ft2_4FGL_J1124.9+4934_daily_bin1714.fits
.....................!
real 13.91
user 13.56
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103016/ft1_filtered_4FGL_J1124.9+4934_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/103016/ft2_4FGL_J1124.9+4934_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/103016/ltcube_683596801_683856001_4FGL_J1124.9+4934_daily_bin1714.fits outfile=/scratch/kocevski/103016/expmap_683596801_683856001_4FGL_J1124.9+4934_daily_bin1714.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/103016/ltcube_683596801_683856001_4FGL_J1124.9+4934_daily_bin1714.fits
.....................!
real 156.70
user 151.99
sys 4.37

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/103016/ft1_filtered_4FGL_J1124.9+4934_daily_bin1714.fits scfile=/scratch/kocevski/103016/ft2_4FGL_J1124.9+4934_daily_bin1714.fits outfile=/scratch/kocevski/103016/cmap_683596801_683856001_4FGL_J1124.9+4934_daily_bin1714.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.51
user 0.34
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103016/ft1_filtered_4FGL_J1124.9+4934_daily_bin1714.fits scfile=/scratch/kocevski/103016/ft2_4FGL_J1124.9+4934_daily_bin1714.fits outfile=/scratch/kocevski/103016/cmap_HighResolution_683596801_683856001_4FGL_J1124.9+4934_daily_bin1714.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.49
user 0.32
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.1353       1.0000          .0000       .10000E+07
     2 'norm      '    .12836       1.0000          .0000       .10000E+07
     3 'Prefactor '    24.134       1.0000          .0000       .10000E+07
     4 'Prefactor '    .88872E-01   1.0000          .0000       .10000E+07
     5 'norm      '    .93259E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .15505E-01   1.0000          .0000       .10000E+07
     7 'norm      '    .62608       1.0000          .0000       .10000E+07
     8 'Prefactor '    34.518       1.0000          .0000       .10000E+07
     9 'Prefactor '    .23682E-01   1.0000          .0000       .10000E+07
    10 'norm      '    30.009       1.0000          .0000       .10000E+07
    11 'Prefactor '    .29036E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    36.816       1.0000          .0000       .10000E+07
    13 'norm      '    .88402       1.0000          .0000       .10000E+07
    14 'Prefactor '    .21594E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .39968E-08   1.0000          .0000       .10000E+07
    16 'norm      '    14.906       1.0000          .0000       .10000E+07
    17 'Prefactor '    .13683E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    49.482       1.0000          .0000       .10000E+07
    19 'norm      '    6.7698       1.0000          .0000       .10000E+07
    20 'Prefactor '    2.8512       1.0000          .0000       .10000E+07
    21 'norm      '    .47740E-08   1.0000          .0000       .10000E+07
    22 'norm      '    3.5378       1.0000          .0000       .10000E+07
    23 'Prefactor '    .10257E-04   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.1225       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .98125       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=   6604.855     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     2285 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.1342        2.9438       -.87998E-07   -.12349E-02
   2  norm          .12865        1.7203        .14183E-06** at limit **
   3  Prefactor     24.242        22.612        .19743E-06   -.98399E-01
   4  Prefactor     .10005E-05    47.319        .48676E-06** at limit **
   5  norm           .0000        .63610        .95905E-07** at limit **
   6  Prefactor     .55511E-10    24.074       -.58835E-06** at limit **
   7  norm          .62595        .31597       -.23508E-07   -.40551E-02
   8  Prefactor     34.542        8.6649       -.44046E-07   -.10160    
   9  Prefactor     .33307E-09    43.571       -.91166E-06** at limit **
  10  norm          30.031        2.1923        .16415E-07   -.22115E-02
  11  Prefactor     .11102E-09    9.1607        .65932E-06** at limit **
  12  Prefactor     36.880        12.579        .10629E-06    .93318E-01
  13  norm          .88027        2.1170       -.31265E-06   -.18033E-02
  14  Prefactor     .23315E-08    29.076       -.64177E-06** at limit **
  15  norm           .0000        .59609       -.64409E-07** at limit **
  16  norm          14.847        4.3038        .37544E-07    .14187    
  17  Prefactor      .0000        1.3335       -.68380E-07** at limit **
  18  Prefactor     49.588        34.840        .21537E-06    .17250E-01
  19  norm          6.7679        5.3841        .81803E-07    .18405E-03
  20  Prefactor     2.7783        25.378       -.53223E-06    .15370E-02
  21  norm           .0000        .45236        .11967E-07** at limit **
  22  norm          3.5295        4.3511       -.51492E-07   -.22457E-03
  23  Prefactor     .16653E-09    5.1539       -.85059E-06** at limit **
  24  Normalizat    1.1226        .18353        .26374E-05   -.11802E-04
  25  Prefactor     .98131        .23631       -.41996E-05   -.20162E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.13422
  norm       = 0.128648
  Prefactor  = 24.2419
  Prefactor  = 1.00048e-06
  norm       = 0
  Prefactor  = 5.55112e-11
  norm       = 0.625951
  Prefactor  = 34.5416
  Prefactor  = 3.33067e-10
  norm       = 30.0307
  Prefactor  = 1.11022e-10
  Prefactor  = 36.8796
  norm       = 0.880265
  Prefactor  = 2.33147e-09
  norm       = 0
  norm       = 14.8469
  Prefactor  = 0
  Prefactor  = 49.5875
  norm       = 6.76787
  Prefactor  = 2.77831
  norm       = 0
  norm       = 3.52951
  Prefactor  = 1.66533e-10
  Normalizat = 1.1226
  Prefactor  = 0.981306
 **********
 **   18 **HESSE 
 **********

 FCN=   6604.855     FROM HESSE     STATUS=OK           483 CALLS     2768 TOTAL
                     EDM=   .33E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.1342        2.9437        .40508E-03   -1.5658    
   2  norm          .12865        .85176        .27499E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     24.242        77.281        .20360E-03   -1.5609    
   4  Prefactor     .10005E-05    57.831        .14238E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        .63832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    23.959        .17352E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .62595        .31242        .66924E-03   -1.5692    
   8  Prefactor     34.542        24.836        .17023E-03   -1.5590    
   9  Prefactor     .33307E-09    43.537        .16806E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          30.031        42.721        .18257E-03   -1.5598    
  11  Prefactor     .11102E-09    9.0984        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     36.880        28.784        .16483E-03   -1.5587    
  13  norm          .88027        2.1298        .46871E-03   -1.5689    
  14  Prefactor     .23315E-08    29.309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        .58742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          14.847        9.3386        .25916E-03   -1.5631    
  17  Prefactor      .0000        1.3340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     49.588        43.301        .14217E-03   -1.5567    
  19  norm          6.7679        5.4263        .38540E-03   -1.5656    
  20  Prefactor     2.7783        26.106        .60186E-03   -1.5675    
  21  norm           .0000        .45124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.5295        4.3597        .53716E-03   -1.5670    
  23  Prefactor     .16653E-09    5.1805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1226        .16050        .37149E-01   -.89029    
  25  Prefactor     .98131        .20306        .68223E-01   -.93355    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.2734e-06
Minuit parameter uncertainties:
  1  2.94375
  2  0.662049
  3  77.2844
  4  0.0152132
  5  8.19042e-07
  6  6.46373e-05
  7  0.312421
  8  24.8356
  9  0.000239463
  10  42.7217
  11  6.0084e-05
  12  28.7841
  13  2.12979
  14  0.000521736
  15  1.91029e-06
  16  9.33857
  17  2.8316e-06
  18  43.3013
  19  5.42633
  20  17.0332
  21  1.19234e-07
  22  4.35971
  23  5.94366e-05
  24  0.160566
  25  0.203222
Done.

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

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  3.003e+01  4.272e+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:  9.813e-01  2.032e-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.123e+00  1.606e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/103016/likelihoodResults_683596801_683856001_4FGL_J1124.9+4934_daily_bin1714.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) = 6604.63584551
delta logL = 0.218681190698

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6604.63089781
delta logL = 0.223628891142

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6604.631     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      251 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          25.912        38.747        .78523E-05   -.27011E-02
   2  alpha         .84423        .83483        .33346E-01    .32490E-04
   3  Normalizat    1.1214        .18207        .22091E-03    .12573E-02
   4  Prefactor     .98483        .23526        .30129E-03    .79562E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 25.9118
  alpha      = 0.844233
  Normalizat = 1.12137
  Prefactor  = 0.984834
 **********
 **   18 **HESSE 
 **********

 FCN=   6604.631     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          25.912        40.681        .15705E-05   -1.5606    
   2  alpha         .84423        .87305        .13338E-02   -.72389    
   3  Normalizat    1.1214        .18222        .44182E-04   -.89069    
   4  Prefactor     .98483        .23548        .60258E-04   -.93237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58871e-09
Minuit parameter uncertainties:
  1  40.681
  2  0.908228
  3  0.182326
  4  0.235726
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103016': 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) = 6604.630885
delta logL = 0.223641697293

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  2.591e+01  4.068e+01  0.000e+00  1.000e+06 ( 1.000e-14)
353        alpha:  8.442e-01  9.082e-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:  9.848e-01  2.357e-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.121e+00  1.823e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.17
Ra Dec: 171.243 49.567
Photon Index (Free Index): 0.84 +/- 0.91
Photon Flux (Free Index): 3.39e-09 +/- 4.70e-09
Energy Flux (Free Index): 4.08e-05 +/- 6.70e-05

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/103016/cmap_HighResolution_683596801_683856001_4FGL_J1124.9+4934_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.60e-05', comment='SUCCESS', energy_flux2='4.08e-05', dlogl='2.24e-01', photon_flux2='3.39e-09', job_status='DONE', time_completed='2022-09-16 16:10:50.724279', photon_index_error2='0.91', photon_index2='0.84', ts='0.72', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='2.64e-08', energy_flux_error2='6.70e-05', EG='1.12', time_epoch_completed='1663369850.72', return_code='0', job_id='103016', GAL2='0.98', EG2='1.12', return_code2='0', photon_flux_error2='4.70e-09', ts2='1.17', photon_index='1.52' WHERE bin_id='1714' AND source_name='4FGL J1124.9+4934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:10:50 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 103016: <4FGL_J1124.9+4934_daily_bin1714> in cluster <slac> Done

Job <4FGL_J1124.9+4934_daily_bin1714> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 16 15:55:14 2022
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:56:25 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:56:25 2022
Terminated at Fri Sep 16 16:10:51 2022
Results reported at Fri Sep 16 16:10:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1124.9+4934_daily_bin1714 171.243 49.5674 683596801 683856001 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 :                                   631.21 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             260.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   866 sec.
    Turnaround time :                            937 sec.

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

