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


Performing analysis on: 4FGL_J1230.8+1223_daily_bin1715
RA = 187.712, Dec = 12.3883
tmin = 683856001, tmax = 684115201
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='119232', job_status='RUN', time_executed='2022-09-16 16:50:44.845942', time_epoch_executed='1663372244.85' WHERE source_name='4FGL J1230.8+1223' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/119232

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/119232/ft1_4FGL_J1230.8+1223_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/119232/ft2_4FGL_J1230.8+1223_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/119232/ft1_4FGL_J1230.8+1223_daily_bin1715.fits outfile=/scratch/kocevski/119232/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin1715.fits ra=187.712 dec=12.3883 rad=12.0 tmin=683856001.0 tmax=684115201.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.48
user 3.23
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/119232/ft2_4FGL_J1230.8+1223_daily_bin1715.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/119232/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin1715.fits evtable="EVENTS" outfile="/scratch/kocevski/119232/ft1_filtered_4FGL_J1230.8+1223_daily_bin1715.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.33
sys 0.18

Number of photons that the gtmktime cut: 531

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/119232/ft1_filtered_4FGL_J1230.8+1223_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/119232/ft2_4FGL_J1230.8+1223_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/119232/ltcube_683856001_684115201_4FGL_J1230.8+1223_daily_bin1715.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/119232/ft2_4FGL_J1230.8+1223_daily_bin1715.fits
.....................!
real 15.20
user 14.78
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/119232/ft1_filtered_4FGL_J1230.8+1223_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/119232/ft2_4FGL_J1230.8+1223_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/119232/ltcube_683856001_684115201_4FGL_J1230.8+1223_daily_bin1715.fits outfile=/scratch/kocevski/119232/expmap_683856001_684115201_4FGL_J1230.8+1223_daily_bin1715.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/119232/ltcube_683856001_684115201_4FGL_J1230.8+1223_daily_bin1715.fits
.....................!
real 194.13
user 187.85
sys 5.89

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/119232/ft1_filtered_4FGL_J1230.8+1223_daily_bin1715.fits scfile=/scratch/kocevski/119232/ft2_4FGL_J1230.8+1223_daily_bin1715.fits outfile=/scratch/kocevski/119232/cmap_683856001_684115201_4FGL_J1230.8+1223_daily_bin1715.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.66
user 0.36
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/119232/ft1_filtered_4FGL_J1230.8+1223_daily_bin1715.fits scfile=/scratch/kocevski/119232/ft2_4FGL_J1230.8+1223_daily_bin1715.fits outfile=/scratch/kocevski/119232/cmap_HighResolution_683856001_684115201_4FGL_J1230.8+1223_daily_bin1715.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6614       1.0000          .0000       .10000E+07
     2 'Prefactor '    .18619E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    27.008       1.0000          .0000       .10000E+07
     4 'Prefactor '    .65059E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.4931       1.0000          .0000       .10000E+07
     6 'Prefactor '    .42882E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    29.494       1.0000          .0000       .10000E+07
     8 'Prefactor '    .18768E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13778E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.7110       1.0000          .0000       .10000E+07
    11 'norm      '    9.8064       1.0000          .0000       .10000E+07
    12 'Prefactor '    .29986E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .11657E-08   1.0000          .0000       .10000E+07
    14 'norm      '    .67653E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .39259       1.0000          .0000       .10000E+07
    16 'Prefactor '    .79011E-02   1.0000          .0000       .10000E+07
    17 'norm      '    4.4236       1.0000          .0000       .10000E+07
    18 'Prefactor '    .87652E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .37191E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.0684       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.3077       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .93839       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=   5858.365     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     1898 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6441        2.3270       -.10915E-05   -.59944E-03
   2  Prefactor     .55511E-10    43.518       -.25753E-06** at limit **
   3  Prefactor     27.026        14.246        .36790E-05    .82420E-01
   4  Prefactor     .49960E-09    5.7126       -.11284E-06** at limit **
   5  Prefactor     1.4907        2.9414       -.32612E-06    .23616E-02
   6  Prefactor     .58381E-06    36.779        .59935E-06** at limit **
   7  Prefactor     28.087        59.921        .37781E-06   -.63367E-02
   8  Prefactor     .55511E-10    1.4440        .25753E-06** at limit **
   9  Prefactor     .55511E-10    1.2095       -.33383E-06** at limit **
  10  Prefactor     2.3976        8.2525        .61910E-05   -.51767E-01
  11  norm          9.8400        5.0741       -.37004E-06    .13139E-01
  12  Prefactor     .56066E-08    12.400       -.30537E-06** at limit **
  13  norm           .0000        .19160       -.61470E-07** at limit **
  14  norm          .25369E-07    15.357        .19846E-05** at limit **
  15  norm          .39204        .59747        .10204E-06    .77537E-02
  16  Prefactor     .15393E-06    25.239       -.95079E-06** at limit **
  17  norm          4.4211        2.0603       -.31815E-07   -.28667E-02
  18  Prefactor      .0000        3.0755       -.39740E-07** at limit **
  19  Prefactor      .0000        7.4269        .10841E-06** at limit **
  20  Prefactor     4.0713        10.692        .73231E-06   -.14469E-03
  21  Normalizat    1.3085        .24497       -.14051E-04    .48462E-04
  22  Prefactor     .93831        .21288        .98767E-05   -.23464E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.64407
  Prefactor  = 5.55112e-11
  Prefactor  = 27.0261
  Prefactor  = 4.996e-10
  Prefactor  = 1.49072
  Prefactor  = 5.83811e-07
  Prefactor  = 28.0867
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 2.39759
  norm       = 9.84
  Prefactor  = 5.60663e-09
  norm       = 0
  norm       = 2.53686e-08
  norm       = 0.392039
  Prefactor  = 1.53932e-07
  norm       = 4.42113
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.07129
  Normalizat = 1.3085
  Prefactor  = 0.938313
 **********
 **   18 **HESSE 
 **********

 FCN=   5858.365     FROM HESSE     STATUS=OK           388 CALLS     2286 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6441        21.442        .52765E-03   -1.5670    
   2  Prefactor     .55511E-10    43.576        .17129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     27.026        14.622        .19246E-03   -1.5604    
   4  Prefactor     .49960E-09    5.7130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.4907        2.9944        .87674E-03   -1.5684    
   6  Prefactor     .58381E-06    37.240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     28.087        60.466        .18416E-03   -1.5602    
   8  Prefactor     .55511E-10    1.4312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    1.2073        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.3976        123.78        .61835E-03   -1.5677    
  11  norm          9.8400        5.3694        .31975E-03   -1.5645    
  12  Prefactor     .56066E-08    12.414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .94585E-01    .90930E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .25369E-07    15.416        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .39204        .60314        .90350E-04   -1.5695    
  16  Prefactor     .15393E-06    25.010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.4211        2.0681        .47857E-03   -1.5666    
  18  Prefactor      .0000        3.0734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        7.4202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.0713        10.744        .49963E-03   -1.5668    
  21  Normalizat    1.3085        .20845        .57413E-01   -.83313    
  22  Prefactor     .93831        .18039        .45492E-01   -.94815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43353e-06
