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


Performing analysis on: 4FGL_J1510.8+7959_monthly_bin169
RA = 227.705, Dec = 79.991
tmin = 675043201, tmax = 677635201
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='175133', job_status='RUN', time_executed='2022-06-23 02:34:09.715753', time_epoch_executed='1655976849.72' WHERE source_name='4FGL J1510.8+7959' and cadence='monthly' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/175133

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/175133/ft1_4FGL_J1510.8+7959_monthly_bin169.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/175133/ft2_4FGL_J1510.8+7959_monthly_bin169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/175133/ft1_4FGL_J1510.8+7959_monthly_bin169.fits outfile=/scratch/kocevski/175133/ft1_filteredMKT_4FGL_J1510.8+7959_monthly_bin169.fits ra=227.705 dec=79.991 rad=12.0 tmin=675043201.0 tmax=677635201.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 27.84
user 27.04
sys 0.71

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/175133/ft2_4FGL_J1510.8+7959_monthly_bin169.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/175133/ft2_4FGL_J1510.8+7959_monthly_bin169.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/175133/ft1_filteredMKT_4FGL_J1510.8+7959_monthly_bin169.fits evtable="EVENTS" outfile="/scratch/kocevski/175133/ft1_filtered_4FGL_J1510.8+7959_monthly_bin169.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.86
user 0.66
sys 0.19

Number of photons that the gtmktime cut: 12990

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/175133/ft1_filtered_4FGL_J1510.8+7959_monthly_bin169.fits" evtable="EVENTS" scfile=/scratch/kocevski/175133/ft2_4FGL_J1510.8+7959_monthly_bin169.fits sctable="SC_DATA" outfile=/scratch/kocevski/175133/ltcube_675043201_677635201_4FGL_J1510.8+7959_monthly_bin169.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/175133/ft2_4FGL_J1510.8+7959_monthly_bin169.fits
.....................!
real 153.18
user 152.35
sys 0.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/175133/ft1_filtered_4FGL_J1510.8+7959_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/175133/ft2_4FGL_J1510.8+7959_monthly_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/175133/ltcube_675043201_677635201_4FGL_J1510.8+7959_monthly_bin169.fits outfile=/scratch/kocevski/175133/expmap_675043201_677635201_4FGL_J1510.8+7959_monthly_bin169.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/175133/ltcube_675043201_677635201_4FGL_J1510.8+7959_monthly_bin169.fits
.....................!
real 195.63
user 189.33
sys 5.72

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

