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


Performing analysis on: 4FGL_J1230.8+1223_daily_bin1714
RA = 187.712, Dec = 12.3883
tmin = 683596801, tmax = 683856001
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='119231', job_status='RUN', time_executed='2022-09-16 16:52:35.543130', time_epoch_executed='1663372355.54' WHERE source_name='4FGL J1230.8+1223' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/119231

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/119231/ft1_4FGL_J1230.8+1223_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/119231/ft2_4FGL_J1230.8+1223_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/119231/ft1_4FGL_J1230.8+1223_daily_bin1714.fits outfile=/scratch/kocevski/119231/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin1714.fits ra=187.712 dec=12.3883 rad=12.0 tmin=683596801.0 tmax=683856001.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.53
user 3.28
sys 0.23

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

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

Number of photons that the gtmktime cut: 541

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/119231/ft1_filtered_4FGL_J1230.8+1223_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/119231/ft2_4FGL_J1230.8+1223_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/119231/ltcube_683596801_683856001_4FGL_J1230.8+1223_daily_bin1714.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/119231/ft2_4FGL_J1230.8+1223_daily_bin1714.fits
.....................!
real 15.79
user 15.41
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/119231/ft1_filtered_4FGL_J1230.8+1223_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/119231/ft2_4FGL_J1230.8+1223_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/119231/ltcube_683596801_683856001_4FGL_J1230.8+1223_daily_bin1714.fits outfile=/scratch/kocevski/119231/expmap_683596801_683856001_4FGL_J1230.8+1223_daily_bin1714.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/119231/ltcube_683596801_683856001_4FGL_J1230.8+1223_daily_bin1714.fits
.....................!
real 193.42
user 187.09
sys 5.65

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/119231/ft1_filtered_4FGL_J1230.8+1223_daily_bin1714.fits scfile=/scratch/kocevski/119231/ft2_4FGL_J1230.8+1223_daily_bin1714.fits outfile=/scratch/kocevski/119231/cmap_683596801_683856001_4FGL_J1230.8+1223_daily_bin1714.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/119231/ft1_filtered_4FGL_J1230.8+1223_daily_bin1714.fits scfile=/scratch/kocevski/119231/ft2_4FGL_J1230.8+1223_daily_bin1714.fits outfile=/scratch/kocevski/119231/cmap_HighResolution_683596801_683856001_4FGL_J1230.8+1223_daily_bin1714.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.59
user 0.40
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/119231/ft1_filtered_4FGL_J1230.8+1223_daily_bin1714.fits', '/scratch/kocevski/119231/ft2_4FGL_J1230.8+1223_daily_bin1714.fits', expMap='/scratch/kocevski/119231/expmap_683596801_683856001_4FGL_J1230.8+1223_daily_bin1714.fits', expCube='/scratch/kocevski/119231/ltcube_683596801_683856001_4FGL_J1230.8+1223_daily_bin1714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/119231/Model_4FGL_J1230.8+1223_daily_bin1714.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/119231/ft1_filtered_4FGL_J1230.8+1223_daily_bin1714.fits
Spacecraft file(s): /scratch/kocevski/119231/ft2_4FGL_J1230.8+1223_daily_bin1714.fits
Exposure map: /scratch/kocevski/119231/expmap_683596801_683856001_4FGL_J1230.8+1223_daily_bin1714.fits
Exposure cube: /scratch/kocevski/119231/ltcube_683596801_683856001_4FGL_J1230.8+1223_daily_bin1714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/119231/Model_4FGL_J1230.8+1223_daily_bin1714.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) = 6080.2385278

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .81885E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .14178       1.0000          .0000       .10000E+07
     3 'Prefactor '    .81521E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .29936E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .63743E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .90491E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .71625E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .49096       1.0000          .0000       .10000E+07
     9 'Prefactor '    .15228E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.0104       1.0000          .0000       .10000E+07
    11 'norm      '    2.1377       1.0000          .0000       .10000E+07
    12 'Prefactor '    11.232       1.0000          .0000       .10000E+07
    13 'norm      '    .23870E-08   1.0000          .0000       .10000E+07
    14 'norm      '    .20114E-01   1.0000          .0000       .10000E+07
    15 'norm      '    .62781       1.0000          .0000       .10000E+07
    16 'Prefactor '    19.253       1.0000          .0000       .10000E+07
    17 'norm      '    2.6230       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.8072       1.0000          .0000       .10000E+07
    19 'Prefactor '    14.365       1.0000          .0000       .10000E+07
    20 'Prefactor '    .14719E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.3861       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .88197       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=   6080.227     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1777 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.9816       -.28378E-06** at limit **
   2  Prefactor      .0000        55.308        .56639E-05** at limit **
   3  Prefactor      .0000        11.800       -.97737E-06** at limit **
   4  Prefactor     .16653E-09    7.6083       -.18460E-05** at limit **
   5  Prefactor      .0000        1.0945       -.94425E-07** at limit **
   6  Prefactor     .46629E-08    504.38        .21356E-04** at limit **
   7  Prefactor     .19429E-08    43.499        .30181E-05** at limit **
   8  Prefactor     .49450        1.8422       -.41746E-06    .15961E-02
   9  Prefactor      .0000        1.1586       -.17225E-06** at limit **
  10  Prefactor     10.715        42.833        .51555E-06   -.30462E-03
  11  norm          2.0809        4.1656        .15855E-06   -.73461E-03
  12  Prefactor     11.162        2.5860       -.62894E-07   -.14548E-02
  13  norm           .0000        .76866E-01    .28363E-07** at limit **
  14  norm           .0000        14.470        .64161E-06** at limit **
  15  norm          .62859        .58864       -.11530E-07    .53120E-02
  16  Prefactor     19.287        3.2052        .42120E-06   -.97801E-02
  17  norm          2.6257        1.8596       -.67709E-07   -.13265E-02
  18  Prefactor     3.8888        9.4770       -.57865E-06   -.90911E-03
  19  Prefactor     14.389        1.6897       -.68186E-07    .63677E-02
  20  Prefactor     .27756E-09    7.8602        .29404E-05** at limit **
  21  Normalizat    1.3853        .24125        .24426E-04   -.12677E-03
  22  Prefactor     .88189        .20752       -.11949E-04   -.10249E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 4.66294e-09
  Prefactor  = 1.94289e-09
  Prefactor  = 0.494499
  Prefactor  = 0
  Prefactor  = 10.7147
  norm       = 2.08087
  Prefactor  = 11.1621
  norm       = 0
  norm       = 0
  norm       = 0.628588
  Prefactor  = 19.2873
  norm       = 2.62568
  Prefactor  = 3.8888
  Prefactor  = 14.3885
  Prefactor  = 2.77556e-10
  Normalizat = 1.38526
  Prefactor  = 0.881889
 **********
 **   18 **HESSE 
 **********

 FCN=   6080.227     FROM HESSE     STATUS=OK           388 CALLS     2165 TOTAL
                     EDM=   .58E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.9721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        55.222        .12920E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        11.754        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .16653E-09    7.8010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.0910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .46629E-08    486.76        .14192E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .19429E-08    42.988        .14765E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .49450        1.8582        .79624E-03   -1.5694    
   9  Prefactor      .0000        1.1552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.715        44.197        .33366E-03   -1.5642    
  11  norm          2.0809        4.3515        .70473E-03   -1.5679    
  12  Prefactor     11.162        25.422        .29869E-03   -1.5641    
  13  norm           .0000        .73255E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        14.460        .17029E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .62859        .60983        .66773E-03   -1.5692    
  16  Prefactor     19.287        13.884        .22798E-03   -1.5620    
  17  norm          2.6257        1.8764        .62945E-03   -1.5676    
  18  Prefactor     3.8888        9.5350        .51706E-03   -1.5669    
  19  Prefactor     14.389        15.350        .26401E-03   -1.5632    
  20  Prefactor     .27756E-09    8.0286        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3853        .20817        .56356E-01   -.81056    
  22  Prefactor     .88189        .17688        .44775E-01   -.96777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.8079e-08
