/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 2 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 = 7469
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1510.8+7959_daily_bin721
RA = 227.705, Dec = 79.991
tmin = 426211201, tmax = 426470401
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='203190', job_status='RUN', time_executed='2021-09-11 08:36:19.907150', time_epoch_executed='1631374579.91' WHERE source_name='4FGL J1510.8+7959' and cadence='daily' and bin_id='721'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/203190

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/203190/ft1_4FGL_J1510.8+7959_daily_bin721.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/203190/ft2_4FGL_J1510.8+7959_daily_bin721.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/203190/ft1_4FGL_J1510.8+7959_daily_bin721.fits outfile=/scratch/kocevski/203190/ft1_filteredMKT_4FGL_J1510.8+7959_daily_bin721.fits ra=227.705 dec=79.991 rad=12.0 tmin=426211201.0 tmax=426470401.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.59
user 3.37
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/203190/ft2_4FGL_J1510.8+7959_daily_bin721.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/203190/ft1_filteredMKT_4FGL_J1510.8+7959_daily_bin721.fits evtable="EVENTS" outfile="/scratch/kocevski/203190/ft1_filtered_4FGL_J1510.8+7959_daily_bin721.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.52
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/203190/ft1_filtered_4FGL_J1510.8+7959_daily_bin721.fits" evtable="EVENTS" scfile=/scratch/kocevski/203190/ft2_4FGL_J1510.8+7959_daily_bin721.fits sctable="SC_DATA" outfile=/scratch/kocevski/203190/ltcube_426211201_426470401_4FGL_J1510.8+7959_daily_bin721.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/203190/ft2_4FGL_J1510.8+7959_daily_bin721.fits
.....................!
real 14.04
user 13.66
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/203190/ft1_filtered_4FGL_J1510.8+7959_daily_bin721.fits evtable="EVENTS" scfile=/scratch/kocevski/203190/ft2_4FGL_J1510.8+7959_daily_bin721.fits sctable="SC_DATA" expcube=/scratch/kocevski/203190/ltcube_426211201_426470401_4FGL_J1510.8+7959_daily_bin721.fits outfile=/scratch/kocevski/203190/expmap_426211201_426470401_4FGL_J1510.8+7959_daily_bin721.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/203190/ltcube_426211201_426470401_4FGL_J1510.8+7959_daily_bin721.fits
.....................!
real 189.79
user 185.12
sys 4.27

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/203190/ft1_filtered_4FGL_J1510.8+7959_daily_bin721.fits scfile=/scratch/kocevski/203190/ft2_4FGL_J1510.8+7959_daily_bin721.fits outfile=/scratch/kocevski/203190/cmap_426211201_426470401_4FGL_J1510.8+7959_daily_bin721.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/203190/ft1_filtered_4FGL_J1510.8+7959_daily_bin721.fits scfile=/scratch/kocevski/203190/ft2_4FGL_J1510.8+7959_daily_bin721.fits outfile=/scratch/kocevski/203190/cmap_HighResolution_426211201_426470401_4FGL_J1510.8+7959_daily_bin721.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.55
user 0.40
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/203190/ft1_filtered_4FGL_J1510.8+7959_daily_bin721.fits', '/scratch/kocevski/203190/ft2_4FGL_J1510.8+7959_daily_bin721.fits', expMap='/scratch/kocevski/203190/expmap_426211201_426470401_4FGL_J1510.8+7959_daily_bin721.fits', expCube='/scratch/kocevski/203190/ltcube_426211201_426470401_4FGL_J1510.8+7959_daily_bin721.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/203190/Model_4FGL_J1510.8+7959_daily_bin721.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/203190/ft1_filtered_4FGL_J1510.8+7959_daily_bin721.fits
Spacecraft file(s): /scratch/kocevski/203190/ft2_4FGL_J1510.8+7959_daily_bin721.fits
Exposure map: /scratch/kocevski/203190/expmap_426211201_426470401_4FGL_J1510.8+7959_daily_bin721.fits
Exposure cube: /scratch/kocevski/203190/ltcube_426211201_426470401_4FGL_J1510.8+7959_daily_bin721.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/203190/Model_4FGL_J1510.8+7959_daily_bin721.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) = 9149.62174838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10289E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.261       1.0000         .10000E-03   10000.    
     3 'norm      '    3.9918       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .23088E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.4951       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .98612       1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.597       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.8621       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .50994       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.620       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    24.947       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.0021       1.0000         .10000E-03   10000.    
    18 'norm      '    9.2869       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .55518       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.5698       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10462E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .90060       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .64370       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1365       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 MINIMIZATION HAS CONVERGED.

 FCN=   9149.574     FROM MIGRAD    STATUS=CONVERGED    573 CALLS     2531 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.786        .24606E-06** at limit **
   2  Prefactor     10.263        9.5997       -.12021E-06    .57993E-04
   3  norm          3.9993        3.7764       -.27474E-06    .16495E-03
   4  Prefactor     .10000E-03    15.993       -.64558E-06** at limit **
   5  Prefactor     8.4996        8.0649        .23593E-05   -.41057E-03
   6  Prefactor     .10000E-03    19.022        .33862E-07** at limit **
   7  norm          .98691        1.8421       -.85376E-06   -.13898E-02
   8  Prefactor     21.515        36.940       -.77760E-06   -.12961E-03
   9  Prefactor     .10000E-03    6.1213       -.18571E-07** at limit **
  10  Prefactor     .10000E-03    13.902        .95562E-07** at limit **
  11  Prefactor     4.8529        17.616       -.30715E-06    .11072E-04
  12  Prefactor     .53168        7.2791        .42279E-06    .23379E-04
  13  Prefactor     11.631        16.135       -.19465E-06    .41869E-04
  14  Prefactor     .10000E-03    40.191        .25360E-06** at limit **
  15  Prefactor     24.949        22.839        .16075E-07   -.11134E-04
  16  Prefactor     .10000E-03    18.649        .48196E-07** at limit **
  17  Prefactor     1.9334        110.41        .20334E-06   -.22199E-04
  18  norm          9.2867        14.329       -.17825E-06   -.30248E-04
  19  Prefactor     .10000E-03    37.174       -.19182E-06** at limit **
  20  Prefactor     .55543        1.9301        .14503E-05   -.29454E-03
  21  Prefactor     9.5690        19.308       -.17671E-05   -.84156E-04
  22  Prefactor     .10000E-03    114.28        .15138E-05** at limit **
  23  norm          .90059        .51374        .21510E-07   -.22870E-03
  24  Normalizat    .64361        .15319       -.11183E-05    .12689E-04
  25  Prefactor     1.1365        .96824E-01    .75608E-07   -.38962E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.263
  norm       = 3.9993
  Prefactor  = 0.0001
  Prefactor  = 8.49956
  Prefactor  = 0.0001
  norm       = 0.986907
  Prefactor  = 21.5149
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.85291
  Prefactor  = 0.531682
  Prefactor  = 11.6309
  Prefactor  = 0.0001
  Prefactor  = 24.9486
  Prefactor  = 0.0001
  Prefactor  = 1.93343
  norm       = 9.2867
  Prefactor  = 0.0001
  Prefactor  = 0.555428
  Prefactor  = 9.56897
  Prefactor  = 0.000100001
  norm       = 0.900589
  Normalizat = 0.643611
  Prefactor  = 1.13651
 **********
 **   18 **HESSE 
 **********

 FCN=   9149.574     FROM HESSE     STATUS=OK           435 CALLS     2966 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.263        9.5788        .12509E-03   -1.5067    
   3  norm          3.9993        3.7138        .16627E-03   -1.5308    
   4  Prefactor     .10000E-03    16.349        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.4996        8.0168        .68768E-03   -1.5125    
   6  Prefactor     .10000E-03    19.037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .98691        1.6015        .18252E-02   -1.5509    
   8  Prefactor     21.515        36.948        .86188E-04   -1.4780    
   9  Prefactor     .10000E-03    6.1530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    13.905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.8529        17.628        .18243E-03   -1.5267    
  12  Prefactor     .53168        44.212        .43732E-02   -1.5562    
  13  Prefactor     11.631        16.130        .11752E-03   -1.5026    
  14  Prefactor     .10000E-03    40.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     24.949        22.887        .80202E-04   -1.4709    
  16  Prefactor     .10000E-03    18.681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.9334        112.29        .29268E-03   -1.5430    
  18  norm          9.2867        14.309        .13151E-03   -1.5098    
  19  Prefactor     .10000E-03    37.185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .55543        1.8333        .20752E-03   -1.5559    
  21  Prefactor     9.5690        18.660        .12954E-03   -1.5089    
  22  Prefactor     .10000E-03    115.02        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .90059        .51040        .49382E-04   -1.5518    
  24  Normalizat    .64361        .17211        .31724E-03   -1.0616    
  25  Prefactor     1.1365        .10873        .17108E-03   -.88308    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.9041e-10
