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


Performing analysis on: 4FGL_J1253.2+5301_daily_bin1771
RA = 193.307, Dec = 53.0173
tmin = 698371201, tmax = 698630401
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='547616', job_status='RUN', time_executed='2023-02-21 00:53:26.684810', time_epoch_executed='1676969606.68' WHERE source_name='4FGL J1253.2+5301' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/547616

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/547616/ft1_4FGL_J1253.2+5301_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/547616/ft2_4FGL_J1253.2+5301_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/547616/ft1_4FGL_J1253.2+5301_daily_bin1771.fits outfile=/scratch/kocevski/547616/ft1_filteredMKT_4FGL_J1253.2+5301_daily_bin1771.fits ra=193.307 dec=53.0173 rad=12.0 tmin=698371201.0 tmax=698630401.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.18
user 2.89
sys 0.15

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/547616/ft2_4FGL_J1253.2+5301_daily_bin1771.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/547616/ft2_4FGL_J1253.2+5301_daily_bin1771.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/547616/ft1_filteredMKT_4FGL_J1253.2+5301_daily_bin1771.fits evtable="EVENTS" outfile="/scratch/kocevski/547616/ft1_filtered_4FGL_J1253.2+5301_daily_bin1771.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.60
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 193

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/547616/ft1_filtered_4FGL_J1253.2+5301_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/547616/ft2_4FGL_J1253.2+5301_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/547616/ltcube_698371201_698630401_4FGL_J1253.2+5301_daily_bin1771.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/547616/ft2_4FGL_J1253.2+5301_daily_bin1771.fits
.....................!
real 12.37
user 11.96
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/547616/ft1_filtered_4FGL_J1253.2+5301_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/547616/ft2_4FGL_J1253.2+5301_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/547616/ltcube_698371201_698630401_4FGL_J1253.2+5301_daily_bin1771.fits outfile=/scratch/kocevski/547616/expmap_698371201_698630401_4FGL_J1253.2+5301_daily_bin1771.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/547616/ltcube_698371201_698630401_4FGL_J1253.2+5301_daily_bin1771.fits
.....................!
real 191.55
user 186.84
sys 4.23

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

Setting source of interest to:
4FGL J1253.2+5301 @ 193.307 53.0173

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/547616/ft1_filtered_4FGL_J1253.2+5301_daily_bin1771.fits scfile=/scratch/kocevski/547616/ft2_4FGL_J1253.2+5301_daily_bin1771.fits outfile=/scratch/kocevski/547616/cmap_698371201_698630401_4FGL_J1253.2+5301_daily_bin1771.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.307 yref=53.0173 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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/547616/ft1_filtered_4FGL_J1253.2+5301_daily_bin1771.fits scfile=/scratch/kocevski/547616/ft2_4FGL_J1253.2+5301_daily_bin1771.fits outfile=/scratch/kocevski/547616/cmap_HighResolution_698371201_698630401_4FGL_J1253.2+5301_daily_bin1771.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.307 yref=53.0173 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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/547616/ft1_filtered_4FGL_J1253.2+5301_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/547616/ft2_4FGL_J1253.2+5301_daily_bin1771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/547616/Model_4FGL_J1253.2+5301_daily_bin1771.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/547616/ft1_filtered_4FGL_J1253.2+5301_daily_bin1771.fits......................!
real 26.73
user 25.62
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/547616/ft1_filtered_4FGL_J1253.2+5301_daily_bin1771.fits', '/scratch/kocevski/547616/ft2_4FGL_J1253.2+5301_daily_bin1771.fits', expMap='/scratch/kocevski/547616/expmap_698371201_698630401_4FGL_J1253.2+5301_daily_bin1771.fits', expCube='/scratch/kocevski/547616/ltcube_698371201_698630401_4FGL_J1253.2+5301_daily_bin1771.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/547616/Model_4FGL_J1253.2+5301_daily_bin1771.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1253.2+5301'

4FGL J1253.2+5301
   Spectrum: LogParabola
