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


Performing analysis on: 4FGL_J1230.2+2517_daily_bin1762
RA = 187.56, Dec = 25.2983
tmin = 696038401, tmax = 696297601
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='109111', job_status='RUN', time_executed='2023-01-25 00:59:54.161667', time_epoch_executed='1674637194.16' WHERE source_name='4FGL J1230.2+2517' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/109111

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/109111/ft1_4FGL_J1230.2+2517_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/109111/ft2_4FGL_J1230.2+2517_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/109111/ft1_4FGL_J1230.2+2517_daily_bin1762.fits outfile=/scratch/kocevski/109111/ft1_filteredMKT_4FGL_J1230.2+2517_daily_bin1762.fits ra=187.56 dec=25.2983 rad=12.0 tmin=696038401.0 tmax=696297601.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.69
user 3.43
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/109111/ft2_4FGL_J1230.2+2517_daily_bin1762.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/109111/ft2_4FGL_J1230.2+2517_daily_bin1762.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/109111/ft1_filteredMKT_4FGL_J1230.2+2517_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/109111/ft1_filtered_4FGL_J1230.2+2517_daily_bin1762.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.32
sys 0.17

Number of photons that the gtmktime cut: 786

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/109111/ft1_filtered_4FGL_J1230.2+2517_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/109111/ft2_4FGL_J1230.2+2517_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/109111/ltcube_696038401_696297601_4FGL_J1230.2+2517_daily_bin1762.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/109111/ft2_4FGL_J1230.2+2517_daily_bin1762.fits
.....................!
real 15.36
user 14.82
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/109111/ft1_filtered_4FGL_J1230.2+2517_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/109111/ft2_4FGL_J1230.2+2517_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/109111/ltcube_696038401_696297601_4FGL_J1230.2+2517_daily_bin1762.fits outfile=/scratch/kocevski/109111/expmap_696038401_696297601_4FGL_J1230.2+2517_daily_bin1762.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/109111/ltcube_696038401_696297601_4FGL_J1230.2+2517_daily_bin1762.fits
.....................!
real 194.96
user 187.17
sys 5.88

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 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J1230.2+2517 @ 187.56 25.2983

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/109111/ft1_filtered_4FGL_J1230.2+2517_daily_bin1762.fits scfile=/scratch/kocevski/109111/ft2_4FGL_J1230.2+2517_daily_bin1762.fits outfile=/scratch/kocevski/109111/cmap_696038401_696297601_4FGL_J1230.2+2517_daily_bin1762.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.56 yref=25.2983 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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/109111/ft1_filtered_4FGL_J1230.2+2517_daily_bin1762.fits scfile=/scratch/kocevski/109111/ft2_4FGL_J1230.2+2517_daily_bin1762.fits outfile=/scratch/kocevski/109111/cmap_HighResolution_696038401_696297601_4FGL_J1230.2+2517_daily_bin1762.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.56 yref=25.2983 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.60
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/109111/ft1_filtered_4FGL_J1230.2+2517_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/109111/ft2_4FGL_J1230.2+2517_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/109111/Model_4FGL_J1230.2+2517_daily_bin1762.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/109111/ft1_filtered_4FGL_J1230.2+2517_daily_bin1762.fits.....................!
real 72.82
user 71.26
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/109111/ft1_filtered_4FGL_J1230.2+2517_daily_bin1762.fits', '/scratch/kocevski/109111/ft2_4FGL_J1230.2+2517_daily_bin1762.fits', expMap='/scratch/kocevski/109111/expmap_696038401_696297601_4FGL_J1230.2+2517_daily_bin1762.fits', expCube='/scratch/kocevski/109111/ltcube_696038401_696297601_4FGL_J1230.2+2517_daily_bin1762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/109111/Model_4FGL_J1230.2+2517_daily_bin1762.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.2+2517'

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  6.557e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        alpha:  2.001e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
327         beta:  5.434e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
328           Eb:  8.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/109111/ft1_filtered_4FGL_J1230.2+2517_daily_bin1762.fits
Spacecraft file(s): /scratch/kocevski/109111/ft2_4FGL_J1230.2+2517_daily_bin1762.fits
Exposure map: /scratch/kocevski/109111/expmap_696038401_696297601_4FGL_J1230.2+2517_daily_bin1762.fits
Exposure cube: /scratch/kocevski/109111/ltcube_696038401_696297601_4FGL_J1230.2+2517_daily_bin1762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/109111/Model_4FGL_J1230.2+2517_daily_bin1762.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) = 8421.69128765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.383       1.0000          .0000       .10000E+07
     2 'Prefactor '    12.627       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.6825       1.0000          .0000       .10000E+07
     4 'norm      '    52.041       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.8255       1.0000          .0000       .10000E+07
     6 'Prefactor '    .21519E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .25147E-04   1.0000          .0000       .10000E+07
     8 'norm      '    2.6956       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.6966       1.0000          .0000       .10000E+07
    10 'Prefactor '    .18999E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.0551       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.9248       1.0000          .0000       .10000E+07
    13 'norm      '    .58842E-08   1.0000          .0000       .10000E+07
    14 'norm      '    12.494       1.0000          .0000       .10000E+07
    15 'Prefactor '    .57643E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.6586       1.0000          .0000       .10000E+07
    17 'norm      '    10.457       1.0000          .0000       .10000E+07
    18 'Prefactor '    48.923       1.0000          .0000       .10000E+07
    19 'norm      '    6.9001       1.0000          .0000       .10000E+07
    20 'norm      '    42.681       1.0000          .0000       .10000E+07
    21 'norm      '    21.052       1.0000          .0000       .10000E+07
    22 'norm      '    69.818       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.2710       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .61108       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8421.654     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     1701 TOTAL
                     EDM=   .29E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.376        26.223        .52320E-06   -.25234E-04
   2  Prefactor     12.631        10.796       -.26121E-07   -.29847E-04
   3  Prefactor     2.7249        2.7620       -.51981E-06   -.10987E-03
   4  norm          52.068        4.0223        .35189E-07   -.40948E-04
   5  Prefactor     1.7733        3.9900        .15189E-06    .36997E-04
   6  Prefactor      .0000        1.4836        .18081E-06** at limit **
   7  Prefactor      .0000        .96011       -.55588E-06** at limit **
   8  norm          2.6940        2.1557        .28628E-06    .39710E-04
   9  Prefactor     6.6794        6.3911       -.17523E-06   -.10135E-04
  10  Prefactor      .0000        .73638        .36684E-06** at limit **
  11  Prefactor     3.0591        2.3416        .11377E-06    .40098E-04
  12  Prefactor     1.9194        2.9549        .10784E-06   -.18515E-04
  13  norm           .0000        .11095       -.84229E-07** at limit **
  14  norm          12.488        5.6517       -.11497E-06   -.20691E-04
  15  Prefactor      .0000        5.7508        .33357E-06** at limit **
  16  Prefactor     3.6587        5.9589        .11393E-06    .74744E-05
  17  norm          10.562        10.449       -.45885E-06   -.15356E-03
  18  Prefactor     47.850        56.317        .53483E-06   -.10690E-03
  19  norm          6.8958        4.8902       -.46798E-06   -.64928E-05
  20  norm          42.907        14.128        .34698E-06   -.17245E-03
  21  norm          20.710        18.992       -.37881E-06   -.38286E-05
  22  norm          69.505        33.568        .20573E-05   -.36316E-04
  23  Normalizat    1.2714        .23771       -.62232E-05   -.11321E-05
  24  Prefactor     .61154        .23127        .21259E-04    .18176E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.3756
  Prefactor  = 12.6306
  Prefactor  = 2.72487
  norm       = 52.0678
  Prefactor  = 1.77333
  Prefactor  = 0
  Prefactor  = 0
  norm       = 2.69398
  Prefactor  = 6.67937
  Prefactor  = 0
  Prefactor  = 3.05906
  Prefactor  = 1.9194
  norm       = 0
  norm       = 12.488
  Prefactor  = 0
  Prefactor  = 3.6587
  norm       = 10.562
  Prefactor  = 47.8501
  norm       = 6.8958
  norm       = 42.9073
  norm       = 20.7101
  norm       = 69.5053
  Normalizat = 1.2714
  Prefactor  = 0.611537
 **********
 **   18 **HESSE 
 **********

 FCN=   8421.654     FROM HESSE     STATUS=OK           463 CALLS     2164 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.376        26.317        .20685E-03   -1.5613    
   2  Prefactor     12.631        10.811        .28164E-03   -1.5637    
   3  Prefactor     2.7249        2.7852        .62187E-03   -1.5675    
   4  norm          52.068        4.0197        .13863E-03   -1.5564    
   5  Prefactor     1.7733        4.0290        .77236E-03   -1.5681    
   6  Prefactor      .0000        1.4753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        .95823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.6940        2.1556        .62024E-03   -1.5675    
   9  Prefactor     6.6794        6.3923        .38752E-03   -1.5656    
  10  Prefactor      .0000        .73614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.0591        2.3436        .58016E-03   -1.5673    
  12  Prefactor     1.9194        2.9794        .74853E-03   -1.5680    
  13  norm           .0000        .69984E-01    .12872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          12.488        5.6514        .28314E-03   -1.5637    
  15  Prefactor      .0000        5.7457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.6587        5.9730        .52786E-03   -1.5670    
  17  norm          10.562        10.464        .30960E-03   -1.5643    
  18  Prefactor     47.850        56.394        .14298E-03   -1.5570    
  19  norm          6.8958        4.8886        .38170E-03   -1.5655    
  20  norm          42.907        13.980        .15308E-03   -1.5577    
  21  norm          20.710        18.837        .21801E-03   -1.5617    
  22  norm          69.505        33.593        .11969E-03   -1.5541    
  23  Normalizat    1.2714        .19982        .67065E-01   -.84424    
  24  Prefactor     .61154        .19736        .93807E-01   -1.0710    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63522e-08
