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


Performing analysis on: 4FGL_J1549.3+6310_daily_bin1765
RA = 237.332, Dec = 63.178
tmin = 696816001, tmax = 697075201
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='638363', job_status='RUN', time_executed='2023-02-03 01:11:36.257635', time_epoch_executed='1675415496.26' WHERE source_name='4FGL J1549.3+6310' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/638363

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/638363/ft1_4FGL_J1549.3+6310_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/638363/ft2_4FGL_J1549.3+6310_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/638363/ft1_4FGL_J1549.3+6310_daily_bin1765.fits outfile=/scratch/kocevski/638363/ft1_filteredMKT_4FGL_J1549.3+6310_daily_bin1765.fits ra=237.332 dec=63.178 rad=12.0 tmin=696816001.0 tmax=697075201.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.77
user 3.47
sys 0.23

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

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

Number of photons that the gtmktime cut: 682

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/638363/ft1_filtered_4FGL_J1549.3+6310_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/638363/ft2_4FGL_J1549.3+6310_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/638363/ltcube_696816001_697075201_4FGL_J1549.3+6310_daily_bin1765.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/638363/ft2_4FGL_J1549.3+6310_daily_bin1765.fits
.....................!
real 16.10
user 15.70
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/638363/ft1_filtered_4FGL_J1549.3+6310_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/638363/ft2_4FGL_J1549.3+6310_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/638363/ltcube_696816001_697075201_4FGL_J1549.3+6310_daily_bin1765.fits outfile=/scratch/kocevski/638363/expmap_696816001_697075201_4FGL_J1549.3+6310_daily_bin1765.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/638363/ltcube_696816001_697075201_4FGL_J1549.3+6310_daily_bin1765.fits
.....................!
real 193.80
user 187.98
sys 5.56

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/638363/ft1_filtered_4FGL_J1549.3+6310_daily_bin1765.fits scfile=/scratch/kocevski/638363/ft2_4FGL_J1549.3+6310_daily_bin1765.fits outfile=/scratch/kocevski/638363/cmap_696816001_697075201_4FGL_J1549.3+6310_daily_bin1765.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.59
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/638363/ft1_filtered_4FGL_J1549.3+6310_daily_bin1765.fits scfile=/scratch/kocevski/638363/ft2_4FGL_J1549.3+6310_daily_bin1765.fits outfile=/scratch/kocevski/638363/cmap_HighResolution_696816001_697075201_4FGL_J1549.3+6310_daily_bin1765.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.58
user 0.42
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18350E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.8146       1.0000          .0000       .10000E+07
     3 'Prefactor '    .51677E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .10837       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.9225       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.5993       1.0000          .0000       .10000E+07
     7 'Prefactor '    22.054       1.0000          .0000       .10000E+07
     8 'norm      '    3.2506       1.0000          .0000       .10000E+07
     9 'Prefactor '    .23948E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .42188E-08   1.0000          .0000       .10000E+07
    11 'norm      '    .93148E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .22225E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .29949E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    4.3851       1.0000          .0000       .10000E+07
    15 'Prefactor '    .78222E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .13932E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .25084E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .60063E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    .53907E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    19.095       1.0000          .0000       .10000E+07
    21 'Prefactor '    12.414       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.1720       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0421       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .94015       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=   7330.824     FROM MIGRAD    STATUS=CONVERGED    209 CALLS     1611 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    8.8891       -.78930E-06** at limit **
   2  Prefactor     2.0027        112.11       -.39026E-05   -.22784E-02
   3  Prefactor      .0000        6.0450       -.40706E-07** at limit **
   4  Prefactor     .13786E-05    90.887        .37304E-05** at limit **
   5  Prefactor     1.9230        11.739        .48008E-06    .43061E-03
   6  Prefactor     4.4896        6.3372       -.18368E-06    .68068E-03
   7  Prefactor     21.688        2.2254       -.68782E-07   -.45505E-02
   8  norm          3.2462        2.3639        .49951E-08    .40614E-03
   9  Prefactor     .39785E-06    18.494       -.16149E-05** at limit **
  10  Prefactor      .0000        2.5611       -.26363E-06** at limit **
  11  norm           .0000        1.5693       -.22176E-07** at limit **
  12  Prefactor     .16653E-09    7.1325        .66171E-07** at limit **
  13  Prefactor     .25424E-07    25.355       -.30735E-05** at limit **
  14  Prefactor     4.3174        5.5878        .88395E-07    .60604E-03
  15  Prefactor     .33307E-09    16.754        .15438E-05** at limit **
  16  norm           .0000        2.4790       -.24075E-06** at limit **
  17  Prefactor     .70033E-06    17.680        .21074E-05** at limit **
  18  norm           .0000        .32639       -.80620E-07** at limit **
  19  Prefactor     .13725E-04    33.395       -.30742E-05** at limit **
  20  Prefactor     19.079        9.8488        .58506E-06    .82274E-01
  21  Prefactor     12.430        7.3738        .57539E-07   -.85400E-03
  22  Prefactor     .18202E-06    4767.6        .79140E-05** at limit **
  23  Normalizat    1.0432        .18301       -.48641E-05    .21355E-03
  24  Prefactor     .94077        .17969        .13423E-05    .25812E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Prefactor  = 2.00275
  Prefactor  = 0
  Prefactor  = 1.37856e-06
  Prefactor  = 1.92298
  Prefactor  = 4.4896
  Prefactor  = 21.6876
  norm       = 3.24619
  Prefactor  = 3.97848e-07
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 2.54241e-08
  Prefactor  = 4.31742
  Prefactor  = 3.33067e-10
  norm       = 0
  Prefactor  = 7.00329e-07
  norm       = 0
  Prefactor  = 1.37246e-05
  Prefactor  = 19.0788
  Prefactor  = 12.4304
  Prefactor  = 1.82021e-07
  Normalizat = 1.04322
  Prefactor  = 0.94077
 **********
 **   18 **HESSE 
 **********

 FCN=   7330.824     FROM HESSE     STATUS=OK           459 CALLS     2070 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    8.9049        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.0027        116.05        .60604E-03   -1.5680    
   3  Prefactor      .0000        6.0556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .13786E-05    18.339        .13710E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9230        12.194        .74905E-03   -1.5680    
   6  Prefactor     4.4896        6.4661        .46910E-03   -1.5666    
   7  Prefactor     21.688        23.398        .21300E-03   -1.5615    
   8  norm          3.2462        2.3654        .56150E-03   -1.5672    
   9  Prefactor     .39785E-06    21.563        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        2.5621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.5680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .16653E-09    7.1414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .25424E-07    25.631        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.3174        5.6123        .48072E-03   -1.5666    
  15  Prefactor     .33307E-09    16.746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        2.4772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .70033E-06    23.125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        .32068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .13725E-04    2.9663        .10003E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     19.079        14.626        .22893E-03   -1.5621    
  21  Prefactor     12.430        9.0517        .28406E-03   -1.5637    
  22  Prefactor     .18202E-06    122.12        .17011E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0432        .15524        .41118E-01   -.91596    
  24  Prefactor     .94077        .15164        .45515E-01   -.94731    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3488e-07