333         norm:  3.003e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
334        alpha:  1.931e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
335         beta:  8.810e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
336           Eb:  1.175e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/547616/ft1_filtered_4FGL_J1253.2+5301_daily_bin1771.fits
Spacecraft file(s): /scratch/kocevski/547616/ft2_4FGL_J1253.2+5301_daily_bin1771.fits
Exposure map: /scratch/kocevski/547616/expmap_698371201_698630401_4FGL_J1253.2+5301_daily_bin1771.fits
Exposure cube: /scratch/kocevski/547616/ltcube_698371201_698630401_4FGL_J1253.2+5301_daily_bin1771.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/547616/Model_4FGL_J1253.2+5301_daily_bin1771.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) = 2116.81277568

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    135.97       1.0000          .0000       .10000E+07
     2 'norm      '    77947.       1.0000          .0000       .10000E+07
     3 'Prefactor '    .37899E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .50602E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .45761E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .10174E-01   1.0000          .0000       .10000E+07
     7 'norm      '    .14947E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .74707E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .27133E-05   1.0000          .0000       .10000E+07
    10 'norm      '    .67269       1.0000          .0000       .10000E+07
    11 'Prefactor '    .31885E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .15801       1.0000          .0000       .10000E+07
    13 'Prefactor '    .16885E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .17331E-04   1.0000          .0000       .10000E+07
    15 'norm      '    42.155       1.0000          .0000       .10000E+07
    16 'norm      '    .87521E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    37.589       1.0000          .0000       .10000E+07
    18 'Prefactor '    14.106       1.0000          .0000       .10000E+07
    19 'norm      '    .39351E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .27745E-02   1.0000          .0000       .10000E+07
    21 'norm      '    1.8827       1.0000          .0000       .10000E+07
    22 'norm      '    3.9772       1.0000          .0000       .10000E+07
    23 'Prefactor '    50.886       1.0000          .0000       .10000E+07
    24 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1847       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2116.789     FROM MIGRAD    STATUS=CONVERGED    208 CALLS     3587 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     136.15        5.3069        .58451E-06   -.27517E-01
   2  norm          77947.        3.2125       -.19309E-07    .63034    
   3  Prefactor     .99859E-06    556.28       -.66814E-04** at limit **
   4  Prefactor     .51783E-03    272.10        .10734E-04** at limit **
   5  Prefactor     .62626E-03    298.70       -.14914E-04** at limit **
   6  norm          .11102E-09    14.861       -.34786E-05** at limit **
   7  norm          .47057E-06    9.6071        .99773E-07** at limit **
   8  Prefactor     .55511E-10    27.963        .14749E-06** at limit **
   9  Prefactor      .0000        5.3638       -.93466E-06** at limit **
  10  norm          .69464        4.7867        .13383E-06   -.67398E-03
  11  Prefactor     .22204E-08    17.993       -.23440E-05** at limit **
  12  norm          .17413        16.472        .30921E-05** at limit **
  13  Prefactor     .61706E-06    7.2714       -.31563E-05** at limit **
  14  Prefactor      .0000        3.7772        .60045E-07** at limit **
  15  norm          42.953        29.320       -.66844E-06   -.23551E-01
  16  norm          .11768E-07    17.108       -.46573E-05** at limit **
  17  Prefactor     41.015        47.136       -.11976E-05   -.15785E-01
  18  Prefactor     10.212        34.269        .19496E-05   -.14548E-01
  19  norm           .0000        1.8983       -.13130E-06** at limit **
  20  Prefactor     .45519E-08    32.402        .29574E-05** at limit **
  21  norm          1.8965        1.8130       -.16477E-06   -.91367E-04
  22  norm          3.9429        4.9520       -.20635E-06   -.48039E-03
  23  Prefactor     52.448        64.488       -.15411E-04   -.29784E-01
  24  Normalizat    .10000E-01    .35323E-01   -.20341E-04** at limit **
  25  Prefactor     1.1843        .17305        .43420E-04   -.14079E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 136.15
  norm       = 77946.8
  Prefactor  = 9.9859e-07
  Prefactor  = 0.000517834
  Prefactor  = 0.000626259
  norm       = 1.11022e-10
  norm       = 4.70568e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 0.694644
  Prefactor  = 2.22045e-09
  norm       = 0.174128
  Prefactor  = 6.17062e-07
  Prefactor  = 0
  norm       = 42.9528
  norm       = 1.17684e-08
  Prefactor  = 41.0151
  Prefactor  = 10.2119
  norm       = 0
  Prefactor  = 4.55191e-09
  norm       = 1.89651
  norm       = 3.94295
  Prefactor  = 52.448
  Normalizat = 0.01
  Prefactor  = 1.18427
 **********
 **   18 **HESSE 
 **********

 FCN=   2116.789     FROM HESSE     STATUS=OK           475 CALLS     4062 TOTAL
                     EDM=   .62E-03    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     136.15        143.78        .85766E-04   -1.5475    
   2  norm          77947.        10593.        .47917E-05   -1.0049    
   3  Prefactor     .99859E-06    568.89        .16060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .51783E-03    506.37        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .62626E-03    591.70        .42118E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .11102E-09    14.835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .47057E-06    16.467        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-10    27.963        .14666E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.3627        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .69464        4.8219        .62953E-03   -1.5691    
  11  Prefactor     .22204E-08    18.063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .17413        3.7717        .47392E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .61706E-06    16.389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        3.7824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          42.953        34.839        .15403E-03   -1.5577    
  16  norm          .11768E-07    16.983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     41.015        50.746        .16312E-03   -1.5580    
  18  Prefactor     10.212        39.354        .26642E-03   -1.5644    
  19  norm           .0000        1.9037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .45519E-08    32.514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.8965        1.8242        .75833E-03   -1.5680    
  22  norm          3.9429        5.0129        .50551E-03   -1.5668    
  23  Prefactor     52.448        66.363        .14020E-03   -1.5563    
  24  Normalizat    .10000E-01    .35023E-01    .12095       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.1843        .18267        .35004E-01   -.86817    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.000623294
