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 94 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_J1249.3-0545_daily_bin1773
RA = 192.326, Dec = -5.7621
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='790537', job_status='RUN', time_executed='2023-02-27 09:51:21.323089', time_epoch_executed='1677520281.32' WHERE source_name='4FGL J1249.3-0545' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/790537

Creating custom pfile directory:
/scratch/kocevski/790537/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/790537/ft1_4FGL_J1249.3-0545_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/790537/ft2_4FGL_J1249.3-0545_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/790537/ft1_4FGL_J1249.3-0545_daily_bin1773.fits outfile=/scratch/kocevski/790537/ft1_filteredMKT_4FGL_J1249.3-0545_daily_bin1773.fits ra=192.326 dec=-5.7621 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 3.13
user 2.70
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/790537/ft2_4FGL_J1249.3-0545_daily_bin1773.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/790537/ft2_4FGL_J1249.3-0545_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/790537/ft1_filteredMKT_4FGL_J1249.3-0545_daily_bin1773.fits evtable="EVENTS" outfile="/scratch/kocevski/790537/ft1_filtered_4FGL_J1249.3-0545_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.15

Number of photons that the gtmktime cut: 350

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/790537/ft1_filtered_4FGL_J1249.3-0545_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/790537/ft2_4FGL_J1249.3-0545_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/790537/ltcube_698889601_699148801_4FGL_J1249.3-0545_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/790537/ft2_4FGL_J1249.3-0545_daily_bin1773.fits
.....................!
real 16.14
user 15.63
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/790537/ft1_filtered_4FGL_J1249.3-0545_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/790537/ft2_4FGL_J1249.3-0545_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/790537/ltcube_698889601_699148801_4FGL_J1249.3-0545_daily_bin1773.fits outfile=/scratch/kocevski/790537/expmap_698889601_699148801_4FGL_J1249.3-0545_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/790537/ltcube_698889601_699148801_4FGL_J1249.3-0545_daily_bin1773.fits
.....................!
real 197.03
user 191.61
sys 4.99

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

