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


Performing analysis on: 4FGL_J1253.8+6242_daily_bin1747
RA = 193.467, Dec = 62.7052
tmin = 692150401, tmax = 692409601
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='800908', job_status='RUN', time_executed='2022-12-11 00:54:21.428982', time_epoch_executed='1670748861.43' WHERE source_name='4FGL J1253.8+6242' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/800908

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/800908/ft1_4FGL_J1253.8+6242_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/800908/ft2_4FGL_J1253.8+6242_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/800908/ft1_4FGL_J1253.8+6242_daily_bin1747.fits outfile=/scratch/kocevski/800908/ft1_filteredMKT_4FGL_J1253.8+6242_daily_bin1747.fits ra=193.467 dec=62.7052 rad=12.0 tmin=692150401.0 tmax=692409601.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.99
user 3.75
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/800908/ft2_4FGL_J1253.8+6242_daily_bin1747.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/800908/ft1_filteredMKT_4FGL_J1253.8+6242_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/800908/ft1_filtered_4FGL_J1253.8+6242_daily_bin1747.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.51
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 648

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/800908/ft1_filtered_4FGL_J1253.8+6242_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/800908/ft2_4FGL_J1253.8+6242_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/800908/ltcube_692150401_692409601_4FGL_J1253.8+6242_daily_bin1747.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/800908/ft2_4FGL_J1253.8+6242_daily_bin1747.fits
.....................!
real 12.17
user 11.82
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/800908/ft1_filtered_4FGL_J1253.8+6242_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/800908/ft2_4FGL_J1253.8+6242_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/800908/ltcube_692150401_692409601_4FGL_J1253.8+6242_daily_bin1747.fits outfile=/scratch/kocevski/800908/expmap_692150401_692409601_4FGL_J1253.8+6242_daily_bin1747.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/800908/ltcube_692150401_692409601_4FGL_J1253.8+6242_daily_bin1747.fits
.....................!
real 191.95
user 186.15
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 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/800908/ft1_filtered_4FGL_J1253.8+6242_daily_bin1747.fits scfile=/scratch/kocevski/800908/ft2_4FGL_J1253.8+6242_daily_bin1747.fits outfile=/scratch/kocevski/800908/cmap_692150401_692409601_4FGL_J1253.8+6242_daily_bin1747.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.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/800908/ft1_filtered_4FGL_J1253.8+6242_daily_bin1747.fits scfile=/scratch/kocevski/800908/ft2_4FGL_J1253.8+6242_daily_bin1747.fits outfile=/scratch/kocevski/800908/cmap_HighResolution_692150401_692409601_4FGL_J1253.8+6242_daily_bin1747.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/800908/ft1_filtered_4FGL_J1253.8+6242_daily_bin1747.fits', '/scratch/kocevski/800908/ft2_4FGL_J1253.8+6242_daily_bin1747.fits', expMap='/scratch/kocevski/800908/expmap_692150401_692409601_4FGL_J1253.8+6242_daily_bin1747.fits', expCube='/scratch/kocevski/800908/ltcube_692150401_692409601_4FGL_J1253.8+6242_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/800908/Model_4FGL_J1253.8+6242_daily_bin1747.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/800908/ft1_filtered_4FGL_J1253.8+6242_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/800908/ft2_4FGL_J1253.8+6242_daily_bin1747.fits
Exposure map: /scratch/kocevski/800908/expmap_692150401_692409601_4FGL_J1253.8+6242_daily_bin1747.fits
Exposure cube: /scratch/kocevski/800908/ltcube_692150401_692409601_4FGL_J1253.8+6242_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/800908/Model_4FGL_J1253.8+6242_daily_bin1747.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) = 7071.88598066

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .70707E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.9895       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12401E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .13878E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .55301       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.8259       1.0000          .0000       .10000E+07
     7 'Prefactor '    .60362E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .34139E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .20547E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .50411       1.0000          .0000       .10000E+07
    11 'Prefactor '    .90994E-06   1.0000          .0000       .10000E+07
    12 'norm      '    3.7003       1.0000          .0000       .10000E+07
    13 'norm      '    1.1784       1.0000          .0000       .10000E+07
    14 'Prefactor '    .12659E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.6135       1.0000          .0000       .10000E+07
    16 'Prefactor '    .80190E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .13448E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    18.526       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.0663       1.0000          .0000       .10000E+07
    20 'Prefactor '    .91323E-02   1.0000          .0000       .10000E+07
    21 'norm      '    2.2450       1.0000          .0000       .10000E+07
    22 'Prefactor '    41.510       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1253       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90902       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=   7071.820     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1603 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19679E-06    11.935       -.38774E-05** at limit **
   2  Prefactor     5.9495        1.3237       -.25730E-06   -.32272E-02
   3  Prefactor     .22204E-09    2.5920       -.64265E-07** at limit **
   4  norm          .26368E-07    5.2306       -.11010E-05** at limit **
   5  norm          .54961        2.2682       -.25856E-07   -.30577E-03
   6  Prefactor     3.8256        4.4122       -.30862E-06   -.19537E-02
   7  Prefactor     .28810E-07    5.2516        .11357E-05** at limit **
   8  norm           .0000        .52979       -.11403E-06** at limit **
   9  Prefactor     .25323E-04    59.332        .12314E-04** at limit **
  10  norm          .51230        4.0163       -.45733E-06   -.73624E-03
  11  Prefactor     .55511E-10    1.7590       -.44376E-06** at limit **
  12  norm          3.6991        1.8141       -.17388E-07   -.32705E-02
  13  norm          1.1793        1.5276        .32024E-06   -.66608E-02
  14  Prefactor     .14433E-07    12.516       -.94064E-07** at limit **
  15  Prefactor     2.6036        5.9488       -.74146E-07   -.67028E-03
  16  Prefactor     .83455E-04    57.471        .69339E-05** at limit **
  17  Prefactor     .92704E-07    13.658        .39157E-05** at limit **
  18  Prefactor     14.474        29.806        .13355E-05    .88245E-01
  19  Prefactor     1.0528        3.8309        .31990E-06   -.31285E-02
  20  Prefactor     .45519E-08    6.3034       -.51685E-06** at limit **
  21  norm          2.2719        3.1312       -.59824E-06   -.81893E-02
  22  Prefactor     41.498        1.3158       -.89877E-07    .13133E-01
  23  Normalizat    1.1275        .17368       -.15384E-04   -.91112E-04
  24  Prefactor     .90819        .20826        .13517E-04   -.95373E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.96787e-07
  Prefactor  = 5.94954
  Prefactor  = 2.22045e-10
  norm       = 2.63678e-08
  norm       = 0.549612
  Prefactor  = 3.82557
  Prefactor  = 2.88103e-08
  norm       = 0
  Prefactor  = 2.53225e-05
  norm       = 0.512297
  Prefactor  = 5.55112e-11
  norm       = 3.69912
  norm       = 1.17933
  Prefactor  = 1.44329e-08
  Prefactor  = 2.60355
  Prefactor  = 8.3455e-05
  Prefactor  = 9.27036e-08
  Prefactor  = 14.4736
  Prefactor  = 1.05278
  Prefactor  = 4.55191e-09
  norm       = 2.27192
  Prefactor  = 41.4978
  Normalizat = 1.12747
  Prefactor  = 0.908188
 **********
 **   18 **HESSE 
 **********

 FCN=   7071.820     FROM HESSE     STATUS=OK           451 CALLS     2054 TOTAL
                     EDM=   .55E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19679E-06    16.283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.9495        15.119        .41005E-03   -1.5659    
   3  Prefactor     .22204E-09    2.5941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .26368E-07    5.2794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .54961        2.3437        .73547E-03   -1.5693    
   6  Prefactor     3.8256        4.4671        .51575E-03   -1.5669    
   7  Prefactor     .28810E-07    5.3207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .52983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .25323E-04    8.7862        .13620E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .51230        4.0125        .78297E-03   -1.5694    
  11  Prefactor     .55511E-10    1.7628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.6991        1.8040        .52476E-03   -1.5669    
  13  norm          1.1793        1.5684        .10536E-02   -1.5686    
  14  Prefactor     .14433E-07    12.674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.6036        5.9752        .63068E-03   -1.5676    
  16  Prefactor     .83455E-04    99.742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .92704E-07    17.014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     14.474        44.707        .23242E-03   -1.5632    
  19  Prefactor     1.0528        3.8753        .11800E-02   -1.5687    
  20  Prefactor     .45519E-08    6.3109        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.2719        3.1552        .68560E-03   -1.5678    
  22  Prefactor     41.498        29.020        .15523E-03   -1.5579    
  23  Normalizat    1.1275        .15092        .37052E-01   -.88875    
  24  Prefactor     .90819        .17938        .45120E-01   -.95856    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.5093e-06
