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 97 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7341
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1057.2+5510_daily_bin1752
RA = 164.318, Dec = 55.1804
tmin = 693446401, tmax = 693705601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='260473', job_status='RUN', time_executed='2022-12-26 00:47:25.025425', time_epoch_executed='1672044445.03' WHERE source_name='4FGL J1057.2+5510' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/260473

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/260473/ft1_4FGL_J1057.2+5510_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/260473/ft2_4FGL_J1057.2+5510_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/260473/ft1_4FGL_J1057.2+5510_daily_bin1752.fits outfile=/scratch/kocevski/260473/ft1_filteredMKT_4FGL_J1057.2+5510_daily_bin1752.fits ra=164.318 dec=55.1804 rad=12.0 tmin=693446401.0 tmax=693705601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.48
user 3.26
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/260473/ft2_4FGL_J1057.2+5510_daily_bin1752.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/260473/ft2_4FGL_J1057.2+5510_daily_bin1752.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/260473/ft1_filteredMKT_4FGL_J1057.2+5510_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/260473/ft1_filtered_4FGL_J1057.2+5510_daily_bin1752.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 557

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/260473/ft1_filtered_4FGL_J1057.2+5510_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/260473/ft2_4FGL_J1057.2+5510_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/260473/ltcube_693446401_693705601_4FGL_J1057.2+5510_daily_bin1752.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /scratch/kocevski/260473/ft2_4FGL_J1057.2+5510_daily_bin1752.fits
.....................!
real 14.37
user 13.98
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/260473/ft1_filtered_4FGL_J1057.2+5510_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/260473/ft2_4FGL_J1057.2+5510_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/260473/ltcube_693446401_693705601_4FGL_J1057.2+5510_daily_bin1752.fits outfile=/scratch/kocevski/260473/expmap_693446401_693705601_4FGL_J1057.2+5510_daily_bin1752.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/260473/ltcube_693446401_693705601_4FGL_J1057.2+5510_daily_bin1752.fits
.....................!
real 192.05
user 186.37
sys 5.32

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

