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


Performing analysis on: 4FGL_J1253.8+6242_daily_bin1760
RA = 193.467, Dec = 62.7052
tmin = 695520001, tmax = 695779201
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='736312', job_status='RUN', time_executed='2023-01-19 00:54:52.216162', time_epoch_executed='1674118492.22' WHERE source_name='4FGL J1253.8+6242' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/736312

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/736312/ft1_4FGL_J1253.8+6242_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/736312/ft2_4FGL_J1253.8+6242_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/736312/ft1_4FGL_J1253.8+6242_daily_bin1760.fits outfile=/scratch/kocevski/736312/ft1_filteredMKT_4FGL_J1253.8+6242_daily_bin1760.fits ra=193.467 dec=62.7052 rad=12.0 tmin=695520001.0 tmax=695779201.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.44
user 2.23
sys 0.18

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

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

Number of photons that the gtmktime cut: 514

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/736312/ft1_filtered_4FGL_J1253.8+6242_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/736312/ft2_4FGL_J1253.8+6242_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/736312/ltcube_695520001_695779201_4FGL_J1253.8+6242_daily_bin1760.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/736312/ft2_4FGL_J1253.8+6242_daily_bin1760.fits
.....................!
real 16.57
user 16.05
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/736312/ft1_filtered_4FGL_J1253.8+6242_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/736312/ft2_4FGL_J1253.8+6242_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/736312/ltcube_695520001_695779201_4FGL_J1253.8+6242_daily_bin1760.fits outfile=/scratch/kocevski/736312/expmap_695520001_695779201_4FGL_J1253.8+6242_daily_bin1760.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/736312/ltcube_695520001_695779201_4FGL_J1253.8+6242_daily_bin1760.fits
.....................!
real 193.29
user 185.97
sys 5.97

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/736312/ft1_filtered_4FGL_J1253.8+6242_daily_bin1760.fits scfile=/scratch/kocevski/736312/ft2_4FGL_J1253.8+6242_daily_bin1760.fits outfile=/scratch/kocevski/736312/cmap_695520001_695779201_4FGL_J1253.8+6242_daily_bin1760.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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/736312/ft1_filtered_4FGL_J1253.8+6242_daily_bin1760.fits scfile=/scratch/kocevski/736312/ft2_4FGL_J1253.8+6242_daily_bin1760.fits outfile=/scratch/kocevski/736312/cmap_HighResolution_695520001_695779201_4FGL_J1253.8+6242_daily_bin1760.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.57
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.718       1.0000          .0000       .10000E+07
     2 'Prefactor '    .77430       1.0000          .0000       .10000E+07
     3 'Prefactor '    .98271E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .35034E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .40733E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .39173E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17111       1.0000          .0000       .10000E+07
     8 'norm      '    .15626E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .15457       1.0000          .0000       .10000E+07
    10 'norm      '    .37436E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .84183E-06   1.0000          .0000       .10000E+07
    12 'norm      '    5.4317       1.0000          .0000       .10000E+07
    13 'norm      '    4.0686       1.0000          .0000       .10000E+07
    14 'Prefactor '    18.908       1.0000          .0000       .10000E+07
    15 'Prefactor '    5.3374       1.0000          .0000       .10000E+07
    16 'Prefactor '    56.939       1.0000          .0000       .10000E+07
    17 'Prefactor '    .84589E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    82.456       1.0000          .0000       .10000E+07
    19 'Prefactor '    2.9480       1.0000          .0000       .10000E+07
    20 'Prefactor '    .25827E-02   1.0000          .0000       .10000E+07
    21 'norm      '    .56563E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .31777E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0959       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .79293       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=   5711.483     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     2031 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.886        7.6804       -.30735E-06    .93871E-01
   2  Prefactor     .83895        1.7802        .20859E-06   -.24187E-02
   3  Prefactor     .77716E-09    7.5695       -.74149E-06** at limit **
   4  norm          .17764E-07    95.541       -.34793E-06** at limit **
   5  norm           .0000        5.7951       -.16670E-06** at limit **
   6  Prefactor     .47184E-08    21.462       -.55858E-06** at limit **
   7  Prefactor     .94813E-07    59.794        .10285E-04** at limit **
   8  norm           .0000        .79219       -.10619E-07** at limit **
   9  Prefactor     .17764E-07    56.575       -.41965E-05** at limit **
  10  norm           .0000        1.7549       -.31553E-07** at limit **
  11  Prefactor      .0000        1.2273       -.33897E-07** at limit **
  12  norm          5.4335        2.3705       -.12140E-07   -.47317E-02
  13  norm          4.0700        2.0598       -.38261E-07   -.33635E-02
  14  Prefactor     18.932        1.0462        .38095E-07   -.24777E-02
  15  Prefactor     5.3548        10.234        .50029E-07    .82055E-05
  16  Prefactor     59.919        49.311        .27959E-06    .57715E-02
  17  Prefactor     .11102E-09    12.574       -.18902E-06** at limit **
  18  Prefactor     84.453        33.376        .24040E-06   -.33851E-01
  19  Prefactor     2.9250        4.4295       -.22599E-07   -.44688E-03
  20  Prefactor     .38858E-09    8.6806        .36866E-06** at limit **
  21  norm           .0000        3.5315        .15007E-08** at limit **
  22  Prefactor     .99920E-09    16.350        .45796E-06** at limit **
  23  Normalizat    1.0944        .19141       -.55588E-05   -.33109E-03
  24  Prefactor     .79330        .21653        .61382E-05   -.19382E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.8861
  Prefactor  = 0.838951
  Prefactor  = 7.77156e-10
  norm       = 1.77636e-08
  norm       = 0
  Prefactor  = 4.71845e-09
  Prefactor  = 9.4813e-08
  norm       = 0
  Prefactor  = 1.77636e-08
  norm       = 0
  Prefactor  = 0
  norm       = 5.43354
  norm       = 4.07004
  Prefactor  = 18.9321
  Prefactor  = 5.35478
  Prefactor  = 59.9188
  Prefactor  = 1.11022e-10
  Prefactor  = 84.4525
  Prefactor  = 2.925
  Prefactor  = 3.88578e-10
  norm       = 0
  Prefactor  = 9.99201e-10
  Normalizat = 1.09445
  Prefactor  = 0.793297
 **********
 **   18 **HESSE 
 **********

 FCN=   5711.483     FROM HESSE     STATUS=OK           445 CALLS     2476 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.886        40.242        .14043E-03   -1.5565    
   2  Prefactor     .83895        142.34        .54871E-03   -1.5690    
   3  Prefactor     .77716E-09    7.5104        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .17764E-07    94.873        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        5.7842        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .47184E-08    21.285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .94813E-07    58.543        .12314E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .79266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .17764E-07    54.110        .12648E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        1.7567        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        1.2318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.4335        2.3841        .43092E-03   -1.5661    
  13  norm          4.0700        2.0607        .49962E-03   -1.5668    
  14  Prefactor     18.932        18.845        .23005E-03   -1.5621    
  15  Prefactor     5.3548        10.242        .43478E-03   -1.5662    
  16  Prefactor     59.919        59.388        .13253E-03   -1.5553    
  17  Prefactor     .11102E-09    12.567        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     84.453        58.467        .11013E-03   -1.5524    
  19  Prefactor     2.9250        4.4856        .59125E-03   -1.5674    
  20  Prefactor     .38858E-09    8.6818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        3.5034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .99920E-09    16.395        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0944        .16385        .38170E-01   -.89930    
  24  Prefactor     .79330        .18409        .63654E-01   -.99976    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.27869e-07
