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 32 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1226.8-1329_daily_bin1699
RA = 186.719, Dec = -13.494
tmin = 679708801, tmax = 679968001
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='117322', job_status='RUN', time_executed='2022-07-20 08:31:05.606561', time_epoch_executed='1658331065.61' WHERE source_name='4FGL J1226.8-1329' and cadence='daily' and bin_id='1699'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/117322

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/117322/ft1_4FGL_J1226.8-1329_daily_bin1699.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/117322/ft2_4FGL_J1226.8-1329_daily_bin1699.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/117322/ft1_4FGL_J1226.8-1329_daily_bin1699.fits outfile=/scratch/kocevski/117322/ft1_filteredMKT_4FGL_J1226.8-1329_daily_bin1699.fits ra=186.719 dec=-13.494 rad=12.0 tmin=679708801.0 tmax=679968001.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.84
user 3.55
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/117322/ft2_4FGL_J1226.8-1329_daily_bin1699.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/117322/ft2_4FGL_J1226.8-1329_daily_bin1699.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/117322/ft1_filteredMKT_4FGL_J1226.8-1329_daily_bin1699.fits evtable="EVENTS" outfile="/scratch/kocevski/117322/ft1_filtered_4FGL_J1226.8-1329_daily_bin1699.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.50
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 527

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/117322/ft1_filtered_4FGL_J1226.8-1329_daily_bin1699.fits" evtable="EVENTS" scfile=/scratch/kocevski/117322/ft2_4FGL_J1226.8-1329_daily_bin1699.fits sctable="SC_DATA" outfile=/scratch/kocevski/117322/ltcube_679708801_679968001_4FGL_J1226.8-1329_daily_bin1699.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/117322/ft2_4FGL_J1226.8-1329_daily_bin1699.fits
.....................!
real 11.87
user 11.52
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/117322/ft1_filtered_4FGL_J1226.8-1329_daily_bin1699.fits evtable="EVENTS" scfile=/scratch/kocevski/117322/ft2_4FGL_J1226.8-1329_daily_bin1699.fits sctable="SC_DATA" expcube=/scratch/kocevski/117322/ltcube_679708801_679968001_4FGL_J1226.8-1329_daily_bin1699.fits outfile=/scratch/kocevski/117322/expmap_679708801_679968001_4FGL_J1226.8-1329_daily_bin1699.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/117322/ltcube_679708801_679968001_4FGL_J1226.8-1329_daily_bin1699.fits
.....................!
real 189.33
user 185.05
sys 3.91

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 J1226.8-1329 @ 186.719 -13.494

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/117322/ft1_filtered_4FGL_J1226.8-1329_daily_bin1699.fits scfile=/scratch/kocevski/117322/ft2_4FGL_J1226.8-1329_daily_bin1699.fits outfile=/scratch/kocevski/117322/cmap_679708801_679968001_4FGL_J1226.8-1329_daily_bin1699.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=186.719 yref=-13.494 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/117322/ft1_filtered_4FGL_J1226.8-1329_daily_bin1699.fits scfile=/scratch/kocevski/117322/ft2_4FGL_J1226.8-1329_daily_bin1699.fits outfile=/scratch/kocevski/117322/cmap_HighResolution_679708801_679968001_4FGL_J1226.8-1329_daily_bin1699.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=186.719 yref=-13.494 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/117322/ft1_filtered_4FGL_J1226.8-1329_daily_bin1699.fits evtable="EVENTS" scfile=/scratch/kocevski/117322/ft2_4FGL_J1226.8-1329_daily_bin1699.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/117322/Model_4FGL_J1226.8-1329_daily_bin1699.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/117322/ft1_filtered_4FGL_J1226.8-1329_daily_bin1699.fits.....................!
real 53.21
user 51.36
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/117322/ft1_filtered_4FGL_J1226.8-1329_daily_bin1699.fits', '/scratch/kocevski/117322/ft2_4FGL_J1226.8-1329_daily_bin1699.fits', expMap='/scratch/kocevski/117322/expmap_679708801_679968001_4FGL_J1226.8-1329_daily_bin1699.fits', expCube='/scratch/kocevski/117322/ltcube_679708801_679968001_4FGL_J1226.8-1329_daily_bin1699.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/117322/Model_4FGL_J1226.8-1329_daily_bin1699.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1226.8-1329'

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.164e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/117322/ft1_filtered_4FGL_J1226.8-1329_daily_bin1699.fits
Spacecraft file(s): /scratch/kocevski/117322/ft2_4FGL_J1226.8-1329_daily_bin1699.fits
Exposure map: /scratch/kocevski/117322/expmap_679708801_679968001_4FGL_J1226.8-1329_daily_bin1699.fits
Exposure cube: /scratch/kocevski/117322/ltcube_679708801_679968001_4FGL_J1226.8-1329_daily_bin1699.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/117322/Model_4FGL_J1226.8-1329_daily_bin1699.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) = 5936.31761999

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.0823       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.6438       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    37.881       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.276       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10266E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.8706       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.2633       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.273       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10506E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .36896E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .86969       1.0000         .10000E-03   10000.    
    22 'norm      '    5.7151       1.0000         .10000E-03   10000.    
    23 'norm      '    16.451       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1081       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1065       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5936.311     FROM MIGRAD    STATUS=CONVERGED   1019 CALLS     3296 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    30.813        .18142E-02** at limit **
   2  norm          .10000E-03    2.8610        .12708E-02** at limit **
   3  Prefactor     .10000E-03    1.3274        .86495E-03** at limit **
   4  Prefactor     3.0777        25.872        .23102E-03    .36416E-05
   5  Prefactor     .10000E-03    5.9937        .18142E-02** at limit **
   6  norm          2.6413        4.2039        .19287E-03   -.76570E-04
   7  Prefactor     .10000E-03    53.831        .18142E-02** at limit **
   8  Prefactor     .10000E-03    6.3386        .18142E-02** at limit **
   9  Prefactor     37.880        39.870        .65120E-04    .46439E-04
  10  Prefactor     .10000E-03    40.480        .18142E-02** at limit **
  11  Prefactor     25.268        20.627        .79679E-04   -.17550E-04
  12  Prefactor     .10000E-03    25.505        .18142E-02** at limit **
  13  Prefactor     .10000E-03    6.2554        .18142E-02** at limit **
  14  Prefactor     2.8705        2.2307        .97773E-04    .66161E-04
  15  Prefactor     8.2596        13.678        .13947E-03    .12717E-04
  16  Prefactor     .10000E-03    3.7940        .14654E-02** at limit **
  17  Prefactor     17.274        13.411        .96367E-04    .41054E-04
  18  Prefactor     .10000E-03    9.4343        .18142E-02** at limit **
  19  Prefactor     .10000E-03    46.546        .15283    ** at limit **
  20  Prefactor     .10000E-03    48.439        .18142E-02** at limit **
  21  norm          .86986        .30810        .23425E-04    .15001E-02
  22  norm          5.7132        11.637        .16802E-03   -.35862E-05
  23  norm          16.448        11.302        .98746E-04    .10016E-04
  24  Normalizat    1.1081        .31416        .35363E-03    .14155E-03
  25  Prefactor     1.1066        .17810        .20353E-03    .10265E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.07767
  Prefactor  = 0.0001
  norm       = 2.64131
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 37.8802
  Prefactor  = 0.0001
  Prefactor  = 25.2678
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.87051
  Prefactor  = 8.25959
  Prefactor  = 0.0001
  Prefactor  = 17.2735
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.86986
  norm       = 5.71316
  norm       = 16.4479
  Normalizat = 1.10813
  Prefactor  = 1.10658
 **********
 **   18 **HESSE 
 **********

 FCN=   5936.311     FROM HESSE     STATUS=OK           411 CALLS     3707 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.815        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.8611        .25416E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.3274        .17299E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.0777        25.863        .92409E-05   -1.5357    
   5  Prefactor     .10000E-03    5.9939        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.6413        4.2037        .77148E-05   -1.5383    
   7  Prefactor     .10000E-03    53.837        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.3390        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     37.880        39.868        .13024E-04   -1.4476    
  10  Prefactor     .10000E-03    40.481        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     25.268        20.625        .31872E-05   -1.4702    
  12  Prefactor     .10000E-03    25.506        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.2587        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.8705        2.2306        .39109E-05   -1.5369    
  15  Prefactor     8.2596        13.677        .55786E-05   -1.5133    
  16  Prefactor     .10000E-03    3.7940        .29308E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     17.274        13.411        .38547E-05   -1.4876    
  18  Prefactor     .10000E-03    9.4358        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    46.519        .15290       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    48.439        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .86986        .30811        .93701E-06   -1.5521    
  22  norm          5.7132        11.636        .67207E-05   -1.5230    
  23  norm          16.448        11.302        .39499E-05   -1.4897    
  24  Normalizat    1.1081        .31442        .14145E-04   -.89491    
  25  Prefactor     1.1066        .17827        .40705E-04   -.89257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71332e-10
