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


Performing analysis on: 4FGL_J1246.7-2548_daily_bin1776
RA = 191.689, Dec = -25.8018
tmin = 699667201, tmax = 699926401
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='833772', job_status='RUN', time_executed='2023-03-08 00:42:08.100079', time_epoch_executed='1678264928.1' WHERE source_name='4FGL J1246.7-2548' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/833772

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/833772/ft1_4FGL_J1246.7-2548_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/833772/ft2_4FGL_J1246.7-2548_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/833772/ft1_4FGL_J1246.7-2548_daily_bin1776.fits outfile=/scratch/kocevski/833772/ft1_filteredMKT_4FGL_J1246.7-2548_daily_bin1776.fits ra=191.689 dec=-25.8018 rad=12.0 tmin=699667201.0 tmax=699926401.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.22
user 2.98
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/833772/ft2_4FGL_J1246.7-2548_daily_bin1776.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/833772/ft2_4FGL_J1246.7-2548_daily_bin1776.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/833772/ft1_filteredMKT_4FGL_J1246.7-2548_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/833772/ft1_filtered_4FGL_J1246.7-2548_daily_bin1776.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.44
user 0.28
sys 0.14

Number of photons that the gtmktime cut: 890

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/833772/ft1_filtered_4FGL_J1246.7-2548_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/833772/ft2_4FGL_J1246.7-2548_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/833772/ltcube_699667201_699926401_4FGL_J1246.7-2548_daily_bin1776.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/833772/ft2_4FGL_J1246.7-2548_daily_bin1776.fits
.....................!
real 10.87
user 10.51
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/833772/ft1_filtered_4FGL_J1246.7-2548_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/833772/ft2_4FGL_J1246.7-2548_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/833772/ltcube_699667201_699926401_4FGL_J1246.7-2548_daily_bin1776.fits outfile=/scratch/kocevski/833772/expmap_699667201_699926401_4FGL_J1246.7-2548_daily_bin1776.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/833772/ltcube_699667201_699926401_4FGL_J1246.7-2548_daily_bin1776.fits
.....................!
real 157.14
user 152.20
sys 4.42

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
Extended source CenA Lobes in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Added 184 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1246.7-2548 @ 191.689 -25.8018

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/833772/ft1_filtered_4FGL_J1246.7-2548_daily_bin1776.fits scfile=/scratch/kocevski/833772/ft2_4FGL_J1246.7-2548_daily_bin1776.fits outfile=/scratch/kocevski/833772/cmap_699667201_699926401_4FGL_J1246.7-2548_daily_bin1776.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=191.689 yref=-25.8018 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.35
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/833772/ft1_filtered_4FGL_J1246.7-2548_daily_bin1776.fits scfile=/scratch/kocevski/833772/ft2_4FGL_J1246.7-2548_daily_bin1776.fits outfile=/scratch/kocevski/833772/cmap_HighResolution_699667201_699926401_4FGL_J1246.7-2548_daily_bin1776.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=191.689 yref=-25.8018 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.48
user 0.31
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/833772/ft1_filtered_4FGL_J1246.7-2548_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/833772/ft2_4FGL_J1246.7-2548_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/833772/Model_4FGL_J1246.7-2548_daily_bin1776.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 CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/833772/ft1_filtered_4FGL_J1246.7-2548_daily_bin1776.fits.....................!
real 126.44
user 123.69
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/833772/ft1_filtered_4FGL_J1246.7-2548_daily_bin1776.fits', '/scratch/kocevski/833772/ft2_4FGL_J1246.7-2548_daily_bin1776.fits', expMap='/scratch/kocevski/833772/expmap_699667201_699926401_4FGL_J1246.7-2548_daily_bin1776.fits', expCube='/scratch/kocevski/833772/ltcube_699667201_699926401_4FGL_J1246.7-2548_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/833772/Model_4FGL_J1246.7-2548_daily_bin1776.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1246.7-2548'

4FGL J1246.7-2548
   Spectrum: LogParabola
