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


Performing analysis on: 4FGL_J1127.0-1857_daily_bin1780
RA = 171.763, Dec = -18.964
tmin = 700704001, tmax = 700963201
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='60028', job_status='RUN', time_executed='2023-03-20 00:43:55.098047', time_epoch_executed='1679298235.1' WHERE source_name='4FGL J1127.0-1857' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/60028

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/60028/ft1_4FGL_J1127.0-1857_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/60028/ft2_4FGL_J1127.0-1857_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/60028/ft1_4FGL_J1127.0-1857_daily_bin1780.fits outfile=/scratch/kocevski/60028/ft1_filteredMKT_4FGL_J1127.0-1857_daily_bin1780.fits ra=171.763 dec=-18.964 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.07
user 3.85
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/60028/ft2_4FGL_J1127.0-1857_daily_bin1780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/60028/ft2_4FGL_J1127.0-1857_daily_bin1780.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/60028/ft1_filteredMKT_4FGL_J1127.0-1857_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/60028/ft1_filtered_4FGL_J1127.0-1857_daily_bin1780.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.48
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 408

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/60028/ft1_filtered_4FGL_J1127.0-1857_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/60028/ft2_4FGL_J1127.0-1857_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/60028/ltcube_700704001_700963201_4FGL_J1127.0-1857_daily_bin1780.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/60028/ft2_4FGL_J1127.0-1857_daily_bin1780.fits
.....................!
real 11.99
user 11.64
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/60028/ft1_filtered_4FGL_J1127.0-1857_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/60028/ft2_4FGL_J1127.0-1857_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/60028/ltcube_700704001_700963201_4FGL_J1127.0-1857_daily_bin1780.fits outfile=/scratch/kocevski/60028/expmap_700704001_700963201_4FGL_J1127.0-1857_daily_bin1780.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/60028/ltcube_700704001_700963201_4FGL_J1127.0-1857_daily_bin1780.fits
.....................!
real 190.44
user 185.01
sys 5.08

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

Setting source of interest to:
4FGL J1127.0-1857 @ 171.763 -18.964

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/60028/ft1_filtered_4FGL_J1127.0-1857_daily_bin1780.fits scfile=/scratch/kocevski/60028/ft2_4FGL_J1127.0-1857_daily_bin1780.fits outfile=/scratch/kocevski/60028/cmap_700704001_700963201_4FGL_J1127.0-1857_daily_bin1780.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.763 yref=-18.964 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/60028/ft1_filtered_4FGL_J1127.0-1857_daily_bin1780.fits scfile=/scratch/kocevski/60028/ft2_4FGL_J1127.0-1857_daily_bin1780.fits outfile=/scratch/kocevski/60028/cmap_HighResolution_700704001_700963201_4FGL_J1127.0-1857_daily_bin1780.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.763 yref=-18.964 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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/60028/ft1_filtered_4FGL_J1127.0-1857_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/60028/ft2_4FGL_J1127.0-1857_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/60028/Model_4FGL_J1127.0-1857_daily_bin1780.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/60028/ft1_filtered_4FGL_J1127.0-1857_daily_bin1780.fits.....................!
real 44.31
user 42.85
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/60028/ft1_filtered_4FGL_J1127.0-1857_daily_bin1780.fits', '/scratch/kocevski/60028/ft2_4FGL_J1127.0-1857_daily_bin1780.fits', expMap='/scratch/kocevski/60028/expmap_700704001_700963201_4FGL_J1127.0-1857_daily_bin1780.fits', expCube='/scratch/kocevski/60028/ltcube_700704001_700963201_4FGL_J1127.0-1857_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/60028/Model_4FGL_J1127.0-1857_daily_bin1780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1127.0-1857'

4FGL J1127.0-1857
   Spectrum: LogParabola