Minuit parameter uncertainties:
  1  0.000127512
  2  6.2404e-06
  3  1.04182e-05
  4  17.8538
  5  1.44198e-05
  6  4.20416
  7  0.000531122
  8  1.9496e-05
  9  39.8963
  10  0.000245158
  11  20.6305
  12  8.55264e-06
  13  6.79809e-06
  14  2.23064
  15  13.6826
  16  1.7105e-06
  17  13.4131
  18  5.44344e-06
  19  2.83953e-05
  20  5.64015e-05
  21  0.308112
  22  11.6408
  23  11.3032
  24  0.314954
  25  0.178362
Done.

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

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.000e-04  6.798e-06  1.000e-04  1.000e+04 ( 1.000e-13)
354        Index:  1.998e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.107e+00  1.784e-01  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.108e+00  3.150e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.719 -13.494
Photon Flux Upper Limit: 9.76e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/117322/likelihoodResults_679708801_679968001_4FGL_J1226.8-1329_daily_bin1699.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) = 5936.31136828
delta logL = -0.000761873909141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5936.31060555
delta logL = 8.60165528138e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0495       1.0000          .0000       10.000    
     3 'Normalizat'    1.1082       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1066       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5936.311     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      215 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    14.842        .90712E-02** at limit **
   2  Index         2.1120        5.8605        .50000       -.83305E-04
   3  Normalizat    1.1081        .88867E-02    .79883E-01    .58915E-04
   4  Prefactor     1.1066        .51385E-02    .37343E-01    .13617E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100013
  Index      = 2.112
  Normalizat = 1.10812
  Prefactor  = 1.10658
 **********
 **   18 **HESSE 
 **********

 FCN=   5936.311     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    11.159        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1120        6.0076        .50000       -.61579    
   3  Normalizat    1.1081        .29844        .35363E-03   -.89491    
   4  Prefactor     1.1066        .17305        .20353E-03   -.89257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54406e-08
