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


Performing analysis on: 4FGL_J1230.8+1223_daily_bin1764
RA = 187.712, Dec = 12.3883
tmin = 696556801, tmax = 696816001
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='445071', job_status='RUN', time_executed='2023-01-31 00:49:03.864455', time_epoch_executed='1675154943.86' WHERE source_name='4FGL J1230.8+1223' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/445071

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/445071/ft1_4FGL_J1230.8+1223_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/445071/ft2_4FGL_J1230.8+1223_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/445071/ft1_4FGL_J1230.8+1223_daily_bin1764.fits outfile=/scratch/kocevski/445071/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin1764.fits ra=187.712 dec=12.3883 rad=12.0 tmin=696556801.0 tmax=696816001.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.72
user 3.45
sys 0.23

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

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

Number of photons that the gtmktime cut: 571

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/445071/ft1_filtered_4FGL_J1230.8+1223_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/445071/ft2_4FGL_J1230.8+1223_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/445071/ltcube_696556801_696816001_4FGL_J1230.8+1223_daily_bin1764.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/445071/ft2_4FGL_J1230.8+1223_daily_bin1764.fits
.....................!
real 14.56
user 14.19
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/445071/ft1_filtered_4FGL_J1230.8+1223_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/445071/ft2_4FGL_J1230.8+1223_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/445071/ltcube_696556801_696816001_4FGL_J1230.8+1223_daily_bin1764.fits outfile=/scratch/kocevski/445071/expmap_696556801_696816001_4FGL_J1230.8+1223_daily_bin1764.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/445071/ltcube_696556801_696816001_4FGL_J1230.8+1223_daily_bin1764.fits
.....................!
real 193.29
user 187.59
sys 5.34

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/445071/ft1_filtered_4FGL_J1230.8+1223_daily_bin1764.fits scfile=/scratch/kocevski/445071/ft2_4FGL_J1230.8+1223_daily_bin1764.fits outfile=/scratch/kocevski/445071/cmap_696556801_696816001_4FGL_J1230.8+1223_daily_bin1764.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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/445071/ft1_filtered_4FGL_J1230.8+1223_daily_bin1764.fits scfile=/scratch/kocevski/445071/ft2_4FGL_J1230.8+1223_daily_bin1764.fits outfile=/scratch/kocevski/445071/cmap_HighResolution_696556801_696816001_4FGL_J1230.8+1223_daily_bin1764.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.57
user 0.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2309       1.0000          .0000       .10000E+07
     2 'Prefactor '    .65564E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    8.8035       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.7878       1.0000          .0000       .10000E+07
     5 'Prefactor '    .28993E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    18.141       1.0000          .0000       .10000E+07
     7 'Prefactor '    .17059E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .56584E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .43867E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .81155E-04   1.0000          .0000       .10000E+07
    11 'norm      '    7.3746       1.0000          .0000       .10000E+07
    12 'Prefactor '    .28779E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .75351       1.0000          .0000       .10000E+07
    14 'norm      '    57.903       1.0000          .0000       .10000E+07
    15 'norm      '    .35151       1.0000          .0000       .10000E+07
    16 'Prefactor '    13.460       1.0000          .0000       .10000E+07
    17 'norm      '    2.4500       1.0000          .0000       .10000E+07
    18 'Prefactor '    .29118E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .74759E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.1291       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2928       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .73253       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=   6460.661     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     1769 TOTAL
                     EDM=   .62E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2186        50.001       -.17111E-06   -.64160E-03
   2  Prefactor      .0000        25.921       -.15298E-06** at limit **
   3  Prefactor     8.7081        12.474        .65740E-07   -.18286E-02
   4  Prefactor     3.6507        7.3009        .21894E-06    .90709E-03
   5  Prefactor      .0000        1.0602        .20076E-07** at limit **
   6  Prefactor     20.183        150.22       -.20920E-05   -.62206E-04
   7  Prefactor      .0000        7.3569        .35029E-07** at limit **
   8  Prefactor     .55511E-08    18.825        .15482E-07** at limit **
   9  Prefactor      .0000        3.0492       -.39954E-07** at limit **
  10  Prefactor      .0000        5.2791        .63275E-07** at limit **
  11  norm          7.3621        3.6101        .14171E-08   -.10010E-03
  12  Prefactor      .0000        10.620        .83574E-07** at limit **
  13  norm          .75382        .30700       -.43921E-08   -.25606E-03
  14  norm          58.349        42.071       -.90570E-08   -.49125E-03
  15  norm          .35130        .41834       -.98525E-09    .10398E-03
  16  Prefactor     13.466        10.387        .58367E-08   -.47197E-03
  17  norm          2.4505        1.3518       -.43075E-08    .11667E-03
  18  Prefactor      .0000        13.202        .19069E-06** at limit **
  19  Prefactor     .27756E-09    12.787       -.26137E-06** at limit **
  20  Prefactor     4.1194        5.0737       -.20234E-07   -.45974E-02
  21  Normalizat    1.2924        .22035        .62001E-06   -.12919E-04
  22  Prefactor     .73260        .18531       -.88886E-06   -.84641E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.21864
  Prefactor  = 0
  Prefactor  = 8.70813
  Prefactor  = 3.65071
  Prefactor  = 0
  Prefactor  = 20.1828
  Prefactor  = 0
  Prefactor  = 5.55112e-09
  Prefactor  = 0
  Prefactor  = 0
  norm       = 7.36213
  Prefactor  = 0
  norm       = 0.753825
  norm       = 58.3488
  norm       = 0.351298
  Prefactor  = 13.4661
  norm       = 2.4505
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 4.1194
  Normalizat = 1.29245
  Prefactor  = 0.732604
 **********
 **   18 **HESSE 
 **********

 FCN=   6460.661     FROM HESSE     STATUS=OK           394 CALLS     2163 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2186        53.853        .10131E-02   -1.5686    
   2  Prefactor      .0000        25.932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.7081        13.688        .33758E-03   -1.5649    
   4  Prefactor     3.6507        19.432        .51844E-03   -1.5670    
   5  Prefactor      .0000        1.0619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     20.183        155.49        .23488E-03   -1.5618    
   7  Prefactor      .0000        7.3669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-08    2.2767        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        3.0276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        5.2877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          7.3621        3.6637        .36909E-03   -1.5654    
  12  Prefactor      .0000        10.655        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .75382        .30908        .56466E-03   -1.5691    
  14  norm          58.349        46.146        .13143E-03   -1.5555    
  15  norm          .35130        .44269        .95334E-03   -1.5696    
  16  Prefactor     13.466        10.418        .27276E-03   -1.5635    
  17  norm          2.4505        1.3602        .65325E-03   -1.5677    
  18  Prefactor      .0000        13.170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .27756E-09    12.936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.1194        15.855        .49583E-03   -1.5667    
  21  Normalizat    1.2924        .18993        .55043E-01   -.83792    
  22  Prefactor     .73260        .15762        .61595E-01   -1.0226    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75225e-07
