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 29 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7469
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1510.1+5702_daily_bin1715
RA = 227.542, Dec = 57.0398
tmin = 683856001, tmax = 684115201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='158143', job_status='RUN', time_executed='2022-09-16 18:57:05.948327', time_epoch_executed='1663379825.95' WHERE source_name='4FGL J1510.1+5702' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158143

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158143/ft1_4FGL_J1510.1+5702_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158143/ft2_4FGL_J1510.1+5702_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158143/ft1_4FGL_J1510.1+5702_daily_bin1715.fits outfile=/scratch/kocevski/158143/ft1_filteredMKT_4FGL_J1510.1+5702_daily_bin1715.fits ra=227.542 dec=57.0398 rad=12.0 tmin=683856001.0 tmax=684115201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.48
user 3.25
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/158143/ft2_4FGL_J1510.1+5702_daily_bin1715.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/158143/ft1_filteredMKT_4FGL_J1510.1+5702_daily_bin1715.fits evtable="EVENTS" outfile="/scratch/kocevski/158143/ft1_filtered_4FGL_J1510.1+5702_daily_bin1715.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 541

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158143/ft1_filtered_4FGL_J1510.1+5702_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/158143/ft2_4FGL_J1510.1+5702_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/158143/ltcube_683856001_684115201_4FGL_J1510.1+5702_daily_bin1715.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /scratch/kocevski/158143/ft2_4FGL_J1510.1+5702_daily_bin1715.fits
.....................!
real 14.32
user 13.93
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158143/ft1_filtered_4FGL_J1510.1+5702_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/158143/ft2_4FGL_J1510.1+5702_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/158143/ltcube_683856001_684115201_4FGL_J1510.1+5702_daily_bin1715.fits outfile=/scratch/kocevski/158143/expmap_683856001_684115201_4FGL_J1510.1+5702_daily_bin1715.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/158143/ltcube_683856001_684115201_4FGL_J1510.1+5702_daily_bin1715.fits
.....................!
real 192.28
user 186.94
sys 4.94

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/158143/ft1_filtered_4FGL_J1510.1+5702_daily_bin1715.fits scfile=/scratch/kocevski/158143/ft2_4FGL_J1510.1+5702_daily_bin1715.fits outfile=/scratch/kocevski/158143/cmap_683856001_684115201_4FGL_J1510.1+5702_daily_bin1715.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.57
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158143/ft1_filtered_4FGL_J1510.1+5702_daily_bin1715.fits scfile=/scratch/kocevski/158143/ft2_4FGL_J1510.1+5702_daily_bin1715.fits outfile=/scratch/kocevski/158143/cmap_HighResolution_683856001_684115201_4FGL_J1510.1+5702_daily_bin1715.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.58
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/158143/ft1_filtered_4FGL_J1510.1+5702_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/158143/ft2_4FGL_J1510.1+5702_daily_bin1715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/158143/Model_4FGL_J1510.1+5702_daily_bin1715.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/158143/ft1_filtered_4FGL_J1510.1+5702_daily_bin1715.fits.....................!
real 48.81
user 47.20
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/158143/ft1_filtered_4FGL_J1510.1+5702_daily_bin1715.fits', '/scratch/kocevski/158143/ft2_4FGL_J1510.1+5702_daily_bin1715.fits', expMap='/scratch/kocevski/158143/expmap_683856001_684115201_4FGL_J1510.1+5702_daily_bin1715.fits', expCube='/scratch/kocevski/158143/ltcube_683856001_684115201_4FGL_J1510.1+5702_daily_bin1715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/158143/Model_4FGL_J1510.1+5702_daily_bin1715.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/158143/ft1_filtered_4FGL_J1510.1+5702_daily_bin1715.fits
Spacecraft file(s): /scratch/kocevski/158143/ft2_4FGL_J1510.1+5702_daily_bin1715.fits
Exposure map: /scratch/kocevski/158143/expmap_683856001_684115201_4FGL_J1510.1+5702_daily_bin1715.fits
Exposure cube: /scratch/kocevski/158143/ltcube_683856001_684115201_4FGL_J1510.1+5702_daily_bin1715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/158143/Model_4FGL_J1510.1+5702_daily_bin1715.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10937E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .96585E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    26.433       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.4823       1.0000          .0000       .10000E+07
     5 'Prefactor '    .29723       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.1544       1.0000          .0000       .10000E+07
     7 'Prefactor '    .20583E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    24.240       1.0000          .0000       .10000E+07
     9 'Prefactor '    15.191       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24176E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .47375E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .85636       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.2957       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.3606       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.3749       1.0000          .0000       .10000E+07
    16 'Prefactor '    .52821E-03   1.0000          .0000       .10000E+07
    17 'norm      '    2.4540       1.0000          .0000       .10000E+07
    18 'Prefactor '    72.234       1.0000          .0000       .10000E+07
    19 'Prefactor '    .10010E-03   1.0000          .0000       .10000E+07
    20 'norm      '    1.2474       1.0000          .0000       .10000E+07
    21 'Prefactor '    25.402       1.0000          .0000       .10000E+07
    22 'Prefactor '    .64618E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    1.1840       1.0000          .0000       .10000E+07
    24 'Prefactor '    6.1564       1.0000          .0000       .10000E+07
    25 'Normalizat'    .91763       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0017       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=   5888.287     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2253 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.8845        .17249E-06** at limit **
   2  Prefactor     .21594E-07    11.371       -.72053E-06** at limit **
   3  Prefactor     27.058        27.084       -.22264E-05    .16431    
   4  Prefactor     2.5321        4.6236        .13487E-05   -.16499E-01
   5  Prefactor     .31225        6.5582       -.87874E-07    .10252E-03
   6  Prefactor     4.1451        2.7048        .86219E-07   -.40708E-03
   7  Prefactor     .97145E-08    10.183        .59994E-07** at limit **
   8  Prefactor     24.705        41.798       -.31979E-05   -.60651E-01
   9  Prefactor     15.205        1.1818       -.67044E-07    .55557E-04
  10  Prefactor     .20539E-08    21.064        .19108E-05** at limit **
  11  Prefactor     .53735E-07    11.055        .20567E-06** at limit **
  12  norm          .85640        .94202        .27638E-07    .11558E-03
  13  Prefactor     3.3008        6.0281       -.15526E-06    .22493E-03
  14  Prefactor     6.3547        4.4107       -.14756E-08    .16650E-03
  15  Prefactor     4.3706        6.8123       -.29639E-07   -.20354E-04
  16  Prefactor     .11657E-08    9.7725        .26200E-06** at limit **
  17  norm          2.4462        2.3422        .19606E-07    .58255E-03
  18  Prefactor     73.504        84.061       -.22641E-05   -.79480E-01
  19  Prefactor      .0000        1.7200       -.90400E-08** at limit **
  20  norm          1.2529        4.4295       -.88289E-07   -.10361E-03
  21  Prefactor     25.438        1.4653       -.28194E-07    .53933E-01
  22  Prefactor     .41633E-08    31.505       -.26355E-06** at limit **
  23  Prefactor     1.2259        5.7204       -.61034E-07    .67758E-04
  24  Prefactor     6.1839        7.8460       -.47411E-07   -.28772E-03
  25  Normalizat    .91721        .18944        .17156E-05    .25930E-04
  26  Prefactor     1.0012        .20919        .12912E-05    .18588E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 2.15938e-08
  Prefactor  = 27.0579
  Prefactor  = 2.53212
  Prefactor  = 0.312254
  Prefactor  = 4.14509
  Prefactor  = 9.71445e-09
  Prefactor  = 24.7049
  Prefactor  = 15.2049
  Prefactor  = 2.05391e-09
  Prefactor  = 5.37348e-08
  norm       = 0.856398
  Prefactor  = 3.30082
  Prefactor  = 6.35474
  Prefactor  = 4.37056
  Prefactor  = 1.16573e-09
  norm       = 2.4462
  Prefactor  = 73.5038
  Prefactor  = 0
  norm       = 1.25294
  Prefactor  = 25.4383
  Prefactor  = 4.16334e-09
  Prefactor  = 1.22588
  Prefactor  = 6.18387
  Normalizat = 0.917211
  Prefactor  = 1.00124
 **********
 **   18 **HESSE 
 **********

 FCN=   5888.287     FROM HESSE     STATUS=OK           516 CALLS     2769 TOTAL
                     EDM=   .46E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.8793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .21594E-07    11.368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     27.058        55.627        .19454E-03   -1.5604    
   4  Prefactor     2.5321        82.040        .64859E-03   -1.5676    
   5  Prefactor     .31225        3.0684        .47447E-02   -1.5697    
   6  Prefactor     4.1451        2.8151        .49427E-03   -1.5667    
   7  Prefactor     .97145E-08    10.180        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     24.705        43.662        .20316E-03   -1.5609    
   9  Prefactor     15.205        24.632        .25671E-03   -1.5630    
  10  Prefactor     .20539E-08    20.965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .53735E-07    11.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .85640        .94215        .48825E-03   -1.5689    
  13  Prefactor     3.3008        6.0753        .55745E-03   -1.5672    
  14  Prefactor     6.3547        4.4122        .39775E-03   -1.5658    
  15  Prefactor     4.3706        6.8377        .48130E-03   -1.5666    
  16  Prefactor     .11657E-08    9.7707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.4462        2.3717        .65267E-03   -1.5677    
  18  Prefactor     73.504        91.961        .11767E-03   -1.5536    
  19  Prefactor      .0000        1.7195        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.2529        4.5156        .10018E-02   -1.5686    
  21  Prefactor     25.438        32.805        .19845E-03   -1.5607    
  22  Prefactor     .41633E-08    31.536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     1.2259        5.6828        .10489E-02   -1.5686    
  24  Prefactor     6.1839        7.8641        .40438E-03   -1.5658    
  25  Normalizat    .91721        .16072        .45126E-01   -.95858    
  26  Prefactor     1.0012        .17726        .45100E-01   -.92688    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.60732e-06