Minuit parameter uncertainties:
  1  0.00358033
  2  15.1191
  3  4.63884e-05
  4  0.00074592
  5  2.26992
  6  4.46707
  7  0.000783383
  8  5.45568e-06
  9  0.0298322
  10  2.86746
  11  1.42179e-05
  12  1.80401
  13  1.56843
  14  0.000854753
  15  5.97518
  16  0.182475
  17  0.00251166
  18  44.7083
  19  3.87533
  20  0.000339614
  21  3.15517
  22  29.02
  23  0.150974
  24  0.179492
Done.

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

Extracting fit parameters...

4FGL J1253.8+6242
   Spectrum: PowerLaw
369    Prefactor:  1.443e-08  8.548e-04  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:  9.082e-01  1.795e-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.127e+00  1.510e-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.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/800908/likelihoodResults_692150401_692409601_4FGL_J1253.8+6242_daily_bin1747.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) = 7071.85726917
delta logL = -0.0376868675803

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7071.81958285
delta logL = -5.4787415138e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31370E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .60931       1.0000          .0000       10.000    
     3 'Normalizat'    1.1276       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90806       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=   7071.820     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      227 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .61062E-09    600.16        .42118E-03** at limit **
   2  Index         2.7609        5.6583        .41181       -.66256E-10
   3  Normalizat    1.1275        .31354E-01    .36974E-01    .33163E-03
   4  Prefactor     .90819        .38168E-01    .45108E-01    .35261E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.10623e-10
  Index      = 2.76093
  Normalizat = 1.12747
  Prefactor  = 0.908186
 **********
 **   18 **HESSE 
 **********

 FCN=   7071.820     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      256 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .61062E-09    334.11        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7609        5.4607        .50000       -.46432    
   3  Normalizat    1.1275        .22428E-01    .20663E-03   -.88875    
   4  Prefactor     .90819        .27312E-01    .27590E-03   -.95856    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.50536e-09