Minuit parameter uncertainties:
  1  17.6791
  2  0.000104916
  3  14.6222
  4  0.000108536
  5  2.99444
  6  0.00932558
  7  60.4672
  8  1.60436e-05
  9  1.28878e-05
  10  34.4552
  11  5.36944
  12  0.000528549
  13  3.02197e-07
  14  0.00125104
  15  0.603137
  16  0.00392414
  17  2.06813
  18  1.19726e-05
  19  9.15151e-06
  20  10.7443
  21  0.208579
  22  0.180507
Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  1.539e-07  3.924e-03  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:  9.383e-01  1.805e-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.309e+00  2.086e-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: 6.27e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.72e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/119232/likelihoodResults_683856001_684115201_4FGL_J1230.8+1223_daily_bin1715.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) = 5858.3900357
delta logL = -0.0246463334861

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5858.36540722
delta logL = -1.78521549969e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11291E-02   1.0000          .0000       .10000E+07
     2 'Index     '    2.3143       1.0000          .0000       10.000    
     3 'Normalizat'    1.3081       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93858       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5858.365     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      215 TOTAL
                     EDM=   .10E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        11.964        .42118E-03** at limit **
   2  Index         1.6933        .90050       -.21587E-04     .0000    
   3  Normalizat    1.3085        1.0778        .13164E-05   -.38557E-04
   4  Prefactor     .93831        1.2813        .17925E-05   -.33834E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.6933
  Normalizat = 1.3085
  Prefactor  = 0.938314
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5858.365     FROM HESSE     STATUS=FAILED         9 CALLS      224 TOTAL
                     EDM=   .10E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        11.964        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .28322        1.5068       -.21587E-04   -.72260    
   3  Normalizat    1.3085        1.0778        .13164E-05   -.83313    
   4  Prefactor     .93831        1.2813        .17925E-05   -.94815    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.97703e-13
Minuit parameter uncertainties:
  1  1.56464e-06
  2  0.90939
  3  1.09722
  4  1.3266
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/119232': 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): 101
logL (Free Index) = 5858.36538937
delta logL = 3.04316927213e-09

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  1.565e-06  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.693e+00  9.094e-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:  9.383e-01  1.327e+00  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.309e+00  1.097e+00  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/119232/cmap_HighResolution_683856001_684115201_4FGL_J1230.8+1223_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-03', job_status='DONE', photon_flux_upper_limit='6.27e-08', time_completed='2022-09-16 17:00:26.732298', job_id='119232', GAL2='0.94', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1663372826.73', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.04e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1715' AND source_name='4FGL J1230.8+1223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:00:26 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 119232: <4FGL_J1230.8+1223_daily_bin1715> in cluster <slac> Done

Job <4FGL_J1230.8+1223_daily_bin1715> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 16 16:45:25 2022
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:48:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 16:48:44 2022
Terminated at Fri Sep 16 17:00:27 2022
Results reported at Fri Sep 16 17:00:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1230.8+1223_daily_bin1715 187.712 12.3883 683856001 684115201 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 :                                   583.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   703 sec.
    Turnaround time :                            902 sec.

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

