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 32 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_J1303.0+2434_daily_bin1772
RA = 195.757, Dec = 24.5821
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='633267', job_status='RUN', time_executed='2023-02-24 01:40:54.766520', time_epoch_executed='1677231654.77' WHERE source_name='4FGL J1303.0+2434' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/633267

Creating custom pfile directory:
/scratch/kocevski/633267/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/633267/ft1_4FGL_J1303.0+2434_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/633267/ft2_4FGL_J1303.0+2434_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/633267/ft1_4FGL_J1303.0+2434_daily_bin1772.fits outfile=/scratch/kocevski/633267/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin1772.fits ra=195.757 dec=24.5821 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 2.99
user 2.78
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/633267/ft2_4FGL_J1303.0+2434_daily_bin1772.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/633267/ft2_4FGL_J1303.0+2434_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/633267/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin1772.fits evtable="EVENTS" outfile="/scratch/kocevski/633267/ft1_filtered_4FGL_J1303.0+2434_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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 299

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/633267/ft1_filtered_4FGL_J1303.0+2434_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/633267/ft2_4FGL_J1303.0+2434_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/633267/ltcube_698630401_698889601_4FGL_J1303.0+2434_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/633267/ft2_4FGL_J1303.0+2434_daily_bin1772.fits
.....................!
real 12.70
user 12.33
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/633267/ft1_filtered_4FGL_J1303.0+2434_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/633267/ft2_4FGL_J1303.0+2434_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/633267/ltcube_698630401_698889601_4FGL_J1303.0+2434_daily_bin1772.fits outfile=/scratch/kocevski/633267/expmap_698630401_698889601_4FGL_J1303.0+2434_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/633267/ltcube_698630401_698889601_4FGL_J1303.0+2434_daily_bin1772.fits
.....................!
real 191.35
user 187.01
sys 4.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 177 point sources and 0 extended sources

