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


Performing analysis on: 4FGL_J1127.8+3618_daily_bin1750
RA = 171.964, Dec = 36.314
tmin = 692928001, tmax = 693187201
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='6834', job_status='RUN', time_executed='2022-12-20 00:37:07.455501', time_epoch_executed='1671525427.46' WHERE source_name='4FGL J1127.8+3618' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/6834

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/6834/ft1_4FGL_J1127.8+3618_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/6834/ft2_4FGL_J1127.8+3618_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/6834/ft1_4FGL_J1127.8+3618_daily_bin1750.fits outfile=/scratch/kocevski/6834/ft1_filteredMKT_4FGL_J1127.8+3618_daily_bin1750.fits ra=171.964 dec=36.314 rad=12.0 tmin=692928001.0 tmax=693187201.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.42
user 3.20
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/6834/ft2_4FGL_J1127.8+3618_daily_bin1750.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/6834/ft1_filteredMKT_4FGL_J1127.8+3618_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/6834/ft1_filtered_4FGL_J1127.8+3618_daily_bin1750.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.31
sys 0.17

Number of photons that the gtmktime cut: 694

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/6834/ft1_filtered_4FGL_J1127.8+3618_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/6834/ft2_4FGL_J1127.8+3618_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/6834/ltcube_692928001_693187201_4FGL_J1127.8+3618_daily_bin1750.fits outfile=/scratch/kocevski/6834/expmap_692928001_693187201_4FGL_J1127.8+3618_daily_bin1750.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/6834/ltcube_692928001_693187201_4FGL_J1127.8+3618_daily_bin1750.fits
.....................!
real 190.55
user 185.25
sys 4.96

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/6834/ft1_filtered_4FGL_J1127.8+3618_daily_bin1750.fits scfile=/scratch/kocevski/6834/ft2_4FGL_J1127.8+3618_daily_bin1750.fits outfile=/scratch/kocevski/6834/cmap_692928001_693187201_4FGL_J1127.8+3618_daily_bin1750.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/6834/ft1_filtered_4FGL_J1127.8+3618_daily_bin1750.fits scfile=/scratch/kocevski/6834/ft2_4FGL_J1127.8+3618_daily_bin1750.fits outfile=/scratch/kocevski/6834/cmap_HighResolution_692928001_693187201_4FGL_J1127.8+3618_daily_bin1750.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/6834/ft1_filtered_4FGL_J1127.8+3618_daily_bin1750.fits', '/scratch/kocevski/6834/ft2_4FGL_J1127.8+3618_daily_bin1750.fits', expMap='/scratch/kocevski/6834/expmap_692928001_693187201_4FGL_J1127.8+3618_daily_bin1750.fits', expCube='/scratch/kocevski/6834/ltcube_692928001_693187201_4FGL_J1127.8+3618_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/6834/Model_4FGL_J1127.8+3618_daily_bin1750.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/6834/ft1_filtered_4FGL_J1127.8+3618_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/6834/ft2_4FGL_J1127.8+3618_daily_bin1750.fits
Exposure map: /scratch/kocevski/6834/expmap_692928001_693187201_4FGL_J1127.8+3618_daily_bin1750.fits
Exposure cube: /scratch/kocevski/6834/ltcube_692928001_693187201_4FGL_J1127.8+3618_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/6834/Model_4FGL_J1127.8+3618_daily_bin1750.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) = 7213.37970067

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11667E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .12018E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .63468E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .31769E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .17890E-03   1.0000          .0000       .10000E+07
     6 'norm      '    1.5332       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.0223       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.724       1.0000          .0000       .10000E+07
     9 'Prefactor '    .12607E-03   1.0000          .0000       .10000E+07
    10 'norm      '    5.4870       1.0000          .0000       .10000E+07
    11 'Prefactor '    .80375E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.6009       1.0000          .0000       .10000E+07
    13 'Prefactor '    .49685E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .19880E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12236E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    6.0581       1.0000          .0000       .10000E+07
    17 'Prefactor '    6.0363       1.0000          .0000       .10000E+07
    18 'norm      '    2.7412       1.0000          .0000       .10000E+07
    19 'Prefactor '    8.8569       1.0000          .0000       .10000E+07
    20 'norm      '    10.669       1.0000          .0000       .10000E+07
    21 'Prefactor '    .75940E-02   1.0000          .0000       .10000E+07
    22 'norm      '    30.030       1.0000          .0000       .10000E+07
    23 'Prefactor '    .41817E-04   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0625       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .81426       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=   7213.361     FROM MIGRAD    STATUS=CONVERGED    207 CALLS     1757 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .54101E-06    7.5892        .32718E-06** at limit **
   2  Prefactor      .0000        2.3983       -.11953E-08** at limit **
   3  Prefactor     .44409E-09    41.122        .13691E-05** at limit **
   4  Prefactor     .10237E-05    19.894       -.11553E-05** at limit **
   5  Prefactor     .15360E-06    12.902        .38569E-06** at limit **
   6  norm          1.5334        .34813       -.16569E-07    .28479E-02
   7  Prefactor     1.0204        2.4509       -.20257E-06    .52046E-03
   8  Prefactor     10.661        1.4746        .17510E-07   -.91690E-02
   9  Prefactor     .49960E-09    8.3109       -.28603E-06** at limit **
  10  norm          5.4754        1.9603       -.35558E-07   -.95810E-02
  11  Prefactor      .0000        2.1300        .48349E-07** at limit **
  12  Prefactor     2.6214        59.580        .16294E-05    .13088E-01
  13  Prefactor     .11198E-05    6.9672        .28031E-07** at limit **
  14  norm          .13926E-01    51.401       -.59845E-06** at limit **
  15  Prefactor     .11102E-09    7.0697        .97389E-07** at limit **
  16  Prefactor     6.0588        5.5638       -.18553E-07   -.13224E-02
  17  Prefactor     5.3332        104.48       -.27995E-05    .48823E-02
  18  norm          2.7515        1.3608        .47938E-07   -.25079E-02
  19  Prefactor     8.7073        1.4099       -.81967E-08   -.13797E-02
  20  norm          10.658        9.7396       -.57935E-07   -.21198E-02
  21  Prefactor     .14863E-05    9.6362        .69985E-06** at limit **
  22  norm          30.031        2.9148        .13324E-07   -.61108E-02
  23  Prefactor     .55511E-10    4.3364       -.16657E-06** at limit **
  24  Normalizat    1.0632        .19260        .11853E-04   -.35926E-03
  25  Prefactor     .81397        .21662       -.41721E-05   -.21996E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.41012e-07
  Prefactor  = 0
  Prefactor  = 4.44089e-10
  Prefactor  = 1.02368e-06
  Prefactor  = 1.53599e-07
  norm       = 1.53339
  Prefactor  = 1.0204
  Prefactor  = 10.6607
  Prefactor  = 4.996e-10
  norm       = 5.47539
  Prefactor  = 0
  Prefactor  = 2.62137
  Prefactor  = 1.11977e-06
  norm       = 0.0139263
  Prefactor  = 1.11022e-10
  Prefactor  = 6.05881
  Prefactor  = 5.3332
  norm       = 2.75146
  Prefactor  = 8.70732
  norm       = 10.6575
  Prefactor  = 1.48626e-06
  norm       = 30.0306
  Prefactor  = 5.55112e-11
  Normalizat = 1.06324
  Prefactor  = 0.813973
 **********
 **   18 **HESSE 
 **********

 FCN=   7213.361     FROM HESSE     STATUS=OK           485 CALLS     2242 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .54101E-06    17.949        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.3964        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .44409E-09    40.084        .15040E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10237E-05    23.295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .15360E-06    13.442        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.5334        .36192        .52049E-03   -1.5683    
   7  Prefactor     1.0204        2.4870        .12727E-02   -1.5688    
   8  Prefactor     10.661        19.238        .30570E-03   -1.5643    
   9  Prefactor     .49960E-09    8.4000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.4754        16.235        .42871E-03   -1.5661    
  11  Prefactor      .0000        2.0934        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.6214        72.381        .63234E-03   -1.5676    
  13  Prefactor     .11198E-05    19.533        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .13926E-01    1.0482        .48641E-02   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11102E-09    7.0893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.0588        5.5731        .40769E-03   -1.5659    
  17  Prefactor     5.3332        109.53        .40843E-03   -1.5662    
  18  norm          2.7515        1.3688        .61467E-03   -1.5675    
  19  Prefactor     8.7073        17.367        .33656E-03   -1.5649    
  20  norm          10.658        9.7528        .30650E-03   -1.5643    
  21  Prefactor     .14863E-05    15.386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          30.031        2.9360        .18251E-03   -1.5598    
  23  Prefactor     .55511E-10    4.3016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0632        .16984        .39790E-01   -.90941    
  25  Prefactor     .81397        .18809        .73580E-01   -.99215    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30067e-07
