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 171 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.1+5702_monthly_bin169
RA = 227.542, Dec = 57.0398
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='175131', job_status='RUN', time_executed='2022-06-23 02:33:59.464919', time_epoch_executed='1655976839.46' WHERE source_name='4FGL J1510.1+5702' and cadence='monthly' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/175131

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


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/175131/ft1_4FGL_J1510.1+5702_monthly_bin169.fits outfile=/scratch/kocevski/175131/ft1_filteredMKT_4FGL_J1510.1+5702_monthly_bin169.fits ra=227.542 dec=57.0398 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 28.05
user 27.33
sys 0.58

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/175131/ft2_4FGL_J1510.1+5702_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/175131/ft1_filteredMKT_4FGL_J1510.1+5702_monthly_bin169.fits evtable="EVENTS" outfile="/scratch/kocevski/175131/ft1_filtered_4FGL_J1510.1+5702_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.67
sys 0.18

Number of photons that the gtmktime cut: 8902

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/175131/ft1_filtered_4FGL_J1510.1+5702_monthly_bin169.fits" evtable="EVENTS" scfile=/scratch/kocevski/175131/ft2_4FGL_J1510.1+5702_monthly_bin169.fits sctable="SC_DATA" outfile=/scratch/kocevski/175131/ltcube_675043201_677635201_4FGL_J1510.1+5702_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/175131/ft2_4FGL_J1510.1+5702_monthly_bin169.fits
.....................!
real 134.70
user 133.93
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/175131/ft1_filtered_4FGL_J1510.1+5702_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/175131/ft2_4FGL_J1510.1+5702_monthly_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/175131/ltcube_675043201_677635201_4FGL_J1510.1+5702_monthly_bin169.fits outfile=/scratch/kocevski/175131/expmap_675043201_677635201_4FGL_J1510.1+5702_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/175131/ltcube_675043201_677635201_4FGL_J1510.1+5702_monthly_bin169.fits
.....................!
real 193.16
user 187.17
sys 5.40

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/175131/ft1_filtered_4FGL_J1510.1+5702_monthly_bin169.fits scfile=/scratch/kocevski/175131/ft2_4FGL_J1510.1+5702_monthly_bin169.fits outfile=/scratch/kocevski/175131/cmap_675043201_677635201_4FGL_J1510.1+5702_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.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.81
user 0.63
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/175131/ft1_filtered_4FGL_J1510.1+5702_monthly_bin169.fits scfile=/scratch/kocevski/175131/ft2_4FGL_J1510.1+5702_monthly_bin169.fits outfile=/scratch/kocevski/175131/cmap_HighResolution_675043201_677635201_4FGL_J1510.1+5702_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.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.81
user 0.64
sys 0.16

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

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

Using source of interest name: '4FGL J1510.1+5702'

4FGL J1510.1+5702
   Spectrum: PowerLaw