Setting source of interest to:
4FGL J1057.2+5510 @ 164.318 55.1804

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/260473/ft1_filtered_4FGL_J1057.2+5510_daily_bin1752.fits scfile=/scratch/kocevski/260473/ft2_4FGL_J1057.2+5510_daily_bin1752.fits outfile=/scratch/kocevski/260473/cmap_693446401_693705601_4FGL_J1057.2+5510_daily_bin1752.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=164.318 yref=55.1804 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.60
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/260473/ft1_filtered_4FGL_J1057.2+5510_daily_bin1752.fits scfile=/scratch/kocevski/260473/ft2_4FGL_J1057.2+5510_daily_bin1752.fits outfile=/scratch/kocevski/260473/cmap_HighResolution_693446401_693705601_4FGL_J1057.2+5510_daily_bin1752.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=164.318 yref=55.1804 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.59
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/260473/ft1_filtered_4FGL_J1057.2+5510_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/260473/ft2_4FGL_J1057.2+5510_daily_bin1752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/260473/Model_4FGL_J1057.2+5510_daily_bin1752.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/260473/ft1_filtered_4FGL_J1057.2+5510_daily_bin1752.fits.....................!
real 56.65
user 55.21
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/260473/ft1_filtered_4FGL_J1057.2+5510_daily_bin1752.fits', '/scratch/kocevski/260473/ft2_4FGL_J1057.2+5510_daily_bin1752.fits', expMap='/scratch/kocevski/260473/expmap_693446401_693705601_4FGL_J1057.2+5510_daily_bin1752.fits', expCube='/scratch/kocevski/260473/ltcube_693446401_693705601_4FGL_J1057.2+5510_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/260473/Model_4FGL_J1057.2+5510_daily_bin1752.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1057.2+5510'

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  5.757e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  1.821e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/260473/ft1_filtered_4FGL_J1057.2+5510_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/260473/ft2_4FGL_J1057.2+5510_daily_bin1752.fits
Exposure map: /scratch/kocevski/260473/expmap_693446401_693705601_4FGL_J1057.2+5510_daily_bin1752.fits
Exposure cube: /scratch/kocevski/260473/ltcube_693446401_693705601_4FGL_J1057.2+5510_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/260473/Model_4FGL_J1057.2+5510_daily_bin1752.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18871E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    18.061       1.0000          .0000       .10000E+07
     3 'norm      '    .13772E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .18563E-06   1.0000          .0000       .10000E+07
     5 'norm      '    .48769       1.0000          .0000       .10000E+07
     6 'Prefactor '    .26266E-05   1.0000          .0000       .10000E+07
     7 'norm      '    1.3189       1.0000          .0000       .10000E+07
     8 'Prefactor '    21.142       1.0000          .0000       .10000E+07
     9 'norm      '    12.825       1.0000          .0000       .10000E+07
    10 'Prefactor '    27.004       1.0000          .0000       .10000E+07
    11 'norm      '    3.2389       1.0000          .0000       .10000E+07
    12 'norm      '    .24819E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .13438E-03   1.0000          .0000       .10000E+07
    14 'norm      '    2.4666       1.0000          .0000       .10000E+07
    15 'Prefactor '    38.241       1.0000          .0000       .10000E+07
    16 'Prefactor '    43.402       1.0000          .0000       .10000E+07
    17 'Prefactor '    .24521E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .84954E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .19752E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .11922E-04   1.0000          .0000       .10000E+07
    21 'norm      '    .37385E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    3.2416       1.0000          .0000       .10000E+07
    23 'norm      '    .12207E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .80564E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    13.336       1.0000          .0000       .10000E+07
    26 'Prefactor '    23.556       1.0000          .0000       .10000E+07
    27 'norm      '    .76439E-07   1.0000          .0000       .10000E+07
    28 'Normalizat'    .96619       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .77517       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6014.614     FROM MIGRAD    STATUS=CONVERGED    189 CALLS     2113 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6313       -.87212E-07** at limit **
   2  Prefactor     18.017        8.0930        .10538E-07   -.40459E-03
   3  norm           .0000        3.0462        .14825E-07** at limit **
   4  Prefactor     .61062E-09    8.2628        .22134E-07** at limit **
   5  norm          .48631        .37491        .55649E-08   -.21578E-03
   6  Prefactor      .0000        1.3122       -.56481E-07** at limit **
   7  norm          1.3162        1.4299       -.69908E-08    .22499E-04
   8  Prefactor     21.447        2.3917       -.87210E-08   -.11721E-02
   9  norm          12.790        1.5432        .29700E-08   -.47413E-01
  10  Prefactor     26.868        1.6382       -.31645E-08   -.10315E-01
  11  norm          3.2446        2.1786       -.82221E-08    .45712E-03
  12  norm           .0000        .47315       -.13484E-07** at limit **
  13  Prefactor     .31641E-08    33.341        .11410E-06** at limit **
  14  norm          2.4721        1.7770       -.19114E-07   -.11961E-03
  15  Prefactor     33.646        48.920       -.18385E-06    .10587E-02
  16  Prefactor     43.412        1.5948       -.91399E-09    .23883E-01
  17  Prefactor      .0000        22.185        .74090E-07** at limit **
  18  norm          .17764E-08    50.983        .23459E-07** at limit **
  19  Prefactor     .55511E-09    10.877       -.32711E-07** at limit **
  20  Prefactor     .11102E-09    11.825        .12856E-07** at limit **
  21  norm           .0000        4.5403       -.61653E-08** at limit **
  22  Prefactor     3.2353        2.6388        .14455E-07   -.64175E-04
  23  norm           .0000        3.1580        .36647E-07** at limit **
  24  Prefactor     .22204E-09    7.6633        .55703E-07** at limit **
  25  Prefactor     13.404        8.2630       -.96459E-08    .66911E-03
  26  Prefactor     23.335        1.7438       -.10570E-08   -.11275E-01
  27  norm           .0000        1.1039        .25754E-07** at limit **
  28  Normalizat    .96860        .17154       -.13726E-05    .56339E-06
  29  Prefactor     .77433        .21430        .18303E-05    .58868E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 18.0167
  norm       = 0
  Prefactor  = 6.10623e-10
  norm       = 0.486308
  Prefactor  = 0
  norm       = 1.3162
  Prefactor  = 21.4469
  norm       = 12.7901
  Prefactor  = 26.8683
  norm       = 3.2446
  norm       = 0
  Prefactor  = 3.16414e-09
  norm       = 2.47207
  Prefactor  = 33.6457
  Prefactor  = 43.4125
  Prefactor  = 0
  norm       = 1.77636e-09
  Prefactor  = 5.55112e-10
  Prefactor  = 1.11022e-10
  norm       = 0
  Prefactor  = 3.23531
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 13.4041
  Prefactor  = 23.3353
  norm       = 0
  Normalizat = 0.9686
  Prefactor  = 0.774326
 **********
 **   18 **HESSE 
 **********

 FCN=   6014.614     FROM HESSE     STATUS=OK           609 CALLS     2722 TOTAL
                     EDM=   .42E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.017        8.1028        .23540E-03   -1.5623    
   3  norm           .0000        3.0433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .61062E-09    8.2913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .48631        .37539        .79958E-03   -1.5694    
   6  Prefactor      .0000        1.3112        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3162        1.4249        .95807E-03   -1.5685    
   8  Prefactor     21.447        27.717        .21755E-03   -1.5615    
   9  norm          12.790        12.871        .27945E-03   -1.5636    
  10  Prefactor     26.868        21.878        .19247E-03   -1.5604    
  11  norm          3.2446        2.7158        .56257E-03   -1.5672    
  12  norm           .0000        .47201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .31641E-08    33.651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.4721        1.8077        .65085E-03   -1.5677    
  15  Prefactor     33.646        48.802        .16173E-03   -1.5592    
  16  Prefactor     43.412        22.875        .15180E-03   -1.5576    
  17  Prefactor      .0000        22.238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .17764E-08    50.973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .55511E-09    10.777        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .11102E-09    11.828        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        4.5374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.2353        2.6452        .56231E-03   -1.5672    
  23  norm           .0000        3.1467        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .22204E-09    7.6702        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     13.404        8.7997        .27402E-03   -1.5635    
  26  Prefactor     23.335        23.345        .20609E-03   -1.5611    
  27  norm           .0000        1.0888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .96860        .15007        .45742E-01   -.94090    
  29  Prefactor     .77433        .18295        .66031E-01   -1.0068    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.18584e-08