Minuit parameter uncertainties:
  1  0.000902156
  2  27.2063
  3  0.0224286
  4  0.0273122
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/800908': 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) = 7071.81958231
delta logL = 4.03815647587e-10

Extracting fit parameters...

4FGL J1253.8+6242
   Spectrum: PowerLaw
369    Prefactor:  6.106e-10  9.022e-04  0.000e+00  1.000e+06 ( 1.000e-14)
370        Index:  2.761e+00  2.721e+01  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:  9.082e-01  2.731e-02  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.127e+00  2.243e-02  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/800908/cmap_HighResolution_692150401_692409601_4FGL_J1253.8+6242_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.42e-03', job_status='DONE', photon_flux_upper_limit='3.23e-08', time_completed='2022-12-11 01:06:02.896814', job_id='800908', GAL2='0.91', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1670749562.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='4.04e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1747' AND source_name='4FGL J1253.8+6242' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:06:02 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 800908: <4FGL_J1253.8+6242_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1253.8+6242_daily_bin1747> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Dec 11 00:50:27 2022
Job was executed on host(s) <bullet0226>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 00:50:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 00:50:28 2022
Terminated at Sun Dec 11 01:06:03 2022
Results reported at Sun Dec 11 01:06:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1253.8+6242_daily_bin1747 193.467 62.7052 692150401 692409601 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 :                                   702.17 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             233.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            936 sec.

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