Setting source of interest to:
4FGL J1303.0+2434 @ 195.757 24.5821

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/633267/ft1_filtered_4FGL_J1303.0+2434_daily_bin1772.fits scfile=/scratch/kocevski/633267/ft2_4FGL_J1303.0+2434_daily_bin1772.fits outfile=/scratch/kocevski/633267/cmap_698630401_698889601_4FGL_J1303.0+2434_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=195.757 yref=24.5821 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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/633267/ft1_filtered_4FGL_J1303.0+2434_daily_bin1772.fits scfile=/scratch/kocevski/633267/ft2_4FGL_J1303.0+2434_daily_bin1772.fits outfile=/scratch/kocevski/633267/cmap_HighResolution_698630401_698889601_4FGL_J1303.0+2434_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=195.757 yref=24.5821 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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/633267/ft1_filtered_4FGL_J1303.0+2434_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/633267/ft2_4FGL_J1303.0+2434_daily_bin1772.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/633267/Model_4FGL_J1303.0+2434_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/633267/ft1_filtered_4FGL_J1303.0+2434_daily_bin1772.fits......................!
real 33.64
user 32.45
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/633267/ft1_filtered_4FGL_J1303.0+2434_daily_bin1772.fits', '/scratch/kocevski/633267/ft2_4FGL_J1303.0+2434_daily_bin1772.fits', expMap='/scratch/kocevski/633267/expmap_698630401_698889601_4FGL_J1303.0+2434_daily_bin1772.fits', expCube='/scratch/kocevski/633267/ltcube_698630401_698889601_4FGL_J1303.0+2434_daily_bin1772.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/633267/Model_4FGL_J1303.0+2434_daily_bin1772.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1303.0+2434'

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  3.013e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
291        alpha:  2.066e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  8.150e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  8.679e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/633267/ft1_filtered_4FGL_J1303.0+2434_daily_bin1772.fits
Spacecraft file(s): /scratch/kocevski/633267/ft2_4FGL_J1303.0+2434_daily_bin1772.fits
Exposure map: /scratch/kocevski/633267/expmap_698630401_698889601_4FGL_J1303.0+2434_daily_bin1772.fits
Exposure cube: /scratch/kocevski/633267/ltcube_698630401_698889601_4FGL_J1303.0+2434_daily_bin1772.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/633267/Model_4FGL_J1303.0+2434_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) = 3366.75769344

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.0080       1.0000          .0000       .10000E+07
     2 'Prefactor '    .44188E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    20.528       1.0000          .0000       .10000E+07
     4 'Prefactor '    .13199E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .31767       1.0000          .0000       .10000E+07
     6 'norm      '    44.087       1.0000          .0000       .10000E+07
     7 'Prefactor '    23.121       1.0000          .0000       .10000E+07
     8 'Prefactor '    .10165E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .11327E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .22519       1.0000          .0000       .10000E+07
    11 'Prefactor '    .58262E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .47246E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .10948E-03   1.0000          .0000       .10000E+07
    14 'norm      '    42.594       1.0000          .0000       .10000E+07
    15 'norm      '    .94092E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .10793E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .53301E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .35921E-02   1.0000          .0000       .10000E+07
    19 'norm      '    27.208       1.0000          .0000       .10000E+07
    20 'Prefactor '    .72568E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    5.8675       1.0000          .0000       .10000E+07
    22 'norm      '    5.4399       1.0000          .0000       .10000E+07
    23 'Prefactor '    .93842       1.0000          .0000       .10000E+07
    24 'Prefactor '    .31694E-03   1.0000          .0000       .10000E+07
    25 'Normalizat'    .40647       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.7062       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3366.643     FROM MIGRAD    STATUS=CONVERGED    186 CALLS     2278 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.9617        7.0512       -.49965E-07    .19673E-01
   2  Prefactor     .44964E-08    6.5571        .55269E-07** at limit **
   3  Prefactor     20.371        8.0218        .18348E-07   -.13973E-01
   4  Prefactor     .41854E-05    54.063       -.11448E-05** at limit **
   5  norm          .31986        .92654        .13086E-07    .20012E-03
   6  norm          43.978        3.8973        .45004E-08   -.21677E-01
   7  Prefactor     24.641        10.776       -.24481E-07   -.10652    
   8  Prefactor     .67851E-06    12.987        .12724E-06** at limit **
   9  norm          .22204E-09    2.5966       -.14666E-07** at limit **
  10  Prefactor     .52866E-04    9.1367        .40101E-06** at limit **
  11  Prefactor     .14494E-06    30.026        .61644E-06** at limit **
  12  norm          .55511E-10    2.0678        .63472E-08** at limit **
  13  norm          .88818E-09    4.4615       -.61641E-07** at limit **
  14  norm          42.582        9.7453       -.20596E-07   -.21728E-02
  15  norm          .21844E-06    8.5476       -.12115E-06** at limit **
  16  norm          .11346E-05    10.446       -.15507E-06** at limit **
  17  Prefactor     .61928E-06    8.5166       -.83348E-07** at limit **
  18  Prefactor     .22644E-05    6.2039        .10512E-07** at limit **
  19  norm          27.117        8.2080       -.98371E-09   -.27659E-01
  20  Prefactor     .16637E-06    8.6911       -.13559E-06** at limit **
  21  Prefactor     7.8500        137.58        .43543E-05   -.53348E-02
  22  norm          5.6400        8.2240       -.63506E-09    .10059E-01
  23  Prefactor     .84849        .98215       -.77511E-07   -.81937E-02
  24  Prefactor     .14433E-08    7.8261        .26989E-07** at limit **
  25  Normalizat    .40544        .31729        .18334E-05    .40016E-05
  26  Prefactor     1.7065        .34612       -.17380E-05    .23954E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.96173
  Prefactor  = 4.4964e-09
  Prefactor  = 20.3715
  Prefactor  = 4.18537e-06
  norm       = 0.319857
  norm       = 43.9778
  Prefactor  = 24.6405
  Prefactor  = 6.78513e-07
  norm       = 2.22045e-10
  Prefactor  = 5.28656e-05
  Prefactor  = 1.4494e-07
  norm       = 5.55112e-11
  norm       = 8.88178e-10
  norm       = 42.5815
  norm       = 2.18436e-07
  norm       = 1.13465e-06
  Prefactor  = 6.19282e-07
  Prefactor  = 2.26436e-06
  norm       = 27.1169
  Prefactor  = 1.66367e-07
  Prefactor  = 7.85003
  norm       = 5.63996
  Prefactor  = 0.848488
  Prefactor  = 1.44329e-09
  Normalizat = 0.405443
  Prefactor  = 1.70648
 **********
 **   18 **HESSE 
 **********

 FCN=   3366.643     FROM HESSE     STATUS=OK           510 CALLS     2788 TOTAL
                     EDM=   .98E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.9617        15.914        .37872E-03   -1.5655    
   2  Prefactor     .44964E-08    6.5514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     20.371        15.134        .22078E-03   -1.5618    
   4  Prefactor     .41854E-05    59.024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .31986        .94624        .99721E-03   -1.5697    
   6  norm          43.978        22.259        .15062E-03   -1.5575    
   7  Prefactor     24.641        33.814        .20802E-03   -1.5609    
   8  Prefactor     .67851E-06    16.819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .22204E-09    2.5966        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .52866E-04    22.297        .11344E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .14494E-06    31.733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    2.0675        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .88818E-09    4.4638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          42.582        9.8186        .15324E-03   -1.5577    
  15  norm          .21844E-06    8.9708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .11346E-05    21.162        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .61928E-06    9.7277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .22644E-05    17.916        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          27.117        13.855        .19175E-03   -1.5604    
  20  Prefactor     .16637E-06    20.245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.8500        140.44        .41435E-03   -1.5652    
  22  norm          5.6400        14.447        .43059E-03   -1.5660    
  23  Prefactor     .84849        82.728        .43139E-03   -1.5690    
  24  Prefactor     .14433E-08    7.8309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .40544        .31241        .96132E-01   -1.1702    
  26  Prefactor     1.7065        .31789        .55226E-01   -.71909    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.77555e-07
