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

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

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

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

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

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


Performing analysis on: 4FGL_J1549.3+6310_daily_bin1769
RA = 237.332, Dec = 63.178
tmin = 697852801, tmax = 698112001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='438455', job_status='RUN', time_executed='2023-02-15 01:04:35.286857', time_epoch_executed='1676451875.29' WHERE source_name='4FGL J1549.3+6310' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/438455

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/438455/ft1_4FGL_J1549.3+6310_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/438455/ft2_4FGL_J1549.3+6310_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/438455/ft1_4FGL_J1549.3+6310_daily_bin1769.fits outfile=/scratch/kocevski/438455/ft1_filteredMKT_4FGL_J1549.3+6310_daily_bin1769.fits ra=237.332 dec=63.178 rad=12.0 tmin=697852801.0 tmax=698112001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.37
user 4.14
sys 0.21

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

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

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

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

Number of photons that the gtmktime cut: 609

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/438455/ft1_filtered_4FGL_J1549.3+6310_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/438455/ft2_4FGL_J1549.3+6310_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/438455/ltcube_697852801_698112001_4FGL_J1549.3+6310_daily_bin1769.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /scratch/kocevski/438455/ft2_4FGL_J1549.3+6310_daily_bin1769.fits
.....................!
real 11.75
user 11.39
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/438455/ft1_filtered_4FGL_J1549.3+6310_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/438455/ft2_4FGL_J1549.3+6310_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/438455/ltcube_697852801_698112001_4FGL_J1549.3+6310_daily_bin1769.fits outfile=/scratch/kocevski/438455/expmap_697852801_698112001_4FGL_J1549.3+6310_daily_bin1769.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/438455/ltcube_697852801_698112001_4FGL_J1549.3+6310_daily_bin1769.fits
.....................!
real 190.23
user 184.75
sys 5.17

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/438455/ft1_filtered_4FGL_J1549.3+6310_daily_bin1769.fits scfile=/scratch/kocevski/438455/ft2_4FGL_J1549.3+6310_daily_bin1769.fits outfile=/scratch/kocevski/438455/cmap_697852801_698112001_4FGL_J1549.3+6310_daily_bin1769.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/438455/ft1_filtered_4FGL_J1549.3+6310_daily_bin1769.fits scfile=/scratch/kocevski/438455/ft2_4FGL_J1549.3+6310_daily_bin1769.fits outfile=/scratch/kocevski/438455/cmap_HighResolution_697852801_698112001_4FGL_J1549.3+6310_daily_bin1769.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/438455/ft1_filtered_4FGL_J1549.3+6310_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/438455/ft2_4FGL_J1549.3+6310_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/438455/Model_4FGL_J1549.3+6310_daily_bin1769.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/438455/ft1_filtered_4FGL_J1549.3+6310_daily_bin1769.fits.....................!
real 58.43
user 57.13
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/438455/ft1_filtered_4FGL_J1549.3+6310_daily_bin1769.fits', '/scratch/kocevski/438455/ft2_4FGL_J1549.3+6310_daily_bin1769.fits', expMap='/scratch/kocevski/438455/expmap_697852801_698112001_4FGL_J1549.3+6310_daily_bin1769.fits', expCube='/scratch/kocevski/438455/ltcube_697852801_698112001_4FGL_J1549.3+6310_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/438455/Model_4FGL_J1549.3+6310_daily_bin1769.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/438455/ft1_filtered_4FGL_J1549.3+6310_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/438455/ft2_4FGL_J1549.3+6310_daily_bin1769.fits
Exposure map: /scratch/kocevski/438455/expmap_697852801_698112001_4FGL_J1549.3+6310_daily_bin1769.fits
Exposure cube: /scratch/kocevski/438455/ltcube_697852801_698112001_4FGL_J1549.3+6310_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/438455/Model_4FGL_J1549.3+6310_daily_bin1769.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .84266E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    10.034       1.0000          .0000       .10000E+07
     3 'Prefactor '    .50841E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .89262E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .31107E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.1747       1.0000          .0000       .10000E+07
     7 'Prefactor '    36.824       1.0000          .0000       .10000E+07
     8 'norm      '    1.3051       1.0000          .0000       .10000E+07
     9 'Prefactor '    46.771       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12493E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .25522E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.8716       1.0000          .0000       .10000E+07
    13 'Prefactor '    28.428       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.0792       1.0000          .0000       .10000E+07
    15 'Prefactor '    .41035E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .27546E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    12.395       1.0000          .0000       .10000E+07
    18 'norm      '    .31641E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    4.0926       1.0000          .0000       .10000E+07
    20 'Prefactor '    17.202       1.0000          .0000       .10000E+07
    21 'Prefactor '    .34759E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    .15316E-06   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.2891       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .76388       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=   6543.633     FROM MIGRAD    STATUS=CONVERGED    205 CALLS     2099 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59397E-07    16.385       -.81622E-07** at limit **
   2  Prefactor     10.065        1.1881        .39765E-08    .13836E-01
   3  Prefactor     .66613E-07    9.1758       -.13645E-06** at limit **
   4  Prefactor     .65725E-07    10.010       -.81365E-07** at limit **
   5  Prefactor     .12768E-08    6.2439       -.84146E-07** at limit **
   6  Prefactor     4.1914        8.8799        .28790E-07   -.21140E-02
   7  Prefactor     36.138        4.0070        .26826E-08   -.30674E-01
   8  norm          1.1417        3.4516        .19911E-06    .47447E-02
   9  Prefactor     61.387        122.18       -.14139E-07    .63315E-03
  10  Prefactor     .13323E-08    6.1126       -.64633E-07** at limit **
  11  norm          .11102E-08    5.8139       -.52287E-07** at limit **
  12  Prefactor     8.7214        24.237       -.19080E-07    .90493E-02
  13  Prefactor     21.262        78.501        .10036E-05    .51376E-03
  14  Prefactor     5.9692        7.1112       -.32377E-08    .20576E-02
  15  Prefactor     .72831E-07    17.391        .78495E-07** at limit **
  16  norm          .41922E-06    9.3091       -.46320E-07** at limit **
  17  Prefactor     12.447        5.5553        .28120E-07   -.98424E-01
  18  norm           .0000        .66389       -.92209E-08** at limit **
  19  Prefactor     3.9986        7.4525       -.46147E-07    .81825E-02
  20  Prefactor     17.231        3.8208        .14036E-07   -.11231    
  21  Prefactor     .27756E-09    2.9993       -.37866E-07** at limit **
  22  Prefactor     .20928E-07    28.757       -.83878E-08** at limit **
  23  Normalizat    1.2844        .19783        .52105E-06   -.48678E-04
  24  Prefactor     .76731        .17957       -.15552E-05   -.10136E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.93969e-08
  Prefactor  = 10.0649
  Prefactor  = 6.66134e-08
  Prefactor  = 6.57252e-08
  Prefactor  = 1.27676e-09
  Prefactor  = 4.19138
  Prefactor  = 36.1382
  norm       = 1.14168
  Prefactor  = 61.3865
  Prefactor  = 1.33227e-09
  norm       = 1.11022e-09
  Prefactor  = 8.72141
  Prefactor  = 21.2619
  Prefactor  = 5.96925
  Prefactor  = 7.28306e-08
  norm       = 4.1922e-07
  Prefactor  = 12.4465
  norm       = 0
  Prefactor  = 3.99864
  Prefactor  = 17.2313
  Prefactor  = 2.77556e-10
  Prefactor  = 2.09277e-08
  Normalizat = 1.28444
  Prefactor  = 0.767314
 **********
 **   18 **HESSE 
 **********

 FCN=   6543.633     FROM HESSE     STATUS=OK           451 CALLS     2550 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59397E-07    16.509        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.065        22.111        .31609E-03   -1.5645    
   3  Prefactor     .66613E-07    9.3207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .65725E-07    10.176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .12768E-08    6.2323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.1914        8.7809        .49303E-03   -1.5667    
   7  Prefactor     36.138        25.220        .16481E-03   -1.5588    
   8  norm          1.1417        3.5491        .96589E-03   -1.5687    
   9  Prefactor     61.387        123.13        .14623E-03   -1.5551    
  10  Prefactor     .13323E-08    6.1184        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .11102E-08    5.8252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.7214        24.594        .35715E-03   -1.5649    
  13  Prefactor     21.262        78.494        .18759E-03   -1.5616    
  14  Prefactor     5.9692        7.1658        .40697E-03   -1.5659    
  15  Prefactor     .72831E-07    17.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .41922E-06    10.128        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.447        15.753        .28428E-03   -1.5637    
  18  norm           .0000        .40229        .17540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.9986        7.9902        .49810E-03   -1.5668    
  20  Prefactor     17.231        16.337        .24121E-03   -1.5625    
  21  Prefactor     .27756E-09    3.0036        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .20928E-07    29.231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2844        .16792        .48875E-01   -.84032    
  24  Prefactor     .76731        .15392        .43245E-01   -1.0094    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.41474e-07