Minuit parameter uncertainties:
  1  40.2426
  2  21.856
  3  0.000151201
  4  0.00259663
  5  2.48683e-05
  6  0.000634064
  7  0.00471197
  8  1.32711e-06
  9  0.0019615
  10  1.51784e-06
  11  5.38851e-07
  12  2.38409
  13  2.06072
  14  18.8446
  15  10.2423
  16  59.3886
  17  6.72937e-05
  18  58.4674
  19  4.48557
  20  0.000115404
  21  1.88306e-06
  22  0.00025385
  23  0.163927
  24  0.184237
Done.

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

Extracting fit parameters...

4FGL J1253.8+6242
   Spectrum: PowerLaw
369    Prefactor:  1.893e+01  1.884e+01  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:  7.933e-01  1.842e-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.094e+00  1.639e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.46
Ra Dec: 193.467 62.705
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 9.53e-09 +/- 9.49e-09
Energy Flux (Fixed Index): 6.81e-06 +/- 6.78e-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) = 5709.87736054
delta logL = 1.6055611712

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5709.87724576
delta logL = 1.60567595121

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.932       1.0000          .0000       .10000E+07
     2 'Index     '    .86569       1.0000          .0000       10.000    
     3 'Normalizat'    1.0994       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79141       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5709.877     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      197 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 14.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.922        25.764       -.89070E-06   -.81443E-03
   2  Index         .86577        .63068       -.54190E-04    .13830E-04
   3  Normalizat    1.0991        .15611        .94757E-07    .11203E-03
   4  Prefactor     .79184        .18374        .75637E-07    .63147E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.922
  Index      = 0.86577
  Normalizat = 1.09913
  Prefactor  = 0.791845
 **********
 **   18 **HESSE 
 **********

 FCN=   5709.877     FROM HESSE     STATUS=OK            29 CALLS      226 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.922        25.655        .91964E-05   -1.5621    
   2  Index         .86577        .62865        .12185E-02   -.97348    
   3  Normalizat    1.0991        .18329        .20757E-03   -.89780    
   4  Prefactor     .79184        .21542        .28178E-03   -1.0003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31726e-11
