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


Performing analysis on: 4FGL_J1127.4+5648_daily_bin1764
RA = 171.865, Dec = 56.8032
tmin = 696556801, tmax = 696816001
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='443618', job_status='RUN', time_executed='2023-01-31 00:44:20.770431', time_epoch_executed='1675154660.77' WHERE source_name='4FGL J1127.4+5648' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/443618

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/443618/ft1_4FGL_J1127.4+5648_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/443618/ft2_4FGL_J1127.4+5648_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/443618/ft1_4FGL_J1127.4+5648_daily_bin1764.fits outfile=/scratch/kocevski/443618/ft1_filteredMKT_4FGL_J1127.4+5648_daily_bin1764.fits ra=171.865 dec=56.8032 rad=12.0 tmin=696556801.0 tmax=696816001.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.76
user 3.48
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/443618/ft2_4FGL_J1127.4+5648_daily_bin1764.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/443618/ft2_4FGL_J1127.4+5648_daily_bin1764.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/443618/ft1_filteredMKT_4FGL_J1127.4+5648_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/443618/ft1_filtered_4FGL_J1127.4+5648_daily_bin1764.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.53
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 574

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/443618/ft1_filtered_4FGL_J1127.4+5648_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/443618/ft2_4FGL_J1127.4+5648_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/443618/ltcube_696556801_696816001_4FGL_J1127.4+5648_daily_bin1764.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/443618/ft2_4FGL_J1127.4+5648_daily_bin1764.fits
.....................!
real 15.17
user 14.69
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/443618/ft1_filtered_4FGL_J1127.4+5648_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/443618/ft2_4FGL_J1127.4+5648_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/443618/ltcube_696556801_696816001_4FGL_J1127.4+5648_daily_bin1764.fits outfile=/scratch/kocevski/443618/expmap_696556801_696816001_4FGL_J1127.4+5648_daily_bin1764.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/443618/ltcube_696556801_696816001_4FGL_J1127.4+5648_daily_bin1764.fits
.....................!
real 192.25
user 185.80
sys 5.50

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

Setting source of interest to:
4FGL J1127.4+5648 @ 171.865 56.8032

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/443618/ft1_filtered_4FGL_J1127.4+5648_daily_bin1764.fits scfile=/scratch/kocevski/443618/ft2_4FGL_J1127.4+5648_daily_bin1764.fits outfile=/scratch/kocevski/443618/cmap_696556801_696816001_4FGL_J1127.4+5648_daily_bin1764.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.865 yref=56.8032 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/443618/ft1_filtered_4FGL_J1127.4+5648_daily_bin1764.fits scfile=/scratch/kocevski/443618/ft2_4FGL_J1127.4+5648_daily_bin1764.fits outfile=/scratch/kocevski/443618/cmap_HighResolution_696556801_696816001_4FGL_J1127.4+5648_daily_bin1764.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.865 yref=56.8032 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/443618/ft1_filtered_4FGL_J1127.4+5648_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/443618/ft2_4FGL_J1127.4+5648_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/443618/Model_4FGL_J1127.4+5648_daily_bin1764.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/443618/ft1_filtered_4FGL_J1127.4+5648_daily_bin1764.fits.....................!
real 60.73
user 58.95
sys 1.42

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/443618/ft1_filtered_4FGL_J1127.4+5648_daily_bin1764.fits', '/scratch/kocevski/443618/ft2_4FGL_J1127.4+5648_daily_bin1764.fits', expMap='/scratch/kocevski/443618/expmap_696556801_696816001_4FGL_J1127.4+5648_daily_bin1764.fits', expCube='/scratch/kocevski/443618/ltcube_696556801_696816001_4FGL_J1127.4+5648_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/443618/Model_4FGL_J1127.4+5648_daily_bin1764.xml', optimizer='MINUIT')

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

4FGL J1127.4+5648
   Spectrum: PowerLaw