Minuit parameter uncertainties:
  1  16.2023
  2  2.32392e-05
  3  13.6883
  4  16.8454
  5  2.8026e-07
  6  112.042
  7  6.93218e-06
  8  0.000224515
  9  8.99838e-07
  10  3.30748e-06
  11  3.66368
  12  3.30989e-05
  13  0.309077
  14  46.146
  15  0.442687
  16  10.4176
  17  1.3602
  18  1.05268e-05
  19  0.000115394
  20  15.855
  21  0.190029
  22  0.157719
Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  1.347e+01  1.042e+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:  7.326e-01  1.577e-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.292e+00  1.900e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.54
Ra Dec: 187.712 12.388
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 3.67e-08 +/- 2.84e-08
Energy Flux (Fixed Index): 2.22e-05 +/- 1.71e-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) = 6460.58703203
delta logL = 0.0736646587575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6460.58193707
delta logL = 0.0787596153186

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.592       1.0000          .0000       .10000E+07
     2 'Index     '    1.8416       1.0000          .0000       10.000    
     3 'Normalizat'    1.3011       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72963       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=   6460.582     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      250 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.592        11.877        .10477E-04   -.18233E-02
   2  Index         1.8417        .54149        .90690E-02   -.68853E-04
   3  Normalizat    1.3011        .21068        .24271E-03    .38455E-04
   4  Prefactor     .72964        .18335        .27300E-03    .40270E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.5924
  Index      = 1.84166
  Normalizat = 1.30106
  Prefactor  = 0.72964
 **********
 **   18 **HESSE 
 **********

 FCN=   6460.582     FROM HESSE     STATUS=OK            25 CALLS      275 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.592        11.851        .20955E-05   -1.5632    
   2  Index         1.8417        .54018        .36276E-03   -.68370    
   3  Normalizat    1.3011        .21081        .97086E-05   -.83535    
   4  Prefactor     .72964        .18350        .10920E-04   -1.0238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41687e-10
Minuit parameter uncertainties:
  1  11.8509
  2  0.54194
  3  0.210945
  4  0.183652
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/445071': 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) = 6460.58193705
delta logL = 0.0787596305499

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  1.459e+01  1.185e+01  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.842e+00  5.419e-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:  7.296e-01  1.837e-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.301e+00  2.109e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.69
Ra Dec: 187.712 12.388
Photon Index (Free Index): 1.84 +/- 0.54
Photon Flux (Free Index): 2.75e-08 +/- 3.20e-08
Energy Flux (Free Index): 2.91e-05 +/- 3.21e-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/445071/cmap_HighResolution_696556801_696816001_4FGL_J1230.8+1223_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.67e-08', energy_flux2='2.91e-05', photon_flux_error='2.84e-08', dlogl='7.88e-02', energy_flux='2.22e-05', photon_flux2='2.75e-08', job_status='DONE', time_completed='2023-01-31 00:58:17.408740', photon_index_error2='0.54', photon_index2='1.84', ts='7.54', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', energy_flux_error2='3.21e-05', EG='1.29', time_epoch_completed='1675155497.41', return_code='0', job_id='445071', GAL2='0.73', EG2='1.30', return_code2='0', energy_flux_error='1.71e-05', photon_flux_error2='3.20e-08', ts2='7.69', photon_index='2.06' WHERE bin_id='1764' AND source_name='4FGL J1230.8+1223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 00:58:17 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 445071: <4FGL_J1230.8+1223_daily_bin1764> in cluster <slac> Done

Job <4FGL_J1230.8+1223_daily_bin1764> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Jan 31 00:45:21 2023
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 00:46:47 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 00:46:47 2023
Terminated at Tue Jan 31 00:58:18 2023
Results reported at Tue Jan 31 00:58:18 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1230.8+1223_daily_bin1764 187.712 12.3883 696556801 696816001 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 :                                   555.56 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             288.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   690 sec.
    Turnaround time :                            777 sec.

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