Minuit parameter uncertainties:
  1  0.00198094
  2  22.1117
  3  0.00157586
  4  0.00163563
  5  0.000177598
  6  8.78089
  7  25.2199
  8  3.54914
  9  123.134
  10  0.00017917
  11  0.000159825
  12  24.5941
  13  78.4981
  14  7.16577
  15  0.00226001
  16  0.00412091
  17  15.7527
  18  5.19745e-07
  19  7.99017
  20  16.3372
  21  5.93009e-05
  22  0.0015636
  23  0.167986
  24  0.154005
Done.

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

Extracting fit parameters...

4FGL J1549.3+6310
   Spectrum: PowerLaw
344    Prefactor:  6.139e+01  1.231e+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:  7.673e-01  1.540e-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:  1.284e+00  1.680e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.34
Ra Dec: 237.332 63.178
Photon Flux Upper Limit: 1.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/438455/likelihoodResults_697852801_698112001_4FGL_J1549.3+6310_daily_bin1769.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6542.64379194
delta logL = 0.989608229503

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6542.57156769
delta logL = 1.06183248076

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6542.572     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      275 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7340        66.286        .46139E-03    .40855E-02
   2  Index         4.2150        2.5183        .11146        .18914E-03
   3  Normalizat    1.2258        .51590E-01    .49796E-01   -.95844E-06
   4  Prefactor     .80276        .48439E-01    .43754E-01    .23315E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.734
  Index      = 4.21497
  Normalizat = 1.22583
  Prefactor  = 0.802757
 **********
 **   18 **HESSE 
 **********

 FCN=   6542.572     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      308 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7340        126.71        .12259E-04   -1.5664    
   2  Index         4.2150        3.9034        .40247E-02   -.15766    
   3  Normalizat    1.2258        .16772        .22015E-03   -.85808    
   4  Prefactor     .80276        .15856        .25437E-03   -.99627    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.01989e-10
