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


Performing analysis on: 4FGL_J1226.8-1329_daily_bin1776
RA = 186.719, Dec = -13.494
tmin = 699667201, tmax = 699926401
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='832554', job_status='RUN', time_executed='2023-03-08 00:35:52.609421', time_epoch_executed='1678264552.61' WHERE source_name='4FGL J1226.8-1329' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/832554

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/832554/ft1_4FGL_J1226.8-1329_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/832554/ft2_4FGL_J1226.8-1329_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/832554/ft1_4FGL_J1226.8-1329_daily_bin1776.fits outfile=/scratch/kocevski/832554/ft1_filteredMKT_4FGL_J1226.8-1329_daily_bin1776.fits ra=186.719 dec=-13.494 rad=12.0 tmin=699667201.0 tmax=699926401.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.94
user 3.73
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/832554/ft2_4FGL_J1226.8-1329_daily_bin1776.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/832554/ft1_filteredMKT_4FGL_J1226.8-1329_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/832554/ft1_filtered_4FGL_J1226.8-1329_daily_bin1776.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.33
sys 0.15

Number of photons that the gtmktime cut: 672

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/832554/ft1_filtered_4FGL_J1226.8-1329_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/832554/ft2_4FGL_J1226.8-1329_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/832554/ltcube_699667201_699926401_4FGL_J1226.8-1329_daily_bin1776.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/832554/ft2_4FGL_J1226.8-1329_daily_bin1776.fits
.....................!
real 11.89
user 11.55
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/832554/ft1_filtered_4FGL_J1226.8-1329_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/832554/ft2_4FGL_J1226.8-1329_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/832554/ltcube_699667201_699926401_4FGL_J1226.8-1329_daily_bin1776.fits outfile=/scratch/kocevski/832554/expmap_699667201_699926401_4FGL_J1226.8-1329_daily_bin1776.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/832554/ltcube_699667201_699926401_4FGL_J1226.8-1329_daily_bin1776.fits
.....................!
real 190.59
user 185.70
sys 4.52

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/832554/ft1_filtered_4FGL_J1226.8-1329_daily_bin1776.fits scfile=/scratch/kocevski/832554/ft2_4FGL_J1226.8-1329_daily_bin1776.fits outfile=/scratch/kocevski/832554/cmap_699667201_699926401_4FGL_J1226.8-1329_daily_bin1776.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/832554/ft1_filtered_4FGL_J1226.8-1329_daily_bin1776.fits scfile=/scratch/kocevski/832554/ft2_4FGL_J1226.8-1329_daily_bin1776.fits outfile=/scratch/kocevski/832554/cmap_HighResolution_699667201_699926401_4FGL_J1226.8-1329_daily_bin1776.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/832554/ft1_filtered_4FGL_J1226.8-1329_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/832554/ft2_4FGL_J1226.8-1329_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/832554/Model_4FGL_J1226.8-1329_daily_bin1776.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/832554/ft1_filtered_4FGL_J1226.8-1329_daily_bin1776.fits.....................!
real 60.33
user 58.99
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/832554/ft1_filtered_4FGL_J1226.8-1329_daily_bin1776.fits', '/scratch/kocevski/832554/ft2_4FGL_J1226.8-1329_daily_bin1776.fits', expMap='/scratch/kocevski/832554/expmap_699667201_699926401_4FGL_J1226.8-1329_daily_bin1776.fits', expCube='/scratch/kocevski/832554/ltcube_699667201_699926401_4FGL_J1226.8-1329_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/832554/Model_4FGL_J1226.8-1329_daily_bin1776.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  0.000e+00  1.000e+06 ( 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/832554/ft1_filtered_4FGL_J1226.8-1329_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/832554/ft2_4FGL_J1226.8-1329_daily_bin1776.fits
Exposure map: /scratch/kocevski/832554/expmap_699667201_699926401_4FGL_J1226.8-1329_daily_bin1776.fits
Exposure cube: /scratch/kocevski/832554/ltcube_699667201_699926401_4FGL_J1226.8-1329_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/832554/Model_4FGL_J1226.8-1329_daily_bin1776.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) = 7378.55955074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23030E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .21820E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.2953       1.0000          .0000       .10000E+07
     4 'Prefactor '    .28553E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .10713E-02   1.0000          .0000       .10000E+07
     6 'norm      '    10.193       1.0000          .0000       .10000E+07
     7 'Prefactor '    .69370       1.0000          .0000       .10000E+07
     8 'Prefactor '    32.531       1.0000          .0000       .10000E+07
     9 'Prefactor '    .17369E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .13120E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .15073E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.3750       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.981       1.0000          .0000       .10000E+07
    14 'Prefactor '    22.697       1.0000          .0000       .10000E+07
    15 'Prefactor '    .69848E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.8587       1.0000          .0000       .10000E+07
    17 'Prefactor '    .87761       1.0000          .0000       .10000E+07
    18 'Prefactor '    77.531       1.0000          .0000       .10000E+07
    19 'norm      '    .68834E-08   1.0000          .0000       .10000E+07
    20 'norm      '    1.5877       1.0000          .0000       .10000E+07
    21 'norm      '    14.975       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1194       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0075       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7378.428     FROM MIGRAD    STATUS=CONVERGED    214 CALLS     1576 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19984E-08    16.904        .34512E-06** at limit **
   2  norm           .0000        14.929       -.32260E-05** at limit **
   3  Prefactor     1.2945        3.4747       -.17886E-05    .15606E-02
   4  Prefactor     .55511E-10    32.599        .32983E-05** at limit **
   5  Prefactor     .22204E-09    4.6094       -.63175E-06** at limit **
   6  norm          10.183        4.5212        .75094E-06   -.23704E-02
   7  Prefactor     .29196        191.80        .16814E-04    .67576E-03
   8  Prefactor     33.337        32.378        .58057E-05    .11968E-02
   9  Prefactor     .27756E-09    6.6292        .54634E-06** at limit **
  10  Prefactor     .94369E-09    20.093       -.53541E-05** at limit **
  11  Prefactor      .0000        2.6669       -.87911E-07** at limit **
  12  Prefactor     7.3735        2.3402        .17117E-05    .74784E-03
  13  Prefactor     11.972        11.148        .13739E-06    .13494E-02
  14  Prefactor     22.749        12.570        .82558E-06    .53518E-03
  15  Prefactor      .0000        3.2748        .34678E-06** at limit **
  16  Prefactor     3.8719        8.7379       -.65954E-06   -.28032E-03
  17  Prefactor     .31770E-05    102.67        .59575E-06** at limit **
  18  Prefactor     72.444        56.170        .35265E-06   -.85647E-02
  19  norm           .0000        .17657       -.17969E-06** at limit **
  20  norm          1.5858        12.498        .77185E-06   -.91469E-04
  21  norm          15.207        8.2440       -.88877E-06    .27489E-02
  22  Normalizat    1.1215        .26226       -.96499E-05    .49205E-04
  23  Prefactor     1.0072        .15243        .24453E-05   -.60268E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.9984e-09
  norm       = 0
  Prefactor  = 1.29446
  Prefactor  = 5.55112e-11
  Prefactor  = 2.22045e-10
  norm       = 10.1833
  Prefactor  = 0.291958
  Prefactor  = 33.3375
  Prefactor  = 2.77556e-10
  Prefactor  = 9.4369e-10
  Prefactor  = 0
  Prefactor  = 7.37348
  Prefactor  = 11.9719
  Prefactor  = 22.7493
  Prefactor  = 0
  Prefactor  = 3.87189
  Prefactor  = 3.17696e-06
  Prefactor  = 72.4439
  norm       = 0
  norm       = 1.58584
  norm       = 15.2071
  Normalizat = 1.1215
  Prefactor  = 1.00718
 **********
 **   18 **HESSE 
 **********

 FCN=   7378.428     FROM HESSE     STATUS=OK           428 CALLS     2004 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19984E-08    16.897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        14.729        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2945        3.5266        .97160E-03   -1.5685    
   4  Prefactor     .55511E-10    32.506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22204E-09    4.6058        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          10.183        4.5203        .31361E-03   -1.5644    
   7  Prefactor     .29196        14.579        .88173E-02   -1.5697    
   8  Prefactor     33.337        32.184        .17535E-03   -1.5592    
   9  Prefactor     .27756E-09    6.6347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .94369E-09    20.045        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.6670        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.3735        2.3411        .36922E-02   -1.5165    
  13  Prefactor     11.972        11.126        .28916E-03   -1.5639    
  14  Prefactor     22.749        12.567        .20995E-03   -1.5613    
  15  Prefactor      .0000        3.2742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.8719        8.7663        .51348E-03   -1.5669    
  17  Prefactor     .31770E-05    317.80        .47321E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     72.444        68.035        .11358E-03   -1.5538    
  19  norm           .0000        .99113E-01    .10078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.5858        12.447        .84201E-03   -1.5683    
  21  norm          15.207        8.4046        .25856E-03   -1.5630    
  22  Normalizat    1.1215        .22203        .73934E-01   -.89065    
  23  Prefactor     1.0072        .12740        .43722E-01   -.92490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.88045e-07
