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 12 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1510.1+5702_daily_bin1674
RA = 227.542, Dec = 57.0398
tmin = 673228801, tmax = 673488001
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='670730', job_status='RUN', time_executed='2022-05-06 02:53:43.317605', time_epoch_executed='1651830823.32' WHERE source_name='4FGL J1510.1+5702' and cadence='daily' and bin_id='1674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/670730

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/670730/ft1_4FGL_J1510.1+5702_daily_bin1674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/670730/ft2_4FGL_J1510.1+5702_daily_bin1674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/670730/ft1_4FGL_J1510.1+5702_daily_bin1674.fits outfile=/scratch/kocevski/670730/ft1_filteredMKT_4FGL_J1510.1+5702_daily_bin1674.fits ra=227.542 dec=57.0398 rad=12.0 tmin=673228801.0 tmax=673488001.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.76
user 2.53
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/670730/ft2_4FGL_J1510.1+5702_daily_bin1674.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/670730/ft1_filteredMKT_4FGL_J1510.1+5702_daily_bin1674.fits evtable="EVENTS" outfile="/scratch/kocevski/670730/ft1_filtered_4FGL_J1510.1+5702_daily_bin1674.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.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 1094

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/670730/ft1_filtered_4FGL_J1510.1+5702_daily_bin1674.fits" evtable="EVENTS" scfile=/scratch/kocevski/670730/ft2_4FGL_J1510.1+5702_daily_bin1674.fits sctable="SC_DATA" outfile=/scratch/kocevski/670730/ltcube_673228801_673488001_4FGL_J1510.1+5702_daily_bin1674.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/670730/ft2_4FGL_J1510.1+5702_daily_bin1674.fits
.....................!
real 14.63
user 14.23
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/670730/ft1_filtered_4FGL_J1510.1+5702_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/670730/ft2_4FGL_J1510.1+5702_daily_bin1674.fits sctable="SC_DATA" expcube=/scratch/kocevski/670730/ltcube_673228801_673488001_4FGL_J1510.1+5702_daily_bin1674.fits outfile=/scratch/kocevski/670730/expmap_673228801_673488001_4FGL_J1510.1+5702_daily_bin1674.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/670730/ltcube_673228801_673488001_4FGL_J1510.1+5702_daily_bin1674.fits
.....................!
real 193.94
user 188.20
sys 5.38

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/670730/ft1_filtered_4FGL_J1510.1+5702_daily_bin1674.fits scfile=/scratch/kocevski/670730/ft2_4FGL_J1510.1+5702_daily_bin1674.fits outfile=/scratch/kocevski/670730/cmap_673228801_673488001_4FGL_J1510.1+5702_daily_bin1674.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/670730/ft1_filtered_4FGL_J1510.1+5702_daily_bin1674.fits scfile=/scratch/kocevski/670730/ft2_4FGL_J1510.1+5702_daily_bin1674.fits outfile=/scratch/kocevski/670730/cmap_HighResolution_673228801_673488001_4FGL_J1510.1+5702_daily_bin1674.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.56
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/670730/ft1_filtered_4FGL_J1510.1+5702_daily_bin1674.fits', '/scratch/kocevski/670730/ft2_4FGL_J1510.1+5702_daily_bin1674.fits', expMap='/scratch/kocevski/670730/expmap_673228801_673488001_4FGL_J1510.1+5702_daily_bin1674.fits', expCube='/scratch/kocevski/670730/ltcube_673228801_673488001_4FGL_J1510.1+5702_daily_bin1674.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/670730/Model_4FGL_J1510.1+5702_daily_bin1674.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  1.000e-04  1.000e+04 ( 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/670730/ft1_filtered_4FGL_J1510.1+5702_daily_bin1674.fits
Spacecraft file(s): /scratch/kocevski/670730/ft2_4FGL_J1510.1+5702_daily_bin1674.fits
Exposure map: /scratch/kocevski/670730/expmap_673228801_673488001_4FGL_J1510.1+5702_daily_bin1674.fits
Exposure cube: /scratch/kocevski/670730/ltcube_673228801_673488001_4FGL_J1510.1+5702_daily_bin1674.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/670730/Model_4FGL_J1510.1+5702_daily_bin1674.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) = 11906.1041265

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.1865       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .71484E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.703       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .53402E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.725       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .15464       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.7524       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.1344       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.2368       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.8655       1.0000         .10000E-03   10000.    
    17 'norm      '    2.9318       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.2681       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.2821       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    19.601       1.0000         .10000E-03   10000.    
    23 'norm      '    1.0216       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .66307       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    26.461       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10553E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    6.3028       1.0000         .10000E-03   10000.    
    31 'Normalizat'    1.1120       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .83990       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.

 FCN=   11906.08     FROM MIGRAD    STATUS=CONVERGED    897 CALLS     4532 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.511       -.37888E-06** at limit **
   2  norm          .10000E-03    13.559       -.41578E-06** at limit **
   3  norm          4.1882        3.1422       -.75382E-08   -.21076E-03
   4  Prefactor     .10000E-03    8.6298       -.17847E-06** at limit **
   5  Prefactor     .10001E-03    431.37       -.50034E-05** at limit **
   6  Prefactor     .10000E-03    22.027       -.33559E-06** at limit **
   7  Prefactor     26.737        33.321       -.12164E-05   -.11946E-03
   8  Prefactor     .10000E-03    2.5617        .85746E-06** at limit **
   9  Prefactor     .47559E-01    2.1883       -.24644E-05    .10323E-02
  10  Prefactor     18.770        18.058       -.21183E-05   -.18190E-03
  11  Prefactor     .64559E-03    9.4311       -.88572E-06** at limit **
  12  Prefactor     .10000E-03    17.815        .11941E-05** at limit **
  13  Prefactor     3.7507        25.369        .15989E-05   -.56034E-04
  14  Prefactor     8.1359        9.0685        .15813E-07   -.11052E-03
  15  Prefactor     1.2353        6.1186        .52530E-05    .30353E-03
  16  Prefactor     5.8644        11.106        .53507E-06   -.20897E-04
  17  norm          2.9319        1.3169       -.20072E-07   -.29807E-03
  18  Prefactor     .10000E-03    3.0166        .21517E-06** at limit **
  19  Prefactor     5.2672        3.9577        .52074E-07   -.37242E-04
  20  Prefactor     5.2804        5.2425        .17714E-06   -.15037E-03
  21  Prefactor     .10000E-03    4.8064       -.59129E-07** at limit **
  22  Prefactor     19.599        14.157        .10875E-06   -.29691E-05
  23  norm          1.0205        1.5803        .20716E-07    .10927E-03
  24  Prefactor     .10000E-03    19.773        .37712E-06** at limit **
  25  Prefactor     .10000E-03    2.9265       -.22033E-06** at limit **
  26  norm          .66459        2.4438       -.17369E-06   -.27915E-03
  27  Prefactor     .10000E-03    31.344        .11188E-05** at limit **
  28  Prefactor     26.457        33.690        .43611E-06   -.21716E-04
  29  Prefactor     .10000E-03    1.9325        .41491E-06** at limit **
  30  Prefactor     6.3011        5.3777        .29284E-06   -.59541E-04
  31  Normalizat    1.1121        .13243       -.12107E-05   -.42825E-03
  32  Prefactor     .83998        .13763        .15326E-06   -.98468E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.18822
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 26.7371
  Prefactor  = 0.0001
  Prefactor  = 0.0475595
  Prefactor  = 18.7696
  Prefactor  = 0.000645591
  Prefactor  = 0.0001
  Prefactor  = 3.75067
  Prefactor  = 8.13591
  Prefactor  = 1.23533
  Prefactor  = 5.86442
  norm       = 2.93188
  Prefactor  = 0.0001
  Prefactor  = 5.26721
  Prefactor  = 5.28045
  Prefactor  = 0.0001
  Prefactor  = 19.5985
  norm       = 1.02047
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.664594
  Prefactor  = 0.0001
  Prefactor  = 26.4571
  Prefactor  = 0.0001
  Prefactor  = 6.30113
  Normalizat = 1.1121
  Prefactor  = 0.839978  **********
 **   18 **HESSE 
 **********

 FCN=   11906.08     FROM HESSE     STATUS=OK           675 CALLS     5207 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    13.557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.1882        3.1572        .80069E-03   -1.5299    
   4  Prefactor     .10000E-03    8.6367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    431.22        .20968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    22.071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     26.737        33.556        .77524E-04   -1.4673    
   8  Prefactor     .10000E-03    2.6135        .17064E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .47559E-01    11.343        .16409E-02   -1.5664    
  10  Prefactor     18.770        18.524        .92558E-04   -1.4841    
  11  Prefactor     .64559E-03    8.9256        .98452E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.7507        25.162        .20843E-03   -1.5321    
  14  Prefactor     8.1359        9.0470        .14057E-03   -1.5137    
  15  Prefactor     1.2353        7.2186        .20182E-02   -1.5486    
  16  Prefactor     5.8644        11.066        .82909E-03   -1.5224    
  17  norm          2.9319        1.3108        .77912E-04   -1.5365    
  18  Prefactor     .10000E-03    3.0415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.2672        3.9494        .17512E-03   -1.5249    
  20  Prefactor     5.2804        5.2547        .17488E-03   -1.5248    
  21  Prefactor     .10000E-03    4.8402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     19.599        14.158        .90467E-04   -1.4822    
  23  norm          1.0205        1.4235        .16274E-02   -1.5506    
  24  Prefactor     .10000E-03    19.802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    8.0667        .32960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .66459        6.5835        .28046E-02   -1.5545    
  27  Prefactor     .10000E-03    32.056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     26.457        33.553        .77877E-04   -1.4679    
  29  Prefactor     .10000E-03    5.7555        .29195E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     6.3011        5.3558        .15989E-03   -1.5206    
  31  Normalizat    1.1121        .14749        .21211E-03   -.89364    
  32  Prefactor     .83998        .15504        .26548E-03   -.98271    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.58759e-09
