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


Performing analysis on: 4FGL_J1253.8+6242_daily_bin1769
RA = 193.467, Dec = 62.7052
tmin = 697852801, tmax = 698112001
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='434624', job_status='RUN', time_executed='2023-02-15 00:46:33.370178', time_epoch_executed='1676450793.37' WHERE source_name='4FGL J1253.8+6242' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434624

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434624/ft1_4FGL_J1253.8+6242_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434624/ft2_4FGL_J1253.8+6242_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434624/ft1_4FGL_J1253.8+6242_daily_bin1769.fits outfile=/scratch/kocevski/434624/ft1_filteredMKT_4FGL_J1253.8+6242_daily_bin1769.fits ra=193.467 dec=62.7052 rad=12.0 tmin=697852801.0 tmax=698112001.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.36
user 4.13
sys 0.22

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

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

Number of photons that the gtmktime cut: 592

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434624/ft1_filtered_4FGL_J1253.8+6242_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/434624/ft2_4FGL_J1253.8+6242_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/434624/ltcube_697852801_698112001_4FGL_J1253.8+6242_daily_bin1769.fits outfile=/scratch/kocevski/434624/expmap_697852801_698112001_4FGL_J1253.8+6242_daily_bin1769.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/434624/ltcube_697852801_698112001_4FGL_J1253.8+6242_daily_bin1769.fits
.....................!
real 191.06
user 186.21
sys 4.54

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/434624/ft1_filtered_4FGL_J1253.8+6242_daily_bin1769.fits scfile=/scratch/kocevski/434624/ft2_4FGL_J1253.8+6242_daily_bin1769.fits outfile=/scratch/kocevski/434624/cmap_697852801_698112001_4FGL_J1253.8+6242_daily_bin1769.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.53
user 0.38
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.663       1.0000          .0000       .10000E+07
     2 'Prefactor '    44.828       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.9530       1.0000          .0000       .10000E+07
     4 'norm      '    .82989E-07   1.0000          .0000       .10000E+07
     5 'norm      '    1.5763       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.9229       1.0000          .0000       .10000E+07
     7 'Prefactor '    .85420E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .15021E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .52590E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .43296E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .81635E-03   1.0000          .0000       .10000E+07
    12 'norm      '    3.1911       1.0000          .0000       .10000E+07
    13 'norm      '    2.9617       1.0000          .0000       .10000E+07
    14 'Prefactor '    .21538E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.242       1.0000          .0000       .10000E+07
    16 'Prefactor '    .71143E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    47.321       1.0000          .0000       .10000E+07
    18 'Prefactor '    .60193E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .10346E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .22177E-04   1.0000          .0000       .10000E+07
    21 'norm      '    .14544E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .31440E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1583       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .71162       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=   6387.419     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1972 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.689        3.0719       -.29441E-07    .20263    
   2  Prefactor     44.821        1.7319       -.94249E-08    .11306    
   3  Prefactor     1.9529        2.0649       -.35353E-07   -.69965E-03
   4  norm          .61062E-08    3.8448        .65170E-07** at limit **
   5  norm          1.5751        3.7268        .20224E-06    .42062E-03
   6  Prefactor     2.9217        4.0038       -.20182E-07    .11983E-03
   7  Prefactor     .13656E-07    4.2889       -.21546E-06** at limit **
   8  norm          .13323E-08    3.8860       -.20236E-06** at limit **
   9  Prefactor     .66613E-09    22.941       -.65073E-06** at limit **
  10  norm          .16653E-09    1.8497        .17605E-06** at limit **
  11  Prefactor     .77161E-08    4.6559        .49594E-07** at limit **
  12  norm          3.1901        1.9803       -.34328E-07   -.15245E-02
  13  norm          2.9614        1.8175       -.24890E-07   -.13670E-02
  14  Prefactor      .0000        12.178        .22554E-06** at limit **
  15  Prefactor     14.241        1.0761        .66395E-08   -.32800E-02
  16  Prefactor     .17819E-07    35.203        .23944E-07** at limit **
  17  Prefactor     46.910        11.588       -.14631E-06    .10529    
  18  Prefactor     .34850E-06    4.6440        .19699E-06** at limit **
  19  Prefactor     .49960E-09    3.5695        .58291E-07** at limit **
  20  Prefactor     .37213E-05    69.397        .23870E-05** at limit **
  21  norm          .33307E-09    1.8498       -.98347E-08** at limit **
  22  Prefactor     .17327E-05    37.513        .77477E-06** at limit **
  23  Normalizat    1.1584        .16861        .88611E-07   -.49015E-04
  24  Prefactor     .71167        .19990        .36878E-06   -.17202E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.6888
  Prefactor  = 44.8211
  Prefactor  = 1.95293
  norm       = 6.10623e-09
  norm       = 1.57508
  Prefactor  = 2.92166
  Prefactor  = 1.36557e-08
  norm       = 1.33227e-09
  Prefactor  = 6.66134e-10
  norm       = 1.66533e-10
  Prefactor  = 7.71605e-09
  norm       = 3.19014
  norm       = 2.9614
  Prefactor  = 0
  Prefactor  = 14.2409
  Prefactor  = 1.78191e-08
  Prefactor  = 46.9103
  Prefactor  = 3.48499e-07
  Prefactor  = 4.996e-10
  Prefactor  = 3.7213e-06
  norm       = 3.33067e-10
  Prefactor  = 1.73267e-06
  Normalizat = 1.15841
  Prefactor  = 0.711671
 **********
 **   18 **HESSE 
 **********

 FCN=   6387.419     FROM HESSE     STATUS=OK           447 CALLS     2419 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.689        20.611        .19744E-03   -1.5607    
   2  Prefactor     44.821        21.401        .14937E-03   -1.5574    
   3  Prefactor     1.9529        2.0648        .74222E-03   -1.5680    
   4  norm          .61062E-08    3.8594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.5751        3.7877        .84594E-03   -1.5683    
   6  Prefactor     2.9217        4.0454        .59394E-03   -1.5674    
   7  Prefactor     .13656E-07    4.3239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .13323E-08    1.0948        .31220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .66613E-09    23.082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .16653E-09    1.8622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .77161E-08    4.6477        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.1901        2.0200        .56698E-03   -1.5672    
  13  norm          2.9614        1.8165        .58980E-03   -1.5674    
  14  Prefactor      .0000        12.140        .16938E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.241        10.994        .26514E-03   -1.5632    
  16  Prefactor     .17819E-07    37.245        .14781E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     46.910        32.702        .14538E-03   -1.5571    
  18  Prefactor     .34850E-06    35.431        .15155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .49960E-09    3.5724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .37213E-05    74.471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .33307E-09    1.8643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .17327E-05    39.708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1584        .14735        .36006E-01   -.87898    
  24  Prefactor     .71167        .17281        .65998E-01   -1.0307    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17864e-06
