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 157 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.8+3618_daily_bin1780
RA = 171.964, Dec = 36.314
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='60032', job_status='RUN', time_executed='2023-03-20 00:43:05.687336', time_epoch_executed='1679298185.69' WHERE source_name='4FGL J1127.8+3618' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/60032

Creating custom pfile directory:
/scratch/kocevski/60032/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/60032/ft1_4FGL_J1127.8+3618_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/60032/ft2_4FGL_J1127.8+3618_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/60032/ft1_4FGL_J1127.8+3618_daily_bin1780.fits outfile=/scratch/kocevski/60032/ft1_filteredMKT_4FGL_J1127.8+3618_daily_bin1780.fits ra=171.964 dec=36.314 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.09
user 3.88
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/60032/ft2_4FGL_J1127.8+3618_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/60032/ft1_filteredMKT_4FGL_J1127.8+3618_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/60032/ft1_filtered_4FGL_J1127.8+3618_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.49
user 0.31
sys 0.16

Number of photons that the gtmktime cut: 719

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/60032/ft1_filtered_4FGL_J1127.8+3618_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/60032/ft2_4FGL_J1127.8+3618_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/60032/ltcube_700704001_700963201_4FGL_J1127.8+3618_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/60032/ft2_4FGL_J1127.8+3618_daily_bin1780.fits
.....................!
real 11.80
user 11.46
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/60032/ft1_filtered_4FGL_J1127.8+3618_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/60032/ft2_4FGL_J1127.8+3618_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/60032/ltcube_700704001_700963201_4FGL_J1127.8+3618_daily_bin1780.fits outfile=/scratch/kocevski/60032/expmap_700704001_700963201_4FGL_J1127.8+3618_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/60032/ltcube_700704001_700963201_4FGL_J1127.8+3618_daily_bin1780.fits
.....................!
real 190.92
user 185.66
sys 4.95

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/60032/ft1_filtered_4FGL_J1127.8+3618_daily_bin1780.fits scfile=/scratch/kocevski/60032/ft2_4FGL_J1127.8+3618_daily_bin1780.fits outfile=/scratch/kocevski/60032/cmap_700704001_700963201_4FGL_J1127.8+3618_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.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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/60032/ft1_filtered_4FGL_J1127.8+3618_daily_bin1780.fits scfile=/scratch/kocevski/60032/ft2_4FGL_J1127.8+3618_daily_bin1780.fits outfile=/scratch/kocevski/60032/cmap_HighResolution_700704001_700963201_4FGL_J1127.8+3618_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.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/60032/ft1_filtered_4FGL_J1127.8+3618_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/60032/ft2_4FGL_J1127.8+3618_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/60032/Model_4FGL_J1127.8+3618_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/60032/ft1_filtered_4FGL_J1127.8+3618_daily_bin1780.fits.....................!
real 65.45
user 64.02
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27564E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.6201       1.0000          .0000       .10000E+07
     3 'Prefactor '    .28569E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    43.858       1.0000          .0000       .10000E+07
     5 'Prefactor '    .27962E-03   1.0000          .0000       .10000E+07
     6 'norm      '    1.9008       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.9121       1.0000          .0000       .10000E+07
     8 'Prefactor '    .48588E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .98929       1.0000          .0000       .10000E+07
    10 'norm      '    .18491E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .25683E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    17.674       1.0000          .0000       .10000E+07
    13 'Prefactor '    .14566E-01   1.0000          .0000       .10000E+07
    14 'norm      '    .63874       1.0000          .0000       .10000E+07
    15 'Prefactor '    .14146E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .55000       1.0000          .0000       .10000E+07
    17 'Prefactor '    35.569       1.0000          .0000       .10000E+07
    18 'norm      '    .51168       1.0000          .0000       .10000E+07
    19 'Prefactor '    15.644       1.0000          .0000       .10000E+07
    20 'norm      '    3.9257       1.0000          .0000       .10000E+07
    21 'Prefactor '    .41257E-01   1.0000          .0000       .10000E+07
    22 'norm      '    19.944       1.0000          .0000       .10000E+07
    23 'Prefactor '    .35682E-02   1.0000          .0000       .10000E+07
    24 'Normalizat'    .98608       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .99640       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=   8026.394     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     2163 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .58231E-07    7.2206       -.20392E-07** at limit **
   2  Prefactor     3.6093        3.7151        .11235E-06    .29871E-02
   3  Prefactor     .39857E-07    5.9777       -.14707E-07** at limit **
   4  Prefactor     43.817        3.6694       -.92874E-10    .12587    
   5  Prefactor     .27756E-09    5.5138       -.55541E-07** at limit **
   6  norm          1.9008        .33352       -.64513E-08   -.11097E-01
   7  Prefactor     2.9121        3.1230       -.59145E-07   -.16727E-02
   8  Prefactor      .0000        5.1502       -.47433E-07** at limit **
   9  Prefactor     1.0014        .58934       -.56822E-08    .67473E-02
  10  norm           .0000        3.6270       -.24325E-07** at limit **
  11  Prefactor      .0000        2.1127       -.58391E-07** at limit **
  12  Prefactor     18.016        9.6004       -.19600E-07   -.98812E-01
  13  Prefactor     .64976E-06    25.147       -.17484E-07** at limit **
  14  norm          .62898        1.7581        .95773E-07    .45416E-02
  15  Prefactor     .41200E-05    45.155        .23063E-06** at limit **
  16  Prefactor     .59241        5.2291        .20184E-06    .18466E-02
  17  Prefactor     35.477        4.5061        .50059E-08    .89162E-01
  18  norm          .51371        .80660        .35452E-07    .30218E-02
  19  Prefactor     15.654        1.5774       -.60144E-08    .12531E-01
  20  norm          3.9131        7.2845        .14486E-07    .10867E-01
  21  Prefactor     .49960E-09    27.511       -.36161E-06** at limit **
  22  norm          19.943        2.7162        .29031E-07    .71957E-02
  23  Prefactor     .18363E-06    12.947        .33373E-07** at limit **
  24  Normalizat    .98592        .18470        .12807E-05    .42636E-04
  25  Prefactor     .99637        .21275       -.22643E-05   -.55340E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.82312e-08
  Prefactor  = 3.60935
  Prefactor  = 3.9857e-08
  Prefactor  = 43.8171
  Prefactor  = 2.77556e-10
  norm       = 1.90081
  Prefactor  = 2.91215
  Prefactor  = 0
  Prefactor  = 1.00144
  norm       = 0
  Prefactor  = 0
  Prefactor  = 18.0163
  Prefactor  = 6.49758e-07
  norm       = 0.62898
  Prefactor  = 4.11998e-06
  Prefactor  = 0.592407
  Prefactor  = 35.4771
  norm       = 0.513714
  Prefactor  = 15.6537
  norm       = 3.9131
  Prefactor  = 4.996e-10
  norm       = 19.9431
  Prefactor  = 1.83631e-07
  Normalizat = 0.985919
  Prefactor  = 0.996368
 **********
 **   18 **HESSE 
 **********

 FCN=   8026.394     FROM HESSE     STATUS=OK           477 CALLS     2640 TOTAL
                     EDM=   .26E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .58231E-07    13.200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.6093        3.7146        .53077E-03   -1.5670    
   3  Prefactor     .39857E-07    13.142        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     43.817        56.892        .15101E-03   -1.5576    
   5  Prefactor     .27756E-09    5.5321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.9008        .35093        .47265E-03   -1.5680    
   7  Prefactor     2.9121        3.1395        .59512E-03   -1.5674    
   8  Prefactor      .0000        5.1716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.0014        32.693        .43386E-03   -1.5688    
  10  norm           .0000        3.6358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.0914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     18.016        39.639        .23797E-03   -1.5623    
  13  Prefactor     .64976E-06    25.387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .62898        2.2160        .65827E-03   -1.5692    
  15  Prefactor     .41200E-05    47.334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .59241        5.2517        .73831E-03   -1.5693    
  17  Prefactor     35.477        40.669        .16769E-03   -1.5589    
  18  norm          .51371        .93911        .77543E-03   -1.5694    
  19  Prefactor     15.654        25.643        .25296E-03   -1.5629    
  20  norm          3.9131        7.3115        .50892E-03   -1.5668    
  21  Prefactor     .49960E-09    27.476        .15907E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          19.943        2.7581        .22399E-03   -1.5619    
  23  Prefactor     .18363E-06    13.022        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .98592        .15965        .45992E-01   -.93504    
  25  Prefactor     .99637        .18098        .67959E-01   -.92851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56612e-06
