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


Performing analysis on: 4FGL_J1057.2+5510_daily_bin1713
RA = 164.318, Dec = 55.1804
tmin = 683337601, tmax = 683596801
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='97530', job_status='RUN', time_executed='2022-09-16 15:37:20.806794', time_epoch_executed='1663367840.81' WHERE source_name='4FGL J1057.2+5510' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/97530

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/97530/ft1_4FGL_J1057.2+5510_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/97530/ft2_4FGL_J1057.2+5510_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/97530/ft1_4FGL_J1057.2+5510_daily_bin1713.fits outfile=/scratch/kocevski/97530/ft1_filteredMKT_4FGL_J1057.2+5510_daily_bin1713.fits ra=164.318 dec=55.1804 rad=12.0 tmin=683337601.0 tmax=683596801.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.62
user 3.34
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/97530/ft2_4FGL_J1057.2+5510_daily_bin1713.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/97530/ft1_filteredMKT_4FGL_J1057.2+5510_daily_bin1713.fits evtable="EVENTS" outfile="/scratch/kocevski/97530/ft1_filtered_4FGL_J1057.2+5510_daily_bin1713.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.53
user 0.37
sys 0.16

Number of photons that the gtmktime cut: 531

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/97530/ft1_filtered_4FGL_J1057.2+5510_daily_bin1713.fits" evtable="EVENTS" scfile=/scratch/kocevski/97530/ft2_4FGL_J1057.2+5510_daily_bin1713.fits sctable="SC_DATA" outfile=/scratch/kocevski/97530/ltcube_683337601_683596801_4FGL_J1057.2+5510_daily_bin1713.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/97530/ft2_4FGL_J1057.2+5510_daily_bin1713.fits
.....................!
real 15.98
user 15.55
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/97530/ft1_filtered_4FGL_J1057.2+5510_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/97530/ft2_4FGL_J1057.2+5510_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/97530/ltcube_683337601_683596801_4FGL_J1057.2+5510_daily_bin1713.fits outfile=/scratch/kocevski/97530/expmap_683337601_683596801_4FGL_J1057.2+5510_daily_bin1713.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/97530/ltcube_683337601_683596801_4FGL_J1057.2+5510_daily_bin1713.fits
.....................!
real 194.94
user 188.32
sys 6.03

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/97530/ft1_filtered_4FGL_J1057.2+5510_daily_bin1713.fits scfile=/scratch/kocevski/97530/ft2_4FGL_J1057.2+5510_daily_bin1713.fits outfile=/scratch/kocevski/97530/cmap_683337601_683596801_4FGL_J1057.2+5510_daily_bin1713.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/97530/ft1_filtered_4FGL_J1057.2+5510_daily_bin1713.fits scfile=/scratch/kocevski/97530/ft2_4FGL_J1057.2+5510_daily_bin1713.fits outfile=/scratch/kocevski/97530/cmap_HighResolution_683337601_683596801_4FGL_J1057.2+5510_daily_bin1713.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/97530/ft1_filtered_4FGL_J1057.2+5510_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/97530/ft2_4FGL_J1057.2+5510_daily_bin1713.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/97530/Model_4FGL_J1057.2+5510_daily_bin1713.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/97530/ft1_filtered_4FGL_J1057.2+5510_daily_bin1713.fits.....................!
real 55.35
user 53.71
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/97530/ft1_filtered_4FGL_J1057.2+5510_daily_bin1713.fits', '/scratch/kocevski/97530/ft2_4FGL_J1057.2+5510_daily_bin1713.fits', expMap='/scratch/kocevski/97530/expmap_683337601_683596801_4FGL_J1057.2+5510_daily_bin1713.fits', expCube='/scratch/kocevski/97530/ltcube_683337601_683596801_4FGL_J1057.2+5510_daily_bin1713.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/97530/Model_4FGL_J1057.2+5510_daily_bin1713.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/97530/ft1_filtered_4FGL_J1057.2+5510_daily_bin1713.fits
Spacecraft file(s): /scratch/kocevski/97530/ft2_4FGL_J1057.2+5510_daily_bin1713.fits
Exposure map: /scratch/kocevski/97530/expmap_683337601_683596801_4FGL_J1057.2+5510_daily_bin1713.fits
Exposure cube: /scratch/kocevski/97530/ltcube_683337601_683596801_4FGL_J1057.2+5510_daily_bin1713.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/97530/Model_4FGL_J1057.2+5510_daily_bin1713.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) = 5752.04360709

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39534E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .13799       1.0000          .0000       .10000E+07
     3 'norm      '    .12570E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .15732E-04   1.0000          .0000       .10000E+07
     5 'norm      '    1.1882       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10930E-03   1.0000          .0000       .10000E+07
     7 'norm      '    2.1695       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.5071       1.0000          .0000       .10000E+07
     9 'norm      '    .35461E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    21.927       1.0000          .0000       .10000E+07
    11 'norm      '    6.0409       1.0000          .0000       .10000E+07
    12 'norm      '    2.0425       1.0000          .0000       .10000E+07
    13 'Prefactor '    31.301       1.0000          .0000       .10000E+07
    14 'norm      '    5.3053       1.0000          .0000       .10000E+07
    15 'Prefactor '    90.314       1.0000          .0000       .10000E+07
    16 'Prefactor '    24.130       1.0000          .0000       .10000E+07
    17 'Prefactor '    .71972       1.0000          .0000       .10000E+07
    18 'norm      '    .72308       1.0000          .0000       .10000E+07
    19 'Prefactor '    5.3657       1.0000          .0000       .10000E+07
    20 'Prefactor '    18.899       1.0000          .0000       .10000E+07
    21 'norm      '    .64025E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    2.9364       1.0000          .0000       .10000E+07
    23 'norm      '    2.3072       1.0000          .0000       .10000E+07
    24 'Prefactor '    .74559E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    .22065E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    13.739       1.0000          .0000       .10000E+07
    27 'norm      '    3.5225       1.0000          .0000       .10000E+07
    28 'Normalizat'    .86042       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .84723       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=   5752.025     FROM MIGRAD    STATUS=CONVERGED    239 CALLS     2715 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.4519       -.21973E-06** at limit **
   2  Prefactor     .13429        44.608       -.47282E-05** at limit **
   3  norm           .0000        2.8325        .23070E-07** at limit **
   4  Prefactor     .55511E-10    18.847       -.35830E-06** at limit **
   5  norm          1.1854        .48518        .77142E-08   -.14245E-02
   6  Prefactor      .0000        2.3375       -.27078E-07** at limit **
   7  norm          2.1705        2.5513        .16009E-07    .10041E-02
   8  Prefactor     5.6882        43.521       -.14499E-05   -.94244E-03
   9  norm           .0000        4.4907        .16411E-06** at limit **
  10  Prefactor     21.351        26.015        .11679E-05   -.27598E-02
  11  norm          6.0956        3.6022       -.21983E-06   -.26274E-02
  12  norm          2.0414        1.3334       -.27588E-07   -.10361E-02
  13  Prefactor     31.620        13.938       -.40822E-06    .53598E-01
  14  norm          5.2986        2.4469        .33236E-07   -.44069E-03
  15  Prefactor     92.218        59.555       -.28569E-05   -.16715E-01
  16  Prefactor     24.196        19.961        .29820E-06    .10714E-03
  17  Prefactor     .13460E-04    2360.4       -.54281E-04** at limit **
  18  norm          .22975E-05    791.01       -.99639E-05** at limit **
  19  Prefactor     5.4166        5.0703        .49104E-07    .14069E-02
  20  Prefactor     18.921        15.998        .19245E-06   -.63256E-04
  21  norm           .0000        3.7165       -.30206E-06** at limit **
  22  Prefactor     2.9367        2.5104       -.61084E-08    .16116E-02
  23  norm          2.3052        2.6937        .56675E-08   -.39946E-03
  24  Prefactor      .0000        6.3434        .37411E-06** at limit **
  25  Prefactor     .55511E-10    2.4148        .18791E-06** at limit **
  26  Prefactor     13.787        14.347       -.60159E-06   -.73327E-03
  27  norm          3.5281        2.4271        .38472E-07    .43762E-03
  28  Normalizat    .85826        .19742       -.12646E-04    .50482E-03
  29  Prefactor     .84880        .23498        .18799E-04    .46360E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0.134289
  norm       = 0
  Prefactor  = 5.55112e-11
  norm       = 1.18539
  Prefactor  = 0
  norm       = 2.17053
  Prefactor  = 5.68821
  norm       = 0
  Prefactor  = 21.3511
  norm       = 6.09562
  norm       = 2.04137
  Prefactor  = 31.6197
  norm       = 5.29857
  Prefactor  = 92.2182
  Prefactor  = 24.1956
  Prefactor  = 1.34598e-05
  norm       = 2.2975e-06
  Prefactor  = 5.41657
  Prefactor  = 18.9213
  norm       = 0
  Prefactor  = 2.93675
  norm       = 2.30515
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 13.7869
  norm       = 3.52811
  Normalizat = 0.858258
  Prefactor  = 0.848797
 **********
 **   18 **HESSE 
 **********

 FCN=   5752.025     FROM HESSE     STATUS=OK           623 CALLS     3338 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.4574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .13429        2.9614        .80403E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        2.8316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    18.877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.1854        .48683        .72829E-03   -1.5686    
   6  Prefactor      .0000        2.3341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.1705        2.5699        .69888E-03   -1.5678    
   8  Prefactor     5.6882        43.671        .47400E-03   -1.5660    
   9  norm           .0000        4.4910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     21.351        25.810        .21362E-03   -1.5616    
  11  norm          6.0956        3.5785        .40828E-03   -1.5659    
  12  norm          2.0414        1.3333        .72325E-03   -1.5679    
  13  Prefactor     31.620        66.332        .17877E-03   -1.5595    
  14  norm          5.2986        2.4605        .43612E-03   -1.5662    
  15  Prefactor     92.218        60.556        .10523E-03   -1.5516    
  16  Prefactor     24.196        19.947        .20362E-03   -1.5610    
  17  Prefactor     .13460E-04    2357.0        .59122E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .22975E-05    790.60        .58854E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.4166        5.0858        .43361E-03   -1.5661    
  20  Prefactor     18.921        16.005        .23011E-03   -1.5621    
  21  norm           .0000        3.7253        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.9367        2.5122        .59250E-03   -1.5674    
  23  norm          2.3052        2.7057        .67524E-03   -1.5678    
  24  Prefactor      .0000        6.3436        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .55511E-10    2.4186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     13.787        14.372        .26996E-03   -1.5634    
  27  norm          3.5281        2.4261        .53838E-03   -1.5670    
  28  Normalizat    .85826        .16297        .44394E-01   -.97943    
  29  Prefactor     .84880        .19543        .64394E-01   -.97954    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.25929e-07
