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


Performing analysis on: 4FGL_J1510.1+5702_daily_bin1716
RA = 227.542, Dec = 57.0398
tmin = 684115201, tmax = 684374401
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='158145', job_status='RUN', time_executed='2022-09-16 18:57:54.910821', time_epoch_executed='1663379874.91' WHERE source_name='4FGL J1510.1+5702' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158145

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158145/ft1_4FGL_J1510.1+5702_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158145/ft2_4FGL_J1510.1+5702_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158145/ft1_4FGL_J1510.1+5702_daily_bin1716.fits outfile=/scratch/kocevski/158145/ft1_filteredMKT_4FGL_J1510.1+5702_daily_bin1716.fits ra=227.542 dec=57.0398 rad=12.0 tmin=684115201.0 tmax=684374401.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 4.17
user 3.93
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/158145/ft2_4FGL_J1510.1+5702_daily_bin1716.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/158145/ft2_4FGL_J1510.1+5702_daily_bin1716.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/158145/ft1_filteredMKT_4FGL_J1510.1+5702_daily_bin1716.fits evtable="EVENTS" outfile="/scratch/kocevski/158145/ft1_filtered_4FGL_J1510.1+5702_daily_bin1716.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 485

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158145/ft1_filtered_4FGL_J1510.1+5702_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/158145/ft2_4FGL_J1510.1+5702_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/158145/ltcube_684115201_684374401_4FGL_J1510.1+5702_daily_bin1716.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/158145/ft2_4FGL_J1510.1+5702_daily_bin1716.fits
.....................!
real 13.80
user 13.41
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158145/ft1_filtered_4FGL_J1510.1+5702_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/158145/ft2_4FGL_J1510.1+5702_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/158145/ltcube_684115201_684374401_4FGL_J1510.1+5702_daily_bin1716.fits outfile=/scratch/kocevski/158145/expmap_684115201_684374401_4FGL_J1510.1+5702_daily_bin1716.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/158145/ltcube_684115201_684374401_4FGL_J1510.1+5702_daily_bin1716.fits
.....................!
real 192.06
user 186.54
sys 5.16

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 219 point sources and 0 extended sources

Setting source of interest to:
4FGL J1510.1+5702 @ 227.542 57.0398

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/158145/ft1_filtered_4FGL_J1510.1+5702_daily_bin1716.fits scfile=/scratch/kocevski/158145/ft2_4FGL_J1510.1+5702_daily_bin1716.fits outfile=/scratch/kocevski/158145/cmap_684115201_684374401_4FGL_J1510.1+5702_daily_bin1716.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=227.542 yref=57.0398 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158145/ft1_filtered_4FGL_J1510.1+5702_daily_bin1716.fits scfile=/scratch/kocevski/158145/ft2_4FGL_J1510.1+5702_daily_bin1716.fits outfile=/scratch/kocevski/158145/cmap_HighResolution_684115201_684374401_4FGL_J1510.1+5702_daily_bin1716.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=227.542 yref=57.0398 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.60
user 0.39
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/158145/ft1_filtered_4FGL_J1510.1+5702_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/158145/ft2_4FGL_J1510.1+5702_daily_bin1716.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/158145/Model_4FGL_J1510.1+5702_daily_bin1716.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/158145/ft1_filtered_4FGL_J1510.1+5702_daily_bin1716.fits.....................!
real 45.12
user 43.79
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/158145/ft1_filtered_4FGL_J1510.1+5702_daily_bin1716.fits', '/scratch/kocevski/158145/ft2_4FGL_J1510.1+5702_daily_bin1716.fits', expMap='/scratch/kocevski/158145/expmap_684115201_684374401_4FGL_J1510.1+5702_daily_bin1716.fits', expCube='/scratch/kocevski/158145/ltcube_684115201_684374401_4FGL_J1510.1+5702_daily_bin1716.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/158145/Model_4FGL_J1510.1+5702_daily_bin1716.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1510.1+5702'

4FGL J1510.1+5702
   Spectrum: PowerLaw
