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


Performing analysis on: 4FGL_J1230.8+1223_daily_bin1772
RA = 187.712, Dec = 12.3883
tmin = 698630401, tmax = 698889601
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='632036', job_status='RUN', time_executed='2023-02-24 01:39:11.640955', time_epoch_executed='1677231551.64' WHERE source_name='4FGL J1230.8+1223' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/632036

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/632036/ft1_4FGL_J1230.8+1223_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/632036/ft2_4FGL_J1230.8+1223_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/632036/ft1_4FGL_J1230.8+1223_daily_bin1772.fits outfile=/scratch/kocevski/632036/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin1772.fits ra=187.712 dec=12.3883 rad=12.0 tmin=698630401.0 tmax=698889601.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.03
user 2.77
sys 0.22

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

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

Number of photons that the gtmktime cut: 157

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/632036/ft1_filtered_4FGL_J1230.8+1223_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/632036/ft2_4FGL_J1230.8+1223_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/632036/ltcube_698630401_698889601_4FGL_J1230.8+1223_daily_bin1772.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/632036/ft2_4FGL_J1230.8+1223_daily_bin1772.fits
.....................!
real 12.50
user 12.17
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/632036/ft1_filtered_4FGL_J1230.8+1223_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/632036/ft2_4FGL_J1230.8+1223_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/632036/ltcube_698630401_698889601_4FGL_J1230.8+1223_daily_bin1772.fits outfile=/scratch/kocevski/632036/expmap_698630401_698889601_4FGL_J1230.8+1223_daily_bin1772.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/632036/ltcube_698630401_698889601_4FGL_J1230.8+1223_daily_bin1772.fits
.....................!
real 190.54
user 185.19
sys 5.04

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/632036/ft1_filtered_4FGL_J1230.8+1223_daily_bin1772.fits scfile=/scratch/kocevski/632036/ft2_4FGL_J1230.8+1223_daily_bin1772.fits outfile=/scratch/kocevski/632036/cmap_698630401_698889601_4FGL_J1230.8+1223_daily_bin1772.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=187.712 yref=12.3883 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/632036/ft1_filtered_4FGL_J1230.8+1223_daily_bin1772.fits scfile=/scratch/kocevski/632036/ft2_4FGL_J1230.8+1223_daily_bin1772.fits outfile=/scratch/kocevski/632036/cmap_HighResolution_698630401_698889601_4FGL_J1230.8+1223_daily_bin1772.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.54
user 0.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13707       1.0000          .0000       .10000E+07
     2 'Prefactor '    .72291       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10497E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    37.214       1.0000          .0000       .10000E+07
     5 'Prefactor '    .58515E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .65972E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    109.20       1.0000          .0000       .10000E+07
     8 'Prefactor '    .42262E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .98248E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .86801E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .70666E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    127.21       1.0000          .0000       .10000E+07
    13 'norm      '    .25723       1.0000          .0000       .10000E+07
    14 'norm      '    .67997E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .86266       1.0000          .0000       .10000E+07
    16 'Prefactor '    .31159E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .45519E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    .58348E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .21555E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    .40978E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    .91029       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.3868       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=   1853.071     FROM MIGRAD    STATUS=CONVERGED    207 CALLS     1884 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        57.506       -.21596E-07** at limit **
   2  Prefactor     .11237E-03    97.817       -.76302E-06** at limit **
   3  Prefactor     .55511E-10    20.024        .57036E-07** at limit **
   4  Prefactor     34.748        93.004        .12936E-05   -.60206E-01
   5  Prefactor     .11102E-09    9.2176       -.10226E-06** at limit **
   6  Prefactor     .27415E-04    124.68       -.58618E-06** at limit **
   7  Prefactor     101.86        159.71       -.35359E-06    .80779E-01
   8  Prefactor      .0000        8.2817       -.86334E-08** at limit **
   9  Prefactor      .0000        5.6308        .26889E-07** at limit **
  10  Prefactor     .97389        768.33        .39734E-05    .25573E-01
  11  norm           .0000        10.809       -.76093E-08** at limit **
  12  Prefactor     127.14        2.6706        .18191E-07    .88348E-01
  13  norm          .25456        .85249       -.22856E-07   -.13195E-02
  14  norm          .27200E-08    69.166       -.20503E-07** at limit **
  15  norm          .86276        1.3869        .49656E-08    .41410E-03
  16  Prefactor      .0000        9.4230        .13384E-07** at limit **
  17  norm           .0000        1.9187        .31376E-07** at limit **
  18  Prefactor      .0000        11.199       -.33496E-07** at limit **
  19  Prefactor     .33307E-09    36.875       -.13229E-06** at limit **
  20  Prefactor     .99920E-09    66.649       -.12642E-06** at limit **
  21  Normalizat    .91292        .47086        .26176E-05    .37684E-04
  22  Prefactor     1.3868        .42028       -.19542E-05    .34748E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0.000112374
  Prefactor  = 5.55112e-11
  Prefactor  = 34.7484
  Prefactor  = 1.11022e-10
  Prefactor  = 2.74155e-05
  Prefactor  = 101.861
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.973885
  norm       = 0
  Prefactor  = 127.142
  norm       = 0.254565
  norm       = 2.72005e-09
  norm       = 0.862759
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 3.33067e-10
  Prefactor  = 9.99201e-10
  Normalizat = 0.912922
  Prefactor  = 1.38678
 **********
 **   18 **HESSE 
 **********

 FCN=   1853.071     FROM HESSE     STATUS=OK           384 CALLS     2268 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        57.599        .13024E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11237E-03    342.35        .58868E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    20.105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     34.748        100.73        .16394E-03   -1.5590    
   5  Prefactor     .11102E-09    9.2116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27415E-04    175.26        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     101.86        176.71        .95701E-04   -1.5506    
   8  Prefactor      .0000        8.2789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.6301        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .97389        146.98        .17075E-01   -1.5688    
  11  norm           .0000        10.806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     127.14        119.37        .88667E-04   -1.5482    
  13  norm          .25456        .84450        .10835E-02   -1.5698    
  14  norm          .27200E-08    69.262        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .86276        1.4075        .48376E-03   -1.5689    
  16  Prefactor      .0000        9.4248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        1.9117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        11.168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .33307E-09    35.711        .16937E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .99920E-09    66.837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .91292        .39507        .71825E-01   -.96008    
  22  Prefactor     1.3868        .34661        .53051E-01   -.80762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.27953e-06