Minuit parameter uncertainties:
  1  25.6554
  2  0.634008
  3  0.183396
  4  0.215648
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/736312': 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) = 5709.87724316
delta logL = 1.60567855429

Extracting fit parameters...

4FGL J1253.8+6242
   Spectrum: PowerLaw
369    Prefactor:  1.892e+01  2.566e+01  0.000e+00  1.000e+06 ( 1.000e-14)
370        Index:  8.658e-01  6.340e-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:  7.918e-01  2.156e-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.099e+00  1.834e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.67
Ra Dec: 193.467 62.705
Photon Index (Free Index): 0.87 +/- 0.63
Photon Flux (Free Index): 3.22e-09 +/- 3.44e-09
Energy Flux (Free Index): 6.31e-05 +/- 8.60e-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/736312/cmap_HighResolution_695520001_695779201_4FGL_J1253.8+6242_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.53e-09', energy_flux2='6.31e-05', photon_flux_error='9.49e-09', dlogl='1.61e+00', energy_flux='6.81e-06', photon_flux2='3.22e-09', job_status='DONE', time_completed='2023-01-19 01:05:18.215742', photon_index_error2='0.63', photon_index2='0.87', ts='8.46', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='8.60e-05', EG='1.09', time_epoch_completed='1674119118.22', return_code='0', job_id='736312', GAL2='0.79', EG2='1.10', return_code2='0', energy_flux_error='6.78e-06', photon_flux_error2='3.44e-09', ts2='11.67', photon_index='1.99' WHERE bin_id='1760' AND source_name='4FGL J1253.8+6242' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 01:05:18 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 736312: <4FGL_J1253.8+6242_daily_bin1760> in cluster <slac> Done

Job <4FGL_J1253.8+6242_daily_bin1760> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jan 19 00:50:19 2023
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 00:52:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 00:52:16 2023
Terminated at Thu Jan 19 01:05:19 2023
Results reported at Thu Jan 19 01:05:19 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1253.8+6242_daily_bin1760 193.467 62.7052 695520001 695779201 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 :                                   626.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             315.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   784 sec.
    Turnaround time :                            900 sec.

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

