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


Performing analysis on: 4FGL_J1253.2+5301_daily_bin1712
RA = 193.307, Dec = 53.0173
tmin = 683078401, tmax = 683337601
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='123334', job_status='RUN', time_executed='2022-09-16 17:02:04.955915', time_epoch_executed='1663372924.96' WHERE source_name='4FGL J1253.2+5301' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/123334

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/123334/ft1_4FGL_J1253.2+5301_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/123334/ft2_4FGL_J1253.2+5301_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/123334/ft1_4FGL_J1253.2+5301_daily_bin1712.fits outfile=/scratch/kocevski/123334/ft1_filteredMKT_4FGL_J1253.2+5301_daily_bin1712.fits ra=193.307 dec=53.0173 rad=12.0 tmin=683078401.0 tmax=683337601.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 4.83
user 4.54
sys 0.25

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

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

Number of photons that the gtmktime cut: 562

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/123334/ft1_filtered_4FGL_J1253.2+5301_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/123334/ft2_4FGL_J1253.2+5301_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/123334/ltcube_683078401_683337601_4FGL_J1253.2+5301_daily_bin1712.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/123334/ft2_4FGL_J1253.2+5301_daily_bin1712.fits
.....................!
real 13.72
user 13.32
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/123334/ft1_filtered_4FGL_J1253.2+5301_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/123334/ft2_4FGL_J1253.2+5301_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/123334/ltcube_683078401_683337601_4FGL_J1253.2+5301_daily_bin1712.fits outfile=/scratch/kocevski/123334/expmap_683078401_683337601_4FGL_J1253.2+5301_daily_bin1712.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/123334/ltcube_683078401_683337601_4FGL_J1253.2+5301_daily_bin1712.fits
.....................!
real 194.23
user 188.38
sys 5.42

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/123334/ft1_filtered_4FGL_J1253.2+5301_daily_bin1712.fits scfile=/scratch/kocevski/123334/ft2_4FGL_J1253.2+5301_daily_bin1712.fits outfile=/scratch/kocevski/123334/cmap_683078401_683337601_4FGL_J1253.2+5301_daily_bin1712.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/123334/ft1_filtered_4FGL_J1253.2+5301_daily_bin1712.fits scfile=/scratch/kocevski/123334/ft2_4FGL_J1253.2+5301_daily_bin1712.fits outfile=/scratch/kocevski/123334/cmap_HighResolution_683078401_683337601_4FGL_J1253.2+5301_daily_bin1712.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55509E-04   1.0000          .0000       .10000E+07
     2 'norm      '    1.1089       1.0000          .0000       .10000E+07
     3 'Prefactor '    .32967E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .43855E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    19.695       1.0000          .0000       .10000E+07
     6 'norm      '    2.3942       1.0000          .0000       .10000E+07
     7 'norm      '    5.6394       1.0000          .0000       .10000E+07
     8 'Prefactor '    .44476E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .39672E-04   1.0000          .0000       .10000E+07
    10 'norm      '    2.1297       1.0000          .0000       .10000E+07
    11 'Prefactor '    29.387       1.0000          .0000       .10000E+07
    12 'norm      '    .94396       1.0000          .0000       .10000E+07
    13 'Prefactor '    .29350E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .81260E-03   1.0000          .0000       .10000E+07
    15 'norm      '    11.756       1.0000          .0000       .10000E+07
    16 'norm      '    .86050E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .10213E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .72032E-03   1.0000          .0000       .10000E+07
    19 'norm      '    3.1520       1.0000          .0000       .10000E+07
    20 'Prefactor '    .21816E-01   1.0000          .0000       .10000E+07
    21 'norm      '    .66521       1.0000          .0000       .10000E+07
    22 'norm      '    .79695E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .16429E-03   1.0000          .0000       .10000E+07
    24 'Normalizat'    .91165       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0462       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=   6170.349     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     2136 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6703        .20946E-06** at limit **
   2  norm          1.1087        2.5700        .47260E-06   -.46676E-02
   3  Prefactor     .26479E-07    36.189       -.84367E-05** at limit **
   4  Prefactor      .0000        2.6437        .53023E-06** at limit **
   5  Prefactor     19.776        3.3003       -.25114E-06   -.16477E-01
   6  norm          2.3918        2.2490       -.10122E-07    .16978E-02
   7  norm          5.7035        5.0405        .92206E-07   -.22989E-02
   8  Prefactor     .16653E-09    12.757       -.25912E-05** at limit **
   9  Prefactor     .55511E-10    1.4259       -.18261E-06** at limit **
  10  norm          2.1287        1.4817        .27646E-07   -.21138E-03
  11  Prefactor     29.634        5.1982       -.43507E-06   -.25449E-01
  12  norm          .94331        1.1089       -.39293E-07   -.24843E-02
  13  Prefactor     .11102E-09    10.703        .31464E-05** at limit **
  14  Prefactor     .94369E-08    3.9694       -.48139E-06** at limit **
  15  norm          11.754        2.3260       -.54135E-06   -.32413E-01
  16  norm           .0000        3.6892        .24004E-06** at limit **
  17  Prefactor     .77716E-09    7.6455        .11442E-05** at limit **
  18  Prefactor     .18319E-08    4.6978       -.10937E-05** at limit **
  19  norm          3.1496        2.7016        .91276E-08    .41834E-03
  20  Prefactor     .72164E-09    58.995       -.22143E-05** at limit **
  21  norm          .66476        1.0315       -.16785E-07   -.38896E-04
  22  norm          .86667E-01    15.388       -.51756E-06** at limit **
  23  Prefactor     .53624E-07    30.765        .30343E-05** at limit **
  24  Normalizat    .91164        .17549        .93065E-05    .34779E-04
  25  Prefactor     1.0458        .21898       -.90567E-05   -.18425E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 1.10871
  Prefactor  = 2.64788e-08
  Prefactor  = 0
  Prefactor  = 19.7758
  norm       = 2.39184
  norm       = 5.70351
  Prefactor  = 1.66533e-10
  Prefactor  = 5.55112e-11
  norm       = 2.12874
  Prefactor  = 29.6336
  norm       = 0.943314
  Prefactor  = 1.11022e-10
  Prefactor  = 9.4369e-09
  norm       = 11.7539
  norm       = 0
  Prefactor  = 7.77156e-10
  Prefactor  = 1.83187e-09
  norm       = 3.14962
  Prefactor  = 7.21645e-10
  norm       = 0.664762
  norm       = 0.0866673
  Prefactor  = 5.36238e-08
  Normalizat = 0.911644
  Prefactor  = 1.04584
 **********
 **   18 **HESSE 
 **********

 FCN=   6170.349     FROM HESSE     STATUS=OK           485 CALLS     2621 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6727        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1087        3.0088        .43423E-02   -1.5687    
   3  Prefactor     .26479E-07    37.179        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        2.6434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     19.776        21.460        .22540E-03   -1.5619    
   6  norm          2.3918        2.2587        .66158E-03   -1.5677    
   7  norm          5.7035        5.0512        .42278E-03   -1.5660    
   8  Prefactor     .16653E-09    12.912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    1.4312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.1287        1.4872        .70622E-03   -1.5679    
  11  Prefactor     29.634        22.590        .18450E-03   -1.5599    
  12  norm          .94331        1.1144        .42767E-03   -1.5689    
  13  Prefactor     .11102E-09    10.857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .94369E-08    8.7668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          11.754        11.601        .29192E-03   -1.5639    
  16  norm           .0000        3.6578        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .77716E-09    7.6878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .18319E-08    8.4573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.1496        2.7093        .57068E-03   -1.5672    
  20  Prefactor     .72164E-09    57.306        .16920E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .66476        1.0490        .63579E-03   -1.5692    
  22  norm          .86667E-01    1.4916        .55699E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .53624E-07    32.010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .91164        .14874        .45050E-01   -.96052    
  25  Prefactor     1.0458        .18338        .58612E-01   -.91217    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.43157e-08
