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


Performing analysis on: 4FGL_J1124.9+4934_daily_bin1772
RA = 171.243, Dec = 49.5674
tmin = 698630401, tmax = 698889601
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='629704', job_status='RUN', time_executed='2023-02-24 01:27:04.376978', time_epoch_executed='1677230824.38' WHERE source_name='4FGL J1124.9+4934' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/629704

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/629704/ft1_4FGL_J1124.9+4934_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/629704/ft2_4FGL_J1124.9+4934_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/629704/ft1_4FGL_J1124.9+4934_daily_bin1772.fits outfile=/scratch/kocevski/629704/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin1772.fits ra=171.243 dec=49.5674 rad=12.0 tmin=698630401.0 tmax=698889601.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.01
user 2.79
sys 0.19

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

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

Number of photons that the gtmktime cut: 46

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/629704/ft1_filtered_4FGL_J1124.9+4934_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/629704/ft2_4FGL_J1124.9+4934_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/629704/ltcube_698630401_698889601_4FGL_J1124.9+4934_daily_bin1772.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/629704/ft2_4FGL_J1124.9+4934_daily_bin1772.fits
.....................!
real 13.24
user 12.85
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/629704/ft1_filtered_4FGL_J1124.9+4934_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/629704/ft2_4FGL_J1124.9+4934_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/629704/ltcube_698630401_698889601_4FGL_J1124.9+4934_daily_bin1772.fits outfile=/scratch/kocevski/629704/expmap_698630401_698889601_4FGL_J1124.9+4934_daily_bin1772.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/629704/ltcube_698630401_698889601_4FGL_J1124.9+4934_daily_bin1772.fits
.....................!
real 191.04
user 186.46
sys 4.13

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/629704/ft1_filtered_4FGL_J1124.9+4934_daily_bin1772.fits scfile=/scratch/kocevski/629704/ft2_4FGL_J1124.9+4934_daily_bin1772.fits outfile=/scratch/kocevski/629704/cmap_698630401_698889601_4FGL_J1124.9+4934_daily_bin1772.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.56
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/629704/ft1_filtered_4FGL_J1124.9+4934_daily_bin1772.fits scfile=/scratch/kocevski/629704/ft2_4FGL_J1124.9+4934_daily_bin1772.fits outfile=/scratch/kocevski/629704/cmap_HighResolution_698630401_698889601_4FGL_J1124.9+4934_daily_bin1772.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24091E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .60870E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .99989E+06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .99816E+06   1.0000          .0000       .10000E+07
     5 'norm      '    155.63       1.0000          .0000       .10000E+07
     6 'Prefactor '    81722.       1.0000          .0000       .10000E+07
     7 'norm      '    1.0630       1.0000          .0000       .10000E+07
     8 'Prefactor '    .55194       1.0000          .0000       .10000E+07
     9 'Prefactor '    .30774E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .78887       1.0000          .0000       .10000E+07
    11 'Prefactor '    .38503E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .27438E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .45714E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .50264       1.0000          .0000       .10000E+07
    15 'norm      '    .12551E-03   1.0000          .0000       .10000E+07
    16 'norm      '    31.961       1.0000          .0000       .10000E+07
    17 'Prefactor '    .72851E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    219.10       1.0000          .0000       .10000E+07
    19 'norm      '    .49960E-09   1.0000          .0000       .10000E+07
    20 'Prefactor '    84.052       1.0000          .0000       .10000E+07
    21 'norm      '    1.5885       1.0000          .0000       .10000E+07
    22 'norm      '    .80473E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    .66640E-02   1.0000          .0000       .10000E+07
    24 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    .36601       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=   506.7774     FROM MIGRAD    STATUS=CONVERGED    245 CALLS     2714 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    122.26        .34383E-06** at limit **
   2  norm           .0000        20.665       -.14812E-07** at limit **
   3  Prefactor     .99990E+06    34.854        .42615E-06   -.11251    
   4  Prefactor     .99817E+06    22.225        .63938E-07   -.28663    
   5  norm          .35804E-03    1600.0       -.91802E-05** at limit **
   6  Prefactor     81720.        5.2978       -.23270E-08    .34871    
   7  norm           .0000        750.40       -.49815E-06** at limit **
   8  Prefactor     .62522E-03    1487.4        .51294E-05** at limit **
   9  Prefactor     .17322        214.66        .20222E-05** at limit **
  10  norm          .17737E-04    661.88        .62006E-05** at limit **
  11  Prefactor      .0000        27.832        .64572E-07** at limit **
  12  Prefactor      .0000        35.759        .10074E-06** at limit **
  13  norm           .0000        26.930       -.40735E-06** at limit **
  14  Prefactor      .0000        202.49       -.93498E-06** at limit **
  15  norm           .0000        3.8494        .47368E-07** at limit **
  16  norm          31.770        42.341        .15042E-05    .19396E-03
  17  Prefactor      .0000        3.5999       -.19107E-06** at limit **
  18  Prefactor     223.96        219.41       -.16011E-05    .72720E-02
  19  norm           .0000        2.9828       -.58311E-07** at limit **
  20  Prefactor     73.723        71.071        .85803E-07   -.15572E-03
  21  norm          1.5731        3.0081       -.88635E-07   -.18639E-03
  22  norm           .0000        15.569        .31956E-06** at limit **
  23  Prefactor      .0000        23.331       -.14761E-06** at limit **
  24  Normalizat    .10000E-01    .69909E-01    .48344E-06** at limit **
  25  Prefactor     .37290        .21730        .82355E-06   -.14142E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 999899
  Prefactor  = 998166
  norm       = 0.000358036
  Prefactor  = 81720.1
  norm       = 0
  Prefactor  = 0.000625215
  Prefactor  = 0.173221
  norm       = 1.77373e-05
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 0
  norm       = 31.7701
  Prefactor  = 0
  Prefactor  = 223.956
  norm       = 0
  Prefactor  = 73.7225
  norm       = 1.57306
  norm       = 0
  Prefactor  = 0
  Normalizat = 0.01
  Prefactor  = 0.372897
 **********
 **   18 **HESSE 
 **********

 FCN=   506.7774     FROM HESSE     STATUS=OK           457 CALLS     3171 TOTAL
                     EDM=   .35E-01    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    122.33        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        20.680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .99990E+06    44015.        .94429E-04    1.5507    
   4  Prefactor     .99817E+06    72738.        .23327E-04    1.4851    
   5  norm          .35804E-03    1594.2        .80165E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     81720.        66373.        .47253E-05   -.99097    
   7  norm           .0000        752.50        .11853E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .62522E-03    1518.4        .73648E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .17322        9194.6        .16410E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .17737E-04    662.73        .53768E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        27.863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        35.867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        27.023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        205.99        .78444E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        3.8460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          31.770        42.238        .17691E-03   -1.5595    
  17  Prefactor      .0000        3.6022        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     223.96        219.49        .67566E-04   -1.5409    
  19  norm           .0000        2.9985        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     73.723        71.747        .10908E-03   -1.5536    
  21  norm          1.5731        3.0255        .84175E-03   -1.5683    
  22  norm           .0000        15.506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        23.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .10000E-01    .69794E-01    .83329E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .37290        .21894        .37760E-01   -1.1821    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.0346926
