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


Performing analysis on: 4FGL_J1253.2+5301_daily_bin1765
RA = 193.307, Dec = 53.0173
tmin = 696816001, tmax = 697075201
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='634087', job_status='RUN', time_executed='2023-02-03 01:00:51.105058', time_epoch_executed='1675414851.11' WHERE source_name='4FGL J1253.2+5301' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/634087

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/634087/ft1_4FGL_J1253.2+5301_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/634087/ft2_4FGL_J1253.2+5301_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/634087/ft1_4FGL_J1253.2+5301_daily_bin1765.fits outfile=/scratch/kocevski/634087/ft1_filteredMKT_4FGL_J1253.2+5301_daily_bin1765.fits ra=193.307 dec=53.0173 rad=12.0 tmin=696816001.0 tmax=697075201.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.70
user 3.47
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/634087/ft2_4FGL_J1253.2+5301_daily_bin1765.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/634087/ft1_filteredMKT_4FGL_J1253.2+5301_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/634087/ft1_filtered_4FGL_J1253.2+5301_daily_bin1765.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.53
user 0.35
sys 0.17

Number of photons that the gtmktime cut: 570

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/634087/ft1_filtered_4FGL_J1253.2+5301_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/634087/ft2_4FGL_J1253.2+5301_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/634087/ltcube_696816001_697075201_4FGL_J1253.2+5301_daily_bin1765.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/634087/ft2_4FGL_J1253.2+5301_daily_bin1765.fits
.....................!
real 16.14
user 15.72
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/634087/ft1_filtered_4FGL_J1253.2+5301_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/634087/ft2_4FGL_J1253.2+5301_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/634087/ltcube_696816001_697075201_4FGL_J1253.2+5301_daily_bin1765.fits outfile=/scratch/kocevski/634087/expmap_696816001_697075201_4FGL_J1253.2+5301_daily_bin1765.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/634087/ltcube_696816001_697075201_4FGL_J1253.2+5301_daily_bin1765.fits
.....................!
real 192.54
user 186.93
sys 5.19

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/634087/ft1_filtered_4FGL_J1253.2+5301_daily_bin1765.fits scfile=/scratch/kocevski/634087/ft2_4FGL_J1253.2+5301_daily_bin1765.fits outfile=/scratch/kocevski/634087/cmap_696816001_697075201_4FGL_J1253.2+5301_daily_bin1765.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.59
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/634087/ft1_filtered_4FGL_J1253.2+5301_daily_bin1765.fits scfile=/scratch/kocevski/634087/ft2_4FGL_J1253.2+5301_daily_bin1765.fits outfile=/scratch/kocevski/634087/cmap_HighResolution_696816001_697075201_4FGL_J1253.2+5301_daily_bin1765.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.57
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .71910E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .63406       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11601E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.7124       1.0000          .0000       .10000E+07
     5 'Prefactor '    .20483E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .93379E-04   1.0000          .0000       .10000E+07
     7 'norm      '    3.7220       1.0000          .0000       .10000E+07
     8 'Prefactor '    .81000E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    7.4342       1.0000          .0000       .10000E+07
    10 'norm      '    1.5360       1.0000          .0000       .10000E+07
    11 'Prefactor '    .82513E-02   1.0000          .0000       .10000E+07
    12 'norm      '    1.5960       1.0000          .0000       .10000E+07
    13 'Prefactor '    .63510E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .58176E-07   1.0000          .0000       .10000E+07
    15 'norm      '    8.2648       1.0000          .0000       .10000E+07
    16 'norm      '    .43887E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    61.104       1.0000          .0000       .10000E+07
    18 'Prefactor '    .71243E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .14629E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    11.889       1.0000          .0000       .10000E+07
    21 'norm      '    .18185E-06   1.0000          .0000       .10000E+07
    22 'norm      '    .27708       1.0000          .0000       .10000E+07
    23 'Prefactor '    23.500       1.0000          .0000       .10000E+07
    24 'Normalizat'    .87074       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1882       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=   6247.960     FROM MIGRAD    STATUS=CONVERGED    183 CALLS     2139 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.9119       -.37936E-06** at limit **
   2  norm          .62745        4.5668       -.13746E-06   -.10129E-02
   3  Prefactor     .29143E-07    18.911        .32350E-06** at limit **
   4  Prefactor     3.6834        4.2851       -.46219E-07    .44707E-03
   5  Prefactor     .13434E-07    4.9675       -.87065E-06** at limit **
   6  norm          .23181E-03    2.4977       -.42947E-06** at limit **
   7  norm          3.6691        4.5539        .51907E-09   -.25928E-04
   8  Prefactor     .10270E-07    5.0046        .62444E-06** at limit **
   9  Prefactor     7.4587        5.3815        .28334E-07   -.19937E-03
  10  norm          1.5344        1.6065        .11519E-07    .32735E-03
  11  Prefactor     .16653E-09    7.6411       -.28930E-06** at limit **
  12  norm          1.5964        1.3101       -.13118E-09    .10521E-03
  13  Prefactor     .15226E-05    9.6068       -.99490E-06** at limit **
  14  Prefactor      .0000        2.8240       -.57703E-07** at limit **
  15  norm          8.2711        9.1528        .17888E-05    .33107E-01
  16  norm           .0000        1.2466       -.11724E-06** at limit **
  17  Prefactor     61.286        29.537       -.78238E-06   -.32313E-01
  18  Prefactor     .20180E-05    8.0575       -.43222E-08** at limit **
  19  norm          .55511E-10    3.1431       -.17901E-06** at limit **
  20  Prefactor     14.265        54.948       -.97815E-07   -.53309E-02
  21  norm           .0000        .51161       -.45513E-08** at limit **
  22  norm          .23380        16.874        .57613E-06** at limit **
  23  Prefactor     22.961        23.771        .12065E-05   -.49788E-01
  24  Normalizat    .86904        .18582       -.94950E-05    .79016E-04
  25  Prefactor     1.1895        .23267        .37541E-06    .49745E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0.627455
  Prefactor  = 2.91434e-08
  Prefactor  = 3.68342
  Prefactor  = 1.34337e-08
  norm       = 0.000231808
  norm       = 3.66908
  Prefactor  = 1.02696e-08
  Prefactor  = 7.45873
  norm       = 1.53435
  Prefactor  = 1.66533e-10
  norm       = 1.59639
  Prefactor  = 1.52256e-06
  Prefactor  = 0
  norm       = 8.27111
  norm       = 0
  Prefactor  = 61.2863
  Prefactor  = 2.018e-06
  norm       = 5.55112e-11
  Prefactor  = 14.2652
  norm       = 0
  norm       = 0.233803
  Prefactor  = 22.9607
  Normalizat = 0.869037
  Prefactor  = 1.18946
 **********
 **   18 **HESSE 
 **********

 FCN=   6247.960     FROM HESSE     STATUS=OK           485 CALLS     2624 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.8907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .62745        4.5952        .66231E-03   -1.5692    
   3  Prefactor     .29143E-07    19.042        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.6834        4.3219        .52387E-03   -1.5670    
   5  Prefactor     .13434E-07    5.0163        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .23181E-03    1.2549        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.6691        4.5695        .52317E-03   -1.5670    
   8  Prefactor     .10270E-07    5.0498        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.4587        5.4059        .36760E-03   -1.5653    
  10  norm          1.5344        1.6313        .86036E-03   -1.5683    
  11  Prefactor     .16653E-09    7.6559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.5964        1.3033        .83920E-03   -1.5683    
  13  Prefactor     .15226E-05    15.620        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.8157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          8.2711        9.3036        .34849E-03   -1.5650    
  16  norm           .0000        1.2485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     61.286        36.419        .12794E-03   -1.5551    
  18  Prefactor     .20180E-05    15.835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .55511E-10    3.1219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     14.265        56.129        .29028E-03   -1.5632    
  21  norm           .0000        .51176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .23380        2.1505        .70687E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     22.961        43.594        .20633E-03   -1.5612    
  24  Normalizat    .86904        .15645        .44527E-01   -.97557    
  25  Prefactor     1.1895        .19164        .57127E-01   -.86656    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83717e-06
