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


Performing analysis on: 4FGL_J1337.4+5502_daily_bin1750
RA = 204.367, Dec = 55.0418
tmin = 692928001, tmax = 693187201
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='13425', job_status='RUN', time_executed='2022-12-20 00:55:42.460777', time_epoch_executed='1671526542.46' WHERE source_name='4FGL J1337.4+5502' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/13425

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/13425/ft1_4FGL_J1337.4+5502_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/13425/ft2_4FGL_J1337.4+5502_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/13425/ft1_4FGL_J1337.4+5502_daily_bin1750.fits outfile=/scratch/kocevski/13425/ft1_filteredMKT_4FGL_J1337.4+5502_daily_bin1750.fits ra=204.367 dec=55.0418 rad=12.0 tmin=692928001.0 tmax=693187201.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.47
user 3.26
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/13425/ft2_4FGL_J1337.4+5502_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/13425/ft2_4FGL_J1337.4+5502_daily_bin1750.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/13425/ft1_filteredMKT_4FGL_J1337.4+5502_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/13425/ft1_filtered_4FGL_J1337.4+5502_daily_bin1750.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.48
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 591

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/13425/ft1_filtered_4FGL_J1337.4+5502_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/13425/ft2_4FGL_J1337.4+5502_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/13425/ltcube_692928001_693187201_4FGL_J1337.4+5502_daily_bin1750.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/13425/ft2_4FGL_J1337.4+5502_daily_bin1750.fits
.....................!
real 11.48
user 11.12
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/13425/ft1_filtered_4FGL_J1337.4+5502_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/13425/ft2_4FGL_J1337.4+5502_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/13425/ltcube_692928001_693187201_4FGL_J1337.4+5502_daily_bin1750.fits outfile=/scratch/kocevski/13425/expmap_692928001_693187201_4FGL_J1337.4+5502_daily_bin1750.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/13425/ltcube_692928001_693187201_4FGL_J1337.4+5502_daily_bin1750.fits
.....................!
real 192.27
user 186.65
sys 5.28

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 208 point sources and 0 extended sources