344    Prefactor:  1.597e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
345        Index:  2.882e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
346        Scale:  4.831e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .78018       1.0000         .10000E-03   10000.    
     2 'norm      '    13.101       1.0000         .10000E-03   10000.    
     3 'norm      '    1.2619       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .54240       1.0000         .10000E-03   10000.    
     5 'Prefactor '    38.535       1.0000         .10000E-03   10000.    
     6 'Prefactor '    77.811       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.0706       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .78562       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.7898       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.072       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.916       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.5585       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.054       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.6421       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11945E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.5917       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .16172       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.2664       1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.662       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    12.212       1.0000         .10000E-03   10000.    
    23 'norm      '    1.5508       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .92576E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    2.8690       1.0000         .10000E-03   10000.    
    26 'norm      '    .45545       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .96822       1.0000         .10000E-03   10000.    
    28 'Prefactor '    6.9651       1.0000         .10000E-03   10000.    
    29 'Prefactor '    6.2881       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .18148E-03   1.0000         .10000E-03   10000.    
    31 'Normalizat'    .94032       1.0000         .10000E-01   10.000    
    32 'Prefactor '    1.0754       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   96312.68     FROM MIGRAD    STATUS=CONVERGED    867 CALLS     3901 TOTAL
                     EDM=   .65E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .77574        2.4638         .0000        .16386E-02
   2  norm          13.101        9.3172         .0000        .18824E-03
   3  norm          1.2618        .87681         .0000        .14109E-01
   4  Prefactor     .54262        3.8180         .0000        .90740E-01
   5  Prefactor     38.538        37.830         .0000       -.51639E-02
   6  Prefactor     77.811        13.612         .0000        .19626E-03
   7  Prefactor     8.0715        7.7747         .0000        .46038E-03
   8  Prefactor     .78545        .83168         .0000        .85373E-02
   9  Prefactor     2.7897        .68494         .0000        .37294E-02
  10  Prefactor     10.072        6.3613         .0000        .10152E-02
  11  Prefactor     10.916        6.8190         .0000        .12872E-02
  12  Prefactor     2.5574        8.3548         .0000        .75216E-02
  13  Prefactor     12.055        5.3758         .0000        .20708E-02
  14  Prefactor     3.6424        3.0812         .0000        .34889E-02
  15  Prefactor     .10001E-03    .64295         .0000    ** at limit **
  16  Prefactor     .10000E-03    .98104         .0000    ** at limit **
  17  norm          2.5916        .39911         .0000        .14839E-02
  18  Prefactor     .16339        .54831         .0000        .66894E-02
  19  Prefactor     1.2664        .83438         .0000        .44414E-02
  20  Prefactor     12.662        2.0963         .0000        .25364E-01
  21  Prefactor     .10001E-03    .54211         .0000    ** at limit **
  22  Prefactor     12.212        4.7890         .0000       -.27420E-02
  23  norm          1.5508        .45598         .0000        .17979E-02
  24  Prefactor     .10000E-03    3.0441         .0000    ** at limit **
  25  Prefactor     2.8690        1.5483         .0000        .52169E-02
  26  norm          .45557        .70340         .0000        .77642E-02
  27  Prefactor     .96817        2.5200         .0000        .34911E-02
  28  Prefactor     6.9650        13.706         .0000        .11306E-03
  29  Prefactor     6.2882        1.6250         .0000        .31257E-02
  30  Prefactor     .10000E-03    .29978         .0000    ** at limit **
  31  Normalizat    .94036        .43424E-01     .0000        .11368E-03
  32  Prefactor     1.0754        .46048E-01     .0000        .89025E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.775745
  norm       = 13.1012
  norm       = 1.2618
  Prefactor  = 0.542615
  Prefactor  = 38.538
  Prefactor  = 77.8107
  Prefactor  = 8.07148
  Prefactor  = 0.785448
  Prefactor  = 2.78971
  Prefactor  = 10.0716
  Prefactor  = 10.9161
  Prefactor  = 2.55736
  Prefactor  = 12.0546
  Prefactor  = 3.64236
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  norm       = 2.59163
  Prefactor  = 0.163394
  Prefactor  = 1.26638
  Prefactor  = 12.6615
  Prefactor  = 0.000100007
  Prefactor  = 12.212
  norm       = 1.55085
  Prefactor  = 0.0001
  Prefactor  = 2.86901
  norm       = 0.455569
  Prefactor  = 0.968173
  Prefactor  = 6.965
  Prefactor  = 6.28822
  Prefactor  = 0.0001
  Normalizat = 0.940355
  Prefactor  = 1.07536
 **********
 **   18 **HESSE 
 **********

 FCN=   96312.68     FROM HESSE     STATUS=OK           697 CALLS     4598 TOTAL
                     EDM=   .99E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .77574        18.438        .82812E-02   -1.5532    
   2  norm          13.101        9.3128        .11067E-03   -1.4984    
   3  norm          1.2618        .86098        .22777E-03   -1.5483    
   4  Prefactor     .54262        3.7975        .22885E-02   -1.5561    
   5  Prefactor     38.538        37.830        .64566E-04   -1.4466    
   6  Prefactor     77.811        13.587        .45525E-04   -1.3941    
   7  Prefactor     8.0715        7.6486        .14113E-03   -1.5140    
   8  Prefactor     .78545        .77127        .27651E-02   -1.5531    
   9  Prefactor     2.7897        .67780        .11118E-03   -1.5374    
  10  Prefactor     10.072        6.3388        .12626E-03   -1.5073    
  11  Prefactor     10.916        6.7716        .12126E-03   -1.5047    
  12  Prefactor     2.5574        8.3011        .12762E-02   -1.5388    
  13  Prefactor     12.055        5.3696        .11538E-03   -1.5013    
  14  Prefactor     3.6424        3.0570        .21168E-03   -1.5326    
  15  Prefactor     .10001E-03    2.5565        .48272E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    .99439        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.5916        .39819        .73942E-04   -1.5386    
  18  Prefactor     .16339        4.3363        .38053E-02   -1.5627    
  19  Prefactor     1.2664        .82842        .22296E-03   -1.5483    
  20  Prefactor     12.662        2.0844        .56286E-03   -1.4996    
  21  Prefactor     .10001E-03    2.5717        .43313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     12.212        4.7236        .11463E-03   -1.5009    
  23  norm          1.5508        .45415        .10973E-03   -1.5459    
  24  Prefactor     .10000E-03    3.0427        .18336       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     2.8690        1.5488        .23998E-03   -1.5369    
  26  norm          .45557        1.3702        .28059E-02   -1.5573    
  27  Prefactor     .96817        8.7457        .73783E-02   -1.5511    
  28  Prefactor     6.9650        13.683        .15201E-03   -1.5180    
  29  Prefactor     6.2882        1.6215        .16008E-03   -1.5206    
  30  Prefactor     .10000E-03    4.3088        .32515E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    .94036        .51725E-01    .23362E-03   -.95056    
  32  Prefactor     1.0754        .55732E-01    .24805E-03   -.90258    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.89186e-07
