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


Performing analysis on: 4FGL_J1230.2+2517_daily_bin1753
RA = 187.56, Dec = 25.2983
tmin = 693705601, tmax = 693964801
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='453878', job_status='RUN', time_executed='2022-12-29 00:54:33.646643', time_epoch_executed='1672304073.65' WHERE source_name='4FGL J1230.2+2517' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/453878

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/453878/ft1_4FGL_J1230.2+2517_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/453878/ft2_4FGL_J1230.2+2517_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/453878/ft1_4FGL_J1230.2+2517_daily_bin1753.fits outfile=/scratch/kocevski/453878/ft1_filteredMKT_4FGL_J1230.2+2517_daily_bin1753.fits ra=187.56 dec=25.2983 rad=12.0 tmin=693705601.0 tmax=693964801.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 4.62
user 4.34
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/453878/ft2_4FGL_J1230.2+2517_daily_bin1753.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/453878/ft1_filteredMKT_4FGL_J1230.2+2517_daily_bin1753.fits evtable="EVENTS" outfile="/scratch/kocevski/453878/ft1_filtered_4FGL_J1230.2+2517_daily_bin1753.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.56
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 746

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/453878/ft1_filtered_4FGL_J1230.2+2517_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/453878/ft2_4FGL_J1230.2+2517_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/453878/ltcube_693705601_693964801_4FGL_J1230.2+2517_daily_bin1753.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/453878/ft2_4FGL_J1230.2+2517_daily_bin1753.fits
.....................!
real 12.46
user 12.10
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/453878/ft1_filtered_4FGL_J1230.2+2517_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/453878/ft2_4FGL_J1230.2+2517_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/453878/ltcube_693705601_693964801_4FGL_J1230.2+2517_daily_bin1753.fits outfile=/scratch/kocevski/453878/expmap_693705601_693964801_4FGL_J1230.2+2517_daily_bin1753.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/453878/ltcube_693705601_693964801_4FGL_J1230.2+2517_daily_bin1753.fits
.....................!
real 191.25
user 186.01
sys 4.90

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/453878/ft1_filtered_4FGL_J1230.2+2517_daily_bin1753.fits scfile=/scratch/kocevski/453878/ft2_4FGL_J1230.2+2517_daily_bin1753.fits outfile=/scratch/kocevski/453878/cmap_693705601_693964801_4FGL_J1230.2+2517_daily_bin1753.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/453878/ft1_filtered_4FGL_J1230.2+2517_daily_bin1753.fits scfile=/scratch/kocevski/453878/ft2_4FGL_J1230.2+2517_daily_bin1753.fits outfile=/scratch/kocevski/453878/cmap_HighResolution_693705601_693964801_4FGL_J1230.2+2517_daily_bin1753.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.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/453878/ft1_filtered_4FGL_J1230.2+2517_daily_bin1753.fits', '/scratch/kocevski/453878/ft2_4FGL_J1230.2+2517_daily_bin1753.fits', expMap='/scratch/kocevski/453878/expmap_693705601_693964801_4FGL_J1230.2+2517_daily_bin1753.fits', expCube='/scratch/kocevski/453878/ltcube_693705601_693964801_4FGL_J1230.2+2517_daily_bin1753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/453878/Model_4FGL_J1230.2+2517_daily_bin1753.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/453878/ft1_filtered_4FGL_J1230.2+2517_daily_bin1753.fits
Spacecraft file(s): /scratch/kocevski/453878/ft2_4FGL_J1230.2+2517_daily_bin1753.fits
Exposure map: /scratch/kocevski/453878/expmap_693705601_693964801_4FGL_J1230.2+2517_daily_bin1753.fits
Exposure cube: /scratch/kocevski/453878/ltcube_693705601_693964801_4FGL_J1230.2+2517_daily_bin1753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/453878/Model_4FGL_J1230.2+2517_daily_bin1753.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) = 7626.76282131

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12565E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.5828       1.0000          .0000       .10000E+07
     3 'Prefactor '    .57440       1.0000          .0000       .10000E+07
     4 'norm      '    34.694       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.3473       1.0000          .0000       .10000E+07
     6 'Prefactor '    .48482       1.0000          .0000       .10000E+07
     7 'Prefactor '    .31666       1.0000          .0000       .10000E+07
     8 'norm      '    3.7511       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.3994       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.0171       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.2800       1.0000          .0000       .10000E+07
    12 'Prefactor '    .89861       1.0000          .0000       .10000E+07
    13 'norm      '    .54473       1.0000          .0000       .10000E+07
    14 'norm      '    8.4831       1.0000          .0000       .10000E+07
    15 'Prefactor '    .40518E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    .30339E-02   1.0000          .0000       .10000E+07
    17 'norm      '    6.2120       1.0000          .0000       .10000E+07
    18 'Prefactor '    .60211E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .11640E-02   1.0000          .0000       .10000E+07
    20 'norm      '    18.757       1.0000          .0000       .10000E+07
    21 'norm      '    16.072       1.0000          .0000       .10000E+07
    22 'norm      '    12.078       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0197       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0433       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=   7626.706     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1594 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .67280E-07    15.798        .25146E-05** at limit **
   2  Prefactor     5.5768        5.8673       -.11706E-06    .47521E-01
   3  Prefactor     .57494        1.0768       -.12075E-06   -.56451E-02
   4  norm          34.699        3.0774        .63878E-08    .10604E-02
   5  Prefactor     4.3444        3.5203        .66357E-07   -.60714E-02
   6  Prefactor     .49329        3.9647       -.10903E-06   -.51677E-02
   7  Prefactor     .32490        6.6530       -.14179E-06    .59261E-02
   8  norm          3.7504        2.1785       -.40190E-07    .42900E-02
   9  Prefactor     1.4510        6.0298        .11893E-05   -.16559E-02
  10  Prefactor     1.0169        1.0905        .73268E-07    .12979E-02
  11  Prefactor     1.2798        1.3057       -.18915E-06   -.29346E-02
  12  Prefactor     .88313        .58861        .30578E-06    .20303E-02
  13  norm          .54468        .25347        .10368E-06    .22302E-01
  14  norm          8.5195        4.1804        .22208E-06    .63001E-02
  15  Prefactor     .55511E-10    2.5288        .60514E-06** at limit **
  16  Prefactor     .91516E-06    7.0808        .14699E-05** at limit **
  17  norm          6.2482        4.7795       -.12605E-06   -.61005E-01
  18  Prefactor     .37137E-07    21.830       -.21199E-05** at limit **
  19  norm          .12657E-07    14.103       -.12625E-05** at limit **
  20  norm          18.783        3.9370        .46142E-06    .10803    
  21  norm          16.010        2.1096        .22603E-06    .64140E-01
  22  norm          12.004        12.658        .28036E-05   -.17114E-01
  23  Normalizat    1.0191        .21674       -.95354E-05   -.20460E-03
  24  Prefactor     1.0436        .22921        .10781E-04   -.95675E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.72795e-08
  Prefactor  = 5.57684
  Prefactor  = 0.574936
  norm       = 34.6987
  Prefactor  = 4.34442
  Prefactor  = 0.49329
  Prefactor  = 0.324897
  norm       = 3.7504
  Prefactor  = 1.45104
  Prefactor  = 1.01685
  Prefactor  = 1.27981
  Prefactor  = 0.883131
  norm       = 0.544684
  norm       = 8.51949
  Prefactor  = 5.55112e-11
  Prefactor  = 9.15157e-07
  norm       = 6.24817
  Prefactor  = 3.7137e-08
  norm       = 1.26565e-08
  norm       = 18.7834
  norm       = 16.0102
  norm       = 12.0043
  Normalizat = 1.01908
  Prefactor  = 1.04362
 **********
 **   18 **HESSE 
 **********

 FCN=   7626.706     FROM HESSE     STATUS=OK           467 CALLS     2061 TOTAL
                     EDM=   .72E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .67280E-07    20.422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.5768        6.5830        .42495E-03   -1.5661    
   3  Prefactor     .57494        1.1116        .71553E-03   -1.5693    
   4  norm          34.699        3.0718        .16980E-03   -1.5590    
   5  Prefactor     4.3444        3.5491        .48286E-03   -1.5666    
   6  Prefactor     .49329        4.5293        .80252E-03   -1.5694    
   7  Prefactor     .32490        1.8758        .57299E-02   -1.5697    
   8  norm          3.7504        2.1765        .52106E-03   -1.5669    
   9  Prefactor     1.4510        6.0592        .91702E-03   -1.5684    
  10  Prefactor     1.0169        1.0770        .12896E-02   -1.5688    
  11  Prefactor     1.2798        1.3059        .98084E-03   -1.5685    
  12  Prefactor     .88313        7.1316        .45856E-03   -1.5689    
  13  norm          .54468        .25908        .64185E-03   -1.5693    
  14  norm          8.5195        4.3779        .34394E-03   -1.5650    
  15  Prefactor     .55511E-10    2.5329        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .91516E-06    27.424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.2482        5.8565        .40254E-03   -1.5658    
  18  Prefactor     .37137E-07    22.592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .12657E-07    13.722        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          18.783        9.2367        .23098E-03   -1.5621    
  21  norm          16.010        15.053        .24956E-03   -1.5628    
  22  norm          12.004        13.131        .28799E-03   -1.5639    
  23  Normalizat    1.0191        .18132        .64097E-01   -.92394    
  24  Prefactor     1.0436        .19147        .70209E-01   -.91289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.20616e-06