Minuit parameter uncertainties:
  1  0.000369818
  2  4.32091e-07
  3  3.52663
  4  6.9087e-05
  5  6.02088e-05
  6  4.52029
  7  4.12627
  8  32.1842
  9  8.77789e-05
  10  0.000270998
  11  1.03167e-05
  12  2.34116
  13  11.1258
  14  12.5671
  15  9.16348e-06
  16  8.76636
  17  0.0635525
  18  68.0355
  19  2.88018e-07
  20  8.88579
  21  8.40459
  22  0.222211
  23  0.127434
Done.

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

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  0.000e+00  1.032e-05  0.000e+00  1.000e+06 ( 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.007e+00  1.274e-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.121e+00  2.222e-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: 6.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/832554/likelihoodResults_699667201_699926401_4FGL_J1226.8-1329_daily_bin1776.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) = 7378.42888198
delta logL = -0.000419144899752

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7378.42846285
delta logL = -1.58779585036e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     2 'Index     '    .68033       1.0000          .0000       10.000    
     3 'Normalizat'    1.1215       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0072       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 TERMINATED WITHOUT CONVERGENCE.

 FCN=   7378.097     FROM MIGRAD    STATUS=FAILED       248 CALLS      417 TOTAL
                     EDM=   .27E-01    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .50909E-06    .10749E-04     .0000    ** at limit **
   2  Index         7.7146        2.0959         .0000        .29328E-03
   3  Normalizat    1.0624        .38509E-01     .0000        .34438E-03
   4  Prefactor     1.0297        .22520E-01     .0000        .29675E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7378.097     FROM SIMPLEX   STATUS=UNCHANGED     77 CALLS      494 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .50909E-06    .10749E-04    .54389E-07** at limit **
   2  Index         7.7146        2.0959        .58213E-02    .29328E-03
   3  Normalizat    1.0624        .38509E-01    .15585E-03    .34438E-03
   4  Prefactor     1.0297        .22520E-01    .52327E-04    .29675E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7378.097     FROM MIGRAD    STATUS=FAILED        48 CALLS      542 TOTAL
                     EDM=   .54E-01    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .50904E-06    .21047E-04     .0000    ** at limit **
   2  Index         7.7146        3.3853         .0000       -.69183E-04
   3  Normalizat    1.0624        .58504E-01     .0000        .19007E-03
   4  Prefactor     1.0297        .33706E-01     .0000        .15349E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.09037e-07
  Index      = 7.71461
  Normalizat = 1.06241
  Prefactor  = 1.02966
 **********
 **   18 **HESSE 
 **********

 FCN=   7378.097     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      571 TOTAL
                     EDM=   .11E+00    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .50904E-06    .22137E-04    .17801E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.7146        3.4459        .26242E-03    .57391    
   3  Normalizat    1.0624        .60970E-01    .13403E-04   -.90968    
   4  Prefactor     1.0297        .34899E-01    .39557E-04   -.91747    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 0.112722
