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 4 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_J1510.1+5702_daily_bin1774
RA = 227.542, Dec = 57.0398
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='685405', job_status='RUN', time_executed='2023-03-02 00:55:34.026991', time_epoch_executed='1677747334.03' WHERE source_name='4FGL J1510.1+5702' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/685405

Creating custom pfile directory:
/scratch/kocevski/685405/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/685405/ft1_4FGL_J1510.1+5702_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/685405/ft2_4FGL_J1510.1+5702_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/685405/ft1_4FGL_J1510.1+5702_daily_bin1774.fits outfile=/scratch/kocevski/685405/ft1_filteredMKT_4FGL_J1510.1+5702_daily_bin1774.fits ra=227.542 dec=57.0398 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.85
user 2.64
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/685405/ft2_4FGL_J1510.1+5702_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/685405/ft1_filteredMKT_4FGL_J1510.1+5702_daily_bin1774.fits evtable="EVENTS" outfile="/scratch/kocevski/685405/ft1_filtered_4FGL_J1510.1+5702_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.48
user 0.34
sys 0.13

Number of photons that the gtmktime cut: 763

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/685405/ft1_filtered_4FGL_J1510.1+5702_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/685405/ft2_4FGL_J1510.1+5702_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/685405/ltcube_699148801_699408001_4FGL_J1510.1+5702_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/685405/ft2_4FGL_J1510.1+5702_daily_bin1774.fits
.....................!
real 12.36
user 12.02
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/685405/ft1_filtered_4FGL_J1510.1+5702_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/685405/ft2_4FGL_J1510.1+5702_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/685405/ltcube_699148801_699408001_4FGL_J1510.1+5702_daily_bin1774.fits outfile=/scratch/kocevski/685405/expmap_699148801_699408001_4FGL_J1510.1+5702_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/685405/ltcube_699148801_699408001_4FGL_J1510.1+5702_daily_bin1774.fits
.....................!
real 190.63
user 186.43
sys 3.89

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/685405/ft1_filtered_4FGL_J1510.1+5702_daily_bin1774.fits scfile=/scratch/kocevski/685405/ft2_4FGL_J1510.1+5702_daily_bin1774.fits outfile=/scratch/kocevski/685405/cmap_699148801_699408001_4FGL_J1510.1+5702_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=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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/685405/ft1_filtered_4FGL_J1510.1+5702_daily_bin1774.fits scfile=/scratch/kocevski/685405/ft2_4FGL_J1510.1+5702_daily_bin1774.fits outfile=/scratch/kocevski/685405/cmap_HighResolution_699148801_699408001_4FGL_J1510.1+5702_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=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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/685405/ft1_filtered_4FGL_J1510.1+5702_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/685405/ft2_4FGL_J1510.1+5702_daily_bin1774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/685405/Model_4FGL_J1510.1+5702_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/685405/ft1_filtered_4FGL_J1510.1+5702_daily_bin1774.fits.....................!
real 62.93
user 61.63
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/685405/ft1_filtered_4FGL_J1510.1+5702_daily_bin1774.fits', '/scratch/kocevski/685405/ft2_4FGL_J1510.1+5702_daily_bin1774.fits', expMap='/scratch/kocevski/685405/expmap_699148801_699408001_4FGL_J1510.1+5702_daily_bin1774.fits', expCube='/scratch/kocevski/685405/ltcube_699148801_699408001_4FGL_J1510.1+5702_daily_bin1774.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/685405/Model_4FGL_J1510.1+5702_daily_bin1774.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/685405/ft1_filtered_4FGL_J1510.1+5702_daily_bin1774.fits
Spacecraft file(s): /scratch/kocevski/685405/ft2_4FGL_J1510.1+5702_daily_bin1774.fits
Exposure map: /scratch/kocevski/685405/expmap_699148801_699408001_4FGL_J1510.1+5702_daily_bin1774.fits
Exposure cube: /scratch/kocevski/685405/ltcube_699148801_699408001_4FGL_J1510.1+5702_daily_bin1774.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/685405/Model_4FGL_J1510.1+5702_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) = 8293.66112423

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0954       1.0000          .0000       .10000E+07
     2 'Prefactor '    .37897E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .41546E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .13762E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .19494E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .87216       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.4585       1.0000          .0000       .10000E+07
     8 'Prefactor '    .17314       1.0000          .0000       .10000E+07
     9 'Prefactor '    .13344E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    11.871       1.0000          .0000       .10000E+07
    11 'Prefactor '    .22371E-03   1.0000          .0000       .10000E+07
    12 'norm      '    5.4643       1.0000          .0000       .10000E+07
    13 'Prefactor '    .79361E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .16087E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    8.9983       1.0000          .0000       .10000E+07
    16 'Prefactor '    .58095E-05   1.0000          .0000       .10000E+07
    17 'norm      '    .49101       1.0000          .0000       .10000E+07
    18 'Prefactor '    .19120E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .16194E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .21590E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    1.8495       1.0000          .0000       .10000E+07
    22 'Prefactor '    .65666E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    3.0455       1.0000          .0000       .10000E+07
    24 'Prefactor '    5.9166       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0547       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1479       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=   8293.643     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     2265 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0950        2.3885        .11007E-06   -.10887E-02
   2  Prefactor     .15304E-05    29.507       -.86073E-06** at limit **
   3  Prefactor     .11102E-09    .84459       -.19058E-08** at limit **
   4  Prefactor     .14616E-06    12.099       -.11727E-05** at limit **
   5  Prefactor      .0000        2.2112       -.29905E-06** at limit **
   6  Prefactor     .87214        1.3076        .92229E-07   -.16756E-02
   7  Prefactor     6.4628        1.0172       -.90640E-09   -.76434E-03
   8  Prefactor     .18261E-04    17.290        .23665E-07** at limit **
   9  Prefactor     .58509E-07    8.1235       -.13240E-06** at limit **
  10  Prefactor     11.883        1.0463       -.16192E-08   -.16169E-02
  11  Prefactor     .44242E-07    6.8892        .84448E-07** at limit **
  12  norm          5.4639        1.9586        .38045E-08    .17223E-02
  13  Prefactor     .11602E-07    6.6349       -.35550E-07** at limit **
  14  Prefactor      .0000        1.9580        .17939E-06** at limit **
  15  Prefactor     8.9839        7.2601       -.14569E-07    .75730E-03
  16  Prefactor     .61118E-07    15.674       -.74370E-06** at limit **
  17  norm          .48862        2.6990        .41966E-07    .75302E-03
  18  Prefactor     .52292E-06    45.188       -.12885E-05** at limit **
  19  Prefactor      .0000        4.5002       -.17355E-06** at limit **
  20  norm           .0000        2.1631        .18270E-07** at limit **
  21  Prefactor     1.8099        1.2110       -.94355E-08   -.23508E-02
  22  Prefactor     .14493E-05    11.860       -.11361E-05** at limit **
  23  Prefactor     3.0169        5.0699        .20134E-06   -.68340E-03
  24  Prefactor     5.9099        7.2902        .42959E-07    .79802E-03
  25  Normalizat    1.0548        .18545       -.13422E-05    .27491E-03
  26  Prefactor     1.1480        .20155       -.53163E-05    .25391E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.095
  Prefactor  = 1.53044e-06
  Prefactor  = 1.11022e-10
  Prefactor  = 1.46161e-07
  Prefactor  = 0
  Prefactor  = 0.872136
  Prefactor  = 6.46276
  Prefactor  = 1.82611e-05
  Prefactor  = 5.85088e-08
  Prefactor  = 11.8831
  Prefactor  = 4.42424e-08
  norm       = 5.46388
  Prefactor  = 1.16018e-08
  Prefactor  = 0
  Prefactor  = 8.98392
  Prefactor  = 6.11178e-08
  norm       = 0.488619
  Prefactor  = 5.22915e-07
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.80991
  Prefactor  = 1.44929e-06
  Prefactor  = 3.01693
  Prefactor  = 5.90986
  Normalizat = 1.05485
  Prefactor  = 1.14803
 **********
 **   18 **HESSE 
 **********

 FCN=   8293.643     FROM HESSE     STATUS=OK           506 CALLS     2771 TOTAL
                     EDM=   .61E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0950        2.3874        .71276E-03   -1.5679    
   2  Prefactor     .15304E-05    34.528        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-09    91.647        .15895E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .14616E-06    21.098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.2122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .87214        1.3419        .47704E-03   -1.5689    
   7  Prefactor     6.4628        15.821        .39468E-03   -1.5657    
   8  Prefactor     .18261E-04    84.870        .12275E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .58509E-07    8.3298        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.883        17.277        .29049E-03   -1.5639    
  11  Prefactor     .44242E-07    7.0376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.4639        1.9811        .42961E-03   -1.5661    
  13  Prefactor     .11602E-07    6.6760        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        1.9565        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.9839        7.2396        .33388E-03   -1.5648    
  16  Prefactor     .61118E-07    16.404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .48862        2.6561        .79619E-03   -1.5694    
  18  Prefactor     .52292E-06    46.558        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        4.4566        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        2.1610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.8099        41.642        .76636E-03   -1.5681    
  22  Prefactor     .14493E-05    23.669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     3.0169        5.0867        .58114E-03   -1.5673    
  24  Prefactor     5.9099        7.2990        .41260E-03   -1.5659    
  25  Normalizat    1.0548        .15437        .40252E-01   -.91215    
  26  Prefactor     1.1480        .16701        .57528E-01   -.87946    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.08727e-07