309         norm:  2.807e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
310        alpha:  2.092e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
311         beta:  8.161e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
312           Eb:  5.818e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/60028/ft1_filtered_4FGL_J1127.0-1857_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/60028/ft2_4FGL_J1127.0-1857_daily_bin1780.fits
Exposure map: /scratch/kocevski/60028/expmap_700704001_700963201_4FGL_J1127.0-1857_daily_bin1780.fits
Exposure cube: /scratch/kocevski/60028/ltcube_700704001_700963201_4FGL_J1127.0-1857_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/60028/Model_4FGL_J1127.0-1857_daily_bin1780.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) = 4207.6169727

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.1905       1.0000          .0000       .10000E+07
     2 'norm      '    .37728E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .79257E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    23.307       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12157E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    126.21       1.0000          .0000       .10000E+07
     7 'Prefactor '    13.914       1.0000          .0000       .10000E+07
     8 'norm      '    .20487       1.0000          .0000       .10000E+07
     9 'Prefactor '    86.127       1.0000          .0000       .10000E+07
    10 'Prefactor '    23.328       1.0000          .0000       .10000E+07
    11 'Prefactor '    28.648       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.2071       1.0000          .0000       .10000E+07
    13 'Prefactor '    29.911       1.0000          .0000       .10000E+07
    14 'Prefactor '    .43323E-04   1.0000          .0000       .10000E+07
    15 'norm      '    3.4016       1.0000          .0000       .10000E+07
    16 'Prefactor '    11.065       1.0000          .0000       .10000E+07
    17 'Prefactor '    .20392E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .70471E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2115       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .77629       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4207.604     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1523 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0867        6.0470       -.13952E-06    .84624E-03
   2  norm           .0000        3.4525        .10443E-06** at limit **
   3  Prefactor     .77716E-09    12.854       -.81056E-06** at limit **
   4  Prefactor     22.959        52.746       -.80377E-06    .60667E-02
   5  Prefactor      .0000        18.076       -.96673E-06** at limit **
   6  Prefactor     126.19        1.0261       -.21119E-08    .62817E-02
   7  Prefactor     13.885        1.6339       -.37812E-07   -.19072E-01
   8  norm          .20523        .57994       -.98129E-07** at limit **
   9  Prefactor     86.143        1.1019       -.60957E-09    .12782E-01
  10  Prefactor     23.346        1.0249        .43585E-08    .39026E-02
  11  Prefactor     28.635        9.7934        .14578E-07    .19033E-02
  12  Prefactor     5.2530        7.6217        .64982E-06    .94937E-03
  13  Prefactor     29.778        5.4475       -.49277E-07   -.61794E-01
  14  Prefactor     .22204E-09    6.4279        .81985E-06** at limit **
  15  norm          3.4015        3.6105        .25186E-06   -.19262E-02
  16  Prefactor     11.039        8.4871       -.93555E-07    .29549E-04
  17  Prefactor      .0000        10.902       -.77989E-06** at limit **
  18  Prefactor     .90483E-08    28.934       -.97330E-06** at limit **
  19  Normalizat    1.2125        .33380       -.17605E-04    .99158E-04
  20  Prefactor     .77618        .19927        .85124E-05    .66250E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.08668
  norm       = 0
  Prefactor  = 7.77156e-10
  Prefactor  = 22.9593
  Prefactor  = 0
  Prefactor  = 126.187
  Prefactor  = 13.8854
  norm       = 0.205227
  Prefactor  = 86.1433
  Prefactor  = 23.3462
  Prefactor  = 28.6354
  Prefactor  = 5.25296
  Prefactor  = 29.7781
  Prefactor  = 2.22045e-10
  norm       = 3.40152
  Prefactor  = 11.039
  Prefactor  = 0
  Prefactor  = 9.04832e-09
  Normalizat = 1.21246
  Prefactor  = 0.776184
 **********
 **   18 **HESSE 
 **********

 FCN=   4207.604     FROM HESSE     STATUS=OK           339 CALLS     1862 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0867        6.0591        .44100E-03   -1.5663    
   2  norm           .0000        3.4578        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .77716E-09    12.876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     22.959        53.659        .20719E-03   -1.5612    
   5  Prefactor      .0000        18.096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     126.19        94.931        .89020E-04   -1.5483    
   7  Prefactor     13.885        17.564        .26826E-03   -1.5633    
   8  norm          .20523        .65470        .20493E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     86.143        19.193        .10776E-03   -1.5522    
  10  Prefactor     23.346        26.230        .20709E-03   -1.5611    
  11  Prefactor     28.635        9.8206        .18686E-03   -1.5601    
  12  Prefactor     5.2530        8.1685        .44029E-03   -1.5662    
  13  Prefactor     29.778        27.305        .18287E-03   -1.5599    
  14  Prefactor     .22204E-09    6.4408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.4015        3.6207        .54829E-03   -1.5671    
  16  Prefactor     11.039        8.4867        .30094E-03   -1.5642    
  17  Prefactor      .0000        10.912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .90483E-08    29.013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2125        .28779        .67925E-01   -.86219    
  20  Prefactor     .77618        .16725        .43408E-01   -1.0061    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15771e-07