Minuit parameter uncertainties:
  1  6.71379e-06
  2  4.04179
  3  0.0609742
  4  0.0349
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/832554': 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): 1
logL (Free Index) = 7378.09661195
delta logL = 0.33185088318

Extracting fit parameters...

4FGL J1226.8-1329
   Spectrum: PowerLaw
353    Prefactor:  5.090e-07  6.714e-06  0.000e+00  1.000e+06 ( 1.000e-13)
354        Index:  7.715e+00  4.042e+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.030e+00  3.490e-02  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.062e+00  6.097e-02  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/832554/cmap_HighResolution_699667201_699926401_4FGL_J1226.8-1329_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.97e-03', job_status='DONE', photon_flux_upper_limit='6.63e-08', time_completed='2023-03-08 00:47:09.878853', job_id='832554', GAL2='1.03', fit_tolerance='1e-08', EG2='1.06', EG='1.12', time_epoch_completed='1678265229.88', return_code2='1', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.32e-01', ts2='0.71', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1776' AND source_name='4FGL J1226.8-1329' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 00:47:09 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0188>
Subject: Job 832554: <4FGL_J1226.8-1329_daily_bin1776> in cluster <slac> Done

Job <4FGL_J1226.8-1329_daily_bin1776> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Mar  8 00:35:27 2023
Job was executed on host(s) <bullet0188>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:35:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:35:29 2023
Terminated at Wed Mar  8 00:47:10 2023
Results reported at Wed Mar  8 00:47:10 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1226.8-1329_daily_bin1776 186.719 -13.494 699667201 699926401 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 :                                   679.07 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             332.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            703 sec.

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