Minuit parameter uncertainties:
  1  2.38736
  2  0.0145388
  3  0.000174852
  4  0.0035124
  5  1.32509e-05
  6  1.34186
  7  15.8207
  8  0.0787368
  9  0.00139613
  10  17.2773
  11  0.00111567
  12  1.98108
  13  0.000556252
  14  8.77095e-06
  15  7.23965
  16  0.00200255
  17  2.27844
  18  0.00986861
  19  1.54007e-05
  20  1.22946e-06
  21  17.363
  22  0.0117139
  23  5.08672
  24  7.29898
  25  0.154434
  26  0.167085
Done.

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

Extracting fit parameters...

4FGL J1510.1+5702
   Spectrum: PowerLaw
344    Prefactor:  8.984e+00  7.240e+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.148e+00  1.671e-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.055e+00  1.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.04
Ra Dec: 227.542 57.040
Photon Index (Fixed Index): 2.88 +/- 0.00
Photon Flux (Fixed Index): 4.47e-08 +/- 3.60e-08
Energy Flux (Fixed Index): 9.52e-06 +/- 7.67e-06

TS (Fixed Index): 2.04
Ra Dec: 227.542 57.040
Photon Flux Upper Limit: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.24e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/685405/likelihoodResults_699148801_699408001_4FGL_J1510.1+5702_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) = 8293.627006
delta logL = 0.0156462572231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8293.61910058
delta logL = 0.0235516756911

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.9857       1.0000          .0000       .10000E+07
     2 'Index     '    3.0392       1.0000          .0000       10.000    
     3 'Normalizat'    1.0511       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1514       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=   8293.619     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      238 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9843        8.7727        .14183E-04    .13467E-01
   2  Index         3.0394        .79847        .87935E-02    .29273E-03
   3  Normalizat    1.0510        .18350        .23810E-03   -.84598E-03
   4  Prefactor     1.1515        .20094        .25408E-03   -.66250E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.98429
  Index      = 3.03941
  Normalizat = 1.05105
  Prefactor  = 1.15145
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9843        8.2299        .56731E-06   -1.5651    
   2  Index         3.0394        .74905        .35174E-03   -.40293    
   3  Normalizat    1.0510        .18377        .47620E-04   -.91339    
   4  Prefactor     1.1515        .20114        .50815E-04   -.87839    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35945e-09