Minuit parameter uncertainties:
  1  6.05914
  2  1.14386e-05
  3  0.000200119
  4  53.6605
  5  3.0935e-05
  6  94.9325
  7  17.5643
  8  0.654701
  9  19.193
  10  26.2304
  11  9.82064
  12  8.16852
  13  27.3049
  14  7.32265e-05
  15  3.62068
  16  8.48676
  17  1.09073e-05
  18  0.00102448
  19  0.288171
  20  0.167355
Done.

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

Extracting fit parameters...

4FGL J1127.0-1857
   Spectrum: LogParabola
309         norm:  2.052e-01  6.547e-01  0.000e+00  1.000e+06 ( 1.000e-11)
310        alpha:  2.092e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
311         beta:  8.161e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
312           Eb:  5.818e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
618    Prefactor:  7.762e-01  1.674e-01  0.000e+00  1.000e+01 ( 1.000e+00)
619        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
620        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
617   Normalization:  1.212e+00  2.882e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.17
Ra Dec: 171.763 -18.964
Photon Flux Upper Limit: 7.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.43e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/60028/likelihoodResults_700704001_700963201_4FGL_J1127.0-1857_daily_bin1780.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) = 4207.60198795
delta logL = 0.00197307223243

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4207.60190662
delta logL = 0.00205440063382

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21262       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9935       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2129       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77594       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4207.602     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      258 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21267        .60947        .92062E-04** at limit **
   2  alpha         1.9914        1.4617        .34927E-01   -.88308E-06
   3  Normalizat    1.2129        .32793        .30047E-03   -.31026E-05
   4  Prefactor     .77594        .19821        .22020E-03   -.25298E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.212669
  alpha      = 1.99144
  Normalizat = 1.21292
  Prefactor  = 0.775944
 **********
 **   18 **HESSE 
 **********

 FCN=   4207.602     FROM HESSE     STATUS=OK            27 CALLS      285 TOTAL
                     EDM=   .96E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21267        .59925        .18412E-04   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9914        1.4428        .13971E-02   -.20485    
   3  Normalizat    1.2129        .32826        .12019E-04   -.86204    
   4  Prefactor     .77594        .19840        .88081E-05   -1.0062    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.61617e-12
Minuit parameter uncertainties:
  1  0.599248
  2  1.54295
  3  0.328821
  4  0.198586
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/60028': 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) = 4207.60190577
delta logL = 0.00205525380443

Extracting fit parameters...

4FGL J1127.0-1857
   Spectrum: LogParabola
309         norm:  2.127e-01  5.992e-01  0.000e+00  1.000e+06 ( 1.000e-11)
310        alpha:  1.991e+00  1.543e+00  0.000e+00  5.000e+00 ( 1.000e+00)
311         beta:  8.161e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
312           Eb:  5.818e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
618    Prefactor:  7.759e-01  1.986e-01  0.000e+00  1.000e+01 ( 1.000e+00)
619        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
620        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
617   Normalization:  1.213e+00  3.288e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.17
Ra Dec: 171.763 -18.964

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/60028/cmap_HighResolution_700704001_700963201_4FGL_J1127.0-1857_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.43e-05', job_status='DONE', photon_flux_upper_limit='7.64e-08', time_completed='2023-03-20 00:52:16.894106', job_id='60028', GAL2='0.78', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1679298736.89', return_code2='0', ts='0.17', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='2.06e-03', ts2='0.17', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1780' AND source_name='4FGL J1127.0-1857' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 00:52:16 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 60028: <4FGL_J1127.0-1857_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1127.0-1857_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 00:40:19 2023
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:40:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:40:20 2023
Terminated at Mon Mar 20 00:52:17 2023
Results reported at Mon Mar 20 00:52:17 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1127.0-1857_daily_bin1780 171.763 -18.964 700704001 700963201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1127.0-1857 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   504.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             273.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   717 sec.
    Turnaround time :                            718 sec.

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