Setting source of interest to:
4FGL J1510.8+7959 @ 227.705 79.991

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/175133/ft1_filtered_4FGL_J1510.8+7959_monthly_bin169.fits scfile=/scratch/kocevski/175133/ft2_4FGL_J1510.8+7959_monthly_bin169.fits outfile=/scratch/kocevski/175133/cmap_675043201_677635201_4FGL_J1510.8+7959_monthly_bin169.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.705 yref=79.991 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.82
user 0.65
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/175133/ft1_filtered_4FGL_J1510.8+7959_monthly_bin169.fits scfile=/scratch/kocevski/175133/ft2_4FGL_J1510.8+7959_monthly_bin169.fits outfile=/scratch/kocevski/175133/cmap_HighResolution_675043201_677635201_4FGL_J1510.8+7959_monthly_bin169.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.705 yref=79.991 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.82
user 0.65
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/175133/ft1_filtered_4FGL_J1510.8+7959_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/175133/ft2_4FGL_J1510.8+7959_monthly_bin169.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/175133/Model_4FGL_J1510.8+7959_monthly_bin169.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/175133/ft1_filtered_4FGL_J1510.8+7959_monthly_bin169.fits.....................!
real 1435.99
user 1429.85
sys 2.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/175133/ft1_filtered_4FGL_J1510.8+7959_monthly_bin169.fits', '/scratch/kocevski/175133/ft2_4FGL_J1510.8+7959_monthly_bin169.fits', expMap='/scratch/kocevski/175133/expmap_675043201_677635201_4FGL_J1510.8+7959_monthly_bin169.fits', expCube='/scratch/kocevski/175133/ltcube_675043201_677635201_4FGL_J1510.8+7959_monthly_bin169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/175133/Model_4FGL_J1510.8+7959_monthly_bin169.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1510.8+7959'

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  6.990e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
343        Index:  2.218e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
344        Scale:  1.698e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/175133/ft1_filtered_4FGL_J1510.8+7959_monthly_bin169.fits
Spacecraft file(s): /scratch/kocevski/175133/ft2_4FGL_J1510.8+7959_monthly_bin169.fits
Exposure map: /scratch/kocevski/175133/expmap_675043201_677635201_4FGL_J1510.8+7959_monthly_bin169.fits
Exposure cube: /scratch/kocevski/175133/ltcube_675043201_677635201_4FGL_J1510.8+7959_monthly_bin169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/175133/Model_4FGL_J1510.8+7959_monthly_bin169.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) = 136049.447787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1072       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .78854       1.0000         .10000E-03   10000.    
     3 'norm      '    8.9431       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .86958       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.2712       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10243E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.3704       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.3009       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.4473       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.747       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.5338       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .13022E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.4761       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.688       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.279       1.0000         .10000E-03   10000.    
    18 'norm      '    2.7507       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .20780E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .17391       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.5761       1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.3458       1.0000         .10000E-03   10000.    
    23 'norm      '    7.6221       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .93932       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0048       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   136049.4     FROM MIGRAD    STATUS=CONVERGED    571 CALLS     2958 TOTAL
                     EDM=   .82E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1039        2.0056         .0000       -.15961E-02
   2  Prefactor     .78793        1.9128         .0000        .32664    
   3  norm          8.9431        1.9698         .0000        .37788E-02
   4  Prefactor     .86987        3.3903         .0000        .30786    
   5  Prefactor     5.2715        2.4686         .0000        .55463E-01
   6  Prefactor     .10000E-03    1.7945         .0000    ** at limit **
   7  norm          1.3703        .55339         .0000        .52635E-02
   8  Prefactor     3.2941        5.9484         .0000       -.61523E-03
   9  Prefactor     1.4457        2.5607         .0000        .12711    
  10  Prefactor     11.752        5.8745         .0000        .16619E-02
  11  Prefactor     1.5343        3.0036         .0000        .31072E-02
  12  Prefactor     .10000E-03    .24606         .0000    ** at limit **
  13  Prefactor     .10000E-03    1.3247         .0000    ** at limit **
  14  Prefactor     .10000E-03    4.0875         .0000    ** at limit **
  15  Prefactor     1.4653        4.4145         .0000        .41730E-01
  16  Prefactor     12.676        6.5134         .0000       -.49614E-02
  17  Prefactor     14.286        10.498         .0000       -.46255E-02
  18  norm          2.7515        2.0261         .0000       -.22478E-02
  19  Prefactor     .10000E-03    5.1468         .0000    ** at limit **
  20  Prefactor     .17405        .44386         .0000        .11499E-02
  21  Prefactor     9.5701        5.7330         .0000       -.13153E-02
  22  Prefactor     5.3503        9.0126         .0000        .39904E-02
  23  norm          7.6221        .30281         .0000        .85850E-03
  24  Normalizat    .93935        .40341E-01     .0000        .74668E-03
  25  Prefactor     1.0048        .26183E-01     .0000        .43730E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.10393
  Prefactor  = 0.787933
  norm       = 8.94307
  Prefactor  = 0.869868
  Prefactor  = 5.27154
  Prefactor  = 0.0001
  norm       = 1.37029
  Prefactor  = 3.29411
  Prefactor  = 1.4457
  Prefactor  = 11.7516
  Prefactor  = 1.53427
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.46531
  Prefactor  = 12.6759
  Prefactor  = 14.2864
  norm       = 2.75148
  Prefactor  = 0.0001
  Prefactor  = 0.174047
  Prefactor  = 9.57007
  Prefactor  = 5.35029
  norm       = 7.62209
  Normalizat = 0.939346
  Prefactor  = 1.0048
 **********
 **   18 **HESSE 
 **********

 FCN=   136049.4     FROM HESSE     STATUS=OK           445 CALLS     3403 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1039        2.0066        .15047E-03   -1.5175    
   2  Prefactor     .78793        1.9062        .24794E-02   -1.5530    
   3  norm          8.9431        1.6004        .13403E-03   -1.5110    
   4  Prefactor     .86987        1.3253        .11152       -1.5521    
   5  Prefactor     5.2715        2.4400        .87534E-03   -1.5249    
   6  Prefactor     .10000E-03    1.7965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3703        .54546        .16310E-03   -1.5474    
   8  Prefactor     3.2941        5.9439        .22283E-03   -1.5345    
   9  Prefactor     1.4457        2.5570        .17914E-02   -1.5467    
  10  Prefactor     11.752        5.8494        .11688E-03   -1.5022    
  11  Prefactor     1.5343        2.9693        .34451E-03   -1.5460    
  12  Prefactor     .10000E-03    1.8106        .34613E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.3595        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.1253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.4653        4.4289        .17673E-02   -1.5466    
  16  Prefactor     12.676        6.5165        .11245E-03   -1.4996    
  17  Prefactor     14.286        10.500        .10600E-03   -1.4952    
  18  norm          2.7515        2.0228        .24545E-03   -1.5376    
  19  Prefactor     .10000E-03    5.1506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .17405        .44059        .39432E-04   -1.5625    
  21  Prefactor     9.5701        5.6938        .12950E-03   -1.5089    
  22  Prefactor     5.3503        9.0208        .86910E-03   -1.5245    
  23  norm          7.6221        .30278        .37969E-04   -1.5156    
  24  Normalizat    .93935        .44535E-01    .29469E-03   -.95091    
  25  Prefactor     1.0048        .29508E-01    .19433E-03   -.92570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.03182e-08