Minuit parameter uncertainties:
  1  26.3174
  2  10.8111
  3  2.78523
  4  4.0197
  5  4.02901
  6  8.73537e-08
  7  7.2341e-08
  8  2.15561
  9  6.39235
  10  3.70578e-09
  11  2.34356
  12  2.97944
  13  3.60536e-09
  14  5.65138
  15  2.98448e-07
  16  5.97303
  17  10.4635
  18  56.3941
  19  4.88862
  20  13.9802
  21  18.8375
  22  33.5933
  23  0.19994
  24  0.197588
Done.

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

Extracting fit parameters...

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  1.249e+01  5.651e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        alpha:  2.001e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
327         beta:  5.434e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
328           Eb:  8.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
587    Prefactor:  6.115e-01  1.976e-01  0.000e+00  1.000e+01 ( 1.000e+00)
588        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
589        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
586   Normalization:  1.271e+00  1.999e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.11
Ra Dec: 187.560 25.298
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 7.34e-08 +/- 3.32e-08
Energy Flux (Fixed Index): 4.36e-05 +/- 1.97e-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) = 8421.63930842
delta logL = 0.0142493860003

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8421.63842283
delta logL = 0.0151349762

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.341       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9278       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2783       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .60805       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8421.638     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      205 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.341        8.6324        .28490E-03    .23390E-02
   2  alpha         1.9278        .52887        .33614       -.87716E-05
   3  Normalizat    1.2783        .19531        .66917E-01    .98875E-05
   4  Prefactor     .60805        .19517        .94063E-01    .36534E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.3406
  alpha      = 1.92783
  Normalizat = 1.27833
  Prefactor  = 0.608047
 **********
 **   18 **HESSE 
 **********

 FCN=   8421.638     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.341        5.7160        .11396E-04   -1.5638    
   2  alpha         1.9278        .41699        .12439E-01   -.23091    
   3  Normalizat    1.2783        .22878        .29600E-03   -.84216    
   4  Prefactor     .60805        .22740        .41703E-03   -1.0725    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.70117e-11
