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


Performing analysis on: 4FGL_J1253.8+6242_daily_bin1709
RA = 193.467, Dec = 62.7052
tmin = 682300801, tmax = 682560001
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='123345', job_status='RUN', time_executed='2022-09-16 17:03:46.537966', time_epoch_executed='1663373026.54' WHERE source_name='4FGL J1253.8+6242' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/123345

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/123345/ft1_4FGL_J1253.8+6242_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/123345/ft2_4FGL_J1253.8+6242_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/123345/ft1_4FGL_J1253.8+6242_daily_bin1709.fits outfile=/scratch/kocevski/123345/ft1_filteredMKT_4FGL_J1253.8+6242_daily_bin1709.fits ra=193.467 dec=62.7052 rad=12.0 tmin=682300801.0 tmax=682560001.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.74
user 3.51
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/123345/ft2_4FGL_J1253.8+6242_daily_bin1709.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/123345/ft2_4FGL_J1253.8+6242_daily_bin1709.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/123345/ft1_filteredMKT_4FGL_J1253.8+6242_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/123345/ft1_filtered_4FGL_J1253.8+6242_daily_bin1709.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.50
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 616

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/123345/ft1_filtered_4FGL_J1253.8+6242_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/123345/ft2_4FGL_J1253.8+6242_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/123345/ltcube_682300801_682560001_4FGL_J1253.8+6242_daily_bin1709.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/123345/ft2_4FGL_J1253.8+6242_daily_bin1709.fits
.....................!
real 12.75
user 12.38
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/123345/ft1_filtered_4FGL_J1253.8+6242_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/123345/ft2_4FGL_J1253.8+6242_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/123345/ltcube_682300801_682560001_4FGL_J1253.8+6242_daily_bin1709.fits outfile=/scratch/kocevski/123345/expmap_682300801_682560001_4FGL_J1253.8+6242_daily_bin1709.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/123345/ltcube_682300801_682560001_4FGL_J1253.8+6242_daily_bin1709.fits
.....................!
real 190.54
user 185.07
sys 5.08

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

Setting source of interest to:
4FGL J1253.8+6242 @ 193.467 62.7052

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/123345/ft1_filtered_4FGL_J1253.8+6242_daily_bin1709.fits scfile=/scratch/kocevski/123345/ft2_4FGL_J1253.8+6242_daily_bin1709.fits outfile=/scratch/kocevski/123345/cmap_682300801_682560001_4FGL_J1253.8+6242_daily_bin1709.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=193.467 yref=62.7052 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.59
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/123345/ft1_filtered_4FGL_J1253.8+6242_daily_bin1709.fits scfile=/scratch/kocevski/123345/ft2_4FGL_J1253.8+6242_daily_bin1709.fits outfile=/scratch/kocevski/123345/cmap_HighResolution_682300801_682560001_4FGL_J1253.8+6242_daily_bin1709.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=193.467 yref=62.7052 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/123345/ft1_filtered_4FGL_J1253.8+6242_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/123345/ft2_4FGL_J1253.8+6242_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/123345/Model_4FGL_J1253.8+6242_daily_bin1709.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/123345/ft1_filtered_4FGL_J1253.8+6242_daily_bin1709.fits.....................!
real 63.33
user 61.92
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/123345/ft1_filtered_4FGL_J1253.8+6242_daily_bin1709.fits', '/scratch/kocevski/123345/ft2_4FGL_J1253.8+6242_daily_bin1709.fits', expMap='/scratch/kocevski/123345/expmap_682300801_682560001_4FGL_J1253.8+6242_daily_bin1709.fits', expCube='/scratch/kocevski/123345/ltcube_682300801_682560001_4FGL_J1253.8+6242_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/123345/Model_4FGL_J1253.8+6242_daily_bin1709.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1253.8+6242'

4FGL J1253.8+6242
   Spectrum: PowerLaw