Minuit parameter uncertainties:
  1  2.00666
  2  1.90638
  3  1.60046
  4  1.32533
  5  2.44005
  6  1.1945e-05
  7  0.545465
  8  5.94499
  9  2.55724
  10  5.84969
  11  2.96959
  12  1.12944e-05
  13  2.08329e-06
  14  3.08919e-05
  15  4.42988
  16  6.5169
  17  10.5018
  18  2.02288
  19  9.17052e-05
  20  0.440596
  21  5.69407
  22  9.02308
  23  0.302784
  24  0.044537
  25  0.0295087
Done.

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

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  1.429e+01  1.050e+01  1.000e-04  1.000e+04 ( 1.000e-14)
343        Index:  2.218e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
344        Scale:  1.698e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
626    Prefactor:  1.005e+00  2.951e-02  0.000e+00  1.000e+01 ( 1.000e+00)
627        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
628        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
625   Normalization:  9.393e-01  4.454e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.52
Ra Dec: 227.705 79.991
Photon Index (Fixed Index): 2.22 +/- 0.00
Photon Flux (Fixed Index): 6.27e-09 +/- 4.61e-09
Energy Flux (Fixed Index): 2.73e-06 +/- 2.00e-06

TS (Fixed Index): 2.52
Ra Dec: 227.705 79.991
Photon Flux Upper Limit: 1.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.18e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/175133/likelihoodResults_675043201_677635201_4FGL_J1510.8+7959_monthly_bin169.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) = 136049.384792
delta logL = 0.00372816581512

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 136049.383609
delta logL = 0.00491126260022

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.725       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2766       1.0000          .0000       10.000    
     3 'Normalizat'    .93873       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0050       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   136049.4     FROM MIGRAD    STATUS=FAILED        81 CALLS      256 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.725        12.100        .10811E-03    .40379E-03
   2  Index         2.2766        .60561        .35214E-02    .12206E-02
   3  Normalizat    .93873        .42882E-01    .29478E-03   -.24127E-02
   4  Prefactor     1.0050        .28949E-01    .19432E-03   -.22912E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   136049.4     FROM SIMPLEX   STATUS=UNCHANGED     70 CALLS      326 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.725        12.100        .14440E-03   -1.4967    
   2  Index         2.2766        .60561        .47372E-03   -.57600    
   3  Normalizat    .93873        .42882E-01    .65268E-04   -.95112    
   4  Prefactor     1.0050        .28949E-01    .35733E-04   -.92563    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   136049.4     FROM MIGRAD    STATUS=CONVERGED     26 CALLS      352 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.726        11.802        .43246E-05    .25237E-03
   2  Index         2.2765        .59066        .14085E-03   -.28927E-04
   3  Normalizat    .93873        .42881E-01    .11791E-04    .92560E-04
   4  Prefactor     1.0050        .28959E-01    .38864E-04    .89864E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.7258
  Index      = 2.27654
  Normalizat = 0.938733
  Prefactor  = 1.00499
 **********
 **   18 **HESSE 
 **********

 FCN=   136049.4     FROM HESSE     STATUS=OK            23 CALLS      375 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.726        11.908        .86492E-06   -1.4967    
   2  Index         2.2765        .59118        .28171E-04   -.57602    
   3  Normalizat    .93873        .42841E-01    .23582E-05   -.95112    
   4  Prefactor     1.0050        .28944E-01    .77727E-05   -.92563    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13711e-10
