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


Performing analysis on: 4FGL_J1127.8+3618_daily_bin1779
RA = 171.964, Dec = 36.314
tmin = 700444801, tmax = 700704001
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='21088', job_status='RUN', time_executed='2023-03-17 01:26:51.241665', time_epoch_executed='1679041611.24' WHERE source_name='4FGL J1127.8+3618' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/21088

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/21088/ft1_4FGL_J1127.8+3618_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/21088/ft2_4FGL_J1127.8+3618_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/21088/ft1_4FGL_J1127.8+3618_daily_bin1779.fits outfile=/scratch/kocevski/21088/ft1_filteredMKT_4FGL_J1127.8+3618_daily_bin1779.fits ra=171.964 dec=36.314 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.29
user 5.00
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/21088/ft2_4FGL_J1127.8+3618_daily_bin1779.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/21088/ft2_4FGL_J1127.8+3618_daily_bin1779.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/21088/ft1_filteredMKT_4FGL_J1127.8+3618_daily_bin1779.fits evtable="EVENTS" outfile="/scratch/kocevski/21088/ft1_filtered_4FGL_J1127.8+3618_daily_bin1779.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 550

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/21088/ft1_filtered_4FGL_J1127.8+3618_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/21088/ft2_4FGL_J1127.8+3618_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/21088/ltcube_700444801_700704001_4FGL_J1127.8+3618_daily_bin1779.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/21088/ft2_4FGL_J1127.8+3618_daily_bin1779.fits
.....................!
real 11.79
user 11.42
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/21088/ft1_filtered_4FGL_J1127.8+3618_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/21088/ft2_4FGL_J1127.8+3618_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/21088/ltcube_700444801_700704001_4FGL_J1127.8+3618_daily_bin1779.fits outfile=/scratch/kocevski/21088/expmap_700444801_700704001_4FGL_J1127.8+3618_daily_bin1779.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/21088/ltcube_700444801_700704001_4FGL_J1127.8+3618_daily_bin1779.fits
.....................!
real 190.86
user 185.18
sys 5.36

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 202 point sources and 0 extended sources

Setting source of interest to:
4FGL J1127.8+3618 @ 171.964 36.314

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/21088/ft1_filtered_4FGL_J1127.8+3618_daily_bin1779.fits scfile=/scratch/kocevski/21088/ft2_4FGL_J1127.8+3618_daily_bin1779.fits outfile=/scratch/kocevski/21088/cmap_700444801_700704001_4FGL_J1127.8+3618_daily_bin1779.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.964 yref=36.314 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/21088/ft1_filtered_4FGL_J1127.8+3618_daily_bin1779.fits scfile=/scratch/kocevski/21088/ft2_4FGL_J1127.8+3618_daily_bin1779.fits outfile=/scratch/kocevski/21088/cmap_HighResolution_700444801_700704001_4FGL_J1127.8+3618_daily_bin1779.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.964 yref=36.314 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/21088/ft1_filtered_4FGL_J1127.8+3618_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/21088/ft2_4FGL_J1127.8+3618_daily_bin1779.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/21088/Model_4FGL_J1127.8+3618_daily_bin1779.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/21088/ft1_filtered_4FGL_J1127.8+3618_daily_bin1779.fits.....................!
real 54.72
user 53.40
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/21088/ft1_filtered_4FGL_J1127.8+3618_daily_bin1779.fits', '/scratch/kocevski/21088/ft2_4FGL_J1127.8+3618_daily_bin1779.fits', expMap='/scratch/kocevski/21088/expmap_700444801_700704001_4FGL_J1127.8+3618_daily_bin1779.fits', expCube='/scratch/kocevski/21088/ltcube_700444801_700704001_4FGL_J1127.8+3618_daily_bin1779.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/21088/Model_4FGL_J1127.8+3618_daily_bin1779.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1127.8+3618'

4FGL J1127.8+3618
   Spectrum: PowerLaw