Minuit parameter uncertainties:
  1  4.65234e-06
  2  1.26124
  3  7.85703e-06
  4  5.03109e-05
  5  0.486827
  6  6.59071e-06
  7  2.56993
  8  31.5223
  9  4.75009e-06
  10  25.8101
  11  3.57854
  12  1.33327
  13  66.3335
  14  2.46053
  15  60.5563
  16  19.9471
  17  0.356368
  18  0.0852493
  19  5.08577
  20  16.0055
  21  2.09204e-06
  22  2.51223
  23  2.70571
  24  1.58643e-06
  25  2.10392e-05
  26  14.3723
  27  2.42614
  28  0.163067
  29  0.195588
Done.

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

Extracting fit parameters...

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  3.162e+01  6.633e+01  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:  8.488e-01  1.956e-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:  8.583e-01  1.631e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/97530/likelihoodResults_683337601_683596801_4FGL_J1057.2+5510_daily_bin1713.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) = 5751.89911488
delta logL = 0.125651337354

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5751.89386569
delta logL = 0.130900530584

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5751.894     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      321 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.684        1531.8        .12260E-04    .19260E-02
   2  Index         2.5213        5.1143        .84520E-02    .10158E-03
   3  Normalizat    .84989        .22281        .22286E-03   -.67288E-03
   4  Prefactor     .85449        .25606        .28387E-03   -.36006E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.6837
  Index      = 2.5213
  Normalizat = 0.849888
  Prefactor  = 0.854495
 **********
 **   18 **HESSE 
 **********

 FCN=   5751.894     FROM HESSE     STATUS=OK            25 CALLS      346 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.684        39.084        .49040E-06   -1.5643    
   2  Index         2.5213        1.4047        .33808E-03   -.51869    
   3  Normalizat    .84989        .18155        .44571E-04   -.98244    
   4  Prefactor     .85449        .23124        .56773E-04   -.97750    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.10804e-10