Minuit parameter uncertainties:
  1  5.71596
  2  0.419056
  3  0.228961
  4  0.227741
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/109111': 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) = 8421.63842283
delta logL = 0.0151349765329

Extracting fit parameters...

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  1.234e+01  5.716e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        alpha:  1.928e+00  4.191e-01  0.000e+00  5.000e+00 ( 1.000e+00)
327         beta:  5.434e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
328           Eb:  8.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
587    Prefactor:  6.080e-01  2.277e-01  0.000e+00  1.000e+01 ( 1.000e+00)
588        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
589        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
586   Normalization:  1.278e+00  2.290e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.94
Ra Dec: 187.560 25.298
Photon Index (Free Index): 1.93 +/- 0.42
Photon Flux (Free Index): 6.72e-08 +/- 4.58e-08
Energy Flux (Free Index): 4.63e-05 +/- 2.74e-05

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/109111/cmap_HighResolution_696038401_696297601_4FGL_J1230.2+2517_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.34e-08', energy_flux2='4.63e-05', photon_flux_error='3.32e-08', dlogl='1.51e-02', energy_flux='4.36e-05', photon_flux2='6.72e-08', job_status='DONE', time_completed='2023-01-25 01:11:12.289034', photon_index_error2='0.42', photon_index2='1.93', ts='19.11', fit_tolerance='1e-08', GAL='0.61', photon_index_error='0.00', energy_flux_error2='2.74e-05', EG='1.27', time_epoch_completed='1674637872.29', return_code='0', job_id='109111', GAL2='0.61', EG2='1.28', return_code2='0', energy_flux_error='1.97e-05', photon_flux_error2='4.58e-08', ts2='18.94', photon_index='2.00' WHERE bin_id='1762' AND source_name='4FGL J1230.2+2517' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:11:12 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 109111: <4FGL_J1230.2+2517_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1230.2+2517_daily_bin1762> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Wed Jan 25 00:55:18 2023
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:55:59 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:55:59 2023
Terminated at Wed Jan 25 01:11:13 2023
Results reported at Wed Jan 25 01:11:13 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1230.2+2517_daily_bin1762 187.56 25.2983 696038401 696297601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1230.2+2517 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   678.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   913 sec.
    Turnaround time :                            955 sec.

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

