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


Performing analysis on: 4FGL_J1230.8+1223_daily_bin1711
RA = 187.712, Dec = 12.3883
tmin = 682819201, tmax = 683078401
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='119227', job_status='RUN', time_executed='2022-09-16 16:50:49.814690', time_epoch_executed='1663372249.81' WHERE source_name='4FGL J1230.8+1223' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/119227

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/119227/ft1_4FGL_J1230.8+1223_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/119227/ft2_4FGL_J1230.8+1223_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/119227/ft1_4FGL_J1230.8+1223_daily_bin1711.fits outfile=/scratch/kocevski/119227/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin1711.fits ra=187.712 dec=12.3883 rad=12.0 tmin=682819201.0 tmax=683078401.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.78
user 3.56
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/119227/ft2_4FGL_J1230.8+1223_daily_bin1711.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/119227/ft2_4FGL_J1230.8+1223_daily_bin1711.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/119227/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/119227/ft1_filtered_4FGL_J1230.8+1223_daily_bin1711.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.45
user 0.29
sys 0.15

Number of photons that the gtmktime cut: 512

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/119227/ft1_filtered_4FGL_J1230.8+1223_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/119227/ft2_4FGL_J1230.8+1223_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/119227/ltcube_682819201_683078401_4FGL_J1230.8+1223_daily_bin1711.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/119227/ft2_4FGL_J1230.8+1223_daily_bin1711.fits
.....................!
real 12.92
user 12.52
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/119227/ft1_filtered_4FGL_J1230.8+1223_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/119227/ft2_4FGL_J1230.8+1223_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/119227/ltcube_682819201_683078401_4FGL_J1230.8+1223_daily_bin1711.fits outfile=/scratch/kocevski/119227/expmap_682819201_683078401_4FGL_J1230.8+1223_daily_bin1711.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/119227/ltcube_682819201_683078401_4FGL_J1230.8+1223_daily_bin1711.fits
.....................!
real 157.11
user 151.70
sys 4.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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J1230.8+1223 @ 187.712 12.3883

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/119227/ft1_filtered_4FGL_J1230.8+1223_daily_bin1711.fits scfile=/scratch/kocevski/119227/ft2_4FGL_J1230.8+1223_daily_bin1711.fits outfile=/scratch/kocevski/119227/cmap_682819201_683078401_4FGL_J1230.8+1223_daily_bin1711.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=187.712 yref=12.3883 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.34
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/119227/ft1_filtered_4FGL_J1230.8+1223_daily_bin1711.fits scfile=/scratch/kocevski/119227/ft2_4FGL_J1230.8+1223_daily_bin1711.fits outfile=/scratch/kocevski/119227/cmap_HighResolution_682819201_683078401_4FGL_J1230.8+1223_daily_bin1711.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=187.712 yref=12.3883 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.49
user 0.33
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/119227/ft1_filtered_4FGL_J1230.8+1223_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/119227/ft2_4FGL_J1230.8+1223_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/119227/Model_4FGL_J1230.8+1223_daily_bin1711.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/119227/ft1_filtered_4FGL_J1230.8+1223_daily_bin1711.fits.....................!
real 44.17
user 42.72
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/119227/ft1_filtered_4FGL_J1230.8+1223_daily_bin1711.fits', '/scratch/kocevski/119227/ft2_4FGL_J1230.8+1223_daily_bin1711.fits', expMap='/scratch/kocevski/119227/expmap_682819201_683078401_4FGL_J1230.8+1223_daily_bin1711.fits', expCube='/scratch/kocevski/119227/ltcube_682819201_683078401_4FGL_J1230.8+1223_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/119227/Model_4FGL_J1230.8+1223_daily_bin1711.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.8+1223'

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  6.672e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/119227/ft1_filtered_4FGL_J1230.8+1223_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/119227/ft2_4FGL_J1230.8+1223_daily_bin1711.fits
Exposure map: /scratch/kocevski/119227/expmap_682819201_683078401_4FGL_J1230.8+1223_daily_bin1711.fits
Exposure cube: /scratch/kocevski/119227/ltcube_682819201_683078401_4FGL_J1230.8+1223_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/119227/Model_4FGL_J1230.8+1223_daily_bin1711.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) = 5886.63290005

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15884E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .54500       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.0521       1.0000          .0000       .10000E+07
     4 'Prefactor '    9.4513       1.0000          .0000       .10000E+07
     5 'Prefactor '    .22728E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .27731E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    13.987       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4590       1.0000          .0000       .10000E+07
     9 'Prefactor '    .55739E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .33928E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .86348E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    14.147       1.0000          .0000       .10000E+07
    13 'norm      '    .15663       1.0000          .0000       .10000E+07
    14 'norm      '    88.139       1.0000          .0000       .10000E+07
    15 'norm      '    1.1770       1.0000          .0000       .10000E+07
    16 'Prefactor '    .42283E-03   1.0000          .0000       .10000E+07
    17 'norm      '    2.5156       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10666E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    4.1802       1.0000          .0000       .10000E+07
    20 'Prefactor '    11.631       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1990       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .87590       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5886.583     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1759 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    7.2321        .91258E-06** at limit **
   2  Prefactor     .13622E-06    21.511        .26695E-05** at limit **
   3  Prefactor     3.0468        7.3462       -.31598E-06   -.27681E-02
   4  Prefactor     9.6617        8.1364        .51797E-06   -.18478E-01
   5  Prefactor     .27756E-09    2.4811       -.63889E-07** at limit **
   6  Prefactor     .22204E-09    25.131        .37119E-05** at limit **
   7  Prefactor     14.502        8.5921        .93679E-06   -.11355E-01
   8  Prefactor     1.4616        3.1804        .13171E-08   -.66946E-03
   9  Prefactor      .0000        1.8456       -.14862E-06** at limit **
  10  Prefactor     .76517E-06    13.582       -.32895E-08** at limit **
  11  norm          .15543E-08    5.7985       -.43317E-06** at limit **
  12  Prefactor     14.692        3.0774       -.32025E-06    .84092E-02
  13  norm          .15693        .22271       -.75072E-07** at limit **
  14  norm          87.536        14.752       -.11183E-05    .23009    
  15  norm          1.1784        .51000        .49818E-07    .11004E-01
  16  Prefactor     .84044E-06    36.866       -.12274E-06** at limit **
  17  norm          2.5165        1.3897        .99062E-07   -.14240E-01
  18  Prefactor     .22535E-05    16.414       -.31321E-05** at limit **
  19  Prefactor     3.9649        11.550       -.47297E-05   -.57737E-01
  20  Prefactor     11.934        11.296       -.92241E-06   -.90497E-01
  21  Normalizat    1.1984        .23436        .15453E-04   -.47008E-03
  22  Prefactor     .87578        .19911       -.10886E-04   -.42324E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Prefactor  = 1.36224e-07
  Prefactor  = 3.04682
  Prefactor  = 9.66169
  Prefactor  = 2.77556e-10
  Prefactor  = 2.22045e-10
  Prefactor  = 14.5022
  Prefactor  = 1.46159
  Prefactor  = 0
  Prefactor  = 7.65166e-07
  norm       = 1.55431e-09
  Prefactor  = 14.6917
  norm       = 0.156931
  norm       = 87.5357
  norm       = 1.17836
  Prefactor  = 8.40439e-07
  norm       = 2.51649
  Prefactor  = 2.25348e-06
  Prefactor  = 3.96488
  Prefactor  = 11.9339
  Normalizat = 1.19836
  Prefactor  = 0.87578
 **********
 **   18 **HESSE 
 **********

 FCN=   5886.583     FROM HESSE     STATUS=OK           388 CALLS     2147 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    7.2284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .13622E-06    53.130        .74306E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.0468        7.3718        .58047E-03   -1.5673    
   4  Prefactor     9.6617        17.838        .32574E-03   -1.5646    
   5  Prefactor     .27756E-09    2.4777        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .22204E-09    30.848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.502        34.264        .26756E-03   -1.5632    
   8  Prefactor     1.4616        3.2155        .89063E-03   -1.5684    
   9  Prefactor      .0000        1.8502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .76517E-06    18.584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .15543E-08    5.7015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.692        27.848        .26603E-03   -1.5631    
  13  norm          .15693        .23949        .92798E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          87.536        45.377        .10652E-03   -1.5521    
  15  norm          1.1784        .53015        .78094E-03   -1.5686    
  16  Prefactor     .84044E-06    43.653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.5165        1.3978        .64390E-03   -1.5676    
  18  Prefactor     .22535E-05    26.182        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.9649        12.981        .49269E-03   -1.5668    
  20  Prefactor     11.934        17.770        .29349E-03   -1.5639    
  21  Normalizat    1.1984        .20643        .57680E-01   -.86653    
  22  Prefactor     .87578        .17040        .44697E-01   -.96993    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70873e-06