369    Prefactor:  7.997e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
370        Index:  1.987e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
371        Scale:  2.277e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/123345/ft1_filtered_4FGL_J1253.8+6242_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/123345/ft2_4FGL_J1253.8+6242_daily_bin1709.fits
Exposure map: /scratch/kocevski/123345/expmap_682300801_682560001_4FGL_J1253.8+6242_daily_bin1709.fits
Exposure cube: /scratch/kocevski/123345/ltcube_682300801_682560001_4FGL_J1253.8+6242_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/123345/Model_4FGL_J1253.8+6242_daily_bin1709.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) = 6678.75388993

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.472       1.0000          .0000       .10000E+07
     2 'Prefactor '    .29204E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .11391E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .11223E-03   1.0000          .0000       .10000E+07
     5 'norm      '    2.7287       1.0000          .0000       .10000E+07
     6 'Prefactor '    .80558E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    14.847       1.0000          .0000       .10000E+07
     8 'norm      '    3.7611       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.2306       1.0000          .0000       .10000E+07
    10 'norm      '    .91388       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10963E-06   1.0000          .0000       .10000E+07
    12 'norm      '    2.5040       1.0000          .0000       .10000E+07
    13 'norm      '    5.6068       1.0000          .0000       .10000E+07
    14 'Prefactor '    .48041E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .19759E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    4.4633       1.0000          .0000       .10000E+07
    17 'Prefactor '    .28365E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    3.6723       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.8238       1.0000          .0000       .10000E+07
    20 'Prefactor '    .37750E-03   1.0000          .0000       .10000E+07
    21 'norm      '    10.490       1.0000          .0000       .10000E+07
    22 'Prefactor '    .14526E-01   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1442       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .79989       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6678.734     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2002 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.462        3.5667        .10042E-06   -.28959E-01
   2  Prefactor     .11102E-09    8.9115        .31456E-06** at limit **
   3  Prefactor      .0000        1.0985        .83559E-10** at limit **
   4  norm           .0000        3.3609        .30595E-07** at limit **
   5  norm          2.7031        4.0936       -.31998E-06   -.22173E-03
   6  Prefactor      .0000        4.7279        .10075E-07** at limit **
   7  Prefactor     15.056        18.946        .10340E-05   -.22431E-02
   8  norm          3.7505        2.3378       -.73892E-07   -.18811E-04
   9  Prefactor     3.6315        21.777       -.20085E-05   -.20874E-02
  10  norm          .89760        2.8711       -.17919E-06    .14640E-02
  11  Prefactor      .0000        1.4261       -.26276E-07** at limit **
  12  norm          2.5021        1.8158       -.14752E-07   -.31970E-02
  13  norm          5.6044        2.6079        .14827E-07    .47255E-03
  14  Prefactor     .55511E-10    60.583       -.64205E-06** at limit **
  15  Prefactor     .99920E-09    15.031       -.75746E-06** at limit **
  16  Prefactor     4.2763        1.9384       -.14339E-06    .59111E-02
  17  Prefactor      .0000        8.2912       -.13828E-06** at limit **
  18  Prefactor     .29453E-05    1822.7       -.11415E-05** at limit **
  19  Prefactor     4.8121        3.6665       -.45877E-07    .11152E-02
  20  Prefactor      .0000        5.1336       -.68004E-07** at limit **
  21  norm          10.519        4.7091        .25568E-06   -.70555E-02
  22  Prefactor     .33307E-09    18.423        .16206E-06** at limit **
  23  Normalizat    1.1479        .18014        .16370E-04   -.61839E-03
  24  Prefactor     .79799        .20983       -.12979E-04   -.29247E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.4624
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  norm       = 0
  norm       = 2.70313
  Prefactor  = 0
  Prefactor  = 15.0558
  norm       = 3.75054
  Prefactor  = 3.63153
  norm       = 0.897596
  Prefactor  = 0
  norm       = 2.50206
  norm       = 5.60437
  Prefactor  = 5.55112e-11
  Prefactor  = 9.99201e-10
  Prefactor  = 4.2763
  Prefactor  = 0
  Prefactor  = 2.94526e-06
  Prefactor  = 4.81212
  Prefactor  = 0
  norm       = 10.519
  Prefactor  = 3.33067e-10
  Normalizat = 1.14787
  Prefactor  = 0.797988
 **********
 **   18 **HESSE 
 **********

 FCN=   6678.734     FROM HESSE     STATUS=OK           447 CALLS     2449 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.462        27.121        .16124E-03   -1.5584    
   2  Prefactor     .11102E-09    8.9953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.0972        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.3616        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.7031        4.2103        .61619E-03   -1.5675    
   6  Prefactor      .0000        4.7207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.056        24.611        .25967E-03   -1.5630    
   8  norm          3.7505        2.3392        .52034E-03   -1.5669    
   9  Prefactor     3.6315        39.494        .48967E-03   -1.5670    
  10  norm          .89760        2.8802        .44805E-03   -1.5689    
  11  Prefactor      .0000        1.4311        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.5021        1.8245        .64552E-03   -1.5676    
  13  norm          5.6044        2.6109        .42403E-03   -1.5661    
  14  Prefactor     .55511E-10    61.719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .99920E-09    15.114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.2763        61.674        .47638E-03   -1.5667    
  17  Prefactor      .0000        8.3290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .29453E-05    2022.2        .52683E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.8121        3.6916        .45780E-03   -1.5664    
  20  Prefactor      .0000        5.1205        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          10.519        4.7178        .30911E-03   -1.5643    
  22  Prefactor     .33307E-09    18.537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1479        .15764        .36431E-01   -.88229    
  24  Prefactor     .79799        .18024        .66189E-01   -.99803    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79175e-08