Minuit parameter uncertainties:
  1  0.00175321
  2  3.71465
  3  0.00144766
  4  56.8929
  5  7.63984e-05
  6  0.350932
  7  3.13951
  8  6.41428e-06
  9  11.4438
  10  7.77267e-06
  11  1.2564e-05
  12  39.6397
  13  0.00812305
  14  2.21598
  15  0.0279296
  16  3.5277
  17  40.6695
  18  0.939113
  19  25.6427
  20  7.31154
  21  0.000238765
  22  2.75807
  23  0.00309262
  24  0.159729
  25  0.181094
Done.

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

Extracting fit parameters...

4FGL J1127.8+3618
   Spectrum: PowerLaw
326    Prefactor:  0.000e+00  1.256e-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:  9.964e-01  1.811e-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:  9.859e-01  1.597e-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.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.80e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/60032/likelihoodResults_700704001_700963201_4FGL_J1127.8+3618_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): 102
logL (Free Index) = 8026.39984355
delta logL = -0.00550695371203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8026.38728063
delta logL = 0.00705597172328

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64942E-01   1.0000          .0000       .10000E+07
     2 'Index     '    3.3961       1.0000          .0000       10.000    
     3 'Normalizat'    .98107       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99860       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=   8026.387     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      287 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .65534E-01    1.0797        .19066E-02** at limit **
   2  Index         3.3901        .76844        .50000        .41795E-06
   3  Normalizat    .98102        .69853E-02    .45929E-01    .17938E-04
   4  Prefactor     .99886        .81732E-02    .67878E-01   -.21425E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.065534
  Index      = 3.39014
  Normalizat = 0.981024
  Prefactor  = 0.998861
 **********
 **   18 **HESSE 
 **********

 FCN=   8026.387     FROM HESSE     STATUS=OK            35 CALLS      322 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .65534E-01    9.1250        .10262E-03   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.3901        6.4814        .80515E-02   -.32781    
   3  Normalizat    .98102        .19067        .26000E-03   -.93669    
   4  Prefactor     .99886        .21287        .30023E-03   -.92768    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.00795e-07
Minuit parameter uncertainties:
  1  1.5466
  2  7.85517
  3  0.190798
  4  0.213047
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/60032': 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) = 8026.38727689
delta logL = 0.00705970648141

Extracting fit parameters...

4FGL J1127.8+3618
   Spectrum: PowerLaw
326    Prefactor:  6.553e-02  1.547e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  3.390e+00  7.855e+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:  9.989e-01  2.130e-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:  9.810e-01  1.908e-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/60032/cmap_HighResolution_700704001_700963201_4FGL_J1127.8+3618_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.80e-03', job_status='DONE', photon_flux_upper_limit='6.22e-08', time_completed='2023-03-20 00:55:38.197488', job_id='60032', GAL2='1.00', fit_tolerance='1e-08', EG2='0.98', EG='0.99', time_epoch_completed='1679298938.2', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='7.06e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1780' AND source_name='4FGL J1127.8+3618' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 00:55:38 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0119>
Subject: Job 60032: <4FGL_J1127.8+3618_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1127.8+3618_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) <bullet0119>, 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:55:38 2023
Results reported at Mon Mar 20 00:55:38 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1127.8+3618_daily_bin1780 171.964 36.314 700704001 700963201 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 :                                   754.34 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             280.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            919 sec.

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

