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


Performing analysis on: 4FGL_J1549.3+6310_daily_bin1747
RA = 237.332, Dec = 63.178
tmin = 692150401, tmax = 692409601
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='806223', job_status='RUN', time_executed='2022-12-11 01:11:38.031243', time_epoch_executed='1670749898.03' WHERE source_name='4FGL J1549.3+6310' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/806223

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/806223/ft1_4FGL_J1549.3+6310_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/806223/ft2_4FGL_J1549.3+6310_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/806223/ft1_4FGL_J1549.3+6310_daily_bin1747.fits outfile=/scratch/kocevski/806223/ft1_filteredMKT_4FGL_J1549.3+6310_daily_bin1747.fits ra=237.332 dec=63.178 rad=12.0 tmin=692150401.0 tmax=692409601.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.03
user 3.77
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/806223/ft2_4FGL_J1549.3+6310_daily_bin1747.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/806223/ft2_4FGL_J1549.3+6310_daily_bin1747.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/806223/ft1_filteredMKT_4FGL_J1549.3+6310_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/806223/ft1_filtered_4FGL_J1549.3+6310_daily_bin1747.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 662

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/806223/ft1_filtered_4FGL_J1549.3+6310_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/806223/ft2_4FGL_J1549.3+6310_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/806223/ltcube_692150401_692409601_4FGL_J1549.3+6310_daily_bin1747.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/806223/ft2_4FGL_J1549.3+6310_daily_bin1747.fits
.....................!
real 12.25
user 11.79
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/806223/ft1_filtered_4FGL_J1549.3+6310_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/806223/ft2_4FGL_J1549.3+6310_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/806223/ltcube_692150401_692409601_4FGL_J1549.3+6310_daily_bin1747.fits outfile=/scratch/kocevski/806223/expmap_692150401_692409601_4FGL_J1549.3+6310_daily_bin1747.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/806223/ltcube_692150401_692409601_4FGL_J1549.3+6310_daily_bin1747.fits
.....................!
real 193.47
user 187.49
sys 5.51

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

Setting source of interest to:
4FGL J1549.3+6310 @ 237.332 63.178

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/806223/ft1_filtered_4FGL_J1549.3+6310_daily_bin1747.fits scfile=/scratch/kocevski/806223/ft2_4FGL_J1549.3+6310_daily_bin1747.fits outfile=/scratch/kocevski/806223/cmap_692150401_692409601_4FGL_J1549.3+6310_daily_bin1747.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=237.332 yref=63.178 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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/806223/ft1_filtered_4FGL_J1549.3+6310_daily_bin1747.fits scfile=/scratch/kocevski/806223/ft2_4FGL_J1549.3+6310_daily_bin1747.fits outfile=/scratch/kocevski/806223/cmap_HighResolution_692150401_692409601_4FGL_J1549.3+6310_daily_bin1747.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=237.332 yref=63.178 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/806223/ft1_filtered_4FGL_J1549.3+6310_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/806223/ft2_4FGL_J1549.3+6310_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/806223/Model_4FGL_J1549.3+6310_daily_bin1747.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/806223/ft1_filtered_4FGL_J1549.3+6310_daily_bin1747.fits.....................!
real 60.60
user 59.26
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/806223/ft1_filtered_4FGL_J1549.3+6310_daily_bin1747.fits', '/scratch/kocevski/806223/ft2_4FGL_J1549.3+6310_daily_bin1747.fits', expMap='/scratch/kocevski/806223/expmap_692150401_692409601_4FGL_J1549.3+6310_daily_bin1747.fits', expCube='/scratch/kocevski/806223/ltcube_692150401_692409601_4FGL_J1549.3+6310_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/806223/Model_4FGL_J1549.3+6310_daily_bin1747.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1549.3+6310'

4FGL J1549.3+6310
   Spectrum: PowerLaw