Minuit parameter uncertainties:
  1  1.49051e-05
  2  4.05384e-05
  3  2.32588e-07
  4  7.00808e-05
  5  6.66235e-06
  6  0.0030176
  7  0.000581467
  8  1.85823
  9  5.76373e-06
  10  43.5232
  11  4.35147
  12  25.4218
  13  2.90877e-07
  14  3.88502e-05
  15  0.60983
  16  13.8841
  17  1.87645
  18  9.53503
  19  15.3498
  20  9.18394e-05
  21  0.2083
  22  0.176995
Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  1.929e+01  1.388e+01  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.819e-01  1.770e-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.385e+00  2.083e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.13
Ra Dec: 187.712 12.388
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 5.26e-08 +/- 3.79e-08
Energy Flux (Fixed Index): 3.17e-05 +/- 2.28e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6080.00585394
delta logL = 0.221257262415

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6079.99193305
delta logL = 0.235178156182

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.832       1.0000          .0000       .10000E+07
     2 'Index     '    1.7315       1.0000          .0000       10.000    
     3 'Normalizat'    1.4029       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87311       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6079.992     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      269 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.832        16.683        .83733E-05    .46671E-02
   2  Index         1.7314        .45288        .72001E-02    .16381E-03
   3  Normalizat    1.4030        .23423        .24790E-03   -.75725E-04
   4  Prefactor     .87312        .20789        .26941E-03   -.91190E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.8319
  Index      = 1.73144
  Normalizat = 1.40297
  Prefactor  = 0.87312
 **********
 **   18 **HESSE 
 **********

 FCN=   6079.992     FROM HESSE     STATUS=OK            23 CALLS      292 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.832        16.679        .16747E-05   -1.5612    
   2  Index         1.7314        .45268        .28800E-03   -.71248    
   3  Normalizat    1.4030        .23438        .49579E-04   -.80543    
   4  Prefactor     .87312        .20806        .10777E-04   -.97087    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.91031e-10