Minuit parameter uncertainties:
  1  0.00234453
  2  6.58302
  3  1.11162
  4  3.07183
  5  3.54913
  6  2.98948
  7  1.56132
  8  2.17654
  9  5.93033
  10  1.07701
  11  1.30592
  12  5.01924
  13  0.259083
  14  4.37795
  15  2.25549e-05
  16  0.0100194
  17  5.85652
  18  0.0018322
  19  0.000832928
  20  9.23666
  21  15.0529
  22  13.1311
  23  0.181431
  24  0.191599
Done.

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

Extracting fit parameters...

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  8.519e+00  4.378e+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:  1.044e+00  1.916e-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.019e+00  1.814e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.64
Ra Dec: 187.560 25.298
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 5.01e-08 +/- 2.57e-08
Energy Flux (Fixed Index): 2.98e-05 +/- 1.53e-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) = 7626.37877884
delta logL = 0.327002996461

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7626.34440195
delta logL = 0.3613798878

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.9245       1.0000          .0000       .10000E+07
     2 'alpha     '    1.6341       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0385       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0329       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=   7626.344     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      216 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.9236        4.1805        .35595E-03   -.19689E-01
   2  alpha         1.6341        .34601        .31550       -.62251E-04
   3  Normalizat    1.0385        .17184        .63573E-01    .14439E-04
   4  Prefactor     1.0329        .19050        .70548E-01    .13056E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.92362
  alpha      = 1.6341
  Normalizat = 1.03853
  Prefactor  = 1.03285
 **********
 **   18 **HESSE 
 **********

 FCN=   7626.344     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.9236        4.4698        .62311E-04   -1.5652    
   2  alpha         1.6341        .41528        .12385E-01   -.35369    
   3  Normalizat    1.0385        .20556        .28119E-03   -.91751    
   4  Prefactor     1.0329        .22782        .31211E-03   -.91642    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94821e-11