Setting source of interest to:
4FGL J1249.3-0545 @ 192.326 -5.7621

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/790537/ft1_filtered_4FGL_J1249.3-0545_daily_bin1773.fits scfile=/scratch/kocevski/790537/ft2_4FGL_J1249.3-0545_daily_bin1773.fits outfile=/scratch/kocevski/790537/cmap_698889601_699148801_4FGL_J1249.3-0545_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=192.326 yref=-5.7621 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/790537/ft1_filtered_4FGL_J1249.3-0545_daily_bin1773.fits scfile=/scratch/kocevski/790537/ft2_4FGL_J1249.3-0545_daily_bin1773.fits outfile=/scratch/kocevski/790537/cmap_HighResolution_698889601_699148801_4FGL_J1249.3-0545_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=192.326 yref=-5.7621 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/790537/ft1_filtered_4FGL_J1249.3-0545_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/790537/ft2_4FGL_J1249.3-0545_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/790537/Model_4FGL_J1249.3-0545_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/790537/ft1_filtered_4FGL_J1249.3-0545_daily_bin1773.fits.....................!
real 37.96
user 36.73
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/790537/ft1_filtered_4FGL_J1249.3-0545_daily_bin1773.fits', '/scratch/kocevski/790537/ft2_4FGL_J1249.3-0545_daily_bin1773.fits', expMap='/scratch/kocevski/790537/expmap_698889601_699148801_4FGL_J1249.3-0545_daily_bin1773.fits', expCube='/scratch/kocevski/790537/ltcube_698889601_699148801_4FGL_J1249.3-0545_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/790537/Model_4FGL_J1249.3-0545_daily_bin1773.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1249.3-0545'

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  6.563e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  2.058e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  2.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/790537/ft1_filtered_4FGL_J1249.3-0545_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/790537/ft2_4FGL_J1249.3-0545_daily_bin1773.fits
Exposure map: /scratch/kocevski/790537/expmap_698889601_699148801_4FGL_J1249.3-0545_daily_bin1773.fits
Exposure cube: /scratch/kocevski/790537/ltcube_698889601_699148801_4FGL_J1249.3-0545_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/790537/Model_4FGL_J1249.3-0545_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) = 4077.08892705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .79017       1.0000          .0000       .10000E+07
     2 'Prefactor '    .99099E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    37.067       1.0000          .0000       .10000E+07
     4 'Prefactor '    24.430       1.0000          .0000       .10000E+07
     5 'norm      '    .25506E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .33439E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.2027       1.0000          .0000       .10000E+07
     8 'norm      '    .32038E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.6019       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .52736E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    17.102       1.0000          .0000       .10000E+07
    12 'norm      '    3.1081       1.0000          .0000       .10000E+07
    13 'Prefactor '    5.9241       1.0000          .0000       .10000E+07
    14 'Prefactor '    58.482       1.0000          .0000       .10000E+07
    15 'norm      '    .27944E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .58817       1.0000          .0000       .10000E+07
    17 'Prefactor '    79.859       1.0000          .0000       .10000E+07
    18 'norm      '    28.883       1.0000          .0000       .10000E+07
    19 'norm      '    4.3286       1.0000          .0000       .10000E+07
    20 'Prefactor '    23.603       1.0000          .0000       .10000E+07
    21 'Prefactor '    6.6739       1.0000          .0000       .10000E+07
    22 'Prefactor '    1.4592       1.0000          .0000       .10000E+07
    23 'norm      '    2.8378       1.0000          .0000       .10000E+07
    24 'Normalizat'    .85686       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0637       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4076.897     FROM MIGRAD    STATUS=CONVERGED    268 CALLS     2279 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9530        163.49        .24544E-05   -.13874E-03
   2  Prefactor     .15654E-07    67.002       -.29286E-05** at limit **
   3  Prefactor     40.722        35.939       -.22071E-06    .36723E-01
   4  Prefactor     25.500        29.914       -.15882E-06   -.34511E-02
   5  norm           .0000        3.5536       -.20203E-06** at limit **
   6  norm          .51792E-07    72.263       -.10423E-05** at limit **
   7  Prefactor     1.2827        9.2793        .37131E-06   -.17027E-03
   8  norm          .16653E-09    10.173       -.43849E-06** at limit **
   9  Prefactor     5.5980        2.6897       -.98370E-06   -.48812E-04
  10  Prefactor     .55511E-10    8.6792       -.32299E-06** at limit **
  11  Prefactor     16.973        17.307        .21585E-06   -.33040E-03
  12  norm          3.1180        4.3260       -.10555E-06   -.18449E-03
  13  Prefactor     5.7463        14.393        .10850E-05   -.78980E-03
  14  Prefactor     64.776        66.871       -.22147E-06   -.25340E-01
  15  norm          .22204E-09    13.891        .97356E-06** at limit **
  16  norm          .58761        .33763        .32974E-08    .66530E-03
  17  Prefactor     66.635        106.38       -.33031E-06    .26955E-03
  18  norm          29.740        21.379       -.40243E-06    .12025E-02
  19  norm          4.2603        10.220       -.18490E-06   -.19920E-03
  20  Prefactor     23.749        13.859        .20622E-06   -.13942E-02
  21  Prefactor     6.5386        24.045        .12231E-05   -.86134E-03
  22  Prefactor     1.7751        21.081       -.20387E-05    .12612E-02
  23  norm          2.8364        2.2819        .25581E-06   -.52630E-02
  24  Normalizat    .85575        .42171       -.12570E-04   -.10339E-03
  25  Prefactor     1.0620        .24543        .14385E-04   -.29902E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.95295
  Prefactor  = 1.56541e-08
  Prefactor  = 40.7221
  Prefactor  = 25.4995
  norm       = 0
  norm       = 5.17919e-08
  Prefactor  = 1.2827
  norm       = 1.66533e-10
  Prefactor  = 5.59805
  Prefactor  = 5.55112e-11
  Prefactor  = 16.9729
  norm       = 3.118
  Prefactor  = 5.74628
  Prefactor  = 64.7759
  norm       = 2.22045e-10
  norm       = 0.587607
  Prefactor  = 66.6345
  norm       = 29.7397
  norm       = 4.26035
  Prefactor  = 23.7493
  Prefactor  = 6.53861
  Prefactor  = 1.77509
  norm       = 2.83643
  Normalizat = 0.855751
  Prefactor  = 1.062
 **********
 **   18 **HESSE 
 **********

 FCN=   4076.897     FROM HESSE     STATUS=OK           495 CALLS     2774 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9530        161.08        .53670E-03   -1.5680    
   2  Prefactor     .15654E-07    67.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     40.722        76.282        .16427E-03   -1.5580    
   4  Prefactor     25.500        31.211        .20236E-03   -1.5607    
   5  norm           .0000        3.5267        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .51792E-07    72.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.2827        9.4499        .10339E-02   -1.5685    
   8  norm          .16653E-09    1.0546        .33754E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.5980        2.7163        .42433E-02   -1.5235    
  10  Prefactor     .55511E-10    8.7154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.973        17.335        .24191E-03   -1.5626    
  12  norm          3.1180        4.5145        .57491E-03   -1.5673    
  13  Prefactor     5.7463        14.435        .41234E-03   -1.5660    
  14  Prefactor     64.776        75.173        .13077E-03   -1.5547    
  15  norm          .22204E-09    13.959        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .58761        .34384        .58268E-03   -1.5693    
  17  Prefactor     66.635        107.02        .11191E-03   -1.5545    
  18  norm          29.740        21.439        .18610E-03   -1.5599    
  19  norm          4.2603        10.263        .48393E-03   -1.5667    
  20  Prefactor     23.749        13.940        .20588E-03   -1.5610    
  21  Prefactor     6.5386        24.052        .38819E-03   -1.5657    
  22  Prefactor     1.7751        21.940        .89052E-03   -1.5681    
  23  norm          2.8364        2.2933        .60337E-03   -1.5674    
  24  Normalizat    .85575        .36630        .85455E-01   -.98033    
  25  Prefactor     1.0620        .20910        .39164E-01   -.90691    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83678e-07