Minuit parameter uncertainties:
  1  4.06997e-06
  2  9.5802
  3  3.71396
  4  4.65956e-05
  5  8.01782
  6  4.0389e-05
  7  1.60158
  8  36.9876
  9  4.29735e-06
  10  1.66386e-05
  11  17.6465
  12  9.70323
  13  16.136
  14  0.000104126
  15  22.8955
  16  3.91581e-05
  17  29.526
  18  14.3141
  19  0.00013517
  20  1.83348
  21  18.6709
  22  0.000623697
  23  0.510401
  24  0.172249
  25  0.108748
Done.

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

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  1.933e+00  2.953e+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.137e+00  1.087e-01  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:  6.436e-01  1.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/203190/likelihoodResults_426211201_426470401_4FGL_J1510.8+7959_daily_bin721.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) = 9149.57315619
delta logL = 0.0013185328844

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9149.57314692
delta logL = 0.00132780985768

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9335       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3686       1.0000          .0000       10.000    
     3 'Normalizat'    .64336       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1365       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.

 FCN=   9149.573     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      224 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9702        366.76        .74666E-02   -.21387E-03
   2  Index         2.3679        .91637        .50000        .20442E-04
   3  Normalizat    .64335        .85356E-02    .71686E-01   -.30375E-03
   4  Prefactor     1.1365        .59983E-02    .36339E-01   -.10817E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.97021
  Index      = 2.3679
  Normalizat = 0.643345
  Prefactor  = 1.13653
 **********
 **   18 **HESSE 
 **********

 FCN=   9149.573     FROM HESSE     STATUS=OK            31 CALLS      255 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9702        90.405        .29866E-03   -1.5427    
   2  Index         2.3679        2.7424        .88361E-02   -.55439    
   3  Normalizat    .64335        .14751        .31730E-03   -1.0617    
   4  Prefactor     1.1365        .10371        .17108E-03   -.88307    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47936e-09