386    Prefactor:  1.906e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.718e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  5.235e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/443618/ft1_filtered_4FGL_J1127.4+5648_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/443618/ft2_4FGL_J1127.4+5648_daily_bin1764.fits
Exposure map: /scratch/kocevski/443618/expmap_696556801_696816001_4FGL_J1127.4+5648_daily_bin1764.fits
Exposure cube: /scratch/kocevski/443618/ltcube_696556801_696816001_4FGL_J1127.4+5648_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/443618/Model_4FGL_J1127.4+5648_daily_bin1764.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) = 6237.79048685

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.733       1.0000          .0000       .10000E+07
     2 'norm      '    5.7179       1.0000          .0000       .10000E+07
     3 'Prefactor '    .24649E-04   1.0000          .0000       .10000E+07
     4 'norm      '    4.8118       1.0000          .0000       .10000E+07
     5 'norm      '    2.4486       1.0000          .0000       .10000E+07
     6 'Prefactor '    .24673E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .54978E-02   1.0000          .0000       .10000E+07
     8 'norm      '    1.9268       1.0000          .0000       .10000E+07
     9 'Prefactor '    19.640       1.0000          .0000       .10000E+07
    10 'Prefactor '    .55841E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .75466E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .23326E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    8.9720       1.0000          .0000       .10000E+07
    14 'Prefactor '    .21025E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40882E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .47534E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    2.8192       1.0000          .0000       .10000E+07
    18 'norm      '    .16950E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    16.898       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.8904       1.0000          .0000       .10000E+07
    21 'Prefactor '    .45920E-02   1.0000          .0000       .10000E+07
    22 'norm      '    2.1926       1.0000          .0000       .10000E+07
    23 'Prefactor '    .77049E-04   1.0000          .0000       .10000E+07
    24 'norm      '    .15178E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    .66823E-03   1.0000          .0000       .10000E+07
    26 'norm      '    5.9110       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.1662       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .65822       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6237.717     FROM MIGRAD    STATUS=CONVERGED    200 CALLS     2000 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.138        16.479       -.91037E-06   -.25038    
   2  norm          5.7229        2.7239        .70237E-06    .64519E-01
   3  Prefactor     .14801E-05    20.411        .12014E-05** at limit **
   4  norm          4.8193        2.2298       -.77158E-06   -.53087E-02
   5  norm          2.4498        1.3345        .55660E-07   -.45606E-02
   6  Prefactor     .42148E-04    95.665        .55629E-05** at limit **
   7  Prefactor     .27671E-05    52.407        .11572E-07** at limit **
   8  norm          1.9210        1.5360        .19521E-06   -.18965E-02
   9  Prefactor     24.437        58.538        .71438E-05   -.38456E-01
  10  Prefactor     .16376E-07    13.606       -.17602E-05** at limit **
  11  Prefactor     .16653E-09    26.369       -.37236E-06** at limit **
  12  norm          .85176E-06    17.996       -.48814E-05** at limit **
  13  Prefactor     8.9695        6.0891        .22537E-06   -.14306E-02
  14  Prefactor     .11102E-09    5.6095        .73004E-06** at limit **
  15  Prefactor     .60507E-08    10.420       -.15882E-05** at limit **
  16  norm           .0000        2.8459        .36764E-06** at limit **
  17  Prefactor     2.8243        2.8263        .30443E-06   -.22800E-02
  18  norm           .0000        2.7001       -.18524E-06** at limit **
  19  Prefactor     16.874        1.3511       -.10472E-06   -.17296E-01
  20  Prefactor     4.9009        5.1520        .31802E-06    .11044E-03
  21  Prefactor     .33307E-09    9.8236        .33102E-06** at limit **
  22  norm          2.1982        1.9810       -.45436E-06    .93486E-03
  23  Prefactor     .25535E-08    6.9788        .82433E-06** at limit **
  24  norm           .0000        4.4954        .18418E-06** at limit **
  25  Prefactor     .13323E-08    7.0605        .12876E-05** at limit **
  26  norm          5.9148        2.4065       -.49440E-06   -.80945E-05
  27  Normalizat    1.1630        .18369        .69561E-05   -.17919E-03
  28  Prefactor     .66016        .22046       -.18838E-04   -.12377E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.1378
  norm       = 5.72293
  Prefactor  = 1.48015e-06
  norm       = 4.81929
  norm       = 2.44976
  Prefactor  = 4.21482e-05
  Prefactor  = 2.76712e-06
  norm       = 1.92097
  Prefactor  = 24.4367
  Prefactor  = 1.63758e-08
  Prefactor  = 1.66533e-10
  norm       = 8.51763e-07
  Prefactor  = 8.96946
  Prefactor  = 1.11022e-10
  Prefactor  = 6.05072e-09
  norm       = 0
  Prefactor  = 2.82434
  norm       = 0
  Prefactor  = 16.874
  Prefactor  = 4.90087
  Prefactor  = 3.33067e-10
  norm       = 2.19817
  Prefactor  = 2.55351e-09
  norm       = 0
  Prefactor  = 1.33227e-09
  norm       = 5.91478
  Normalizat = 1.16305
  Prefactor  = 0.66016
 **********
 **   18 **HESSE 
 **********

 FCN=   6237.717     FROM HESSE     STATUS=OK           573 CALLS     2573 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.138        27.016        .16069E-03   -1.5584    
   2  norm          5.7229        13.072        .41982E-03   -1.5660    
   3  Prefactor     .14801E-05    21.269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.8193        2.2294        .45838E-03   -1.5664    
   5  norm          2.4498        1.3309        .65347E-03   -1.5677    
   6  Prefactor     .42148E-04    115.36        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27671E-05    53.652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9210        1.5366        .74809E-03   -1.5680    
   9  Prefactor     24.437        61.746        .22572E-03   -1.5609    
  10  Prefactor     .16376E-07    13.622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .16653E-09    26.332        .14642E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .85176E-06    18.612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.9695        6.0703        .33438E-03   -1.5648    
  14  Prefactor     .11102E-09    5.6098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .60507E-08    10.504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        2.8451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.8243        2.9347        .60551E-03   -1.5674    
  18  norm           .0000        2.6990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     16.874        18.848        .24338E-03   -1.5626    
  20  Prefactor     4.9009        5.1581        .45460E-03   -1.5664    
  21  Prefactor     .33307E-09    9.8785        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.1982        1.9916        .69473E-03   -1.5678    
  23  Prefactor     .25535E-08    6.9800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm           .0000        4.4967        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .13323E-08    6.9740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          5.9148        2.4072        .41280E-03   -1.5659    
  27  Normalizat    1.1630        .16069        .35780E-01   -.87753    
  28  Prefactor     .66016        .19278        .73286E-01   -1.0511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11384e-06
