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


Performing analysis on: 4FGL_J1253.2+5301_daily_bin1772
RA = 193.307, Dec = 53.0173
tmin = 698630401, tmax = 698889601
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='633231', job_status='RUN', time_executed='2023-02-24 01:43:21.088033', time_epoch_executed='1677231801.09' WHERE source_name='4FGL J1253.2+5301' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/633231

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/633231/ft1_4FGL_J1253.2+5301_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/633231/ft2_4FGL_J1253.2+5301_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/633231/ft1_4FGL_J1253.2+5301_daily_bin1772.fits outfile=/scratch/kocevski/633231/ft1_filteredMKT_4FGL_J1253.2+5301_daily_bin1772.fits ra=193.307 dec=53.0173 rad=12.0 tmin=698630401.0 tmax=698889601.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.01
user 2.82
sys 0.18

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

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

Number of photons that the gtmktime cut: 331

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/633231/ft1_filtered_4FGL_J1253.2+5301_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/633231/ft2_4FGL_J1253.2+5301_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/633231/ltcube_698630401_698889601_4FGL_J1253.2+5301_daily_bin1772.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/633231/ft2_4FGL_J1253.2+5301_daily_bin1772.fits
.....................!
real 12.95
user 12.60
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/633231/ft1_filtered_4FGL_J1253.2+5301_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/633231/ft2_4FGL_J1253.2+5301_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/633231/ltcube_698630401_698889601_4FGL_J1253.2+5301_daily_bin1772.fits outfile=/scratch/kocevski/633231/expmap_698630401_698889601_4FGL_J1253.2+5301_daily_bin1772.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/633231/ltcube_698630401_698889601_4FGL_J1253.2+5301_daily_bin1772.fits
.....................!
real 191.16
user 186.13
sys 4.71

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/633231/ft1_filtered_4FGL_J1253.2+5301_daily_bin1772.fits scfile=/scratch/kocevski/633231/ft2_4FGL_J1253.2+5301_daily_bin1772.fits outfile=/scratch/kocevski/633231/cmap_698630401_698889601_4FGL_J1253.2+5301_daily_bin1772.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/633231/ft1_filtered_4FGL_J1253.2+5301_daily_bin1772.fits scfile=/scratch/kocevski/633231/ft2_4FGL_J1253.2+5301_daily_bin1772.fits outfile=/scratch/kocevski/633231/cmap_HighResolution_698630401_698889601_4FGL_J1253.2+5301_daily_bin1772.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.54
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/633231/ft1_filtered_4FGL_J1253.2+5301_daily_bin1772.fits', '/scratch/kocevski/633231/ft2_4FGL_J1253.2+5301_daily_bin1772.fits', expMap='/scratch/kocevski/633231/expmap_698630401_698889601_4FGL_J1253.2+5301_daily_bin1772.fits', expCube='/scratch/kocevski/633231/ltcube_698630401_698889601_4FGL_J1253.2+5301_daily_bin1772.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/633231/Model_4FGL_J1253.2+5301_daily_bin1772.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/633231/ft1_filtered_4FGL_J1253.2+5301_daily_bin1772.fits
Spacecraft file(s): /scratch/kocevski/633231/ft2_4FGL_J1253.2+5301_daily_bin1772.fits
Exposure map: /scratch/kocevski/633231/expmap_698630401_698889601_4FGL_J1253.2+5301_daily_bin1772.fits
Exposure cube: /scratch/kocevski/633231/ltcube_698630401_698889601_4FGL_J1253.2+5301_daily_bin1772.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/633231/Model_4FGL_J1253.2+5301_daily_bin1772.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) = 3721.61855218

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16490E-02   1.0000          .0000       .10000E+07
     2 'norm      '    3.4784       1.0000          .0000       .10000E+07
     3 'Prefactor '    195.38       1.0000          .0000       .10000E+07
     4 'Prefactor '    .14171E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .87547E-02   1.0000          .0000       .10000E+07
     6 'norm      '    2.4437       1.0000          .0000       .10000E+07
     7 'norm      '    .39247E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14458E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.9007       1.0000          .0000       .10000E+07
    10 'norm      '    4.5745       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.581       1.0000          .0000       .10000E+07
    12 'norm      '    2.0853       1.0000          .0000       .10000E+07
    13 'Prefactor '    .90715E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    12.959       1.0000          .0000       .10000E+07
    15 'norm      '    7.8688       1.0000          .0000       .10000E+07
    16 'norm      '    5.1101       1.0000          .0000       .10000E+07
    17 'Prefactor '    .58952E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    41.787       1.0000          .0000       .10000E+07
    19 'norm      '    2.0775       1.0000          .0000       .10000E+07
    20 'Prefactor '    .12852       1.0000          .0000       .10000E+07
    21 'norm      '    .41245E-07   1.0000          .0000       .10000E+07
    22 'norm      '    .95313E-07   1.0000          .0000       .10000E+07
    23 'Prefactor '    .24093E-02   1.0000          .0000       .10000E+07
    24 'Normalizat'    .96225       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .75994       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=   3721.596     FROM MIGRAD    STATUS=CONVERGED    214 CALLS     2151 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    8.1264        .50559E-06** at limit **
   2  norm          3.4824        9.9068        .21089E-06    .13715E-03
   3  Prefactor     198.09        133.00        .78421E-06   -.26445E-02
   4  Prefactor      .0000        6.1275       -.16976E-06** at limit **
   5  Prefactor      .0000        12.614       -.13638E-06** at limit **
   6  norm          2.4366        3.9490        .33541E-06   -.19656E-02
   7  norm          .22760E-08    17.024        .23517E-06** at limit **
   8  Prefactor     .10851E-05    37.083        .66678E-06** at limit **
   9  Prefactor     9.8691        7.6663        .30959E-06   -.78326E-03
  10  norm          4.5846        2.9667       -.22136E-06    .49828E-02
  11  Prefactor     11.419        15.649        .61502E-06    .80884E-01
  12  norm          2.0858        2.0015        .38051E-07   -.83625E-03
  13  Prefactor     .67918E-06    28.979        .29590E-07** at limit **
  14  Prefactor     12.853        10.464        .20891E-07    .13323E-02
  15  norm          7.8307        17.767       -.12650E-07    .63536E-02
  16  norm          5.1050        4.8402       -.11842E-06    .57756E-03
  17  Prefactor     .31702E-06    131.15       -.71995E-05** at limit **
  18  Prefactor     42.268        34.547        .45605E-06   -.53105E-01
  19  norm          2.0747        3.1629       -.15818E-06    .18582E-02
  20  Prefactor      .0000        66.989        .32704E-06** at limit **
  21  norm           .0000        .67325        .30606E-07** at limit **
  22  norm           .0000        1.3834       -.17563E-08** at limit **
  23  Prefactor     .34323E-05    28.783       -.12632E-05** at limit **
  24  Normalizat    .96269        .22268       -.18589E-04    .13805E-03
  25  Prefactor     .75967        .26160        .17840E-04    .19368E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  norm       = 3.48238
  Prefactor  = 198.092
  Prefactor  = 0
  Prefactor  = 0
  norm       = 2.43662
  norm       = 2.27596e-09
  Prefactor  = 1.08508e-06
  Prefactor  = 9.86911
  norm       = 4.58465
  Prefactor  = 11.4188
  norm       = 2.08582
  Prefactor  = 6.79179e-07
  Prefactor  = 12.8533
  norm       = 7.83072
  norm       = 5.10505
  Prefactor  = 3.17024e-07
  Prefactor  = 42.2679
  norm       = 2.07471
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Prefactor  = 3.43225e-06
  Normalizat = 0.962688
  Prefactor  = 0.759666
 **********
 **   18 **HESSE 
 **********

 FCN=   3721.596     FROM HESSE     STATUS=OK           477 CALLS     2628 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    8.0882        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.4824        9.9103        .54193E-03   -1.5671    
   3  Prefactor     198.09        133.14        .71550E-04   -1.5426    
   4  Prefactor      .0000        6.1437        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        12.622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.4366        3.9695        .65418E-03   -1.5677    
   7  norm          .22760E-08    16.919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10851E-05    38.811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.8691        7.6610        .31822E-03   -1.5645    
  10  norm          4.5846        2.9717        .47040E-03   -1.5665    
  11  Prefactor     11.419        23.736        .29412E-03   -1.5640    
  12  norm          2.0858        2.0113        .71473E-03   -1.5679    
  13  Prefactor     .67918E-06    30.158        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.853        10.459        .27799E-03   -1.5636    
  15  norm          7.8307        17.811        .35722E-03   -1.5652    
  16  norm          5.1050        4.8464        .44452E-03   -1.5663    
  17  Prefactor     .31702E-06    131.03        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     42.268        37.535        .15471E-03   -1.5578    
  19  norm          2.0747        3.1884        .71625E-03   -1.5679    
  20  Prefactor      .0000        66.476        .13219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        .67188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        1.3838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .34323E-05    34.637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .96269        .18812        .45692E-01   -.94291    
  25  Prefactor     .75967        .22217        .63912E-01   -1.0123    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.85377e-07