Minuit parameter uncertainties:
  1  5.59158e-05
  2  0.00538101
  3  7.37186
  4  17.8376
  5  5.13906e-05
  6  0.000158004
  7  34.2648
  8  3.2155
  9  1.29876e-05
  10  0.0075417
  11  0.000188677
  12  27.8486
  13  0.239489
  14  45.3772
  15  0.530152
  16  0.0121143
  17  1.39777
  18  0.0153623
  19  12.9809
  20  17.7705
  21  0.206573
  22  0.170507
Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  8.404e-07  1.211e-02  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.758e-01  1.705e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.198e+00  2.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 187.712 12.388
Photon Flux Upper Limit: 8.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/119227/likelihoodResults_682819201_683078401_4FGL_J1230.8+1223_daily_bin1711.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) = 5886.59607494
delta logL = -0.0130306986275

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5886.21356657
delta logL = 0.369477670576

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8173       1.0000          .0000       .10000E+07
     2 'Index     '    3.1923       1.0000          .0000       10.000    
     3 'Normalizat'    1.1491       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89147       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5886.214     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      235 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8145        43.086        .77443E-03    .82337E-02
   2  Index         3.1918        2.6142        .14875        .11698E-03
   3  Normalizat    1.1491        .44800E-01    .58719E-01    .61466E-06
   4  Prefactor     .89148        .39206E-01    .44896E-01    .46690E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.81446
  Index      = 3.19183
  Normalizat = 1.1491
  Prefactor  = 0.891479
 **********
 **   18 **HESSE 
 **********

 FCN=   5886.214     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8145        10.842        .11892E-04   -1.5681    
   2  Index         3.1918        2.0546        .53915E-02   -.37002    
   3  Normalizat    1.1491        .23388        .25968E-03   -.88191    
   4  Prefactor     .89148        .20186        .25518E-03   -.96439    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.87089e-11