Minuit parameter uncertainties:
  1  15.9137
  2  0.000342246
  3  15.1343
  4  0.0314351
  5  0.946237
  6  22.2595
  7  33.814
  8  0.00675625
  9  4.94604e-05
  10  0.068666
  11  0.00428913
  12  2.56565e-05
  13  0.000127106
  14  9.81863
  15  0.00279976
  16  0.00980021
  17  0.00490876
  18  0.0127388
  19  13.855
  20  0.00367077
  21  66.4093
  22  14.4471
  23  16.7566
  24  0.000213778
  25  0.313762
  26  0.318267
Done.

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

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  5.551e-11  2.566e-05  0.000e+00  1.000e+06 ( 1.000e-12)
291        alpha:  2.066e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  8.150e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  8.679e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
559    Prefactor:  1.706e+00  3.183e-01  0.000e+00  1.000e+01 ( 1.000e+00)
560        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
561        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
558   Normalization:  4.054e-01  3.138e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 195.757 24.582
Photon Flux Upper Limit: 7.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.76e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/633267/likelihoodResults_698630401_698889601_4FGL_J1303.0+2434_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): 102
logL (Free Index) = 3366.64333902
delta logL = -0.000104980363176

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3366.64323448
delta logL = -4.46319518232e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .39485E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    .75007       1.0000          .0000       5.0000    
     3 'Normalizat'    .40548       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.7065       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3366.643     FROM MIGRAD    STATUS=CONVERGED     25 CALLS      219 TOTAL
                     EDM=   .23E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.0293        .46691E-07** at limit **
   2  alpha         2.4189        1.2700       -.50103E-05     .0000    
   3  Normalizat    .40545        .30732        .29279E-04    .71030E-04
   4  Prefactor     1.7065        .34240       -.14493E-04    .72117E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.41889
  Normalizat = 0.405445
  Prefactor  = 1.70648
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   3366.643     FROM HESSE     STATUS=FAILED         9 CALLS      228 TOTAL
                     EDM=   .23E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.0337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.2094        1.4763       -.50103E-05   -.32449E-01
   3  Normalizat    .40545        .72624        .29279E-04   -1.1702    
   4  Prefactor     1.7065        1.0328       -.14493E-04   -.71909    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.29595e-11
Minuit parameter uncertainties:
  1  4.62815e-07
  2  1.57939
  3  0.744214
  4  1.0462
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/633267': 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) = 3366.64323403
delta logL = -6.36646291241e-12

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  0.000e+00  4.628e-07  0.000e+00  1.000e+06 ( 1.000e-12)
291        alpha:  2.419e+00  1.579e+00  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  8.150e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  8.679e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
559    Prefactor:  1.706e+00  1.046e+00  0.000e+00  1.000e+01 ( 1.000e+00)
560        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
561        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
558   Normalization:  4.054e-01  7.442e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 195.757 24.582

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/633267/cmap_HighResolution_698630401_698889601_4FGL_J1303.0+2434_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.76e-05', job_status='DONE', photon_flux_upper_limit='7.26e-08', time_completed='2023-02-24 01:48:54.027432', job_id='633267', GAL2='1.71', fit_tolerance='1e-08', EG2='0.41', EG='0.41', time_epoch_completed='1677232134.03', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.71', dlogl='-6.37e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='1772' AND source_name='4FGL J1303.0+2434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 01:48:54 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 633267: <4FGL_J1303.0+2434_daily_bin1772> in cluster <slac> Done

Job <4FGL_J1303.0+2434_daily_bin1772> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Feb 24 01:40:13 2023
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:40:14 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:40:14 2023
Terminated at Fri Feb 24 01:48:54 2023
Results reported at Fri Feb 24 01:48:54 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1303.0+2434_daily_bin1772 195.757 24.5821 698630401 698889601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1303.0+2434 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   481.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   520 sec.
    Turnaround time :                            521 sec.

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