326    Prefactor:  1.787e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.371e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  9.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/21088/ft1_filtered_4FGL_J1127.8+3618_daily_bin1779.fits
Spacecraft file(s): /scratch/kocevski/21088/ft2_4FGL_J1127.8+3618_daily_bin1779.fits
Exposure map: /scratch/kocevski/21088/expmap_700444801_700704001_4FGL_J1127.8+3618_daily_bin1779.fits
Exposure cube: /scratch/kocevski/21088/ltcube_700444801_700704001_4FGL_J1127.8+3618_daily_bin1779.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/21088/Model_4FGL_J1127.8+3618_daily_bin1779.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) = 6152.91272647

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.869       1.0000          .0000       .10000E+07
     2 'Prefactor '    .89748E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    10.321       1.0000          .0000       .10000E+07
     4 'Prefactor '    .64941E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    11.230       1.0000          .0000       .10000E+07
     6 'norm      '    2.4676       1.0000          .0000       .10000E+07
     7 'Prefactor '    .48255E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .51676E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .55183E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .14218E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .49464E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    21.438       1.0000          .0000       .10000E+07
    13 'Prefactor '    .20208E-02   1.0000          .0000       .10000E+07
    14 'norm      '    3.9687       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.3145       1.0000          .0000       .10000E+07
    16 'Prefactor '    .17898       1.0000          .0000       .10000E+07
    17 'Prefactor '    42.393       1.0000          .0000       .10000E+07
    18 'norm      '    .22003       1.0000          .0000       .10000E+07
    19 'Prefactor '    .93291E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .15771E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    52.128       1.0000          .0000       .10000E+07
    22 'norm      '    25.387       1.0000          .0000       .10000E+07
    23 'Prefactor '    12.907       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.4241       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .57028       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6152.907     FROM MIGRAD    STATUS=CONVERGED    219 CALLS     2341 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.690        29.714        .24418E-07    .12156E-01
   2  Prefactor     .55511E-10    12.952       -.31339E-07** at limit **
   3  Prefactor     10.377        1.3704        .37947E-09   -.37566E-02
   4  Prefactor      .0000        27.943        .30373E-07** at limit **
   5  Prefactor     11.163        12.850       -.43641E-07    .66691E-05
   6  norm          2.4676        .46379       -.32253E-08    .22903E-02
   7  Prefactor      .0000        3.7620        .49959E-07** at limit **
   8  Prefactor     .88818E-09    20.371        .52837E-08** at limit **
   9  Prefactor     .11596E-06    331.66        .16965E-05** at limit **
  10  norm           .0000        9.6605       -.17520E-07** at limit **
  11  Prefactor      .0000        6.1071       -.10564E-08** at limit **
  12  Prefactor     17.932        82.233       -.14565E-08    .30741E-02
  13  Prefactor      .0000        18.087       -.11774E-06** at limit **
  14  norm          4.1497        5.2885       -.29887E-07   -.23592E-04
  15  Prefactor     8.3564        13.795       -.63507E-07   -.95291E-04
  16  Prefactor     .74463E-05    61.852       -.67076E-07** at limit **
  17  Prefactor     41.874        27.025       -.56842E-07   -.12059E-01
  18  norm          .22437        2.0755       -.39824E-07** at limit **
  19  Prefactor     .22204E-09    23.529        .22685E-06** at limit **
  20  norm           .0000        4.8181        .67429E-07** at limit **
  21  Prefactor     51.894        10.101       -.72151E-08   -.33969E-02
  22  norm          25.384        3.3760        .20438E-08    .30338E-03
  23  Prefactor     12.916        11.352        .25546E-07   -.29159E-04
  24  Normalizat    1.4264        .24540        .56319E-06    .11629E-04
  25  Prefactor     .56915        .26545        .99857E-06    .58983E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.69
  Prefactor  = 5.55112e-11
  Prefactor  = 10.3774
  Prefactor  = 0
  Prefactor  = 11.1627
  norm       = 2.46756
  Prefactor  = 0
  Prefactor  = 8.88178e-10
  Prefactor  = 1.15963e-07
  norm       = 0
  Prefactor  = 0
  Prefactor  = 17.9317
  Prefactor  = 0
  norm       = 4.14969
  Prefactor  = 8.35644
  Prefactor  = 7.44627e-06
  Prefactor  = 41.8737
  norm       = 0.224374
  Prefactor  = 2.22045e-10
  norm       = 0
  Prefactor  = 51.8936
  norm       = 25.3841
  Prefactor  = 12.9156
  Normalizat = 1.42636
  Prefactor  = 0.56915
 **********
 **   18 **HESSE 
 **********

 FCN=   6152.907     FROM HESSE     STATUS=OK           499 CALLS     2840 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.690        32.667        .15839E-03   -1.5582    
   2  Prefactor     .55511E-10    12.779        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.377        22.797        .31165E-03   -1.5644    
   4  Prefactor      .0000        27.951        .14989E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.163        12.889        .29871E-03   -1.5641    
   6  norm          2.4676        .48039        .50421E-03   -1.5677    
   7  Prefactor      .0000        3.7589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .88818E-09    20.385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11596E-06    18.898        .83068E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        9.6918        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        6.2339        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     17.932        93.208        .21604E-03   -1.5623    
  13  Prefactor      .0000        18.175        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.1497        5.3510        .50607E-03   -1.5667    
  15  Prefactor     8.3564        13.890        .34743E-03   -1.5650    
  16  Prefactor     .74463E-05    4.0649        .96552E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     41.874        83.866        .15360E-03   -1.5579    
  18  norm          .22437        3.0971        .26246E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .22204E-09    23.525        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        4.8347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     51.894        94.133        .13851E-03   -1.5564    
  22  norm          25.384        3.3786        .19851E-03   -1.5607    
  23  Prefactor     12.916        11.359        .27856E-03   -1.5636    
  24  Normalizat    1.4264        .21534        .56487E-01   -.79869    
  25  Prefactor     .56915        .23389        .94373E-01   -1.0890    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43292e-08