Minuit parameter uncertainties:
  1  27.1215
  2  6.87376e-05
  3  2.42493e-07
  4  1.1405e-06
  5  4.21026
  6  8.83355e-06
  7  24.6114
  8  2.33916
  9  23.9521
  10  2.88018
  11  1.61361e-07
  12  1.82446
  13  2.61086
  14  0.000132272
  15  0.000248864
  16  32.4802
  17  1.4789e-07
  18  0.154401
  19  3.69165
  20  6.20485e-07
  21  4.71785
  22  0.000154057
  23  0.157701
  24  0.180378
Done.

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

Extracting fit parameters...

4FGL J1253.8+6242
   Spectrum: PowerLaw
369    Prefactor:  5.551e-11  1.323e-04  0.000e+00  1.000e+06 ( 1.000e-14)
370        Index:  1.987e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
371        Scale:  2.277e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  7.980e-01  1.804e-01  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  1.148e+00  1.577e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 193.467 62.705
Photon Flux Upper Limit: 4.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/123345/likelihoodResults_682300801_682560001_4FGL_J1253.8+6242_daily_bin1709.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): 102
logL (Free Index) = 6678.74197648
delta logL = -0.00813386209848

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6678.6973578
delta logL = 0.0364848167301

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6107       1.0000          .0000       .10000E+07
     2 'Index     '    1.2255       1.0000          .0000       10.000    
     3 'Normalizat'    1.1483       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79579       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6678.697     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      320 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.5687        27.631        .78012E-04   -.50714E-04
   2  Index         1.2239        1.3104        .19613E-01    .17004E-04
   3  Normalizat    1.1483        .17388        .20856E-03   -.12974E-04
   4  Prefactor     .79575        .20810        .29316E-03    .13069E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.5687
  Index      = 1.22386
  Normalizat = 1.14834
  Prefactor  = 0.795749
 **********
 **   18 **HESSE 
 **********

 FCN=   6678.697     FROM HESSE     STATUS=OK            25 CALLS      345 TOTAL
                     EDM=   .72E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.5687        28.701        .31205E-05   -1.5657    
   2  Index         1.2239        1.3348        .78450E-03   -.85600    
   3  Normalizat    1.1483        .17405        .83423E-05   -.88214    
   4  Prefactor     .79575        .20830        .11726E-04   -.99885    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.19648e-11
Minuit parameter uncertainties:
  1  27.4615
  2  1.37477
  3  0.174137
  4  0.208507
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/123345': 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) = 6678.69735614
delta logL = 0.0364864759258

Extracting fit parameters...

4FGL J1253.8+6242
   Spectrum: PowerLaw
369    Prefactor:  6.569e+00  2.746e+01  0.000e+00  1.000e+06 ( 1.000e-14)
370        Index:  1.224e+00  1.375e+00  0.000e+00  1.000e+01 (-1.000e+00)
371        Scale:  2.277e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  7.957e-01  2.085e-01  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  1.148e+00  1.741e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 193.467 62.705

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/123345/cmap_HighResolution_682300801_682560001_4FGL_J1253.8+6242_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.19e-03', job_status='DONE', photon_flux_upper_limit='4.26e-08', time_completed='2022-09-16 17:15:58.334157', job_id='123345', GAL2='0.80', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1663373758.33', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='3.65e-02', ts2='0.07', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1709' AND source_name='4FGL J1253.8+6242' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:15:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0188>
Subject: Job 123345: <4FGL_J1253.8+6242_daily_bin1709> in cluster <slac> Done

Job <4FGL_J1253.8+6242_daily_bin1709> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 17:00:21 2022
Job was executed on host(s) <bullet0188>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:01:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 17:01:37 2022
Terminated at Fri Sep 16 17:15:58 2022
Results reported at Fri Sep 16 17:15:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1253.8+6242_daily_bin1709 193.467 62.7052 682300801 682560001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1253.8+6242 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   733.34 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             311.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            937 sec.

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

