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


Performing analysis on: 4FGL_J1303.0+2434_daily_bin1774
RA = 195.757, Dec = 24.5821
tmin = 699148801, tmax = 699408001
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='682651', job_status='RUN', time_executed='2023-03-02 00:46:19.893054', time_epoch_executed='1677746779.89' WHERE source_name='4FGL J1303.0+2434' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/682651

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/682651/ft1_4FGL_J1303.0+2434_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/682651/ft2_4FGL_J1303.0+2434_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/682651/ft1_4FGL_J1303.0+2434_daily_bin1774.fits outfile=/scratch/kocevski/682651/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin1774.fits ra=195.757 dec=24.5821 rad=12.0 tmin=699148801.0 tmax=699408001.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.78
user 2.59
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/682651/ft2_4FGL_J1303.0+2434_daily_bin1774.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/682651/ft1_filteredMKT_4FGL_J1303.0+2434_daily_bin1774.fits evtable="EVENTS" outfile="/scratch/kocevski/682651/ft1_filtered_4FGL_J1303.0+2434_daily_bin1774.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.35
sys 0.12

Number of photons that the gtmktime cut: 245

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/682651/ft1_filtered_4FGL_J1303.0+2434_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/682651/ft2_4FGL_J1303.0+2434_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/682651/ltcube_699148801_699408001_4FGL_J1303.0+2434_daily_bin1774.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/682651/ft2_4FGL_J1303.0+2434_daily_bin1774.fits
.....................!
real 12.37
user 12.02
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/682651/ft1_filtered_4FGL_J1303.0+2434_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/682651/ft2_4FGL_J1303.0+2434_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/682651/ltcube_699148801_699408001_4FGL_J1303.0+2434_daily_bin1774.fits outfile=/scratch/kocevski/682651/expmap_699148801_699408001_4FGL_J1303.0+2434_daily_bin1774.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/682651/ltcube_699148801_699408001_4FGL_J1303.0+2434_daily_bin1774.fits
.....................!
real 191.86
user 186.51
sys 5.03

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/682651/ft1_filtered_4FGL_J1303.0+2434_daily_bin1774.fits scfile=/scratch/kocevski/682651/ft2_4FGL_J1303.0+2434_daily_bin1774.fits outfile=/scratch/kocevski/682651/cmap_699148801_699408001_4FGL_J1303.0+2434_daily_bin1774.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/682651/ft1_filtered_4FGL_J1303.0+2434_daily_bin1774.fits scfile=/scratch/kocevski/682651/ft2_4FGL_J1303.0+2434_daily_bin1774.fits outfile=/scratch/kocevski/682651/cmap_HighResolution_699148801_699408001_4FGL_J1303.0+2434_daily_bin1774.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.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/682651/ft1_filtered_4FGL_J1303.0+2434_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/682651/ft2_4FGL_J1303.0+2434_daily_bin1774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/682651/Model_4FGL_J1303.0+2434_daily_bin1774.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/682651/ft1_filtered_4FGL_J1303.0+2434_daily_bin1774.fits.....................!
real 31.20
user 30.05
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/682651/ft1_filtered_4FGL_J1303.0+2434_daily_bin1774.fits', '/scratch/kocevski/682651/ft2_4FGL_J1303.0+2434_daily_bin1774.fits', expMap='/scratch/kocevski/682651/expmap_699148801_699408001_4FGL_J1303.0+2434_daily_bin1774.fits', expCube='/scratch/kocevski/682651/ltcube_699148801_699408001_4FGL_J1303.0+2434_daily_bin1774.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/682651/Model_4FGL_J1303.0+2434_daily_bin1774.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/682651/ft1_filtered_4FGL_J1303.0+2434_daily_bin1774.fits
Spacecraft file(s): /scratch/kocevski/682651/ft2_4FGL_J1303.0+2434_daily_bin1774.fits
Exposure map: /scratch/kocevski/682651/expmap_699148801_699408001_4FGL_J1303.0+2434_daily_bin1774.fits
Exposure cube: /scratch/kocevski/682651/ltcube_699148801_699408001_4FGL_J1303.0+2434_daily_bin1774.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/682651/Model_4FGL_J1303.0+2434_daily_bin1774.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) = 2821.93408038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21705E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.5012       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.8728       1.0000          .0000       .10000E+07
     4 'Prefactor '    .17444E-03   1.0000          .0000       .10000E+07
     5 'norm      '    2.6644       1.0000          .0000       .10000E+07
     6 'norm      '    .32264E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    14.235       1.0000          .0000       .10000E+07
     8 'Prefactor '    25.420       1.0000          .0000       .10000E+07
     9 'norm      '    .49194E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    16.549       1.0000          .0000       .10000E+07
    11 'Prefactor '    .75587E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .98128       1.0000          .0000       .10000E+07
    13 'norm      '    .33534E-05   1.0000          .0000       .10000E+07
    14 'norm      '    19.322       1.0000          .0000       .10000E+07
    15 'norm      '    3.4690       1.0000          .0000       .10000E+07
    16 'norm      '    16.580       1.0000          .0000       .10000E+07
    17 'Prefactor '    .18824E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .96233E-03   1.0000          .0000       .10000E+07
    19 'norm      '    43.419       1.0000          .0000       .10000E+07
    20 'Prefactor '    .20021E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .90214E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .15708E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    .38508       1.0000          .0000       .10000E+07
    24 'Prefactor '    80.200       1.0000          .0000       .10000E+07
    25 'Normalizat'    .43089       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.4937       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=   2821.143     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     2253 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.1753        .43424E-07** at limit **
   2  Prefactor     5.4757        5.4633        .41371E-07   -.12022E-03
   3  Prefactor     5.9670        6.5351       -.14799E-07    .33852E-04
   4  Prefactor      .0000        7.1707        .18960E-07** at limit **
   5  norm          2.6616        1.1458       -.20499E-07    .50536E-03
   6  norm           .0000        4.7132        .11219E-06** at limit **
   7  Prefactor     14.069        2.0343       -.88961E-08    .44771E-02
   8  Prefactor     25.666        7.8070       -.25092E-07    .24811E-01
   9  norm           .0000        2.7134       -.98101E-08** at limit **
  10  Prefactor     16.990        9.3713        .30581E-07    .18139E-01
  11  Prefactor     .72164E-09    10.358        .50000E-07** at limit **
  12  norm          .96770        2.5440        .21659E-07    .29373E-01
  13  norm           .0000        1.9956       -.83991E-07** at limit **
  14  norm          19.037        7.8882        .93327E-08   -.15603E-01
  15  norm          3.9286        10.375       -.10586E-06    .10701E-01
  16  norm          16.333        3.1328       -.19715E-07    .33837E-02
  17  Prefactor      .0000        1.7440        .56138E-07** at limit **
  18  Prefactor     .36082E-08    6.8655        .56420E-09** at limit **
  19  norm          43.479        11.659       -.22535E-07   -.23462E-01
  20  Prefactor     .59397E-08    25.102       -.62051E-07** at limit **
  21  Prefactor     .77716E-09    78.404       -.45143E-06** at limit **
  22  norm          .56621E-08    4.2441        .98675E-09** at limit **
  23  Prefactor     .21094E-08    151.10       -.41212E-06** at limit **
  24  Prefactor     80.160        2.1537       -.83579E-09   -.18135E-01
  25  Normalizat    .43408        .33248        .77293E-05    .26691E-07
  26  Prefactor     1.4907        .36082       -.55562E-05    .85399E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 5.47566
  Prefactor  = 5.96699
  Prefactor  = 0
  norm       = 2.6616
  norm       = 0
  Prefactor  = 14.0692
  Prefactor  = 25.6661
  norm       = 0
  Prefactor  = 16.9904
  Prefactor  = 7.21645e-10
  norm       = 0.967704
  norm       = 0
  norm       = 19.0371
  norm       = 3.92856
  norm       = 16.3329
  Prefactor  = 0
  Prefactor  = 3.60822e-09
  norm       = 43.4787
  Prefactor  = 5.93969e-09
  Prefactor  = 7.77156e-10
  norm       = 5.66214e-09
  Prefactor  = 2.10942e-09
  Prefactor  = 80.1602
  Normalizat = 0.434082
  Prefactor  = 1.49067
 **********
 **   18 **HESSE 
 **********

 FCN=   2821.143     FROM HESSE     STATUS=OK           512 CALLS     2765 TOTAL
                     EDM=   .95E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.1720        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.4757        5.4762        .42814E-03   -1.5661    
   3  Prefactor     5.9670        6.9540        .41416E-03   -1.5659    
   4  Prefactor      .0000        7.1783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.6616        1.1526        .62415E-03   -1.5675    
   6  norm           .0000        4.7173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.069        26.526        .26521E-03   -1.5633    
   8  Prefactor     25.666        19.479        .19838E-03   -1.5607    
   9  norm           .0000        2.7140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     16.990        32.418        .24593E-03   -1.5626    
  11  Prefactor     .72164E-09    11.143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .96770        7.4407        .43102E-03   -1.5688    
  13  norm           .0000        1.9967        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          19.037        13.172        .22757E-03   -1.5621    
  15  norm          3.9286        25.416        .54270E-03   -1.5668    
  16  norm          16.333        42.284        .24570E-03   -1.5627    
  17  Prefactor      .0000        1.7431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .36082E-08    10.555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          43.479        17.855        .15177E-03   -1.5576    
  20  Prefactor     .59397E-08    25.282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .77716E-09    78.697        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .56621E-08    10.649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .21094E-08    169.49        .91236E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     80.160        46.992        .11167E-03   -1.5529    
  25  Normalizat    .43408        .32756        .91005E-01   -1.1558    
  26  Prefactor     1.4907        .33242        .56099E-01   -.77801    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.45341e-08