Minuit parameter uncertainties:
  1  7.8652e-06
  2  3.39606
  3  0.00148936
  4  4.32188
  5  0.000519661
  6  0.0341112
  7  4.56953
  8  0.000455546
  9  5.40587
  10  1.63133
  11  7.32532e-05
  12  1.30332
  13  0.00975346
  14  3.45155e-06
  15  9.30358
  16  1.83706e-06
  17  36.4194
  18  0.0113057
  19  2.64052e-05
  20  56.1314
  21  5.30382e-07
  22  1.41817
  23  43.5947
  24  0.156529
  25  0.191748
Done.

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

Extracting fit parameters...

4FGL J1253.2+5301
   Spectrum: LogParabola
333         norm:  1.596e+00  1.303e+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.189e+00  1.917e-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:  8.690e-01  1.565e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.34
Ra Dec: 193.307 53.017
Photon Index (Fixed Index): 1.93 +/- 0.00
Photon Flux (Fixed Index): 1.55e-08 +/- 1.27e-08
Energy Flux (Fixed Index): 1.12e-05 +/- 9.15e-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) = 6246.7916574
delta logL = 1.16826525451

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6246.71457011
delta logL = 1.2453525388

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0691       1.0000          .0000       .10000E+07
     2 'alpha     '    1.0070       1.0000          .0000       5.0000    
     3 'Normalizat'    .87500       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1892       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=   6246.715     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      202 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0691        .94222        .11756E-02   -.24442E-01
   2  alpha         1.0069        .41597        .36150       -.44854E-04
   3  Normalizat    .87501        .14888        .44581E-01    .34731E-04
   4  Prefactor     1.1892        .19045        .57141E-01   -.33636E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.06911
  alpha      = 1.00693
  Normalizat = 0.875013
  Prefactor  = 1.18922
 **********
 **   18 **HESSE 
 **********

 FCN=   6246.715     FROM HESSE     STATUS=OK            35 CALLS      237 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0691        1.2874        .67115E-04   -1.5687    
   2  alpha         1.0069        .57085        .15396E-01   -.64004    
   3  Normalizat    .87501        .17989        .22761E-03   -.97344    
   4  Prefactor     1.1892        .23017        .25268E-03   -.86664    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03832e-09