Minuit parameter uncertainties:
  1  20.6107
  2  21.401
  3  2.06477
  4  0.000306947
  5  3.78773
  6  4.04541
  7  0.000485721
  8  7.69061e-05
  9  0.000248968
  10  3.26642e-05
  11  0.000378232
  12  2.01999
  13  1.81651
  14  1.86586e-05
  15  10.9936
  16  0.00163046
  17  32.7023
  18  0.00702767
  19  8.51139e-05
  20  0.0332948
  21  4.80839e-05
  22  0.0165892
  23  0.147398
  24  0.17294
Done.

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

Extracting fit parameters...

4FGL J1253.8+6242
   Spectrum: PowerLaw
369    Prefactor:  0.000e+00  1.866e-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:  7.117e-01  1.729e-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.158e+00  1.474e-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: 2.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/434624/likelihoodResults_697852801_698112001_4FGL_J1253.8+6242_daily_bin1769.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) = 6387.45826203
delta logL = -0.0393115867819

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6387.41895112
delta logL = -6.76195668348e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .43507E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .64199       1.0000          .0000       10.000    
     3 'Normalizat'    1.1585       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71154       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=   6387.419     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      199 TOTAL
                     EDM=   .57E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        11.532        .93083E-08** at limit **
   2  Index         2.0259        5.9373       -.44171E-06     .0000    
   3  Normalizat    1.1584        .16675        .35176E-05    .45451E-05
   4  Prefactor     .71167        .19979       -.68299E-05    .72993E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.02591
  Normalizat = 1.15841
  Prefactor  = 0.711671
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6387.419     FROM HESSE     STATUS=FAILED        11 CALLS      210 TOTAL
                     EDM=   .57E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        11.841        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .44225        1.8376       -.44171E-06   -.63704    
   3  Normalizat    1.1584        1.1225        .35176E-05   -.87898    
   4  Prefactor     .71167        1.0614       -.68299E-05   -1.0307    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.70444e-13
Minuit parameter uncertainties:
  1  2.28056e-05
  2  1.67299
  3  1.14716
  4  1.0941
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434624': 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): 101
logL (Free Index) = 6387.41895045
delta logL = 9.09494701773e-13

Extracting fit parameters...

4FGL J1253.8+6242
   Spectrum: PowerLaw
369    Prefactor:  0.000e+00  2.281e-05  0.000e+00  1.000e+06 ( 1.000e-14)
370        Index:  2.026e+00  1.673e+00  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.117e-01  1.094e+00  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.158e+00  1.147e+00  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/434624/cmap_HighResolution_697852801_698112001_4FGL_J1253.8+6242_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.20e-03', job_status='DONE', photon_flux_upper_limit='2.94e-08', time_completed='2023-02-15 00:58:03.495259', job_id='434624', GAL2='0.71', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1676451483.5', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1769' AND source_name='4FGL J1253.8+6242' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 00:58:03 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 434624: <4FGL_J1253.8+6242_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1253.8+6242_daily_bin1769> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Feb 15 00:45:22 2023
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:45:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:45:23 2023
Terminated at Wed Feb 15 00:58:04 2023
Results reported at Wed Feb 15 00:58:04 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1253.8+6242_daily_bin1769 193.467 62.7052 697852801 698112001 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 :                                   692.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             310.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            762 sec.

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