Minuit parameter uncertainties:
  1  8.18181e-08
  2  5.17607e-05
  3  3.15731
  4  8.87567e-06
  5  0.0033001
  6  5.16475e-05
  7  33.5801
  8  1.70461e-05
  9  1.46771
  10  18.5294
  11  0.139587
  12  0.00016739
  13  19.4409
  14  9.04856
  15  5.97325
  16  11.0702
  17  1.3108
  18  1.29886e-05
  19  3.94957
  20  5.2552
  21  1.74979e-05
  22  14.1602
  23  1.42358
  24  8.64022e-05
  25  5.65483e-05
  26  4.18376
  27  0.000163615
  28  33.5766
  29  9.47145e-05
  30  5.3562
  31  0.147547
  32  0.155124DDone.

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

Extracting fit parameters...

4FGL J1510.1+5702
   Spectrum: PowerLaw
344    Prefactor:  5.280e+00  5.255e+00  1.000e-04  1.000e+04 ( 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.400e-01  1.551e-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:  1.112e+00  1.475e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.24
Ra Dec: 227.542 57.040
Photon Index (Fixed Index): 2.88 +/- 0.00
Photon Flux (Fixed Index): 2.63e-08 +/- 2.61e-08
Energy Flux (Fixed Index): 5.59e-06 +/- 5.57e-06

TS (Fixed Index): 1.24
Ra Dec: 227.542 57.040
Photon Flux Upper Limit: 7.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/670730/likelihoodResults_673228801_673488001_4FGL_J1510.1+5702_daily_bin1674.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) = 11906.0019833
delta logL = 0.0756963873264

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11906.0001152
delta logL = 0.0775644900514

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9563       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2771       1.0000          .0000       10.000    
     3 'Normalizat'    1.1046       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84663       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=   11906.00     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      286 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9567        7.0986        .18971E-03    .24809E-03
   2  Index         3.2770        1.3747        .12193E-01    .61710E-04
   3  Normalizat    1.1046        .14226        .21274E-03    .74625E-03
   4  Prefactor     .84669        .15472        .26456E-03    .45198E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.95674
  Index      = 3.277
  Normalizat = 1.10456
  Prefactor  = 0.846685
 **********
 **   18 **HESSE 
 **********

 FCN=   11906.00     FROM HESSE     STATUS=OK            25 CALLS      311 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9567        5.7095        .75885E-05   -1.5310    
   2  Index         3.2770        1.1100        .48773E-03   -.35181    
   3  Normalizat    1.1046        .14248        .42548E-04   -.89606    
   4  Prefactor     .84669        .15476        .10582E-04   -.98030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52133e-10