Minuit parameter uncertainties:
  1  0.000103677
  2  30.4908
  3  2.06135e-05
  4  0.0100561
  5  9.68494
  6  6.46611
  7  23.3984
  8  2.36541
  9  0.00585801
  10  3.23864e-06
  11  3.12575e-06
  12  6.30016e-05
  13  0.00161447
  14  5.6123
  15  0.000145565
  16  5.52843e-07
  17  0.0080487
  18  6.58046e-07
  19  0.012761
  20  14.6255
  21  9.05168
  22  0.00942997
  23  0.155311
  24  0.151712
Done.

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

Extracting fit parameters...

4FGL J1549.3+6310
   Spectrum: PowerLaw
344    Prefactor:  3.978e-07  5.858e-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.408e-01  1.517e-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.043e+00  1.553e-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: 3.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/638363/likelihoodResults_696816001_697075201_4FGL_J1549.3+6310_daily_bin1765.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) = 7330.84591532
delta logL = -0.0221625204431

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7330.81858866
delta logL = 0.00516414131653

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .81128       1.0000          .0000       .10000E+07
     2 'Index     '    .39409       1.0000          .0000       10.000    
     3 'Normalizat'    1.0418       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94190       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7330.819     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      316 TOTAL
                     EDM=   .23E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81128        22.254         .0000        .19068E-01
   2  Index         .39408        6.3061         .0000       -.43247E-02
   3  Normalizat    1.0418        .14956         .0000        .10226E-04
   4  Prefactor     .94185        .15065         .0000        .12259E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.811279
  Index      = 0.394076
  Normalizat = 1.04181
  Prefactor  = 0.941851
 **********
 **   18 **HESSE 
 **********

 FCN=   7330.819     FROM HESSE     STATUS=OK            33 CALLS      349 TOTAL
                     EDM=   .37E-03    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81128        27.284        .20839E-04   -1.5690    
   2  Index         .39408        8.2836        .50000       -1.1711    
   3  Normalizat    1.0418        .17807        .22436E-03   -.91643    
   4  Prefactor     .94185        .17922        .23563E-03   -.94694    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.000366431
Minuit parameter uncertainties:
  1  9.40959
  2  4.61807
  3  0.178174
  4  0.179336
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/638363': 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) = 7330.81858863
delta logL = 0.00516417323615

Extracting fit parameters...

4FGL J1549.3+6310
   Spectrum: PowerLaw
344    Prefactor:  8.113e-01  9.410e+00  0.000e+00  1.000e+06 ( 1.000e-14)
345        Index:  3.941e-01  4.618e+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.419e-01  1.793e-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.042e+00  1.782e-01  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/638363/cmap_HighResolution_696816001_697075201_4FGL_J1549.3+6310_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.92e-03', job_status='DONE', photon_flux_upper_limit='3.77e-08', time_completed='2023-02-03 01:23:51.213804', job_id='638363', GAL2='0.94', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1675416231.21', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='5.16e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1765' AND source_name='4FGL J1549.3+6310' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:23:51 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 638363: <4FGL_J1549.3+6310_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1549.3+6310_daily_bin1765> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Feb  3 01:10:23 2023
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:11:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:11:26 2023
Terminated at Fri Feb  3 01:23:52 2023
Results reported at Fri Feb  3 01:23:52 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1549.3+6310_daily_bin1765 237.332 63.178 696816001 697075201 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 :                                   737.20 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             356.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            809 sec.

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