Minuit parameter uncertainties:
  1  4.46979
  2  0.417485
  3  0.205717
  4  0.22803
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/453878': 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) = 7626.34440192
delta logL = 0.361379914965

Extracting fit parameters...

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  7.924e+00  4.470e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        alpha:  1.634e+00  4.175e-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:  1.033e+00  2.280e-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.039e+00  2.057e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 20.32
Ra Dec: 187.560 25.298
Photon Index (Free Index): 1.63 +/- 0.42
Photon Flux (Free Index): 3.37e-08 +/- 2.40e-08
Energy Flux (Free Index): 4.75e-05 +/- 3.95e-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/453878/cmap_HighResolution_693705601_693964801_4FGL_J1230.2+2517_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.01e-08', energy_flux2='4.75e-05', photon_flux_error='2.57e-08', dlogl='3.61e-01', energy_flux='2.98e-05', photon_flux2='3.37e-08', job_status='DONE', time_completed='2022-12-29 01:04:56.806236', photon_index_error2='0.42', photon_index2='1.63', ts='19.64', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='3.95e-05', EG='1.02', time_epoch_completed='1672304696.81', return_code='0', job_id='453878', GAL2='1.03', EG2='1.04', return_code2='0', energy_flux_error='1.53e-05', photon_flux_error2='2.40e-08', ts2='20.32', photon_index='2.00' WHERE bin_id='1753' AND source_name='4FGL J1230.2+2517' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:04:56 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0248>
Subject: Job 453878: <4FGL_J1230.2+2517_daily_bin1753> in cluster <slac> Done

Job <4FGL_J1230.2+2517_daily_bin1753> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec 29 00:50:13 2022
Job was executed on host(s) <bullet0248>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 00:54:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 00:54:18 2022
Terminated at Thu Dec 29 01:04:57 2022
Results reported at Thu Dec 29 01:04:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1230.2+2517_daily_bin1753 187.56 25.2983 693705601 693964801 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 :                                   623.81 sec.
    Max Memory :                                 1261 MB
    Average Memory :                             399.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   3406 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   639 sec.
    Turnaround time :                            884 sec.

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