Minuit parameter uncertainties:
  1  5.71029
  2  1.12059
  3  0.142531
  4  0.154838
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/670730': 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) = 11906.000115
delta logL = 0.0775646658331

Extracting fit parameters...

4FGL J1510.1+5702
   Spectrum: PowerLaw
344    Prefactor:  3.957e+00  5.710e+00  1.000e-04  1.000e+04 ( 1.000e-12)
345        Index:  3.277e+00  1.121e+00  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:  8.467e-01  1.548e-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:  1.105e+00  1.425e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.41
Ra Dec: 227.542 57.040
Photon Index (Free Index): 3.28 +/- 1.12
Photon Flux (Free Index): 3.04e-08 +/- 2.89e-08
Energy Flux (Free Index): 5.41e-06 +/- 5.19e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/670730/cmap_HighResolution_673228801_673488001_4FGL_J1510.1+5702_daily_bin1674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.17e-03', comment='SUCCESS', photon_flux='2.63e-08', energy_flux2='5.41e-06', photon_flux_error='2.61e-08', dlogl='7.76e-02', energy_flux='5.59e-06', photon_flux2='3.04e-08', job_status='DONE', time_completed='2022-05-06 03:23:29.912991', photon_index_error2='1.12', photon_index2='3.28', ts='1.24', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='7.75e-08', energy_flux_error2='5.19e-06', EG='1.11', time_epoch_completed='1651832609.91', return_code='0', job_id='670730', GAL2='0.85', EG2='1.10', return_code2='0', energy_flux_error='5.57e-06', photon_flux_error2='2.89e-08', ts2='1.41', photon_index='2.88' WHERE bin_id='1674' AND source_name='4FGL J1510.1+5702' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May  6 03:23:29 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 670671: <4FGL_J1510.1+5702_daily_bin1674> in cluster <slac> Done

Job <4FGL_J1510.1+5702_daily_bin1674> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri May  6 00:07:51 2022
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:52:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:52:53 2022
Terminated at Fri May  6 03:22:56 2022
Results reported at Fri May  6 03:22:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.1+5702_daily_bin1674 227.542 57.0398 673228801 673488001 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 :                                   1783.19 sec.
    Max Memory :                                 619 MB
    Average Memory :                             327.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1803 sec.
    Turnaround time :                            11705 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 670730: <4FGL_J1510.1+5702_daily_bin1674> in cluster <slac> Done

Job <4FGL_J1510.1+5702_daily_bin1674> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri May  6 00:07:53 2022
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:53:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:53:20 2022
Terminated at Fri May  6 03:23:30 2022
Results reported at Fri May  6 03:23:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.1+5702_daily_bin1674 227.542 57.0398 673228801 673488001 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 :                                   1788.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             336.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1811 sec.
    Turnaround time :                            11737 sec.

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