Minuit parameter uncertainties:
  1  5.88807e-05
  2  9.91038
  3  133.138
  4  1.60158e-05
  5  2.29595e-05
  6  3.96948
  7  0.000394323
  8  0.0129788
  9  7.66101
  10  2.97175
  11  23.7362
  12  2.01129
  13  0.00905156
  14  10.4593
  15  17.8107
  16  4.84643
  17  0.0128902
  18  37.5347
  19  3.18844
  20  4.31235e-05
  21  1.54663e-06
  22  1.46819e-07
  23  0.0218068
  24  0.188246
  25  0.222432
Done.

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

Extracting fit parameters...

4FGL J1253.2+5301
   Spectrum: LogParabola
333         norm:  2.086e+00  2.011e+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:  7.597e-01  2.224e-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:  9.627e-01  1.882e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.30
Ra Dec: 193.307 53.017
Photon Index (Fixed Index): 1.93 +/- 0.00
Photon Flux (Fixed Index): 2.03e-08 +/- 1.95e-08
Energy Flux (Fixed Index): 1.46e-05 +/- 1.41e-05

TS (Fixed Index): 2.30
Ra Dec: 193.307 53.017
Photon Flux Upper Limit: 7.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.45e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/633231/likelihoodResults_698630401_698889601_4FGL_J1253.2+5301_daily_bin1772.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) = 3721.53419402
delta logL = 0.0621955238676

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3721.53392942
delta logL = 0.0624601238715

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0883       1.0000          .0000       .10000E+07
     2 'alpha     '    1.6172       1.0000          .0000       5.0000    
     3 'Normalizat'    .96954       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75495       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=   3721.534     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      201 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0994        3.4756        .71414E-03   -.20805E-02
   2  alpha         1.6171        1.1573        .44985        .59817E-05
   3  Normalizat    .96951        .18768        .45784E-01   -.22923E-06
   4  Prefactor     .75495        .22281        .64086E-01   -.24260E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.09945
  alpha      = 1.61708
  Normalizat = 0.969509
  Prefactor  = 0.75495
 **********
 **   18 **HESSE 
 **********

 FCN=   3721.534     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0994        2.0209        .82473E-05   -1.5679    
   2  alpha         1.6171        .79491        .17534E-01   -.36096    
   3  Normalizat    .96951        .21539        .21028E-03   -.94059    
   4  Prefactor     .75495        .25992        .28350E-03   -1.0141    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.90031e-11