Minuit parameter uncertainties:
  1  1.28736
  2  0.57886
  3  0.180017
  4  0.23036
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/634087': 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) = 6246.7145701
delta logL = 1.24535255611

Extracting fit parameters...

4FGL J1253.2+5301
   Spectrum: LogParabola
333         norm:  1.069e+00  1.287e+00  0.000e+00  1.000e+06 ( 1.000e-12)
334        alpha:  1.007e+00  5.789e-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:  1.189e+00  2.304e-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:  8.750e-01  1.800e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.83
Ra Dec: 193.307 53.017
Photon Index (Free Index): 1.01 +/- 0.58
Photon Flux (Free Index): 6.12e-09 +/- 6.35e-09
Energy Flux (Free Index): 4.46e-05 +/- 5.42e-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/634087/cmap_HighResolution_696816001_697075201_4FGL_J1253.2+5301_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.55e-08', energy_flux2='4.46e-05', photon_flux_error='1.27e-08', dlogl='1.25e+00', energy_flux='1.12e-05', photon_flux2='6.12e-09', job_status='DONE', time_completed='2023-02-03 01:11:25.939712', photon_index_error2='0.58', photon_index2='1.01', ts='8.34', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', energy_flux_error2='5.42e-05', EG='0.87', time_epoch_completed='1675415485.94', return_code='0', job_id='634087', GAL2='1.19', EG2='0.88', return_code2='0', energy_flux_error='9.15e-06', photon_flux_error2='6.35e-09', ts2='10.83', photon_index='1.93' WHERE bin_id='1765' AND source_name='4FGL J1253.2+5301' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:11:25 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 634087: <4FGL_J1253.2+5301_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1253.2+5301_daily_bin1765> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb  3 00:55:20 2023
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 00:56:48 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 00:56:48 2023
Terminated at Fri Feb  3 01:11:26 2023
Results reported at Fri Feb  3 01:11:26 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1253.2+5301_daily_bin1765 193.307 53.0173 696816001 697075201 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 :                                   637.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             223.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            966 sec.

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

