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


Performing analysis on: 4FGL_J1549.3+6310_daily_bin1773
RA = 237.332, Dec = 63.178
tmin = 698889601, tmax = 699148801
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='795393', job_status='RUN', time_executed='2023-02-27 10:01:26.893679', time_epoch_executed='1677520886.89' WHERE source_name='4FGL J1549.3+6310' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/795393

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/795393/ft1_4FGL_J1549.3+6310_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/795393/ft2_4FGL_J1549.3+6310_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/795393/ft1_4FGL_J1549.3+6310_daily_bin1773.fits outfile=/scratch/kocevski/795393/ft1_filteredMKT_4FGL_J1549.3+6310_daily_bin1773.fits ra=237.332 dec=63.178 rad=12.0 tmin=698889601.0 tmax=699148801.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 2.94
user 2.72
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/795393/ft2_4FGL_J1549.3+6310_daily_bin1773.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/795393/ft1_filteredMKT_4FGL_J1549.3+6310_daily_bin1773.fits evtable="EVENTS" outfile="/scratch/kocevski/795393/ft1_filtered_4FGL_J1549.3+6310_daily_bin1773.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.14

Number of photons that the gtmktime cut: 933

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/795393/ft1_filtered_4FGL_J1549.3+6310_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/795393/ft2_4FGL_J1549.3+6310_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/795393/ltcube_698889601_699148801_4FGL_J1549.3+6310_daily_bin1773.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/795393/ft2_4FGL_J1549.3+6310_daily_bin1773.fits
.....................!
real 15.90
user 15.54
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/795393/ft1_filtered_4FGL_J1549.3+6310_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/795393/ft2_4FGL_J1549.3+6310_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/795393/ltcube_698889601_699148801_4FGL_J1549.3+6310_daily_bin1773.fits outfile=/scratch/kocevski/795393/expmap_698889601_699148801_4FGL_J1549.3+6310_daily_bin1773.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/795393/ltcube_698889601_699148801_4FGL_J1549.3+6310_daily_bin1773.fits
.....................!
real 191.61
user 186.14
sys 4.97

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/795393/ft1_filtered_4FGL_J1549.3+6310_daily_bin1773.fits scfile=/scratch/kocevski/795393/ft2_4FGL_J1549.3+6310_daily_bin1773.fits outfile=/scratch/kocevski/795393/cmap_698889601_699148801_4FGL_J1549.3+6310_daily_bin1773.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/795393/ft1_filtered_4FGL_J1549.3+6310_daily_bin1773.fits scfile=/scratch/kocevski/795393/ft2_4FGL_J1549.3+6310_daily_bin1773.fits outfile=/scratch/kocevski/795393/cmap_HighResolution_698889601_699148801_4FGL_J1549.3+6310_daily_bin1773.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.55
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/795393/ft1_filtered_4FGL_J1549.3+6310_daily_bin1773.fits', '/scratch/kocevski/795393/ft2_4FGL_J1549.3+6310_daily_bin1773.fits', expMap='/scratch/kocevski/795393/expmap_698889601_699148801_4FGL_J1549.3+6310_daily_bin1773.fits', expCube='/scratch/kocevski/795393/ltcube_698889601_699148801_4FGL_J1549.3+6310_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/795393/Model_4FGL_J1549.3+6310_daily_bin1773.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/795393/ft1_filtered_4FGL_J1549.3+6310_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/795393/ft2_4FGL_J1549.3+6310_daily_bin1773.fits
Exposure map: /scratch/kocevski/795393/expmap_698889601_699148801_4FGL_J1549.3+6310_daily_bin1773.fits
Exposure cube: /scratch/kocevski/795393/ltcube_698889601_699148801_4FGL_J1549.3+6310_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/795393/Model_4FGL_J1549.3+6310_daily_bin1773.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) = 10122.7882605

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52099E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    20.780       1.0000          .0000       .10000E+07
     3 'Prefactor '    9.2985       1.0000          .0000       .10000E+07
     4 'Prefactor '    11.780       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31740E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .99399E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .10981E-03   1.0000          .0000       .10000E+07
     8 'norm      '    1.4597       1.0000          .0000       .10000E+07
     9 'Prefactor '    .53002E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.7085       1.0000          .0000       .10000E+07
    11 'norm      '    .17945E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .62168       1.0000          .0000       .10000E+07
    13 'Prefactor '    .41622E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .27776E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40881E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .51400E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .30862E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .56155E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .62680E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    6.2303       1.0000          .0000       .10000E+07
    21 'Prefactor '    3.0925       1.0000          .0000       .10000E+07
    22 'Prefactor '    39.330       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0905       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98640       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=   10122.76     FROM MIGRAD    STATUS=CONVERGED    166 CALLS     2047 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39135E-07    8.9164        .52518E-06** at limit **
   2  Prefactor     21.453        5.1103        .12471E-06   -.39007E-01
   3  Prefactor     9.2590        3.0364       -.23289E-06   -.68853E-01
   4  Prefactor     11.956        1.7252       -.82750E-08   -.14684E-01
   5  Prefactor     .11102E-09    3.1667       -.77989E-07** at limit **
   6  Prefactor      .0000        3.5824       -.27453E-06** at limit **
   7  Prefactor     .24980E-08    14.405       -.26870E-05** at limit **
   8  norm          1.4612        1.4098       -.14783E-07    .40628E-03
   9  Prefactor     .83616E-06    26.689       -.51348E-06** at limit **
  10  Prefactor     4.7287        4.7135       -.71662E-06    .54028E-02
  11  norm          .77161E-08    9.6741        .71416E-06** at limit **
  12  Prefactor     .85747E-04    28.883       -.13896E-05** at limit **
  13  Prefactor     .91527E-05    47.001       -.18778E-05** at limit **
  14  Prefactor     .32202E-06    24.776        .11742E-05** at limit **
  15  Prefactor     .14661E-04    96.154       -.38912E-05** at limit **
  16  norm          .37460E-01    3.9801        .52505E-06** at limit **
  17  Prefactor      .0000        4.0103       -.54324E-06** at limit **
  18  norm           .0000        .51888       -.96390E-07** at limit **
  19  Prefactor     .55511E-10    2.2989        .14488E-06** at limit **
  20  Prefactor     6.2485        6.3157       -.38518E-06    .30422E-02
  21  Prefactor     3.1292        3.7851        .55972E-06   -.73468E-02
  22  Prefactor     37.820        12.002       -.37825E-06   -.83583E-01
  23  Normalizat    1.0907        .15252       -.13116E-04   -.23202E-03
  24  Prefactor     .98648        .15025        .19309E-04   -.42331E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.91354e-08
  Prefactor  = 21.4526
  Prefactor  = 9.259
  Prefactor  = 11.9556
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 2.498e-09
  norm       = 1.46115
  Prefactor  = 8.36164e-07
  Prefactor  = 4.72873
  norm       = 7.71605e-09
  Prefactor  = 8.57469e-05
  Prefactor  = 9.15268e-06
  Prefactor  = 3.2202e-07
  Prefactor  = 1.46611e-05
  norm       = 0.0374605
  Prefactor  = 0
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 6.24848
  Prefactor  = 3.1292
  Prefactor  = 37.8201
  Normalizat = 1.09066
  Prefactor  = 0.986478
 **********
 **   18 **HESSE 
 **********

 FCN=   10122.76     FROM HESSE     STATUS=OK           451 CALLS     2498 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39135E-07    8.9675        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     21.453        32.782        .21943E-03   -1.5615    
   3  Prefactor     9.2590        16.775        .32842E-03   -1.5647    
   4  Prefactor     11.956        21.955        .29162E-03   -1.5639    
   5  Prefactor     .11102E-09    3.1609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.5699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .24980E-08    14.531        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.4612        1.3998        .89031E-03   -1.5684    
   9  Prefactor     .83616E-06    28.027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.7287        4.7232        .46350E-03   -1.5664    
  11  norm          .77161E-08    9.6114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .85747E-04    115.95        .67308E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .91527E-05    58.133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .32202E-06    24.935        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .14661E-04    105.94        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .37460E-01    2.0776        .10057E-01   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        4.0060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        .25106        .16222E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .55511E-10    2.2999        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.2485        6.3860        .40194E-03   -1.5658    
  21  Prefactor     3.1292        4.0381        .57645E-03   -1.5673    
  22  Prefactor     37.820        41.982        .15947E-03   -1.5585    
  23  Normalizat    1.0907        .13158        .38399E-01   -.90052    
  24  Prefactor     .98648        .12861        .46097E-01   -.93182    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87452e-06