Minuit parameter uncertainties:
  1  2.02092
  2  0.811069
  3  0.215581
  4  0.260339
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/633231': 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) = 3721.53391365
delta logL = 0.0624758923914

Extracting fit parameters...

4FGL J1253.2+5301
   Spectrum: LogParabola
333         norm:  2.099e+00  2.021e+00  0.000e+00  1.000e+06 ( 1.000e-12)
334        alpha:  1.617e+00  8.111e-01  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:  7.550e-01  2.603e-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:  9.695e-01  2.156e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.43
Ra Dec: 193.307 53.017
Photon Index (Free Index): 1.62 +/- 0.81
Photon Flux (Free Index): 1.44e-08 +/- 1.85e-08
Energy Flux (Free Index): 2.11e-05 +/- 3.18e-05

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/633231/cmap_HighResolution_698630401_698889601_4FGL_J1253.2+5301_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.45e-05', comment='SUCCESS', photon_flux='2.03e-08', energy_flux2='2.11e-05', photon_flux_error='1.95e-08', dlogl='6.25e-02', energy_flux='1.46e-05', photon_flux2='1.44e-08', job_status='DONE', time_completed='2023-02-24 01:52:09.014378', photon_index_error2='0.81', photon_index2='1.62', ts='2.30', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='7.54e-08', energy_flux_error2='3.18e-05', EG='0.96', time_epoch_completed='1677232329.01', return_code='0', job_id='633231', GAL2='0.75', EG2='0.97', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='1.85e-08', ts2='2.43', photon_index='1.93' WHERE bin_id='1772' AND source_name='4FGL J1253.2+5301' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 01:52:09 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 633231: <4FGL_J1253.2+5301_daily_bin1772> in cluster <slac> Done

Job <4FGL_J1253.2+5301_daily_bin1772> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Feb 24 01:40:11 2023
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:40:12 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:40:12 2023
Terminated at Fri Feb 24 01:52:09 2023
Results reported at Fri Feb 24 01:52:09 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1253.2+5301_daily_bin1772 193.307 53.0173 698630401 698889601 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 :                                   530.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             269.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   717 sec.
    Turnaround time :                            718 sec.

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