Setting source of interest to:
4FGL J1337.4+5502 @ 204.367 55.0418

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/13425/ft1_filtered_4FGL_J1337.4+5502_daily_bin1750.fits scfile=/scratch/kocevski/13425/ft2_4FGL_J1337.4+5502_daily_bin1750.fits outfile=/scratch/kocevski/13425/cmap_692928001_693187201_4FGL_J1337.4+5502_daily_bin1750.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=204.367 yref=55.0418 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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/13425/ft1_filtered_4FGL_J1337.4+5502_daily_bin1750.fits scfile=/scratch/kocevski/13425/ft2_4FGL_J1337.4+5502_daily_bin1750.fits outfile=/scratch/kocevski/13425/cmap_HighResolution_692928001_693187201_4FGL_J1337.4+5502_daily_bin1750.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=204.367 yref=55.0418 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/13425/ft1_filtered_4FGL_J1337.4+5502_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/13425/ft2_4FGL_J1337.4+5502_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/13425/Model_4FGL_J1337.4+5502_daily_bin1750.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/13425/ft1_filtered_4FGL_J1337.4+5502_daily_bin1750.fits.....................!
real 52.41
user 51.06
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/13425/ft1_filtered_4FGL_J1337.4+5502_daily_bin1750.fits', '/scratch/kocevski/13425/ft2_4FGL_J1337.4+5502_daily_bin1750.fits', expMap='/scratch/kocevski/13425/expmap_692928001_693187201_4FGL_J1337.4+5502_daily_bin1750.fits', expCube='/scratch/kocevski/13425/ltcube_692928001_693187201_4FGL_J1337.4+5502_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/13425/Model_4FGL_J1337.4+5502_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1337.4+5502'

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  7.731e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/13425/ft1_filtered_4FGL_J1337.4+5502_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/13425/ft2_4FGL_J1337.4+5502_daily_bin1750.fits
Exposure map: /scratch/kocevski/13425/expmap_692928001_693187201_4FGL_J1337.4+5502_daily_bin1750.fits
Exposure cube: /scratch/kocevski/13425/ltcube_692928001_693187201_4FGL_J1337.4+5502_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/13425/Model_4FGL_J1337.4+5502_daily_bin1750.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) = 6372.39326326

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14795       1.0000          .0000       .10000E+07
     2 'norm      '    2.5646       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.6213       1.0000          .0000       .10000E+07
     4 'norm      '    .26756E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .12795       1.0000          .0000       .10000E+07
     6 'Prefactor '    .98156E-04   1.0000          .0000       .10000E+07
     7 'norm      '    3.4928       1.0000          .0000       .10000E+07
     8 'Prefactor '    56.992       1.0000          .0000       .10000E+07
     9 'Prefactor '    .23541E-03   1.0000          .0000       .10000E+07
    10 'norm      '    3.3201       1.0000          .0000       .10000E+07
    11 'Prefactor '    88.299       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.3358       1.0000          .0000       .10000E+07
    13 'norm      '    .18767E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .57021E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .34613E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    6.8225       1.0000          .0000       .10000E+07
    17 'Prefactor '    11.980       1.0000          .0000       .10000E+07
    18 'Prefactor '    .79097       1.0000          .0000       .10000E+07
    19 'Prefactor '    19.560       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.1162       1.0000          .0000       .10000E+07
    21 'Prefactor '    .21227E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .51076E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    22.326       1.0000          .0000       .10000E+07
    24 'Prefactor '    6.1749       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1065       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .90684       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6372.391     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     2369 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30196        16.462       -.14475E-06    .32763E-03
   2  norm          2.5539        1.6081       -.83514E-07    .44371E-03
   3  Prefactor     6.6250        9.8858       -.46090E-06   -.21404E-01
   4  norm           .0000        .53886        .18587E-06** at limit **
   5  Prefactor     .24430E-06    61.254        .58966E-06** at limit **
   6  Prefactor     .10547E-08    6.9698       -.91631E-06** at limit **
   7  norm          3.5046        3.8209       -.23270E-06   -.49060E-03
   8  Prefactor     57.073        31.145        .40952E-06    .15648E-02
   9  Prefactor     .47474E-05    14.798       -.95224E-06** at limit **
  10  norm          3.3519        4.4151        .21914E-06    .52300E-03
  11  Prefactor     88.357        8.2181        .10841E-06   -.88501E-01
  12  Prefactor     1.3468        3.5236       -.19322E-06   -.30800E-05
  13  norm           .0000        .77195       -.26715E-06** at limit **
  14  norm           .0000        1.2261        .40423E-06** at limit **
  15  Prefactor     .97145E-07    7.2405        .19283E-06** at limit **
  16  Prefactor     6.8458        2.1411        .28868E-07    .13743E-01
  17  Prefactor     12.163        22.391        .70721E-06   -.23183E-01
  18  Prefactor     .78950        4.4803        .18545E-06   -.13758E-02
  19  Prefactor     19.534        2.1311       -.34161E-07    .32735E-01
  20  Prefactor     4.1211        2.5586        .71296E-07    .14787E-02
  21  Prefactor     .85709E-07    7.1334        .88003E-06** at limit **
  22  Prefactor     .44893E-05    14.541       -.11239E-05** at limit **
  23  Prefactor     22.330        1.4829        .70437E-08    .82337E-02
  24  Prefactor     6.1529        5.6968        .29268E-06    .31681E-01
  25  Normalizat    1.1059        .19481       -.11766E-04   -.12375E-04
  26  Prefactor     .90663        .22738        .16079E-04   -.79513E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.301962
  norm       = 2.55385
  Prefactor  = 6.62501
  norm       = 0
  Prefactor  = 2.44305e-07
  Prefactor  = 1.05471e-09
  norm       = 3.50462
  Prefactor  = 57.0734
  Prefactor  = 4.74742e-06
  norm       = 3.35185
  Prefactor  = 88.3573
  Prefactor  = 1.34679
  norm       = 0
  norm       = 0
  Prefactor  = 9.71445e-08
  Prefactor  = 6.84584
  Prefactor  = 12.1634
  Prefactor  = 0.789497
  Prefactor  = 19.5342
  Prefactor  = 4.12111
  Prefactor  = 8.57092e-08
  Prefactor  = 4.4893e-06
  Prefactor  = 22.3299
  Prefactor  = 6.15287
  Normalizat = 1.10591
  Prefactor  = 0.906633
 **********
 **   18 **HESSE 
 **********

 FCN=   6372.391     FROM HESSE     STATUS=OK           520 CALLS     2889 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30196        2.7339        .76046E-02   -1.5697    
   2  norm          2.5539        1.6041        .63718E-03   -1.5676    
   3  Prefactor     6.6250        15.765        .38974E-03   -1.5656    
   4  norm           .0000        .53996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .24430E-06    60.124        .13232E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10547E-08    6.9341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.5046        3.8726        .54077E-03   -1.5671    
   8  Prefactor     57.073        39.111        .13247E-03   -1.5557    
   9  Prefactor     .47474E-05    25.065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.3519        4.4697        .55530E-03   -1.5671    
  11  Prefactor     88.357        54.111        .10643E-03   -1.5520    
  12  Prefactor     1.3468        3.5987        .94886E-03   -1.5685    
  13  norm           .0000        .76243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.2250        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .97145E-07    10.720        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.8458        72.865        .38389E-03   -1.5656    
  17  Prefactor     12.163        44.167        .28917E-03   -1.5638    
  18  Prefactor     .78950        4.9413        .53610E-03   -1.5690    
  19  Prefactor     19.534        21.816        .22618E-03   -1.5620    
  20  Prefactor     4.1211        2.6694        .49663E-03   -1.5667    
  21  Prefactor     .85709E-07    10.609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .44893E-05    24.374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     22.330        22.693        .21169E-03   -1.5613    
  24  Prefactor     6.1529        14.559        .40376E-03   -1.5658    
  25  Normalizat    1.1059        .16911        .37743E-01   -.89562    
  26  Prefactor     .90663        .19355        .65387E-01   -.95910    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35437e-06