Minuit parameter uncertainties:
  1  8.22991
  2  0.7524
  3  0.183882
  4  0.201275
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/685405': 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) = 8293.61910047
delta logL = 0.0235517899655

Extracting fit parameters...

4FGL J1510.1+5702
   Spectrum: PowerLaw
344    Prefactor:  7.984e+00  8.230e+00  0.000e+00  1.000e+06 ( 1.000e-12)
345        Index:  3.039e+00  7.524e-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:  1.151e+00  2.013e-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.051e+00  1.839e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.09
Ra Dec: 227.542 57.040
Photon Index (Free Index): 3.04 +/- 0.75
Photon Flux (Free Index): 4.70e-08 +/- 3.82e-08
Energy Flux (Free Index): 9.21e-06 +/- 7.54e-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/685405/cmap_HighResolution_699148801_699408001_4FGL_J1510.1+5702_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.24e-03', comment='SUCCESS', photon_flux='4.47e-08', energy_flux2='9.21e-06', photon_flux_error='3.60e-08', dlogl='2.36e-02', energy_flux='9.52e-06', photon_flux2='4.70e-08', job_status='DONE', time_completed='2023-03-02 01:10:49.702104', photon_index_error2='0.75', photon_index2='3.04', ts='2.04', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='1.16e-07', energy_flux_error2='7.54e-06', EG='1.05', time_epoch_completed='1677748249.7', return_code='0', job_id='685405', GAL2='1.15', EG2='1.05', return_code2='0', energy_flux_error='7.67e-06', photon_flux_error2='3.82e-08', ts2='2.09', photon_index='2.88' WHERE bin_id='1774' AND source_name='4FGL J1510.1+5702' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 01:10:49 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0024>
Subject: Job 685405: <4FGL_J1510.1+5702_daily_bin1774> in cluster <slac> Done

Job <4FGL_J1510.1+5702_daily_bin1774> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Mar  2 00:55:20 2023
Job was executed on host(s) <bullet0024>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 00:55:21 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:55:21 2023
Terminated at Thu Mar  2 01:10:50 2023
Results reported at Thu Mar  2 01:10:50 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.1+5702_daily_bin1774 227.542 57.0398 699148801 699408001 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 :                                   917.13 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             338.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   929 sec.
    Turnaround time :                            930 sec.

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