Minuit parameter uncertainties:
  1  3.25117e-06
  2  3.00876
  3  0.00198515
  4  4.15163e-06
  5  21.4598
  6  2.25871
  7  5.05117
  8  8.49546e-05
  9  1.64231e-05
  10  1.48724
  11  22.5896
  12  1.1144
  13  7.15613e-05
  14  0.000575811
  15  11.6009
  16  5.08068e-06
  17  0.000154943
  18  0.000250086
  19  2.70933
  20  0.000406291
  21  1.04903
  22  0.719101
  23  0.00262007
  24  0.148809
  25  0.183485
Done.

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

Extracting fit parameters...

4FGL J1253.2+5301
   Spectrum: LogParabola
333         norm:  9.433e-01  1.114e+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.046e+00  1.835e-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.116e-01  1.488e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.58
Ra Dec: 193.307 53.017
Photon Index (Fixed Index): 1.93 +/- 0.00
Photon Flux (Fixed Index): 9.16e-09 +/- 1.08e-08
Energy Flux (Fixed Index): 6.62e-06 +/- 7.82e-06

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

Saving results to:
/scratch/kocevski/123334/likelihoodResults_683078401_683337601_4FGL_J1253.2+5301_daily_bin1712.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) = 6170.31120488
delta logL = 0.0376140452317

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6170.30460601
delta logL = 0.0442129088296

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .81400       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2842       1.0000          .0000       5.0000    
     3 'Normalizat'    .90659       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0494       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6170.305     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      209 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .81332        7.9914         .0000        .20328E-02
   2  alpha         2.2846        3.2364         .0000        .23458E-03
   3  Normalizat    .90656        .15608         .0000        .99225E-05
   4  Prefactor     1.0495        .18853         .0000        .91872E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.813323
  alpha      = 2.28457
  Normalizat = 0.906561
  Prefactor  = 1.04947
 **********
 **   18 **HESSE 
 **********

 FCN=   6170.305     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .81332        1.1605        .78410E-05   -1.5690    
   2  alpha         2.2846        1.2603        .82694E-02   -.86279E-01
   3  Normalizat    .90656        .17390        .21888E-03   -.96230    
   4  Prefactor     1.0495        .21912        .25877E-03   -.91098    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34658e-11
