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


Performing analysis on: 4FGL_J1124.9+4934_daily_bin1765
RA = 171.243, Dec = 49.5674
tmin = 696816001, tmax = 697075201
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='632688', job_status='RUN', time_executed='2023-02-03 00:53:03.064051', time_epoch_executed='1675414383.06' WHERE source_name='4FGL J1124.9+4934' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/632688

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/632688/ft1_4FGL_J1124.9+4934_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/632688/ft2_4FGL_J1124.9+4934_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/632688/ft1_4FGL_J1124.9+4934_daily_bin1765.fits outfile=/scratch/kocevski/632688/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin1765.fits ra=171.243 dec=49.5674 rad=12.0 tmin=696816001.0 tmax=697075201.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.42
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/632688/ft2_4FGL_J1124.9+4934_daily_bin1765.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/632688/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/632688/ft1_filtered_4FGL_J1124.9+4934_daily_bin1765.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 583

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/632688/ft1_filtered_4FGL_J1124.9+4934_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/632688/ft2_4FGL_J1124.9+4934_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/632688/ltcube_696816001_697075201_4FGL_J1124.9+4934_daily_bin1765.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/632688/ft2_4FGL_J1124.9+4934_daily_bin1765.fits
.....................!
real 15.98
user 15.48
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/632688/ft1_filtered_4FGL_J1124.9+4934_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/632688/ft2_4FGL_J1124.9+4934_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/632688/ltcube_696816001_697075201_4FGL_J1124.9+4934_daily_bin1765.fits outfile=/scratch/kocevski/632688/expmap_696816001_697075201_4FGL_J1124.9+4934_daily_bin1765.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/632688/ltcube_696816001_697075201_4FGL_J1124.9+4934_daily_bin1765.fits
.....................!
real 192.83
user 186.75
sys 5.52

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/632688/ft1_filtered_4FGL_J1124.9+4934_daily_bin1765.fits scfile=/scratch/kocevski/632688/ft2_4FGL_J1124.9+4934_daily_bin1765.fits outfile=/scratch/kocevski/632688/cmap_696816001_697075201_4FGL_J1124.9+4934_daily_bin1765.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/632688/ft1_filtered_4FGL_J1124.9+4934_daily_bin1765.fits scfile=/scratch/kocevski/632688/ft2_4FGL_J1124.9+4934_daily_bin1765.fits outfile=/scratch/kocevski/632688/cmap_HighResolution_696816001_697075201_4FGL_J1124.9+4934_daily_bin1765.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.57
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8895       1.0000          .0000       .10000E+07
     2 'norm      '    1.6060       1.0000          .0000       .10000E+07
     3 'Prefactor '    .17603E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .25600E-02   1.0000          .0000       .10000E+07
     5 'norm      '    2.5590       1.0000          .0000       .10000E+07
     6 'Prefactor '    33.509       1.0000          .0000       .10000E+07
     7 'norm      '    1.6599       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.2208       1.0000          .0000       .10000E+07
     9 'Prefactor '    73.805       1.0000          .0000       .10000E+07
    10 'norm      '    .22625E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    10.858       1.0000          .0000       .10000E+07
    12 'Prefactor '    .40132E-02   1.0000          .0000       .10000E+07
    13 'norm      '    5.5799       1.0000          .0000       .10000E+07
    14 'Prefactor '    64.218       1.0000          .0000       .10000E+07
    15 'norm      '    2.6716       1.0000          .0000       .10000E+07
    16 'norm      '    14.754       1.0000          .0000       .10000E+07
    17 'Prefactor '    .37400E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .34950E-01   1.0000          .0000       .10000E+07
    19 'norm      '    1.9170       1.0000          .0000       .10000E+07
    20 'Prefactor '    .15038E-01   1.0000          .0000       .10000E+07
    21 'norm      '    .50690E-03   1.0000          .0000       .10000E+07
    22 'norm      '    3.9078       1.0000          .0000       .10000E+07
    23 'Prefactor '    .31253E-05   1.0000          .0000       .10000E+07
    24 'Normalizat'    .92004       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1278       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=   6404.387     FROM MIGRAD    STATUS=CONVERGED    196 CALLS     2268 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8904        2.4855        .18075E-06    .30722E-02
   2  norm          1.6071        1.3214       -.24793E-08    .38012E-04
   3  Prefactor      .0000        37.574        .11145E-04** at limit **
   4  Prefactor     .55511E-10    38.290       -.11189E-04** at limit **
   5  norm          2.5584        1.8090        .23949E-06   -.56742E-02
   6  Prefactor     33.609        9.8673       -.18586E-05    .83702E-02
   7  norm          1.6603        .50909       -.89706E-07    .74098E-02
   8  Prefactor     5.2089        12.824        .15912E-05   -.10069E-02
   9  Prefactor     77.109        83.468        .16249E-05    .27279E-03
  10  norm          .22204E-09    13.306        .87098E-06** at limit **
  11  Prefactor     10.929        6.7859       -.90556E-07   -.88618E-03
  12  Prefactor      .0000        10.887       -.59946E-06** at limit **
  13  norm          5.5849        3.2522       -.30386E-06    .20780E-02
  14  Prefactor     63.827        44.642        .55046E-05    .30794E-02
  15  norm          2.6750        1.3751       -.12614E-06   -.17052E-02
  16  norm          14.838        11.970       -.11062E-05   -.13978E-02
  17  Prefactor     .55511E-10    3.1441        .56927E-06** at limit **
  18  Prefactor      .0000        50.810        .14668E-05** at limit **
  19  norm          1.9109        4.0070       -.42311E-07    .10255E-02
  20  Prefactor     .55511E-10    18.972        .15912E-05** at limit **
  21  norm          .38858E-09    22.580        .51281E-06** at limit **
  22  norm          3.9382        4.6993        .50445E-06   -.21301E-02
  23  Prefactor     .11102E-09    5.2919        .34842E-06** at limit **
  24  Normalizat    .91982        .20171        .22066E-04    .14295E-03
  25  Prefactor     1.1272        .26095       -.20972E-04    .14386E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.89036
  norm       = 1.60714
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 2.55842
  Prefactor  = 33.6095
  norm       = 1.66026
  Prefactor  = 5.20894
  Prefactor  = 77.1094
  norm       = 2.22045e-10
  Prefactor  = 10.9288
  Prefactor  = 0
  norm       = 5.58491
  Prefactor  = 63.827
  norm       = 2.67499
  norm       = 14.8378
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 1.91088
  Prefactor  = 5.55112e-11
  norm       = 3.88578e-10
  norm       = 3.93817
  Prefactor  = 1.11022e-10
  Normalizat = 0.919823
  Prefactor  = 1.12716
 **********
 **   18 **HESSE 
 **********

 FCN=   6404.387     FROM HESSE     STATUS=OK           487 CALLS     2755 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8904        2.4875        .51137E-03   -1.5669    
   2  norm          1.6071        1.3307        .83586E-03   -1.5683    
   3  Prefactor      .0000        37.594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    38.300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.5584        1.8143        .63793E-03   -1.5676    
   6  Prefactor     33.609        50.378        .17277E-03   -1.5592    
   7  norm          1.6603        .50861        .69498E-03   -1.5682    
   8  Prefactor     5.2089        12.887        .43969E-03   -1.5662    
   9  Prefactor     77.109        83.261        .11641E-03   -1.5532    
  10  norm          .22204E-09    13.315        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.929        6.7597        .30380E-03   -1.5642    
  12  Prefactor      .0000        10.896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.5849        3.2566        .42506E-03   -1.5661    
  14  Prefactor     63.827        45.660        .12480E-03   -1.5548    
  15  norm          2.6750        1.3813        .62324E-03   -1.5675    
  16  norm          14.838        11.966        .26050E-03   -1.5631    
  17  Prefactor     .55511E-10    3.1268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        50.667        .16200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.9109        4.0301        .75031E-03   -1.5680    
  20  Prefactor     .55511E-10    18.427        .17388E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .38858E-09    1.2211        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.9382        4.7113        .51013E-03   -1.5668    
  23  Prefactor     .11102E-09    5.2958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .91982        .16958        .45157E-01   -.95767    
  25  Prefactor     1.1272        .21480        .65121E-01   -.88603    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.36075e-08