Minuit parameter uncertainties:
  1  1.15096e-06
  2  5.47616
  3  6.95402
  4  2.35016e-05
  5  1.15255
  6  7.54598e-06
  7  26.5264
  8  19.4786
  9  8.67609e-07
  10  32.4185
  11  0.000176508
  12  5.36673
  13  2.09847e-06
  14  13.1725
  15  19.9849
  16  42.2847
  17  1.2791e-07
  18  0.000388924
  19  17.855
  20  0.000775829
  21  0.000488582
  22  0.000491402
  23  0.00119317
  24  46.9926
  25  0.329022
  26  0.332907
Done.

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

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  9.677e-01  5.367e+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

GAL_V02
   Spectrum: PowerLaw
559    Prefactor:  1.491e+00  3.329e-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.341e-01  3.290e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 195.757 24.582
Photon Flux Upper Limit: 1.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.20e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/682651/likelihoodResults_699148801_699408001_4FGL_J1303.0+2434_daily_bin1774.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) = 2821.14342478
delta logL = 4.29140754932e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2821.14342385
delta logL = 4.38421893705e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .97314       1.0000          .0000       .10000E+07
     2 'alpha     '    2.0455       1.0000          .0000       5.0000    
     3 'Normalizat'    .43411       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4907       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5620E+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=   2821.143     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      271 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .97601        7.9357        .17125E-04    .12647E-03
   2  alpha         2.0467        1.8630        .35992E-01    .10962E-05
   3  Normalizat    .43419        .32779        .40321E-03   -.19004E-04
   4  Prefactor     1.4906        .35952        .24802E-03    .87214E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.976012
  alpha      = 2.04668
  Normalizat = 0.434189
  Prefactor  = 1.49059
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .97601        7.4529        .68499E-06   -1.5688    
   2  alpha         2.0467        1.8214        .14397E-02   -.18234    
   3  Normalizat    .43419        .32784        .16128E-04   -1.1557    
   4  Prefactor     1.4906        .35949        .49605E-04   -.77804    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35411e-10