Minuit parameter uncertainties:
  1  26.7344
  2  2.98068
  3  0.147599
  4  0.10373
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/203190': 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) = 9149.57314576
delta logL = 0.00132896933064

Extracting fit parameters...

4FGL J1510.8+7959
   Spectrum: PowerLaw
342    Prefactor:  1.970e+00  2.673e+01  1.000e-04  1.000e+04 ( 1.000e-14)
343        Index:  2.368e+00  2.981e+00  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.137e+00  1.037e-01  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:  6.433e-01  1.476e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 227.705 79.991

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/203190/cmap_HighResolution_426211201_426470401_4FGL_J1510.8+7959_daily_bin721.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.17e-03', job_status='DONE', photon_flux_upper_limit='4.16e-08', time_completed='2021-09-11 08:52:10.737116', job_id='203190', GAL2='1.14', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1631375530.74', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.33e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='721' AND source_name='4FGL J1510.8+7959' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 08:52:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 203190: <4FGL_J1510.8+7959_daily_bin721> in cluster <slac> Done

Job <4FGL_J1510.8+7959_daily_bin721> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 11 08:36:08 2021
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 08:36:09 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 11 08:36:09 2021
Terminated at Sat Sep 11 08:52:11 2021
Results reported at Sat Sep 11 08:52:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.8+7959_daily_bin721 227.705 79.991 426211201 426470401 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 :                                   949.00 sec.
    Max Memory :                                 1209 MB
    Average Memory :                             356.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   962 sec.
    Turnaround time :                            963 sec.

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