Minuit parameter uncertainties:
  1  11.9101
  2  0.593159
  3  0.0428423
  4  0.0289446
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/175133': 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) = 136049.383609
delta logL = 0.00491127927671

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  1.373e+01  1.191e+01  1.000e-04  1.000e+04 ( 1.000e-14)
343        Index:  2.277e+00  5.932e-01  0.000e+00  1.000e+01 (-1.000e+00)
344        Scale:  1.698e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
626    Prefactor:  1.005e+00  2.894e-02  0.000e+00  1.000e+01 ( 1.000e+00)
627        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
628        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
625   Normalization:  9.387e-01  4.284e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.53
Ra Dec: 227.705 79.991
Photon Index (Free Index): 2.28 +/- 0.59
Photon Flux (Free Index): 6.78e-09 +/- 7.07e-09
Energy Flux (Free Index): 2.67e-06 +/- 2.03e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/175133/cmap_HighResolution_675043201_677635201_4FGL_J1510.8+7959_monthly_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e-03', comment='SUCCESS', photon_flux='6.27e-09', energy_flux2='2.67e-06', photon_flux_error='4.61e-09', dlogl='4.91e-03', energy_flux='2.73e-06', photon_flux2='6.78e-09', job_status='DONE', time_completed='2022-06-23 05:48:39.099048', photon_index_error2='0.59', photon_index2='2.28', ts='2.52', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='1.54e-08', energy_flux_error2='2.03e-06', EG='0.94', time_epoch_completed='1655988519.1', return_code='0', job_id='175133', GAL2='1.00', EG2='0.94', return_code2='0', energy_flux_error='2.00e-06', photon_flux_error2='7.07e-09', ts2='2.53', photon_index='2.22' WHERE bin_id='169' AND source_name='4FGL J1510.8+7959' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Jun 23 05:48:39 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 175133: <4FGL_J1510.8+7959_monthly_bin169> in cluster <slac> Done

Job <4FGL_J1510.8+7959_monthly_bin169> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Jun 23 02:10:26 2022
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 02:31:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 02:31:03 2022
Terminated at Thu Jun 23 05:48:40 2022
Results reported at Thu Jun 23 05:48:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.8+7959_monthly_bin169 227.705 79.991 675043201 677635201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1510.8+7959 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   11615.00 sec.
    Max Memory :                                 791 MB
    Average Memory :                             498.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11857 sec.
    Turnaround time :                            13094 sec.

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