Minuit parameter uncertainties:
  1  5.39414
  2  2.05124
  3  0.329308
  4  0.360101
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/682651': 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) = 2821.14342345
delta logL = 4.42429195573e-05

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  9.760e-01  5.394e+00  0.000e+00  1.000e+06 ( 1.000e-12)
291        alpha:  2.047e+00  2.051e+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.491e+00  3.601e-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.342e-01  3.293e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
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/682651/cmap_HighResolution_699148801_699408001_4FGL_J1303.0+2434_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.20e-05', job_status='DONE', photon_flux_upper_limit='1.20e-07', time_completed='2023-03-02 00:53:56.024800', job_id='682651', GAL2='1.49', fit_tolerance='1e-08', EG2='0.43', EG='0.43', time_epoch_completed='1677747236.02', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.49', dlogl='4.42e-05', ts2='0.04', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='1774' AND source_name='4FGL J1303.0+2434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 00:53:56 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 682651: <4FGL_J1303.0+2434_daily_bin1774> in cluster <slac> Done

Job <4FGL_J1303.0+2434_daily_bin1774> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Mar  2 00:45:16 2023
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 00:45:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 00:45:17 2023
Terminated at Thu Mar  2 00:53:56 2023
Results reported at Thu Mar  2 00:53:56 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1303.0+2434_daily_bin1774 195.757 24.5821 699148801 699408001 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 :                                   458.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             321.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   519 sec.
    Turnaround time :                            520 sec.

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