Minuit parameter uncertainties:
  1  8.87057
  2  2.12776
  3  0.234089
  4  0.202034
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/119227': 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) = 5886.21356418
delta logL = 0.369480060926

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  1.814e+00  8.871e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  3.192e+00  2.128e+00  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.915e-01  2.020e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.149e+00  2.341e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 187.712 12.388

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/119227/cmap_HighResolution_682819201_683078401_4FGL_J1230.8+1223_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.51e-03', job_status='DONE', photon_flux_upper_limit='8.64e-08', time_completed='2022-09-16 16:58:35.436737', job_id='119227', GAL2='0.89', fit_tolerance='1e-08', EG2='1.15', EG='1.20', time_epoch_completed='1663372715.44', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='3.69e-01', ts2='0.76', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1711' AND source_name='4FGL J1230.8+1223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:58:35 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 119227: <4FGL_J1230.8+1223_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1230.8+1223_daily_bin1711> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 16 16:45:25 2022
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:48:42 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 16:48:42 2022
Terminated at Fri Sep 16 16:58:36 2022
Results reported at Fri Sep 16 16:58:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1230.8+1223_daily_bin1711 187.712 12.3883 682819201 683078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1230.8+1223 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   466.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             299.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   593 sec.
    Turnaround time :                            791 sec.

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