Minuit parameter uncertainties:
  1  5.69308e-06
  2  0.000990746
  3  55.6277
  4  28.8265
  5  1.95768
  6  2.81506
  7  0.000629799
  8  43.6624
  9  24.6317
  10  0.000414255
  11  0.00154144
  12  0.94215
  13  6.07533
  14  4.41217
  15  6.83776
  16  0.000212041
  17  2.37173
  18  91.9628
  19  5.89252e-07
  20  4.51559
  21  32.8057
  22  0.000725326
  23  5.2788
  24  7.86414
  25  0.160803
  26  0.177365
Done.

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

Extracting fit parameters...

4FGL J1510.1+5702
   Spectrum: PowerLaw
344    Prefactor:  4.371e+00  6.838e+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:  1.001e+00  1.774e-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:  9.172e-01  1.608e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/158143/likelihoodResults_683856001_684115201_4FGL_J1510.1+5702_daily_bin1715.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5888.28503699
delta logL = 0.00233671500973

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5888.27767623
delta logL = 0.00969747820454

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5729       1.0000          .0000       .10000E+07
     2 'Index     '    3.4756       1.0000          .0000       10.000    
     3 'Normalizat'    .90895       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0097       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5888.278     FROM MIGRAD    STATUS=FAILED        86 CALLS      253 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5721        261.27        .17067E-04   -.28794E-01
   2  Index         3.4768        7.9977        .13596E-01   -.34641E-03
   3  Normalizat    .90897        .18064        .22495E-03   -.84004E-03
   4  Prefactor     1.0097        .19784        .24224E-03   -.74781E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5888.278     FROM SIMPLEX   STATUS=UNCHANGED     87 CALLS      340 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5721        261.27        .16060E-04   -.28794E-01
   2  Index         3.4768        7.9977        .23545E-02   -.34641E-03
   3  Normalizat    .90897        .18064        .18866E-03   -.84004E-03
   4  Prefactor     1.0097        .19784        .15874E-03   -.74781E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5888.278     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      372 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5698        30.806        .68270E-06    .10075E-02
   2  Index         3.4777        6.7263        .54383E-03    .10118E-04
   3  Normalizat    .90896        .19787        .44990E-04    .19761E-03
   4  Prefactor     1.0097        .21992        .48448E-04   -.77906E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.56982
  Index      = 3.47772
  Normalizat = 0.908961
  Prefactor  = 1.00971
 **********
 **   18 **HESSE 
 **********

 FCN=   5888.278     FROM HESSE     STATUS=OK            23 CALLS      395 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5698        26.062        .37374E-06   -1.5676    
   2  Index         3.4777        6.7388        .21753E-04   -.30937    
   3  Normalizat    .90896        .19646        .89980E-05   -.96146    
   4  Prefactor     1.0097        .21830        .96896E-05   -.92407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73952e-10