Minuit parameter uncertainties:
  1  0.00013881
  2  7.80617e-08
  3  4250.58
  4  23413.8
  5  1.51142
  6  67040.6
  7  9.10647e-05
  8  1.94914
  9  79.9401
  10  0.216865
  11  6.11491e-06
  12  6.87328e-06
  13  3.70905e-05
  14  7.89969e-05
  15  3.76037e-06
  16  42.2388
  17  1.03096e-06
  18  219.498
  19  7.95221e-07
  20  71.7476
  21  3.02552
  22  6.84099e-06
  23  8.52506e-06
  24  1.12591e-08
  25  0.219429
Done.

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

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  1.774e-05  2.169e-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:  3.729e-01  2.194e-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.000e-02  1.126e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 171.243 49.567
Photon Flux Upper Limit: 6.80e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.96e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/629704/likelihoodResults_698630401_698889601_4FGL_J1124.9+4934_daily_bin1772.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) = 506.778151499
delta logL = -0.000719268304294

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 506.777432229
delta logL = 1.60321178555e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .20747E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    2.4012       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .37292       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=   506.7774     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      252 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .95757E-07    3098.4        .42118E-03** at limit **
   2  alpha         .86576        3.4761        .41192       -.65203E-10
   3  Normalizat    .10000E-01    .62066E-03    .83328E-01** at limit **
   4  Prefactor     .37290        .18953E-01    .37860E-01    .20133E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.57567e-08
  alpha      = 0.865765
  Normalizat = 0.01
  Prefactor  = 0.372902
 **********
 **   18 **HESSE 
 **********

 FCN=   506.7774     FROM HESSE     STATUS=NOT POSDEF    23 CALLS      275 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .95757E-07    13413.        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .86576        2.5905        .82385E-01   -.71246    
   3  Normalizat    .10000E-01    .28315E-02    .18269E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .37290        .40084E-01    .23185E-03   -1.1821    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.49523e-09
Minuit parameter uncertainties:
  1  0.0718288
  2  384921
  3  4.8222e-08
  4  0.0400873
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/629704': 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): 102
logL (Free Index) = 506.777432218
delta logL = 1.30880266624e-08

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  9.576e-08  7.183e-02  0.000e+00  1.000e+06 ( 1.000e-14)
353        alpha:  8.658e-01  3.849e+05  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:  3.729e-01  4.009e-02  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.000e-02  4.822e-08  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/629704/cmap_HighResolution_698630401_698889601_4FGL_J1124.9+4934_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.96e-03', job_status='DONE', photon_flux_upper_limit='6.80e-07', time_completed='2023-02-24 01:33:10.679587', job_id='629704', GAL2='0.37', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1677231190.68', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.37', dlogl='1.31e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.52' WHERE bin_id='1772' AND source_name='4FGL J1124.9+4934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 01:33:10 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 629704: <4FGL_J1124.9+4934_daily_bin1772> in cluster <slac> Done

Job <4FGL_J1124.9+4934_daily_bin1772> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Feb 24 01:25:18 2023
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:25:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:25:19 2023
Terminated at Fri Feb 24 01:33:11 2023
Results reported at Fri Feb 24 01:33:11 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1124.9+4934_daily_bin1772 171.243 49.5674 698630401 698889601 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 :                                   366.46 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   472 sec.
    Turnaround time :                            473 sec.

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