344    Prefactor:  7.296e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
345        Index:  2.442e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
346        Scale:  1.323e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/806223/ft1_filtered_4FGL_J1549.3+6310_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/806223/ft2_4FGL_J1549.3+6310_daily_bin1747.fits
Exposure map: /scratch/kocevski/806223/expmap_692150401_692409601_4FGL_J1549.3+6310_daily_bin1747.fits
Exposure cube: /scratch/kocevski/806223/ltcube_692150401_692409601_4FGL_J1549.3+6310_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/806223/Model_4FGL_J1549.3+6310_daily_bin1747.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) = 7231.06752048

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.332       1.0000          .0000       .10000E+07
     2 'Prefactor '    28.393       1.0000          .0000       .10000E+07
     3 'Prefactor '    .67975E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .40935E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .32288E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .19052E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    45.450       1.0000          .0000       .10000E+07
     8 'norm      '    2.2568       1.0000          .0000       .10000E+07
     9 'Prefactor '    .18842E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .64263       1.0000          .0000       .10000E+07
    11 'norm      '    5.4905       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10114       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12568       1.0000          .0000       .10000E+07
    14 'Prefactor '    .46393E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .71664E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .85025       1.0000          .0000       .10000E+07
    17 'Prefactor '    .34960E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .29690       1.0000          .0000       .10000E+07
    19 'Prefactor '    18.105       1.0000          .0000       .10000E+07
    20 'Prefactor '    6.0611       1.0000          .0000       .10000E+07
    21 'Prefactor '    .51490E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    33.580       1.0000          .0000       .10000E+07
    23 'Normalizat'    .63660       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7231.058     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1965 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.543        1.6548       -.90241E-08    .30981E-01
   2  Prefactor     28.996        4.6258        .80722E-07    .69236E-02
   3  Prefactor     .53957E-07    8.4827       -.68436E-07** at limit **
   4  Prefactor     .11957E-06    7.9936       -.86513E-06** at limit **
   5  Prefactor     .68390E-06    9.5797        .45356E-06** at limit **
   6  Prefactor     .99920E-09    3.8556        .21487E-06** at limit **
   7  Prefactor     45.800        2.3290        .27251E-08    .36997E-01
   8  norm          2.2564        2.3657       -.43480E-06   -.53063E-03
   9  Prefactor     .25726E-05    56.600       -.14199E-05** at limit **
  10  Prefactor     .65208        1.2485       -.17376E-06   -.10321E-02
  11  norm          5.5090        6.1286       -.43575E-06   -.17054E-02
  12  Prefactor     .55511E-10    28.740        .16497E-05** at limit **
  13  Prefactor     .54046E-05    7.1721       -.66188E-07** at limit **
  14  Prefactor     .11744E-05    22.220        .67093E-06** at limit **
  15  Prefactor     .39413E-06    5.6425        .25924E-06** at limit **
  16  norm          .84078        .65742       -.47107E-07   -.26661E-02
  17  Prefactor     .21094E-08    4.7247        .13244E-06** at limit **
  18  norm          .29800        .49259       -.45928E-07   -.13782E-02
  19  Prefactor     17.988        8.2318       -.28205E-06   -.50083E-01
  20  Prefactor     6.0535        2.1830       -.12138E-06   -.37321E-01
  21  Prefactor     .16098E-08    7.6980       -.38131E-06** at limit **
  22  Prefactor     32.947        9.2436       -.30611E-06    .27811    
  23  Normalizat    .63667        .17476        .14207E-04    .14576E-03
  24  Prefactor     1.3001        .18252        .27034E-05    .19899E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.5433
  Prefactor  = 28.9964
  Prefactor  = 5.39568e-08
  Prefactor  = 1.19571e-07
  Prefactor  = 6.83897e-07
  Prefactor  = 9.99201e-10
  Prefactor  = 45.8002
  norm       = 2.25644
  Prefactor  = 2.57255e-06
  Prefactor  = 0.652082
  norm       = 5.50899
  Prefactor  = 5.55112e-11
  Prefactor  = 5.40462e-06
  Prefactor  = 1.17439e-06
  Prefactor  = 3.94129e-07
  norm       = 0.84078
  Prefactor  = 2.10942e-09
  norm       = 0.298002
  Prefactor  = 17.9878
  Prefactor  = 6.05347
  Prefactor  = 1.60982e-09
  Prefactor  = 32.9471
  Normalizat = 0.636666
  Prefactor  = 1.30005
 **********
 **   18 **HESSE 
 **********

 FCN=   7231.058     FROM HESSE     STATUS=OK           449 CALLS     2414 TOTAL
                     EDM=   .71E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.543        32.640        .14536E-03   -1.5570    
   2  Prefactor     28.996        36.686        .18770E-03   -1.5600    
   3  Prefactor     .53957E-07    13.324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11957E-06    8.1712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .68390E-06    10.785        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .99920E-09    3.8469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     45.800        33.501        .14834E-03   -1.5573    
   8  norm          2.2564        2.3811        .68359E-03   -1.5678    
   9  Prefactor     .25726E-05    58.226        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .65208        27.911        .65493E-03   -1.5692    
  11  norm          5.5090        8.6445        .42857E-03   -1.5661    
  12  Prefactor     .55511E-10    28.553        .13899E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .54046E-05    176.37        .13285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .11744E-05    22.496        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .39413E-06    12.388        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .84078        15.114        .49262E-03   -1.5690    
  17  Prefactor     .21094E-08    4.7316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .29800        .59617        .17571E-02   -1.5697    
  19  Prefactor     17.988        8.7261        .23511E-03   -1.5623    
  20  Prefactor     6.0535        12.341        .40759E-03   -1.5659    
  21  Prefactor     .16098E-08    7.7007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     32.947        51.080        .17259E-03   -1.5593    
  23  Normalizat    .63667        .14844        .62186E-01   -1.0645    
  24  Prefactor     1.3001        .15340        .47064E-01   -.83305    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.12241e-06
