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


Performing analysis on: 4FGL_J1253.8+6242_daily_bin1752
RA = 193.467, Dec = 62.7052
tmin = 693446401, tmax = 693705601
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='263374', job_status='RUN', time_executed='2022-12-26 00:56:36.231535', time_epoch_executed='1672044996.23' WHERE source_name='4FGL J1253.8+6242' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/263374

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/263374/ft1_4FGL_J1253.8+6242_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/263374/ft2_4FGL_J1253.8+6242_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/263374/ft1_4FGL_J1253.8+6242_daily_bin1752.fits outfile=/scratch/kocevski/263374/ft1_filteredMKT_4FGL_J1253.8+6242_daily_bin1752.fits ra=193.467 dec=62.7052 rad=12.0 tmin=693446401.0 tmax=693705601.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 2.88
user 2.66
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/263374/ft2_4FGL_J1253.8+6242_daily_bin1752.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/263374/ft1_filteredMKT_4FGL_J1253.8+6242_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/263374/ft1_filtered_4FGL_J1253.8+6242_daily_bin1752.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.44
user 0.29
sys 0.14

Number of photons that the gtmktime cut: 537

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/263374/ft1_filtered_4FGL_J1253.8+6242_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/263374/ft2_4FGL_J1253.8+6242_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/263374/ltcube_693446401_693705601_4FGL_J1253.8+6242_daily_bin1752.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/263374/ft2_4FGL_J1253.8+6242_daily_bin1752.fits
.....................!
real 13.29
user 12.88
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/263374/ft1_filtered_4FGL_J1253.8+6242_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/263374/ft2_4FGL_J1253.8+6242_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/263374/ltcube_693446401_693705601_4FGL_J1253.8+6242_daily_bin1752.fits outfile=/scratch/kocevski/263374/expmap_693446401_693705601_4FGL_J1253.8+6242_daily_bin1752.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/263374/ltcube_693446401_693705601_4FGL_J1253.8+6242_daily_bin1752.fits
.....................!
real 157.85
user 152.76
sys 4.30

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 223 point sources and 0 extended sources

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

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/263374/ft1_filtered_4FGL_J1253.8+6242_daily_bin1752.fits scfile=/scratch/kocevski/263374/ft2_4FGL_J1253.8+6242_daily_bin1752.fits outfile=/scratch/kocevski/263374/cmap_693446401_693705601_4FGL_J1253.8+6242_daily_bin1752.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=193.467 yref=62.7052 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.49
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/263374/ft1_filtered_4FGL_J1253.8+6242_daily_bin1752.fits scfile=/scratch/kocevski/263374/ft2_4FGL_J1253.8+6242_daily_bin1752.fits outfile=/scratch/kocevski/263374/cmap_HighResolution_693446401_693705601_4FGL_J1253.8+6242_daily_bin1752.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=193.467 yref=62.7052 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.49
user 0.33
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/263374/ft1_filtered_4FGL_J1253.8+6242_daily_bin1752.fits', '/scratch/kocevski/263374/ft2_4FGL_J1253.8+6242_daily_bin1752.fits', expMap='/scratch/kocevski/263374/expmap_693446401_693705601_4FGL_J1253.8+6242_daily_bin1752.fits', expCube='/scratch/kocevski/263374/ltcube_693446401_693705601_4FGL_J1253.8+6242_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/263374/Model_4FGL_J1253.8+6242_daily_bin1752.xml', optimizer='MINUIT')

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

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


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/263374/ft1_filtered_4FGL_J1253.8+6242_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/263374/ft2_4FGL_J1253.8+6242_daily_bin1752.fits
Exposure map: /scratch/kocevski/263374/expmap_693446401_693705601_4FGL_J1253.8+6242_daily_bin1752.fits
Exposure cube: /scratch/kocevski/263374/ltcube_693446401_693705601_4FGL_J1253.8+6242_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/263374/Model_4FGL_J1253.8+6242_daily_bin1752.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) = 5865.42331121

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95530E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .37504E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.4792       1.0000          .0000       .10000E+07
     4 'norm      '    .24443E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .44091E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    12.233       1.0000          .0000       .10000E+07
     7 'Prefactor '    16.249       1.0000          .0000       .10000E+07
     8 'norm      '    .54812E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .39307E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .21994E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .19861E-02   1.0000          .0000       .10000E+07
    12 'norm      '    6.4451       1.0000          .0000       .10000E+07
    13 'norm      '    5.9851       1.0000          .0000       .10000E+07
    14 'Prefactor '    .10698E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .47215E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .72711E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    3.0222       1.0000          .0000       .10000E+07
    18 'Prefactor '    .33832E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .18433       1.0000          .0000       .10000E+07
    20 'Prefactor '    .77214E-03   1.0000          .0000       .10000E+07
    21 'norm      '    2.0578       1.0000          .0000       .10000E+07
    22 'Prefactor '    33.919       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0812       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .80162       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5865.363     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     1575 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-08    11.563       -.11133E-05** at limit **
   2  Prefactor     .14488E-07    7.7544        .15010E-05** at limit **
   3  Prefactor     3.4799        2.8603        .10065E-07    .25176E-02
   4  norm          .96034E-08    3.3204       -.62116E-07** at limit **
   5  norm          .55511E-10    2.5648       -.99369E-07** at limit **
   6  Prefactor     12.259        7.6963        .53924E-06    .89926E-02
   7  Prefactor     16.071        1.7848        .13810E-06   -.25953E-02
   8  norm          .33307E-09    .82963        .45598E-07** at limit **
   9  Prefactor     .25313E-07    5.8453       -.15605E-05** at limit **
  10  norm          .14710E-07    1.8374        .30074E-06** at limit **
  11  Prefactor     .11102E-09    2.9290       -.38920E-07** at limit **
  12  norm          6.4460        2.6653        .26300E-07    .23262E-01
  13  norm          5.9859        2.5077        .14423E-07    .72547E-02
  14  Prefactor     .16653E-09    15.365        .66567E-06** at limit **
  15  Prefactor     .57898E-07    2.9237       -.57144E-07** at limit **
  16  Prefactor     .29876E-06    31.703        .55576E-05** at limit **
  17  Prefactor     3.0737        1.0634        .41900E-07   -.54136E-03
  18  Prefactor     .52180E-08    33.304        .18672E-06** at limit **
  19  Prefactor     .15959        2.6402        .19111E-06** at limit **
  20  Prefactor     .78826E-08    3.9737        .81338E-06** at limit **
  21  norm          2.0658        4.2023        .25516E-07    .82178E-03
  22  Prefactor     35.088        37.205        .18898E-06   -.45406E-02
  23  Normalizat    1.0813        .18161       -.77877E-06    .74040E-03
  24  Prefactor     .80129        .22009       -.28183E-06    .45828E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-09
  Prefactor  = 1.44884e-08
  Prefactor  = 3.47991
  norm       = 9.60343e-09
  norm       = 5.55112e-11
  Prefactor  = 12.259
  Prefactor  = 16.0708
  norm       = 3.33067e-10
  Prefactor  = 2.53131e-08
  norm       = 1.47105e-08
  Prefactor  = 1.11022e-10
  norm       = 6.44596
  norm       = 5.98587
  Prefactor  = 1.66533e-10
  Prefactor  = 5.78981e-08
  Prefactor  = 2.98761e-07
  Prefactor  = 3.07367
  Prefactor  = 5.21805e-09
  Prefactor  = 0.159592
  Prefactor  = 7.88258e-09
  norm       = 2.06584
  Prefactor  = 35.0879
  Normalizat = 1.08129
  Prefactor  = 0.801295
 **********
 **   18 **HESSE 
 **********

 FCN=   5865.363     FROM HESSE     STATUS=OK           449 CALLS     2024 TOTAL
                     EDM=   .56E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-08    11.666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .14488E-07    8.2978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.4799        2.8580        .54186E-03   -1.5671    
   4  norm          .96034E-08    4.3434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .55511E-10    2.5735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.259        8.2756        .28615E-03   -1.5638    
   7  Prefactor     16.071        19.189        .24819E-03   -1.5628    
   8  norm          .33307E-09    .82486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .25313E-07    6.5979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .14710E-07    6.4089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-09    2.9454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.4460        2.6712        .39510E-03   -1.5657    
  13  norm          5.9859        2.5104        .41020E-03   -1.5659    
  14  Prefactor     .16653E-09    15.434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .57898E-07    4.5063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .29876E-06    39.886        .14730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.0737        26.548        .58350E-03   -1.5673    
  18  Prefactor     .52180E-08    33.171        .16255E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .15959        2.1160        .80998E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .78826E-08    5.6315        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.0658        4.2234        .72016E-03   -1.5679    
  22  Prefactor     35.088        37.223        .17173E-03   -1.5589    
  23  Normalizat    1.0813        .15446        .38823E-01   -.90355    
  24  Prefactor     .80129        .18607        .63371E-01   -.99681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.60914e-08