Minuit parameter uncertainties:
  1  7.56597
  2  9.3138
  3  0.860984
  4  2.87095
  5  37.8537
  6  13.5874
  7  7.64952
  8  0.77128
  9  0.677804
  10  6.33921
  11  6.77203
  12  8.30479
  13  5.36986
  14  3.0571
  15  0.000259286
  16  3.23217e-06
  17  0.398189
  18  1.6831
  19  0.828426
  20  2.08439
  21  0.000275684
  22  4.72378
  23  0.454155
  24  3.34189e-05
  25  1.54877
  26  1.37025
  27  5.82056
  28  13.6892
  29  1.62149
  30  5.19114e-05
  31  0.0517279
  32  0.0557351
Done.

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

Extracting fit parameters...

4FGL J1510.1+5702
   Spectrum: PowerLaw
344    Prefactor:  1.266e+01  2.084e+00  1.000e-04  1.000e+04 ( 1.000e-12)
345        Index:  2.882e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
346        Scale:  4.831e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  1.075e+00  5.574e-02  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.404e-01  5.173e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 72.23
Ra Dec: 227.542 57.040
Photon Index (Fixed Index): 2.88 +/- 0.00
Photon Flux (Fixed Index): 6.31e-08 +/- 1.04e-08
Energy Flux (Fixed Index): 1.34e-05 +/- 2.21e-06

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) = 96309.204043
delta logL = 3.47245147708

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 96309.2016362
delta logL = 3.47485818846

Fit tolerance = 1e-08

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

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

 FCN=   96309.20     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      224 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.471        33.229        .25457E-02    .56184E-03
   2  Index         2.4425        1.5631        .23743        .19292E-03
   3  Normalizat    .96214        .25478E-01    .45690E-01    .14047E-03
   4  Prefactor     1.0569        .26395E-01    .56505E-01    .16861E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.4714
  Index      = 2.44245
  Normalizat = 0.962141
  Prefactor  = 1.05693
 **********
 **   18 **HESSE 
 **********

 FCN=   96309.20     FROM HESSE     STATUS=OK            33 CALLS      257 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.471        2.5445        .10183E-03   -1.4921    
   2  Index         2.4425        .15626        .83059E-02   -.53694    
   3  Normalizat    .96214        .49716E-01    .23127E-03   -.94310    
   4  Prefactor     1.0569        .55329E-01    .24985E-03   -.90855    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.40609e-10
Minuit parameter uncertainties:
  1  2.54453
  2  0.156299
  3  0.0497185
  4  0.0553316
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/175131': 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) = 96309.2016356
delta logL = 3.47485885667

Extracting fit parameters...

4FGL J1510.1+5702
   Spectrum: PowerLaw
344    Prefactor:  1.547e+01  2.545e+00  1.000e-04  1.000e+04 ( 1.000e-12)
345        Index:  2.442e+00  1.563e-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.057e+00  5.533e-02  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.621e-01  4.972e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 78.43
Ra Dec: 227.542 57.040
Photon Index (Free Index): 2.44 +/- 0.16
Photon Flux (Free Index): 5.03e-08 +/- 9.90e-09
Energy Flux (Free Index): 1.56e-05 +/- 2.83e-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/175131/cmap_HighResolution_675043201_677635201_4FGL_J1510.1+5702_monthly_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.31e-08', energy_flux2='1.56e-05', photon_flux_error='1.04e-08', dlogl='3.47e+00', energy_flux='1.34e-05', photon_flux2='5.03e-08', job_status='DONE', time_completed='2022-06-23 05:10:55.529437', photon_index_error2='0.16', photon_index2='2.44', ts='72.23', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='2.83e-06', EG='0.94', time_epoch_completed='1655986255.53', return_code='0', job_id='175131', GAL2='1.06', EG2='0.96', return_code2='0', energy_flux_error='2.21e-06', photon_flux_error2='9.90e-09', ts2='78.43', photon_index='2.88' WHERE bin_id='169' AND source_name='4FGL J1510.1+5702' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Jun 23 05:10:55 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0063>
Subject: Job 175131: <4FGL_J1510.1+5702_monthly_bin169> in cluster <slac> Done

Job <4FGL_J1510.1+5702_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) <bullet0063>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 02:31:00 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:00 2022
Terminated at Thu Jun 23 05:10:56 2022
Results reported at Thu Jun 23 05:10:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1510.1+5702_monthly_bin169 227.542 57.0398 675043201 677635201 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 :                                   9370.94 sec.
    Max Memory :                                 649 MB
    Average Memory :                             457.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2952 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   9596 sec.
    Turnaround time :                            10830 sec.

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