Minuit parameter uncertainties:
  1  35.474
  2  0.0020512
  3  76.2841
  4  31.2111
  5  7.61356e-06
  6  0.00387854
  7  6.96317
  8  2.72749e-05
  9  2.71635
  10  5.1259e-05
  11  17.3351
  12  4.51451
  13  14.4349
  14  75.1741
  15  0.000113421
  16  0.343836
  17  107.019
  18  21.4387
  19  10.2633
  20  13.9403
  21  24.0527
  22  12.4813
  23  2.2933
  24  0.367366
  25  0.209262
Done.

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

Extracting fit parameters...

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  6.478e+01  7.517e+01  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  2.058e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  2.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  1.062e+00  2.093e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  8.558e-01  3.674e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.13
Ra Dec: 192.326 -5.762
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 5.65e-08 +/- 6.55e-08
Energy Flux (Fixed Index): 3.40e-05 +/- 3.94e-05

TS (Fixed Index): 1.13
Ra Dec: 192.326 -5.762
Photon Flux Upper Limit: 2.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.51e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/790537/likelihoodResults_698889601_699148801_4FGL_J1249.3-0545_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): 0
logL (Free Index) = 4076.88505259
delta logL = 0.0117875093165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4076.8761152
delta logL = 0.0207249018035

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4076.876     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      273 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     53.771        93.597        .54533E-05    .10490E-02
   2  Index         2.2146        .86314        .62591E-02    .36193E-04
   3  Normalizat    .84270        .37198        .38100E-03    .10842E-03
   4  Prefactor     1.0670        .23727        .21934E-03    .38355E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 53.7709
  Index      = 2.21455
  Normalizat = 0.842702
  Prefactor  = 1.06704
 **********
 **   18 **HESSE 
 **********

 FCN=   4076.876     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     53.771        83.942        .10907E-05   -1.5561    
   2  Index         2.2146        .77398        .25036E-03   -.59088    
   3  Normalizat    .84270        .37079        .15240E-04   -.98504    
   4  Prefactor     1.0670        .23682        .87737E-05   -.90527    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37537e-10
Minuit parameter uncertainties:
  1  83.9435
  2  0.77853
  3  0.371911
  4  0.237055
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/790537': 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) = 4076.8761067
delta logL = 0.0207334014485

Extracting fit parameters...

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  5.377e+01  8.394e+01  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  2.215e+00  7.785e-01  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  2.757e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
648    Prefactor:  1.067e+00  2.371e-01  0.000e+00  1.000e+01 ( 1.000e+00)
649        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
650        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
647   Normalization:  8.427e-01  3.719e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.17
Ra Dec: 192.326 -5.762
Photon Index (Free Index): 2.21 +/- 0.78
Photon Flux (Free Index): 6.86e-08 +/- 9.26e-08
Energy Flux (Free Index): 3.00e-05 +/- 3.69e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/790537/cmap_HighResolution_698889601_699148801_4FGL_J1249.3-0545_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.51e-02', comment='SUCCESS', photon_flux='5.65e-08', energy_flux2='3.00e-05', photon_flux_error='6.55e-08', dlogl='2.07e-02', energy_flux='3.40e-05', photon_flux2='6.86e-08', job_status='DONE', time_completed='2023-02-27 10:00:34.136255', photon_index_error2='0.78', photon_index2='2.21', ts='1.13', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='2.01e-07', energy_flux_error2='3.69e-05', EG='0.86', time_epoch_completed='1677520834.14', return_code='0', job_id='790537', GAL2='1.07', EG2='0.84', return_code2='0', energy_flux_error='3.94e-05', photon_flux_error2='9.26e-08', ts2='1.17', photon_index='2.06' WHERE bin_id='1773' AND source_name='4FGL J1249.3-0545' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:00:34 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 790537: <4FGL_J1249.3-0545_daily_bin1773> in cluster <slac> Done

Job <4FGL_J1249.3-0545_daily_bin1773> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Feb 27 09:45:18 2023
Job was executed on host(s) <bullet0159>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 09:45:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 09:45:18 2023
Terminated at Mon Feb 27 10:00:34 2023
Results reported at Mon Feb 27 10:00:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1249.3-0545_daily_bin1773 192.326 -5.7621 698889601 699148801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1249.3-0545 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   551.25 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             247.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            916 sec.

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