Minuit parameter uncertainties:
  1  48.9854
  2  4.50142
  3  0.167791
  4  0.158647
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/438455': 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): 102
logL (Free Index) = 6542.57156706
delta logL = 1.06183311558

Extracting fit parameters...

4FGL J1549.3+6310
   Spectrum: PowerLaw
344    Prefactor:  4.734e+00  4.899e+01  0.000e+00  1.000e+06 ( 1.000e-14)
345        Index:  4.215e+00  4.501e+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:  8.028e-01  1.586e-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:  1.226e+00  1.678e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.57
Ra Dec: 237.332 63.178
Photon Index (Free Index): 4.21 +/- 4.50
Photon Flux (Free Index): 7.90e-08 +/- 5.77e-08
Energy Flux (Free Index): 1.14e-05 +/- 1.18e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/438455/cmap_HighResolution_697852801_698112001_4FGL_J1549.3+6310_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.05e-03', comment='SUCCESS', energy_flux2='1.14e-05', dlogl='1.06e+00', photon_flux2='7.90e-08', job_status='DONE', time_completed='2023-02-15 01:16:32.938732', photon_index_error2='4.50', photon_index2='4.21', ts='0.34', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', photon_flux_upper_limit='1.17e-07', energy_flux_error2='1.18e-05', EG='1.28', time_epoch_completed='1676452592.94', return_code='0', job_id='438455', GAL2='0.80', EG2='1.23', return_code2='102', photon_flux_error2='5.77e-08', ts2='2.57', photon_index='2.44' WHERE bin_id='1769' AND source_name='4FGL J1549.3+6310' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:16:32 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 438455: <4FGL_J1549.3+6310_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1549.3+6310_daily_bin1769> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Feb 15 01:00:26 2023
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 01:00:27 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 01:00:27 2023
Terminated at Wed Feb 15 01:16:33 2023
Results reported at Wed Feb 15 01:16:33 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1549.3+6310_daily_bin1769 237.332 63.178 697852801 698112001 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 :                                   718.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             291.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   966 sec.
    Turnaround time :                            967 sec.

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