Minuit parameter uncertainties:
  1  0.00118471
  2  32.7821
  3  16.7747
  4  21.9549
  5  3.64246e-05
  6  1.75911e-05
  7  0.000380451
  8  1.39976
  9  0.00968189
  10  4.72324
  11  0.000544655
  12  0.199423
  13  0.0461341
  14  0.00566722
  15  0.0788216
  16  0.557958
  17  1.90574e-05
  18  3.6466e-06
  19  1.64507e-05
  20  6.38596
  21  4.03814
  22  41.9822
  23  0.131616
  24  0.128653
Done.

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

Extracting fit parameters...

4FGL J1549.3+6310
   Spectrum: PowerLaw
344    Prefactor:  8.362e-07  9.682e-03  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:  9.865e-01  1.287e-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.091e+00  1.316e-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: 4.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.10e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/795393/likelihoodResults_698889601_699148801_4FGL_J1549.3+6310_daily_bin1773.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) = 10122.7755206
delta logL = -0.0170824659435

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 10122.7584382
delta logL = 1.49939296534e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     2 'Index     '    1.0761       1.0000          .0000       10.000    
     3 'Normalizat'    1.0907       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98648       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=   10122.76     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      216 TOTAL
                     EDM=   .23E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        36.425       -.44264E-07** at limit **
   2  Index         2.0358        5.5250       -.31242E-06     .0000    
   3  Normalizat    1.0907        .15130       -.15360E-05   -.32896E-05
   4  Prefactor     .98648        .14981        .37410E-05   -.14807E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.03583
  Normalizat = 1.09066
  Prefactor  = 0.986479
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10122.76     FROM HESSE     STATUS=FAILED        11 CALLS      227 TOTAL
                     EDM=   .23E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        35.953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .44733        1.8063       -.31242E-06   -.63457    
   3  Normalizat    1.0907        1.1623       -.15360E-05   -.90052    
   4  Prefactor     .98648        1.3264        .37410E-05   -.93182    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.34396e-13