344    Prefactor:  1.597e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
345        Index:  2.882e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
346        Scale:  4.831e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/158145/ft1_filtered_4FGL_J1510.1+5702_daily_bin1716.fits
Spacecraft file(s): /scratch/kocevski/158145/ft2_4FGL_J1510.1+5702_daily_bin1716.fits
Exposure map: /scratch/kocevski/158145/expmap_684115201_684374401_4FGL_J1510.1+5702_daily_bin1716.fits
Exposure cube: /scratch/kocevski/158145/ltcube_684115201_684374401_4FGL_J1510.1+5702_daily_bin1716.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/158145/Model_4FGL_J1510.1+5702_daily_bin1716.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) = 5291.76338224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3982       1.0000          .0000       .10000E+07
     2 'Prefactor '    .60491E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    24.452       1.0000          .0000       .10000E+07
     4 'Prefactor '    .21611E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    6.3947       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.2290       1.0000          .0000       .10000E+07
     7 'Prefactor '    .56711E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16787E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    48.933       1.0000          .0000       .10000E+07
    10 'Prefactor '    43.034       1.0000          .0000       .10000E+07
    11 'Prefactor '    .17697E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .27756E-09   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.4744       1.0000          .0000       .10000E+07
    14 'Prefactor '    .13793E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.434       1.0000          .0000       .10000E+07
    16 'Prefactor '    31.107       1.0000          .0000       .10000E+07
    17 'norm      '    .22521E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .19462       1.0000          .0000       .10000E+07
    19 'Prefactor '    14.527       1.0000          .0000       .10000E+07
    20 'norm      '    .11308E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    36.726       1.0000          .0000       .10000E+07
    22 'Prefactor '    .61560E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    .10570E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    12.201       1.0000          .0000       .10000E+07
    25 'Normalizat'    .73449       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .89678       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5291.668     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     2253 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3980        3.9002        .44774E-07   -.97784E-04
   2  Prefactor     .40523E-08    45.152       -.27210E-06** at limit **
   3  Prefactor     24.464        1.0913        .20355E-08    .50456E-03
   4  Prefactor     .16320E-07    9.0504        .59137E-07** at limit **
   5  Prefactor     6.3915        4.5142       -.96002E-07    .19122E-03
   6  Prefactor     3.2319        2.1146       -.44433E-07    .50295E-03
   7  Prefactor     .51736E-07    8.1749        .42479E-07** at limit **
   8  Prefactor      .0000        30.553       -.23721E-06** at limit **
   9  Prefactor     48.538        3.4020       -.84438E-08   -.90144E-02
  10  Prefactor     42.613        20.050       -.10184E-07   -.52751E-03
  11  Prefactor      .0000        8.9723       -.27826E-06** at limit **
  12  norm           .0000        1.0290        .93460E-07** at limit **
  13  Prefactor     6.5227        9.0282       -.92610E-07    .17671E-03
  14  Prefactor      .0000        2.0653        .22925E-06** at limit **
  15  Prefactor     14.419        9.4866       -.43332E-07    .25235E-03
  16  Prefactor     30.829        1.7726        .36142E-08    .55210E-02
  17  norm           .0000        .75248        .10639E-06** at limit **
  18  Prefactor     .13600E-07    6.9538       -.10753E-06** at limit **
  19  Prefactor     14.597        8.5702        .23295E-07   -.32751E-03
  20  norm          .57176E-08    8.3475        .74211E-07** at limit **
  21  Prefactor     37.541        8.1355        .45890E-07    .18240E-01
  22  Prefactor     .46574E-07    73.211       -.61456E-06** at limit **
  23  Prefactor      .0000        5.5888       -.15890E-07** at limit **
  24  Prefactor     12.151        9.6571        .25277E-07   -.29408E-03
  25  Normalizat    .73477        .18979       -.54158E-05    .17922E-04
  26  Prefactor     .89673        .20524        .52506E-05    .88399E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.398
  Prefactor  = 4.05231e-09
  Prefactor  = 24.4644
  Prefactor  = 1.63203e-08
  Prefactor  = 6.39145
  Prefactor  = 3.23194
  Prefactor  = 5.17364e-08
  Prefactor  = 0
  Prefactor  = 48.5383
  Prefactor  = 42.6128
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.52266
  Prefactor  = 0
  Prefactor  = 14.419
  Prefactor  = 30.8289
  norm       = 0
  Prefactor  = 1.36002e-08
  Prefactor  = 14.5971
  norm       = 5.71765e-09
  Prefactor  = 37.5405
  Prefactor  = 4.65739e-08
  Prefactor  = 0
  Prefactor  = 12.151
  Normalizat = 0.734769
  Prefactor  = 0.896732
 **********
 **   18 **HESSE 
 **********

 FCN=   5291.668     FROM HESSE     STATUS=OK           508 CALLS     2761 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3980        3.9077        .47998E-03   -1.5666    
   2  Prefactor     .40523E-08    45.857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     24.464        34.505        .20227E-03   -1.5609    
   4  Prefactor     .16320E-07    24.545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.3915        4.5168        .39667E-03   -1.5657    
   6  Prefactor     3.2319        2.1289        .56347E-03   -1.5672    
   7  Prefactor     .51736E-07    25.274        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        31.834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     48.538        34.338        .14297E-03   -1.5569    
  10  Prefactor     42.613        20.097        .15245E-03   -1.5577    
  11  Prefactor      .0000        8.9756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        1.0102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.5227        9.0593        .39419E-03   -1.5657    
  14  Prefactor      .0000        2.0648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.419        9.4600        .26338E-03   -1.5632    
  16  Prefactor     30.829        22.449        .17932E-03   -1.5597    
  17  norm           .0000        .75213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .13600E-07    241.89        .11872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     14.597        8.6484        .26252E-03   -1.5632    
  20  norm          .57176E-08    25.468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     37.541        39.530        .16503E-03   -1.5585    
  22  Prefactor     .46574E-07    76.074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        5.5806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     12.151        9.7075        .28653E-03   -1.5638    
  25  Normalizat    .73477        .16041        .42749E-01   -1.0254    
  26  Prefactor     .89673        .17295        .44964E-01   -.96255    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01319e-08