Minuit parameter uncertainties:
  1  32.6404
  2  36.6865
  3  0.00169616
  4  0.00197693
  5  0.00543186
  6  0.000125159
  7  33.5012
  8  2.38107
  9  0.0244778
  10  8.53237
  11  8.64456
  12  8.4754e-05
  13  0.0617505
  14  0.0102799
  15  0.00441947
  16  7.12952
  17  0.000200469
  18  0.596171
  19  8.72607
  20  12.3411
  21  0.000221667
  22  51.0803
  23  0.148536
  24  0.153453
Done.

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

Extracting fit parameters...

4FGL J1549.3+6310
   Spectrum: PowerLaw
344    Prefactor:  2.573e-06  2.448e-02  0.000e+00  1.000e+06 ( 1.000e-14)
345        Index:  2.442e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
346        Scale:  1.323e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
685    Prefactor:  1.300e+00  1.535e-01  0.000e+00  1.000e+01 ( 1.000e+00)
686        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
687        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
684   Normalization:  6.367e-01  1.485e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 237.332 63.178
Photon Flux Upper Limit: 5.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/806223/likelihoodResults_692150401_692409601_4FGL_J1549.3+6310_daily_bin1747.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) = 7231.06615051
delta logL = -0.00827670239323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7231.05787387
delta logL = -5.54455255042e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .99537E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .55119       1.0000          .0000       10.000    
     3 'Normalizat'    .63668       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3000       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7231.058     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      222 TOTAL
                     EDM=   .79E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        37.784       -.31083E-06** at limit **
   2  Index         1.4479        7.8977       -.34277E-04     .0000    
   3  Normalizat    .63667        .17204       -.80536E-05    .14578E-04
   4  Prefactor     1.3001        .18096        .67414E-05    .36017E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.44787
  Normalizat = 0.636666
  Prefactor  = 1.30005
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7231.058     FROM HESSE     STATUS=FAILED        11 CALLS      233 TOTAL
                     EDM=   .79E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        38.094        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .18207        1.5515       -.34277E-04   -.79010    
   3  Normalizat    .63667        .97530       -.80536E-05   -1.0645    
   4  Prefactor     1.3001        1.0773        .67414E-05   -.83305    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.90522e-13
Minuit parameter uncertainties:
  1  1.09037e-05
  2  1.42106
  3  1.00378
  4  1.09667
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/806223': 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) = 7231.05787379
delta logL = 2.20925358008e-08

Extracting fit parameters...

4FGL J1549.3+6310
   Spectrum: PowerLaw
344    Prefactor:  0.000e+00  1.090e-05  0.000e+00  1.000e+06 ( 1.000e-14)
345        Index:  1.448e+00  1.421e+00  0.000e+00  1.000e+01 (-1.000e+00)
346        Scale:  1.323e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
685    Prefactor:  1.300e+00  1.097e+00  0.000e+00  1.000e+01 ( 1.000e+00)
686        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
687        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
684   Normalization:  6.367e-01  1.004e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 237.332 63.178

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/806223/cmap_HighResolution_692150401_692409601_4FGL_J1549.3+6310_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.14e-03', job_status='DONE', photon_flux_upper_limit='5.35e-08', time_completed='2022-12-11 01:24:22.070423', job_id='806223', GAL2='1.30', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1670750662.07', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.30', dlogl='2.21e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1747' AND source_name='4FGL J1549.3+6310' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:24:22 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 806223: <4FGL_J1549.3+6310_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1549.3+6310_daily_bin1747> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Dec 11 01:10:22 2022
Job was executed on host(s) <bullet0193>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:10:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:10:23 2022
Terminated at Sun Dec 11 01:24:22 2022
Results reported at Sun Dec 11 01:24:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1549.3+6310_daily_bin1747 237.332 63.178 692150401 692409601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1549.3+6310 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   766.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             329.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            840 sec.

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