Minuit parameter uncertainties:
  1  4.55752e-05
  2  1.55325
  3  1.19131
  4  1.37459
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/795393': 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) = 10122.7584382
delta logL = 1.49939296534e-08

Extracting fit parameters...

4FGL J1549.3+6310
   Spectrum: PowerLaw
344    Prefactor:  0.000e+00  4.558e-05  0.000e+00  1.000e+06 ( 1.000e-14)
345        Index:  2.036e+00  1.553e+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:  9.865e-01  1.375e+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:  1.091e+00  1.191e+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/795393/cmap_HighResolution_698889601_699148801_4FGL_J1549.3+6310_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.10e-03', job_status='DONE', photon_flux_upper_limit='4.00e-08', time_completed='2023-02-27 10:16:43.383128', job_id='795393', GAL2='0.99', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1677521803.38', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.50e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1773' AND source_name='4FGL J1549.3+6310' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:16:43 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0024>
Subject: Job 795393: <4FGL_J1549.3+6310_daily_bin1773> in cluster <slac> Done

Job <4FGL_J1549.3+6310_daily_bin1773> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Feb 27 10:00:20 2023
Job was executed on host(s) <bullet0024>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 10:00:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 10:00:21 2023
Terminated at Mon Feb 27 10:16:45 2023
Results reported at Mon Feb 27 10:16:45 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1549.3+6310_daily_bin1773 237.332 63.178 698889601 699148801 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 :                                   918.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             327.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   984 sec.
    Turnaround time :                            985 sec.

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