Minuit parameter uncertainties:
  1  2.48753
  2  1.33068
  3  3.25775e-05
  4  7.59251e-05
  5  1.81431
  6  50.3786
  7  0.508607
  8  12.8869
  9  83.2626
  10  0.000115176
  11  6.7597
  12  2.26607e-06
  13  3.25658
  14  45.6598
  15  1.38126
  16  11.9664
  17  2.2328e-05
  18  5.74729e-05
  19  4.03014
  20  5.44563e-05
  21  4.23212e-05
  22  4.71133
  23  5.2857e-05
  24  0.169683
  25  0.214967
Done.

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

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  2.220e-10  1.152e-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:  1.127e+00  2.150e-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.198e-01  1.697e-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.37e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.93e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/632688/likelihoodResults_696816001_697075201_4FGL_J1124.9+4934_daily_bin1765.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) = 6404.38746635
delta logL = -5.6970920923e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6404.38746082
delta logL = -1.70626663021e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .31586E-07   1.0000          .0000       .10000E+07
     2 'alpha     '    .15320       1.0000          .0000       5.0000    
     3 'Normalizat'    .91984       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1272       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=   6404.387     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      233 TOTAL
                     EDM=   .82E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        11.595       -.14065E-06** at limit **
   2  alpha         1.7965        3.0470        .97159E-05     .0000    
   3  Normalizat    .91982        .19744        .96406E-05   -.47188E-05
   4  Prefactor     1.1272        .25708       -.10622E-04   -.17706E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 1.79655
  Normalizat = 0.919823
  Prefactor  = 1.12716
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6404.387     FROM HESSE     STATUS=FAILED        11 CALLS      244 TOTAL
                     EDM=   .82E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        11.529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .71493        1.1677        .97159E-05   -.28523    
   3  Normalizat    .91982        1.2542        .96406E-05   -.95767    
   4  Prefactor     1.1272        1.1328       -.10622E-04   -.88603    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.2099e-13
Minuit parameter uncertainties:
  1  7.81002e-06
  2  1.19941
  3  1.29786
  4  1.15853
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/632688': 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) = 6404.38746065
delta logL = 2.18278728426e-11

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  0.000e+00  7.810e-06  0.000e+00  1.000e+06 ( 1.000e-14)
353        alpha:  1.797e+00  1.199e+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:  1.127e+00  1.159e+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:  9.198e-01  1.298e+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/632688/cmap_HighResolution_696816001_697075201_4FGL_J1124.9+4934_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.93e-05', job_status='DONE', photon_flux_upper_limit='1.37e-08', time_completed='2023-02-03 01:05:27.607088', job_id='632688', GAL2='1.13', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1675415127.61', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='2.18e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.52' WHERE bin_id='1765' AND source_name='4FGL J1124.9+4934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:05:27 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 632688: <4FGL_J1124.9+4934_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1124.9+4934_daily_bin1765> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb  3 00:50:18 2023
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 00:51:09 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 00:51:09 2023
Terminated at Fri Feb  3 01:05:28 2023
Results reported at Fri Feb  3 01:05:28 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1124.9+4934_daily_bin1765 171.243 49.5674 696816001 697075201 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 :                                   746.08 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            910 sec.

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