Minuit parameter uncertainties:
  1  3.90775
  2  0.000863062
  3  34.5053
  4  0.00126684
  5  4.51679
  6  2.12889
  7  0.00228665
  8  2.68027e-05
  9  34.3379
  10  20.0967
  11  6.51113e-07
  12  4.34857e-07
  13  9.05931
  14  4.48525e-06
  15  9.46002
  16  22.4493
  17  6.59542e-07
  18  0.00362731
  19  8.64845
  20  0.000762139
  21  39.5306
  22  0.00376382
  23  2.30127e-06
  24  9.70749
  25  0.160512
  26  0.173052
Done.

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

Extracting fit parameters...

4FGL J1510.1+5702
   Spectrum: PowerLaw
344    Prefactor:  1.442e+01  9.460e+00  0.000e+00  1.000e+06 ( 1.000e-12)
345        Index:  2.882e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
346        Scale:  4.831e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  8.967e-01  1.731e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  7.348e-01  1.605e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.82
Ra Dec: 227.542 57.040
Photon Index (Fixed Index): 2.88 +/- 0.00
Photon Flux (Fixed Index): 7.18e-08 +/- 4.70e-08
Energy Flux (Fixed Index): 1.53e-05 +/- 1.00e-05

TS (Fixed Index): 3.82
Ra Dec: 227.542 57.040
Photon Flux Upper Limit: 1.58e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.26e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/158145/likelihoodResults_684115201_684374401_4FGL_J1510.1+5702_daily_bin1716.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) = 5291.60653212
delta logL = 0.0610667014016

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5291.60262344
delta logL = 0.0649753812513

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.670       1.0000          .0000       .10000E+07
     2 'Index     '    3.1532       1.0000          .0000       10.000    
     3 'Normalizat'    .72461       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90607       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+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=   5291.603     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      278 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.673        11.994        .11720E-04   -.13047E-01
   2  Index         3.1535        .87082        .65112E-02   -.28193E-03
   3  Normalizat    .72459        .18725        .22954E-03    .86878E-03
   4  Prefactor     .90598        .20660        .23231E-03    .86786E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.6729
  Index      = 3.15346
  Normalizat = 0.724589
  Prefactor  = 0.905977
 **********
 **   18 **HESSE 
 **********

 FCN=   5291.603     FROM HESSE     STATUS=OK            23 CALLS      301 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.673        11.033        .46880E-06   -1.5640    
   2  Index         3.1535        .80090        .26045E-03   -.37826    
   3  Normalizat    .72459        .18738        .45908E-04   -1.0293    
   4  Prefactor     .90598        .20664        .46461E-04   -.95933    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39598e-09
Minuit parameter uncertainties:
  1  11.0328
  2  0.804924
  3  0.187542
  4  0.206821
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158145': 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) = 5291.60262238
delta logL = 0.0649764412028

Extracting fit parameters...

4FGL J1510.1+5702
   Spectrum: PowerLaw
344    Prefactor:  1.167e+01  1.103e+01  0.000e+00  1.000e+06 ( 1.000e-12)
345        Index:  3.153e+00  8.049e-01  0.000e+00  1.000e+01 (-1.000e+00)
346        Scale:  4.831e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.060e-01  2.068e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  7.246e-01  1.875e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.99
Ra Dec: 227.542 57.040
Photon Index (Free Index): 3.15 +/- 0.80
Photon Flux (Free Index): 7.80e-08 +/- 4.90e-08
Energy Flux (Free Index): 1.45e-05 +/- 9.08e-06

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/158145/cmap_HighResolution_684115201_684374401_4FGL_J1510.1+5702_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.26e-02', comment='SUCCESS', photon_flux='7.18e-08', energy_flux2='1.45e-05', photon_flux_error='4.70e-08', dlogl='6.50e-02', energy_flux='1.53e-05', photon_flux2='7.80e-08', job_status='DONE', time_completed='2022-09-16 19:09:13.038630', photon_index_error2='0.80', photon_index2='3.15', ts='3.82', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.58e-07', energy_flux_error2='9.08e-06', EG='0.73', time_epoch_completed='1663380553.04', return_code='0', job_id='158145', GAL2='0.91', EG2='0.72', return_code2='0', energy_flux_error='1.00e-05', photon_flux_error2='4.90e-08', ts2='3.99', photon_index='2.88' WHERE bin_id='1716' AND source_name='4FGL J1510.1+5702' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 19:09:13 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 158145: <4FGL_J1510.1+5702_daily_bin1716> in cluster <slac> Done

Job <4FGL_J1510.1+5702_daily_bin1716> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 18:55:25 2022
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:56:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 18:56:30 2022
Terminated at Fri Sep 16 19:09:14 2022
Results reported at Fri Sep 16 19:09:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.1+5702_daily_bin1716 227.542 57.0398 684115201 684374401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1510.1+5702 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   680.31 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             309.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   763 sec.
    Turnaround time :                            829 sec.

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