Minuit parameter uncertainties:
  1  6.14509e-08
  2  8.10278
  3  9.11125e-07
  4  0.000144801
  5  0.375386
  6  1.05401e-07
  7  1.42495
  8  27.7174
  9  12.8711
  10  21.878
  11  2.71576
  12  6.09891e-08
  13  0.000654438
  14  1.80772
  15  48.8026
  16  22.8753
  17  2.40781e-05
  18  0.000600475
  19  0.000155106
  20  6.85016e-05
  21  3.22813e-06
  22  2.64518
  23  5.42973e-07
  24  8.27534e-05
  25  8.79966
  26  23.3456
  27  5.81594e-08
  28  0.15014
  29  0.183095
Done.

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

Extracting fit parameters...

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  3.164e-09  6.544e-04  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  1.821e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  7.743e-01  1.831e-01  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  9.686e-01  1.501e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 164.318 55.180
Photon Flux Upper Limit: 2.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/260473/likelihoodResults_693446401_693705601_4FGL_J1057.2+5510_daily_bin1752.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6014.62803449
delta logL = -0.0141717654442

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6014.61386715
delta logL = -4.43273620476e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11100E-03   1.0000          .0000       .10000E+07
     2 'Index     '    .39025       1.0000          .0000       10.000    
     3 'Normalizat'    .96842       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77433       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6014.614     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      221 TOTAL
                     EDM=   .53E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        40.251        .42118E-03** at limit **
   2  Index         .68430        .93912       -.15740E-04     .0000    
   3  Normalizat    .96860        1.3002       -.15921E-05   -.32804E-04
   4  Prefactor     .77433        1.1235       -.31336E-06   -.23748E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.684302
  Normalizat = 0.9686
  Prefactor  = 0.774326
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6014.614     FROM HESSE     STATUS=FAILED         9 CALLS      230 TOTAL
                     EDM=   .53E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        40.251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .93523E-03    .99301       -.15740E-04   -1.0415    
   3  Normalizat    .96860        1.3002       -.15921E-05   -.94090    
   4  Prefactor     .77433        1.1235       -.31336E-06   -1.0068    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.313e-13
Minuit parameter uncertainties:
  1  6.15587e-06
  2  0.962246
  3  1.34672
  4  1.15951
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/260473': 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) = 6014.61386272
delta logL = 4.63842297904e-11

Extracting fit parameters...

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  0.000e+00  6.156e-06  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  6.843e-01  9.622e-01  0.000e+00  1.000e+01 (-1.000e+00)
391        Scale:  4.916e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  7.743e-01  1.160e+00  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  9.686e-01  1.347e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 164.318 55.180

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/260473/cmap_HighResolution_693446401_693705601_4FGL_J1057.2+5510_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.01e-03', job_status='DONE', photon_flux_upper_limit='2.72e-08', time_completed='2022-12-26 01:00:09.192000', job_id='260473', GAL2='0.77', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1672045209.19', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='4.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='1752' AND source_name='4FGL J1057.2+5510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 01:00:09 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 260473: <4FGL_J1057.2+5510_daily_bin1752> in cluster <slac> Done

Job <4FGL_J1057.2+5510_daily_bin1752> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Dec 26 00:45:12 2022
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:45:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:45:37 2022
Terminated at Mon Dec 26 01:00:10 2022
Results reported at Mon Dec 26 01:00:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1057.2+5510_daily_bin1752 164.318 55.1804 693446401 693705601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1057.2+5510 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   765.55 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             316.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            898 sec.

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