Minuit parameter uncertainties:
  1  0.000749927
  2  4.70241
  3  0.298896
  4  0.173139
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/117322': 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) = 5936.31060435
delta logL = 2.06178719964e-06

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  1.000e-04  7.499e-04  1.000e-04  1.000e+04 ( 1.000e-13)
354        Index:  2.112e+00  4.702e+00  0.000e+00  1.000e+01 (-1.000e+00)
355        Scale:  2.502e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
631    Prefactor:  1.107e+00  1.731e-01  0.000e+00  1.000e+01 ( 1.000e+00)
632        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
633        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
630   Normalization:  1.108e+00  2.989e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.719 -13.494

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/117322/cmap_HighResolution_679708801_679968001_4FGL_J1226.8-1329_daily_bin1699.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.32e-03', job_status='DONE', photon_flux_upper_limit='9.76e-08', time_completed='2022-07-20 08:43:18.638017', job_id='117322', GAL2='1.11', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1658331798.64', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='2.06e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1699' AND source_name='4FGL J1226.8-1329' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 20 08:43:18 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 117322: <4FGL_J1226.8-1329_daily_bin1699> in cluster <slac> Done

Job <4FGL_J1226.8-1329_daily_bin1699> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jul 20 08:30:21 2022
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 20 08:30:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jul 20 08:30:22 2022
Terminated at Wed Jul 20 08:43:19 2022
Results reported at Wed Jul 20 08:43:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1226.8-1329_daily_bin1699 186.719 -13.494 679708801 679968001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1226.8-1329 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   735.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             329.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            778 sec.

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