Minuit parameter uncertainties:
  1  16.6794
  2  0.453763
  3  0.234561
  4  0.208251
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/119231': 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) = 6079.99193297
delta logL = 0.235178229304

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  2.283e+01  1.668e+01  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.731e+00  4.538e-01  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.731e-01  2.083e-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.403e+00  2.346e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.61
Ra Dec: 187.712 12.388
Photon Index (Free Index): 1.73 +/- 0.45
Photon Flux (Free Index): 3.65e-08 +/- 3.58e-08
Energy Flux (Free Index): 5.39e-05 +/- 5.73e-05

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/119231/cmap_HighResolution_683596801_683856001_4FGL_J1230.8+1223_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.26e-08', energy_flux2='5.39e-05', photon_flux_error='3.79e-08', dlogl='2.35e-01', energy_flux='3.17e-05', photon_flux2='3.65e-08', job_status='DONE', time_completed='2022-09-16 17:01:38.274115', photon_index_error2='0.45', photon_index2='1.73', ts='5.13', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='5.73e-05', EG='1.39', time_epoch_completed='1663372898.27', return_code='0', job_id='119231', GAL2='0.87', EG2='1.40', return_code2='0', energy_flux_error='2.28e-05', photon_flux_error2='3.58e-08', ts2='5.61', photon_index='2.06' WHERE bin_id='1714' AND source_name='4FGL J1230.8+1223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:01:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 119231: <4FGL_J1230.8+1223_daily_bin1714> in cluster <slac> Done

Job <4FGL_J1230.8+1223_daily_bin1714> 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) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:48:44 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:44 2022
Terminated at Fri Sep 16 17:01:39 2022
Results reported at Fri Sep 16 17:01:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1230.8+1223_daily_bin1714 187.712 12.3883 683596801 683856001 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 :                                   544.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             244.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   774 sec.
    Turnaround time :                            974 sec.

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