Minuit parameter uncertainties:
  1  143.779
  2  10595.9
  3  0.0476742
  4  1.02423
  5  1.21759
  6  7.07639e-05
  7  0.00556717
  8  9.39919e-05
  9  1.22019e-05
  10  3.66033
  11  0.000400396
  12  1.62082
  13  0.00636015
  14  6.4875e-06
  15  34.8392
  16  0.000893115
  17  50.7469
  18  39.3546
  19  8.25274e-09
  20  0.000771658
  21  1.8242
  22  5.01286
  23  66.3636
  24  7.75816e-09
  25  0.182768
Done.

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

Extracting fit parameters...

4FGL J1253.2+5301
   Spectrum: LogParabola
333         norm:  1.741e-01  1.621e+00  0.000e+00  1.000e+06 ( 1.000e-12)
334        alpha:  1.931e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
335         beta:  8.810e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
336           Eb:  1.175e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
665    Prefactor:  1.184e+00  1.828e-01  0.000e+00  1.000e+01 ( 1.000e+00)
666        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
667        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
664   Normalization:  1.000e-02  7.758e-09  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 193.307 53.017
Photon Flux Upper Limit: 1.23e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.88e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/547616/likelihoodResults_698371201_698630401_4FGL_J1253.2+5301_daily_bin1771.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) = 2116.78928061
delta logL = 1.80399138117e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2116.78919193
delta logL = 9.04843304852e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .20099       1.0000          .0000       .10000E+07
     2 'alpha     '    1.8802       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1842       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2116.789     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      260 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .18541        122.20        .48017E-02** at limit **
   2  alpha         1.8753        3.3506        .42876        .52714E-05
   3  Normalizat    .10000E-01    .22888E-02    .12095    ** at limit **
   4  Prefactor     1.1842        .41435E-01    .35015E-01   -.59357E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.185412
  alpha      = 1.87534
  Normalizat = 0.01
  Prefactor  = 1.18425
 **********
 **   18 **HESSE 
 **********

 FCN=   2116.789     FROM HESSE     STATUS=OK            33 CALLS      293 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .18541        23.442        .17596E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8753        3.2286        .57510E-01   -.25254    
   3  Normalizat    .10000E-01    .35434E-01    .52161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.1842        .15915        .22004E-03   -.86818    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21046e-09
Minuit parameter uncertainties:
  1  4.16966
  2  4.61147
  3  7.82099e-07
  4  0.159215
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/547616': 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) = 2116.78918046
delta logL = 0.000101962753433

Extracting fit parameters...

4FGL J1253.2+5301
   Spectrum: LogParabola
333         norm:  1.854e-01  4.170e+00  0.000e+00  1.000e+06 ( 1.000e-12)
334        alpha:  1.875e+00  4.611e+00  0.000e+00  5.000e+00 ( 1.000e+00)
335         beta:  8.810e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
336           Eb:  1.175e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
665    Prefactor:  1.184e+00  1.592e-01  0.000e+00  1.000e+01 ( 1.000e+00)
666        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
667        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
664   Normalization:  1.000e-02  7.821e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 193.307 53.017

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/547616/cmap_HighResolution_698371201_698630401_4FGL_J1253.2+5301_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.88e-05', job_status='DONE', photon_flux_upper_limit='1.23e-07', time_completed='2023-02-21 01:01:33.648390', job_id='547616', GAL2='1.18', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1676970093.65', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='1.02e-04', ts2='0.00', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='1771' AND source_name='4FGL J1253.2+5301' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 01:01:33 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 547616: <4FGL_J1253.2+5301_daily_bin1771> in cluster <slac> Done

Job <4FGL_J1253.2+5301_daily_bin1771> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 21 00:50:23 2023
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 00:50:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 00:50:24 2023
Terminated at Tue Feb 21 01:01:34 2023
Results reported at Tue Feb 21 01:01:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1253.2+5301_daily_bin1771 193.307 53.0173 698371201 698630401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1253.2+5301 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   488.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             308.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   669 sec.
    Turnaround time :                            671 sec.

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