275         norm:  2.651e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
276        alpha:  2.214e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
277         beta:  1.173e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
278           Eb:  6.582e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/833772/ft1_filtered_4FGL_J1246.7-2548_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/833772/ft2_4FGL_J1246.7-2548_daily_bin1776.fits
Exposure map: /scratch/kocevski/833772/expmap_699667201_699926401_4FGL_J1246.7-2548_daily_bin1776.fits
Exposure cube: /scratch/kocevski/833772/ltcube_699667201_699926401_4FGL_J1246.7-2548_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/833772/Model_4FGL_J1246.7-2548_daily_bin1776.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 9319.30035969

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15865E-06   1.0000          .0000       .10000E+07
     2 'norm      '    13.266       1.0000          .0000       .10000E+07
     3 'Prefactor '    .22435E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    59.663       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11534E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .96440E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    21.985       1.0000          .0000       .10000E+07
     8 'Prefactor '    21.833       1.0000          .0000       .10000E+07
     9 'norm      '    1.0655       1.0000          .0000       .10000E+07
    10 'Prefactor '    72.348       1.0000          .0000       .10000E+07
    11 'norm      '    1.9799       1.0000          .0000       .10000E+07
    12 'norm      '    13.359       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11807E-06   1.0000          .0000       .10000E+07
    14 'norm      '    .24866E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .21100E-06   1.0000          .0000       .10000E+07
    16 'norm      '    1.8795       1.0000          .0000       .10000E+07
    17 'Prefactor '    .74550       1.0000          .0000       .10000E+07
    18 'Prefactor '    .36188E-06   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.6097       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .78422       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9315.674     FROM MIGRAD    STATUS=CONVERGED    141 CALLS      956 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-08    5.0842        .52619E-06** at limit **
   2  norm          13.266        5.6607       -.77735E-07    .18006E-03
   3  Prefactor     .11269E-06    7.7149        .61874E-06** at limit **
   4  Prefactor     59.499        3.2844       -.93552E-07    .14310    
   5  Prefactor     .40634E-07    6.9620       -.14314E-05** at limit **
   6  Prefactor     .23870E-08    20.696       -.12870E-05** at limit **
   7  Prefactor     21.955        1.9567       -.87473E-07    .19885E-01
   8  Prefactor     21.852        1.7676        .51817E-07    .14215E-01
   9  norm          1.0652        .80253       -.33386E-07   -.16308E-03
  10  Prefactor     72.071        7.9726       -.47926E-07    .21585    
  11  norm          2.1466        9.2060        .11453E-05    .10753E-03
  12  norm          13.346        6.2961        .68282E-07   -.21732E-02
  13  Prefactor      .0000        2.7737       -.14603E-06** at limit **
  14  norm          .21427E-07    9.8094       -.34344E-06** at limit **
  15  norm           .0000        2.1036        .18263E-06** at limit **
  16  norm          1.8785        3.1248        .54402E-06    .63677E-03
  17  Prefactor     .87432E-05    304.65        .13528E-05** at limit **
  18  Prefactor     .22760E-08    5.2671       -.17448E-06** at limit **
  19  Normalizat    1.6099        .25956       -.86853E-05   -.33751E-05
  20  Prefactor     .78427        .11531        .48469E-05   -.32261E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-09
  norm       = 13.2655
  Prefactor  = 1.12688e-07
  Prefactor  = 59.4987
  Prefactor  = 4.06342e-08
  Prefactor  = 2.38698e-09
  Prefactor  = 21.9551
  Prefactor  = 21.8523
  norm       = 1.06517
  Prefactor  = 72.0712
  norm       = 2.14659
  norm       = 13.3462
  Prefactor  = 0
  norm       = 2.14273e-08
  norm       = 0
  norm       = 1.8785
  Prefactor  = 8.74317e-06
  Prefactor  = 2.27596e-09
  Normalizat = 1.6099
  Prefactor  = 0.784275
 **********
 **   18 **HESSE 
 **********

 FCN=   9315.674     FROM HESSE     STATUS=OK           337 CALLS     1293 TOTAL
                     EDM=   .32E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-08    5.0915        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          13.266        5.6660        .27475E-03   -1.5635    
   3  Prefactor     .11269E-06    7.8549        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     59.499        32.184        .12947E-03   -1.5554    
   5  Prefactor     .40634E-07    7.0073        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .23870E-08    20.771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     21.955        18.085        .21333E-03   -1.5614    
   8  Prefactor     21.852        12.178        .21407E-03   -1.5614    
   9  norm          1.0652        .81989        .11813E-02   -1.5687    
  10  Prefactor     72.071        65.987        .11757E-03   -1.5538    
  11  norm          2.1466        9.3495        .73634E-03   -1.5679    
  12  norm          13.346        6.7230        .27379E-03   -1.5635    
  13  Prefactor      .0000        2.7752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .21427E-07    9.6814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        2.0662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.8785        3.1497        .75909E-03   -1.5681    
  17  Prefactor     .87432E-05    16.397        .11988E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .22760E-08    5.2794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.6099        .22078        .72725E-01   -.74735    
  20  Prefactor     .78427        .96828E-01    .43512E-01   -1.0031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21131e-06