Minuit parameter uncertainties:
  1  0.000280146
  2  0.000694038
  3  2.85804
  4  0.000408306
  5  2.24683e-05
  6  8.27563
  7  19.189
  8  3.28136e-05
  9  0.000816996
  10  0.000614625
  11  3.53368e-05
  12  2.67123
  13  2.51039
  14  9.83732e-05
  15  0.00102141
  16  0.0069042
  17  18.0668
  18  0.000833278
  19  1.16224
  20  0.000422016
  21  4.22341
  22  37.2235
  23  0.154523
  24  0.18622
Done.

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

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
706   Normalization:  1.081e+00  1.545e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/263374/likelihoodResults_693446401_693705601_4FGL_J1253.8+6242_daily_bin1752.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) = 5865.39412816
delta logL = -0.0310465350394

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5865.36308244
delta logL = -8.11965037428e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5865.363     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      233 TOTAL
                     EDM=   .50E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35527E-08    .41033        .42118E-03** at limit **
   2  Index         2.0220        8.8990        .40010        .42622E-09
   3  Normalizat    1.0813        .61961E-03    .38818E-01    .11611E-02
   4  Prefactor     .80130        .75268E-03    .63371E-01    .12642E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.55271e-09
  Index      = 2.02204
  Normalizat = 1.08129
  Prefactor  = 0.801304
 **********
 **   18 **HESSE 
 **********

 FCN=   5865.363     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      262 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35527E-08    1.0266        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0220        6.0060        .50000       -.63800    
   3  Normalizat    1.0813        .97952E-03    .20267E-03   -.90355    
   4  Prefactor     .80130        .11885E-02    .28031E-03   -.99680    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.39133e-11
Minuit parameter uncertainties:
  1  0.000120569
  2  3284.68
  3  0.000979518
  4  0.00118846
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/263374': 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): 102
logL (Free Index) = 5865.36308163
delta logL = -1.2314558262e-09

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
706   Normalization:  1.081e+00  9.795e-04  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/263374/cmap_HighResolution_693446401_693705601_4FGL_J1253.8+6242_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.56e-03', job_status='DONE', photon_flux_upper_limit='3.41e-08', time_completed='2022-12-26 01:05:28.935630', job_id='263374', GAL2='0.80', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1672045528.94', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='-1.23e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1752' AND source_name='4FGL J1253.8+6242' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 01:05:28 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 263374: <4FGL_J1253.8+6242_daily_bin1752> in cluster <slac> Done

Job <4FGL_J1253.8+6242_daily_bin1752> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Dec 26 00:55:15 2022
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:55:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:55:35 2022
Terminated at Mon Dec 26 01:05:29 2022
Results reported at Mon Dec 26 01:05:29 2022

Your job looked like:

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

Successfully completed.

Resource usage summary:

    CPU time :                                   532.23 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             338.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   594 sec.
    Turnaround time :                            614 sec.

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