Minuit parameter uncertainties:
  1  0.00623226
  2  7.09935e-06
  3  0.000270489
  4  0.00976664
  5  0.00287398
  6  0.361924
  7  2.48705
  8  19.2382
  9  0.000126244
  10  16.2356
  11  1.03315e-05
  12  27.5495
  13  0.00935359
  14  0.241638
  15  4.99291e-05
  16  5.57306
  17  48.3397
  18  1.36876
  19  17.3667
  20  9.75284
  21  0.00956386
  22  2.93603
  23  3.54371e-05
  24  0.169927
  25  0.188244
Done.

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

Extracting fit parameters...

4FGL J1127.8+3618
   Spectrum: PowerLaw
326    Prefactor:  0.000e+00  1.033e-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:  8.140e-01  1.882e-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.063e+00  1.699e-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: 6.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/6834/likelihoodResults_692928001_693187201_4FGL_J1127.8+3618_daily_bin1750.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) = 7213.17511665
delta logL = 0.185825660804

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7213.09420438
delta logL = 0.266737922346

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22922E-01   1.0000          .0000       .10000E+07
     2 'Index     '    4.9579       1.0000          .0000       10.000    
     3 'Normalizat'    1.0226       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84203       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=   7213.094     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      328 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22947E-01    .41845        .40768E-03** at limit **
   2  Index         4.9579        2.7467        .15287       -.55959E-04
   3  Normalizat    1.0227        .25070E-01    .42989E-01    .18126E-04
   4  Prefactor     .84198        .29425E-01    .72456E-01    .12043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0229472
  Index      = 4.95793
  Normalizat = 1.02269
  Prefactor  = 0.841983
 **********
 **   18 **HESSE 
 **********

 FCN=   7213.094     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      361 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22947E-01    2.3905        .18197E-05   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.9579        7.2299        .81811E-02   -.84144E-02
   3  Normalizat    1.0227        .14893        .25154E-03   -.92274    
   4  Prefactor     .84198        .17124        .32062E-03   -.98199    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.31093e-07