Minuit parameter uncertainties:
  1  0.000282075
  2  5.66604
  3  0.00188179
  4  32.1844
  5  0.00106751
  6  0.000443673
  7  18.0855
  8  12.1775
  9  0.81989
  10  65.9879
  11  8.95981
  12  6.72304
  13  1.71249e-05
  14  0.000910631
  15  1.83496e-06
  16  3.14968
  17  0.0239467
  18  0.00021866
  19  0.220911
  20  0.096849
Done.

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

Extracting fit parameters...

4FGL J1246.7-2548
   Spectrum: LogParabola
275         norm:  1.065e+00  8.199e-01  0.000e+00  1.000e+06 ( 1.000e-11)
276        alpha:  2.214e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
277         beta:  1.173e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
278           Eb:  6.582e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  7.843e-01  9.685e-02  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.610e+00  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.56
Ra Dec: 191.689 -25.802
Photon Index (Fixed Index): 2.21 +/- 0.00
Photon Flux (Fixed Index): 4.66e-08 +/- 3.59e-08
Energy Flux (Fixed Index): 1.79e-05 +/- 1.38e-05

TS (Fixed Index): 3.56
Ra Dec: 191.689 -25.802
Photon Flux Upper Limit: 1.27e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.85e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/833772/likelihoodResults_699667201_699926401_4FGL_J1246.7-2548_daily_bin1776.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) = 9315.66993909
delta logL = 0.00393689944576

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9315.66978607
delta logL = 0.00408991568111

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0682       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1450       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6136       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78341       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6060E+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=   9315.670     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      237 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0679        .80853        .74006E-05   -.52199E-02
   2  alpha         2.1448        .74932        .22681E-01   -.27833E-04
   3  Normalizat    1.6136        .25907        .32148E-03    .69242E-04
   4  Prefactor     .78336        .11541        .19682E-03    .16520E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.06791
  alpha      = 2.14481
  Normalizat = 1.61356
  Prefactor  = 0.783364
 **********
 **   18 **HESSE 
 **********

 FCN=   9315.670     FROM HESSE     STATUS=OK            25 CALLS      262 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0679        .80825        .29603E-06   -1.5687    
   2  alpha         2.1448        .74870        .90723E-03   -.14256    
   3  Normalizat    1.6136        .25919        .12859E-04   -.74635    
   4  Prefactor     .78336        .11549        .78729E-05   -1.0034    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13655e-10
Minuit parameter uncertainties:
  1  0.808246
  2  0.760618
  3  0.259411
  4  0.115524
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/833772': 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) = 9315.66978556
delta logL = 0.00409042717365

Extracting fit parameters...

4FGL J1246.7-2548
   Spectrum: LogParabola
275         norm:  1.068e+00  8.082e-01  0.000e+00  1.000e+06 ( 1.000e-11)
276        alpha:  2.145e+00  7.606e-01  0.000e+00  5.000e+00 ( 1.000e+00)
277         beta:  1.173e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
278           Eb:  6.582e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  7.834e-01  1.155e-01  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.614e+00  2.594e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.57
Ra Dec: 191.689 -25.802
Photon Index (Free Index): 2.14 +/- 0.76
Photon Flux (Free Index): 4.36e-08 +/- 4.63e-08
Energy Flux (Free Index): 1.82e-05 +/- 1.43e-05

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/833772/cmap_HighResolution_699667201_699926401_4FGL_J1246.7-2548_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.85e-05', comment='SUCCESS', photon_flux='4.66e-08', energy_flux2='1.82e-05', photon_flux_error='3.59e-08', dlogl='4.09e-03', energy_flux='1.79e-05', photon_flux2='4.36e-08', job_status='DONE', time_completed='2023-03-08 00:51:45.207363', photon_index_error2='0.76', photon_index2='2.14', ts='3.56', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='1.27e-07', energy_flux_error2='1.43e-05', EG='1.61', time_epoch_completed='1678265505.21', return_code='0', job_id='833772', GAL2='0.78', EG2='1.61', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='4.63e-08', ts2='3.57', photon_index='2.21' WHERE bin_id='1776' AND source_name='4FGL J1246.7-2548' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 00:51:45 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0175>
Subject: Job 833772: <4FGL_J1246.7-2548_daily_bin1776> in cluster <slac> Done

Job <4FGL_J1246.7-2548_daily_bin1776> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Mar  8 00:40:15 2023
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:40:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:40:16 2023
Terminated at Wed Mar  8 00:51:45 2023
Results reported at Wed Mar  8 00:51:45 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1246.7-2548_daily_bin1776 191.689 -25.8018 699667201 699926401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1246.7-2548 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   576.50 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             376.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   689 sec.
    Turnaround time :                            690 sec.

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