Minuit parameter uncertainties:
  1  4.89845e-05
  2  0.392302
  3  5.2048e-05
  4  100.733
  5  6.05123e-05
  6  0.138639
  7  176.719
  8  1.34411e-05
  9  1.05922e-05
  10  23.9293
  11  1.16199e-05
  12  119.371
  13  0.844496
  14  0.000872312
  15  1.40748
  16  1.47187e-06
  17  7.98484e-06
  18  2.88499e-05
  19  0.000210809
  20  0.000515553
  21  0.396337
  22  0.347198
Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  1.472e-06  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:  1.387e+00  3.472e-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:  9.129e-01  3.963e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 187.712 12.388
Photon Flux Upper Limit: 1.37e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/632036/likelihoodResults_698630401_698889601_4FGL_J1230.8+1223_daily_bin1772.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1853.07227186
delta logL = -0.00173363341264

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1853.07053832
delta logL = -9.38603079703e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .94580E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.4939       1.0000          .0000       10.000    
     3 'Normalizat'    .91285       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3869       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=   1853.071     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      216 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    7.2599       -.61479E-06** at limit **
   2  Index         1.0090        5.2787       -.59159E-04   -.17017E-10
   3  Normalizat    .91292        .46408       -.13880E-04   -.37010E-04
   4  Prefactor     1.3868        .41615        .17821E-04   -.88010E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.00896
  Normalizat = 0.912922
  Prefactor  = 1.38677
 **********
 **   18 **HESSE 
 **********

 FCN=   1853.071     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      253 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .77483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0090        5.1395        .50000       -.92431    
   3  Normalizat    .91292        .31626E-02    .71825E-01   -.96008    
   4  Prefactor     1.3868        .28161E-02    .53051E-01   -.80762    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.07643e-12
Minuit parameter uncertainties:
  1  1.40625e-05
  2  77801.9
  3  0.00316258
  4  0.00281614
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/632036': 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): 102
logL (Free Index) = 1853.07053822
delta logL = -1.68256519828e-11

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  5.551e-11  1.406e-05  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.009e+00  7.780e+04  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:  1.387e+00  2.816e-03  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:  9.129e-01  3.163e-03  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/632036/cmap_HighResolution_698630401_698889601_4FGL_J1230.8+1223_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', job_status='DONE', photon_flux_upper_limit='1.37e-07', time_completed='2023-02-24 01:45:36.535540', job_id='632036', GAL2='1.39', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1677231936.54', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.39', dlogl='-1.68e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1772' AND source_name='4FGL J1230.8+1223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 01:45:36 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 632036: <4FGL_J1230.8+1223_daily_bin1772> in cluster <slac> Done

Job <4FGL_J1230.8+1223_daily_bin1772> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb 24 01:35:19 2023
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:35:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:35:21 2023
Terminated at Fri Feb 24 01:45:37 2023
Results reported at Fri Feb 24 01:45:37 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1230.8+1223_daily_bin1772 187.712 12.3883 698630401 698889601 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 :                                   387.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             238.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   615 sec.
    Turnaround time :                            618 sec.

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