Minuit parameter uncertainties:
  1  0.468427
  2  10.0624
  3  0.148994
  4  0.171345
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/6834': 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) = 7213.09420398
delta logL = 0.266738322513

Extracting fit parameters...

4FGL J1127.8+3618
   Spectrum: PowerLaw
326    Prefactor:  2.295e-02  4.684e-01  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  4.958e+00  1.006e+01  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:  8.420e-01  1.713e-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.023e+00  1.490e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 171.964 36.314

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/6834/cmap_HighResolution_692928001_693187201_4FGL_J1127.8+3618_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.20e-03', job_status='DONE', photon_flux_upper_limit='6.74e-08', time_completed='2022-12-20 00:49:01.506655', job_id='6834', GAL2='0.84', fit_tolerance='1e-08', EG2='1.02', EG='1.06', time_epoch_completed='1671526141.51', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='2.67e-01', ts2='0.59', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1750' AND source_name='4FGL J1127.8+3618' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:49:01 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 6834: <4FGL_J1127.8+3618_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1127.8+3618_daily_bin1750> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Dec 20 00:35:18 2022
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:35:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:35:19 2022
Terminated at Tue Dec 20 00:49:02 2022
Results reported at Tue Dec 20 00:49:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1127.8+3618_daily_bin1750 171.964 36.314 692928001 693187201 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 :                                   716.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             304.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            824 sec.

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