Minuit parameter uncertainties:
  1  32.6675
  2  6.13348e-05
  3  22.7975
  4  1.32153e-05
  5  12.8886
  6  0.480393
  7  1.24698e-05
  8  0.00027132
  9  0.00296086
  10  2.39305e-05
  11  2.62384e-05
  12  81.7671
  13  2.95148e-05
  14  5.35104
  15  13.8898
  16  0.0110033
  17  83.8687
  18  1.66723
  19  0.00014928
  20  1.44417e-05
  21  94.1358
  22  3.37855
  23  11.3592
  24  0.215474
  25  0.234284
Done.

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

Extracting fit parameters...

4FGL J1127.8+3618
   Spectrum: PowerLaw
326    Prefactor:  0.000e+00  2.624e-05  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.371e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  9.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
637    Prefactor:  5.691e-01  2.343e-01  0.000e+00  1.000e+01 ( 1.000e+00)
638        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
639        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
636   Normalization:  1.426e+00  2.155e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 171.964 36.314
Photon Flux Upper Limit: 1.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/21088/likelihoodResults_700444801_700704001_4FGL_J1127.8+3618_daily_bin1779.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) = 6152.38097922
delta logL = 0.525940535022

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6152.33033603
delta logL = 0.57658373312

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22763       1.0000          .0000       .10000E+07
     2 'Index     '    4.2893       1.0000          .0000       10.000    
     3 'Normalizat'    1.3303       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63286       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6152.330     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      264 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22763        3.1144        .76445E-03** at limit **
   2  Index         4.2893        2.9467        .11300        .75405E-04
   3  Normalizat    1.3303        .43252E-01    .58011E-01    .92749E-05
   4  Prefactor     .63284        .48206E-01    .89755E-01    .24776E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.227634
  Index      = 4.28932
  Normalizat = 1.33028
  Prefactor  = 0.63284
 **********
 **   18 **HESSE 
 **********

 FCN=   6152.330     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      297 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22763        9.7101        .34273E-05   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.2893        7.1445        .61924E-02   -.14262    
   3  Normalizat    1.3303        .22469        .25652E-03   -.82667    
   4  Prefactor     .63284        .24344        .39774E-03   -1.0622    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.43542e-08
Minuit parameter uncertainties:
  1  2.97345
  2  7.00975
  3  0.224853
  4  0.243844
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/21088': 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) = 6152.33033602
delta logL = 0.576583740353

Extracting fit parameters...

4FGL J1127.8+3618
   Spectrum: PowerLaw
326    Prefactor:  2.276e-01  2.973e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  4.289e+00  7.010e+00  0.000e+00  1.000e+01 (-1.000e+00)
328        Scale:  9.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
637    Prefactor:  6.328e-01  2.438e-01  0.000e+00  1.000e+01 ( 1.000e+00)
638        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
639        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
636   Normalization:  1.330e+00  2.249e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.24
Ra Dec: 171.964 36.314
Photon Index (Free Index): 4.29 +/- 7.01
Photon Flux (Free Index): 9.65e-08 +/- 1.02e-07
Energy Flux (Free Index): 1.38e-05 +/- 1.50e-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/21088/cmap_HighResolution_700444801_700704001_4FGL_J1127.8+3618_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.14e-03', comment='SUCCESS', energy_flux2='1.38e-05', dlogl='5.77e-01', photon_flux2='9.65e-08', job_status='DONE', time_completed='2023-03-17 01:38:25.519772', photon_index_error2='7.01', photon_index2='4.29', ts='0.00', fit_tolerance='1e-08', GAL='0.57', photon_index_error='0.00', photon_flux_upper_limit='1.06e-07', energy_flux_error2='1.50e-05', EG='1.43', time_epoch_completed='1679042305.52', return_code='0', job_id='21088', GAL2='0.63', EG2='1.33', return_code2='102', photon_flux_error2='1.02e-07', ts2='1.24', photon_index='2.37' WHERE bin_id='1779' AND source_name='4FGL J1127.8+3618' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 01:38:25 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 21088: <4FGL_J1127.8+3618_daily_bin1779> in cluster <slac> Done

Job <4FGL_J1127.8+3618_daily_bin1779> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Mar 17 01:25:26 2023
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 01:25:27 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 01:25:27 2023
Terminated at Fri Mar 17 01:38:26 2023
Results reported at Fri Mar 17 01:38:26 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1127.8+3618_daily_bin1779 171.964 36.314 700444801 700704001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1127.8+3618 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   695.04 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             340.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   778 sec.
    Turnaround time :                            780 sec.

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