Minuit parameter uncertainties:
  1  1.81719
  2  1.60405
  3  15.7654
  4  9.63334e-07
  5  0.00766545
  6  0.00017266
  7  3.87259
  8  39.1112
  9  0.0218171
  10  4.46966
  11  54.1112
  12  3.59874
  13  1.32067e-06
  14  3.55768e-06
  15  0.00204101
  16  44.6693
  17  44.1677
  18  3.95025
  19  21.8157
  20  2.66938
  21  0.00190692
  22  0.020921
  23  22.6928
  24  14.5587
  25  0.16919
  26  0.193693
Done.

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

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  8.836e+01  5.411e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.758e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  9.066e-01  1.937e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.106e+00  1.692e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.15
Ra Dec: 204.367 55.042
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 6.08e-08 +/- 3.72e-08
Energy Flux (Fixed Index): 1.40e-05 +/- 8.57e-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) = 6371.40241614
delta logL = 0.988816329877

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6371.31854211
delta logL = 1.07269035916

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    115.67       1.0000          .0000       .10000E+07
     2 'Index     '    1.8519       1.0000          .0000       10.000    
     3 'Normalizat'    1.1553       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85913       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6371.319     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      216 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     115.74        74.750        .17759E-05   -.16758E-02
   2  Index         1.8522        .47476        .60575E-04   -.14033E-04
   3  Normalizat    1.1551        .15969       -.52679E-05   -.12561E-02
   4  Prefactor     .85951        .19326        .33203E-05   -.84077E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 115.745
  Index      = 1.85222
  Normalizat = 1.15511
  Prefactor  = 0.859507
 **********
 **   18 **HESSE 
 **********

 FCN=   6371.319     FROM HESSE     STATUS=OK            27 CALLS      243 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     115.74        73.834        .18597E-04   -1.5493    
   2  Index         1.8522        .46925        .72730E-02   -.68098    
   3  Normalizat    1.1551        .18564        .21327E-03   -.88001    
   4  Prefactor     .85951        .22481        .29570E-03   -.97571    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24097e-09
Minuit parameter uncertainties:
  1  73.835
  2  0.470398
  3  0.185748
  4  0.225047
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/13425': 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) = 6371.31853976
delta logL = 1.07269270825

Extracting fit parameters...

4FGL J1337.4+5502
   Spectrum: PowerLaw
314    Prefactor:  1.157e+02  7.384e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  1.852e+00  4.704e-01  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  5.686e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
661    Prefactor:  8.595e-01  2.250e-01  0.000e+00  1.000e+01 ( 1.000e+00)
662        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
663        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
660   Normalization:  1.155e+00  1.857e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.28
Ra Dec: 204.367 55.042
Photon Index (Free Index): 1.85 +/- 0.47
Photon Flux (Free Index): 3.39e-08 +/- 2.65e-08
Energy Flux (Free Index): 3.48e-05 +/- 3.58e-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/13425/cmap_HighResolution_692928001_693187201_4FGL_J1337.4+5502_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.08e-08', energy_flux2='3.48e-05', photon_flux_error='3.72e-08', dlogl='1.07e+00', energy_flux='1.40e-05', photon_flux2='3.39e-08', job_status='DONE', time_completed='2022-12-20 01:06:38.535698', photon_index_error2='0.47', photon_index2='1.85', ts='4.15', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='3.58e-05', EG='1.11', time_epoch_completed='1671527198.54', return_code='0', job_id='13425', GAL2='0.86', EG2='1.16', return_code2='0', energy_flux_error='8.57e-06', photon_flux_error2='2.65e-08', ts2='6.28', photon_index='2.76' WHERE bin_id='1750' AND source_name='4FGL J1337.4+5502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:06:38 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 13425: <4FGL_J1337.4+5502_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1337.4+5502_daily_bin1750> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Dec 20 00:55:16 2022
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:55:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:55:17 2022
Terminated at Tue Dec 20 01:06:39 2022
Results reported at Tue Dec 20 01:06:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1337.4+5502_daily_bin1750 204.367 55.0418 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1337.4+5502 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   658.08 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             335.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   681 sec.
    Turnaround time :                            683 sec.

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