Minuit parameter uncertainties:
  1  39.0849
  2  1.43041
  3  0.181682
  4  0.2315
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/97530': 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) = 5751.8938628
delta logL = 0.13090341826

Extracting fit parameters...

4FGL J1057.2+5510
   Spectrum: PowerLaw
389    Prefactor:  1.068e+01  3.908e+01  0.000e+00  1.000e+06 ( 1.000e-15)
390        Index:  2.521e+00  1.430e+00  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:  8.545e-01  2.315e-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:  8.499e-01  1.817e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.34
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/97530/cmap_HighResolution_683337601_683596801_4FGL_J1057.2+5510_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.89e-03', job_status='DONE', photon_flux_upper_limit='3.92e-08', time_completed='2022-09-16 15:51:05.377875', job_id='97530', GAL2='0.85', fit_tolerance='1e-08', EG2='0.85', EG='0.86', time_epoch_completed='1663368665.38', return_code2='0', ts='0.34', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.31e-01', ts2='0.61', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='1713' AND source_name='4FGL J1057.2+5510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:51:05 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0155>
Subject: Job 97530: <4FGL_J1057.2+5510_daily_bin1713> in cluster <slac> Done

Job <4FGL_J1057.2+5510_daily_bin1713> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 15:35:19 2022
Job was executed on host(s) <bullet0155>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:36:59 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:36:59 2022
Terminated at Fri Sep 16 15:51:06 2022
Results reported at Fri Sep 16 15:51:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1057.2+5510_daily_bin1713 164.318 55.1804 683337601 683596801 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 :                                   825.48 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             355.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   846 sec.
    Turnaround time :                            947 sec.

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