Minuit parameter uncertainties:
  1  16.3676
  2  5.96541
  3  0.196618
  4  0.218494
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158143': 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) = 5888.27767585
delta logL = 0.00969785685993

Extracting fit parameters...

4FGL J1510.1+5702
   Spectrum: PowerLaw
344    Prefactor:  2.570e+00  1.637e+01  0.000e+00  1.000e+06 ( 1.000e-12)
345        Index:  3.478e+00  5.965e+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:  1.010e+00  2.185e-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:  9.090e-01  1.966e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.54
Ra Dec: 227.542 57.040

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/158143/cmap_HighResolution_683856001_684115201_4FGL_J1510.1+5702_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.54e-03', job_status='DONE', photon_flux_upper_limit='9.49e-08', time_completed='2022-09-16 19:09:09.701219', job_id='158143', GAL2='1.01', fit_tolerance='1e-08', EG2='0.91', EG='0.92', time_epoch_completed='1663380549.7', return_code2='0', ts='0.54', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='9.70e-03', ts2='0.57', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='1715' AND source_name='4FGL J1510.1+5702' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 19:09:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 158143: <4FGL_J1510.1+5702_daily_bin1715> in cluster <slac> Done

Job <4FGL_J1510.1+5702_daily_bin1715> 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) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:56:28 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:28 2022
Terminated at Fri Sep 16 19:09:10 2022
Results reported at Fri Sep 16 19:09:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.1+5702_daily_bin1715 227.542 57.0398 683856001 684115201 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 :                                   725.10 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             367.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            825 sec.

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