Minuit parameter uncertainties:
  1  27.0158
  2  13.0718
  3  0.0112217
  4  2.22939
  5  1.33092
  6  0.13946
  7  0.0243691
  8  1.53662
  9  61.7474
  10  0.00094517
  11  0.000123769
  12  0.00796309
  13  6.07031
  14  4.77165e-05
  15  0.000503718
  16  9.70315e-06
  17  2.93475
  18  1.48153e-05
  19  18.848
  20  5.15815
  21  0.000111567
  22  1.99161
  23  0.000268195
  24  1.31436e-05
  25  0.00019272
  26  2.40721
  27  0.160762
  28  0.192971
Done.

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

Extracting fit parameters...

4FGL J1127.4+5648
   Spectrum: PowerLaw
386    Prefactor:  8.969e+00  6.070e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.718e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  5.235e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  6.602e-01  1.930e-01  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  1.163e+00  1.608e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.65
Ra Dec: 171.865 56.803
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 4.70e-08 +/- 3.18e-08
Energy Flux (Fixed Index): 1.12e-05 +/- 7.55e-06

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) = 6235.62343752
delta logL = 2.09310982485

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6234.81768934
delta logL = 2.89885800592

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6234.818     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      238 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .48344        .50294        .11536E-02   -.53548E-02
   2  Index         .75052        .32109        .18153       -.58422E-04
   3  Normalizat    1.2128        .15370        .34583E-01    .23646E-05
   4  Prefactor     .63198        .19182        .74804E-01    .29265E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.483445
  Index      = 0.750522
  Normalizat = 1.21282
  Prefactor  = 0.631979
 **********
 **   18 **HESSE 
 **********

 FCN=   6234.818     FROM HESSE     STATUS=OK            35 CALLS      273 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .48344        1.2727        .46429E-04   -1.5694    
   2  Index         .75052        .71370        .78419E-02   -1.0158    
   3  Normalizat    1.2128        .17473        .19847E-03   -.86207    
   4  Prefactor     .63198        .21756        .33116E-03   -1.0626    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.34023e-09
Minuit parameter uncertainties:
  1  1.27271
  2  0.722728
  3  0.174819
  4  0.217846
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/443618': 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) = 6234.8176892
delta logL = 2.89885815198

Extracting fit parameters...

4FGL J1127.4+5648
   Spectrum: PowerLaw
386    Prefactor:  4.834e-01  1.273e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  7.505e-01  7.227e-01  0.000e+00  1.000e+01 (-1.000e+00)
388        Scale:  5.235e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  6.320e-01  2.178e-01  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  1.213e+00  1.748e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.37
Ra Dec: 171.865 56.803
Photon Index (Free Index): 0.75 +/- 0.72
Photon Flux (Free Index): 3.09e-09 +/- 3.39e-09
Energy Flux (Free Index): 7.51e-05 +/- 9.54e-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/443618/cmap_HighResolution_696556801_696816001_4FGL_J1127.4+5648_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.70e-08', energy_flux2='7.51e-05', photon_flux_error='3.18e-08', dlogl='2.90e+00', energy_flux='1.12e-05', photon_flux2='3.09e-09', job_status='DONE', time_completed='2023-01-31 00:55:52.132191', photon_index_error2='0.72', photon_index2='0.75', ts='5.65', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', energy_flux_error2='9.54e-05', EG='1.16', time_epoch_completed='1675155352.13', return_code='0', job_id='443618', GAL2='0.63', EG2='1.21', return_code2='0', energy_flux_error='7.55e-06', photon_flux_error2='3.39e-09', ts2='11.37', photon_index='2.72' WHERE bin_id='1764' AND source_name='4FGL J1127.4+5648' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 00:55:52 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 443618: <4FGL_J1127.4+5648_daily_bin1764> in cluster <slac> Done

Job <4FGL_J1127.4+5648_daily_bin1764> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Jan 31 00:40:15 2023
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 00:41:06 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 00:41:06 2023
Terminated at Tue Jan 31 00:55:52 2023
Results reported at Tue Jan 31 00:55:52 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1127.4+5648_daily_bin1764 171.865 56.8032 696556801 696816001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1127.4+5648 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   691.24 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             273.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   886 sec.
    Turnaround time :                            937 sec.

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