Minuit parameter uncertainties:
  1  1.16051
  2  1.32141
  3  0.174007
  4  0.219306
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/123334': 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) = 6170.30460581
delta logL = 0.0442131071259

Extracting fit parameters...

4FGL J1253.2+5301
   Spectrum: LogParabola
333         norm:  8.133e-01  1.161e+00  0.000e+00  1.000e+06 ( 1.000e-12)
334        alpha:  2.285e+00  1.321e+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.049e+00  2.193e-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.066e-01  1.740e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.67
Ra Dec: 193.307 53.017
Photon Index (Free Index): 2.28 +/- 1.32
Photon Flux (Free Index): 1.32e-08 +/- 2.20e-08
Energy Flux (Free Index): 5.35e-06 +/- 6.66e-06

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/123334/cmap_HighResolution_683078401_683337601_4FGL_J1253.2+5301_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.05e-05', comment='SUCCESS', photon_flux='9.16e-09', energy_flux2='5.35e-06', photon_flux_error='1.08e-08', dlogl='4.42e-02', energy_flux='6.62e-06', photon_flux2='1.32e-08', job_status='DONE', time_completed='2022-09-16 17:13:36.318185', photon_index_error2='1.32', photon_index2='2.28', ts='1.58', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='4.22e-08', energy_flux_error2='6.66e-06', EG='0.91', time_epoch_completed='1663373616.32', return_code='0', job_id='123334', GAL2='1.05', EG2='0.91', return_code2='0', energy_flux_error='7.82e-06', photon_flux_error2='2.20e-08', ts2='1.67', photon_index='1.93' WHERE bin_id='1712' AND source_name='4FGL J1253.2+5301' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:13:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 123334: <4FGL_J1253.2+5301_daily_bin1712> in cluster <slac> Done

Job <4FGL_J1253.2+5301_daily_bin1712> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 17:00:20 2022
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:01:32 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:32 2022
Terminated at Fri Sep 16 17:13:36 2022
Results reported at Fri Sep 16 17:13:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1253.2+5301_daily_bin1712 193.307 53.0173 683078401 683337601 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 :                                   693.46 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             331.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            796 sec.

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

