/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 89 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1246.7-2548_daily_bin765
RA = 191.689, Dec = -25.8018
tmin = 437616001, tmax = 437875201
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='903439', job_status='RUN', time_executed='2021-09-06 04:53:25.890533', time_epoch_executed='1630929205.89' WHERE source_name='4FGL J1246.7-2548' and cadence='daily' and bin_id='765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/903439

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/903439/ft1_4FGL_J1246.7-2548_daily_bin765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/903439/ft2_4FGL_J1246.7-2548_daily_bin765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/903439/ft1_4FGL_J1246.7-2548_daily_bin765.fits outfile=/scratch/kocevski/903439/ft1_filteredMKT_4FGL_J1246.7-2548_daily_bin765.fits ra=191.689 dec=-25.8018 rad=12.0 tmin=437616001.0 tmax=437875201.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 6.79
user 5.35
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/903439/ft2_4FGL_J1246.7-2548_daily_bin765.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/903439/ft1_filteredMKT_4FGL_J1246.7-2548_daily_bin765.fits evtable="EVENTS" outfile="/scratch/kocevski/903439/ft1_filtered_4FGL_J1246.7-2548_daily_bin765.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 1.79
user 0.34
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/903439/ft1_filtered_4FGL_J1246.7-2548_daily_bin765.fits" evtable="EVENTS" scfile=/scratch/kocevski/903439/ft2_4FGL_J1246.7-2548_daily_bin765.fits sctable="SC_DATA" outfile=/scratch/kocevski/903439/ltcube_437616001_437875201_4FGL_J1246.7-2548_daily_bin765.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/903439/ft2_4FGL_J1246.7-2548_daily_bin765.fits
.....................!
real 12.80
user 11.68
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/903439/ft1_filtered_4FGL_J1246.7-2548_daily_bin765.fits evtable="EVENTS" scfile=/scratch/kocevski/903439/ft2_4FGL_J1246.7-2548_daily_bin765.fits sctable="SC_DATA" expcube=/scratch/kocevski/903439/ltcube_437616001_437875201_4FGL_J1246.7-2548_daily_bin765.fits outfile=/scratch/kocevski/903439/expmap_437616001_437875201_4FGL_J1246.7-2548_daily_bin765.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/903439/ltcube_437616001_437875201_4FGL_J1246.7-2548_daily_bin765.fits
.....................!
real 197.62
user 189.25
sys 3.92

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_archive_v18/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/903439/ft1_filtered_4FGL_J1246.7-2548_daily_bin765.fits scfile=/scratch/kocevski/903439/ft2_4FGL_J1246.7-2548_daily_bin765.fits outfile=/scratch/kocevski/903439/cmap_437616001_437875201_4FGL_J1246.7-2548_daily_bin765.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/903439/ft1_filtered_4FGL_J1246.7-2548_daily_bin765.fits scfile=/scratch/kocevski/903439/ft2_4FGL_J1246.7-2548_daily_bin765.fits outfile=/scratch/kocevski/903439/cmap_HighResolution_437616001_437875201_4FGL_J1246.7-2548_daily_bin765.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.54
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/903439/ft1_filtered_4FGL_J1246.7-2548_daily_bin765.fits evtable="EVENTS" scfile=/scratch/kocevski/903439/ft2_4FGL_J1246.7-2548_daily_bin765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/903439/Model_4FGL_J1246.7-2548_daily_bin765.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/903439/ft1_filtered_4FGL_J1246.7-2548_daily_bin765.fits....................!
real 126.21
user 124.76
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/903439/ft1_filtered_4FGL_J1246.7-2548_daily_bin765.fits', '/scratch/kocevski/903439/ft2_4FGL_J1246.7-2548_daily_bin765.fits', expMap='/scratch/kocevski/903439/expmap_437616001_437875201_4FGL_J1246.7-2548_daily_bin765.fits', expCube='/scratch/kocevski/903439/ltcube_437616001_437875201_4FGL_J1246.7-2548_daily_bin765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/903439/Model_4FGL_J1246.7-2548_daily_bin765.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  1.000e-04  1.000e+04 ( 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  0.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/903439/ft1_filtered_4FGL_J1246.7-2548_daily_bin765.fits
Spacecraft file(s): /scratch/kocevski/903439/ft2_4FGL_J1246.7-2548_daily_bin765.fits
Exposure map: /scratch/kocevski/903439/expmap_437616001_437875201_4FGL_J1246.7-2548_daily_bin765.fits
Exposure cube: /scratch/kocevski/903439/ltcube_437616001_437875201_4FGL_J1246.7-2548_daily_bin765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/903439/Model_4FGL_J1246.7-2548_daily_bin765.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) = 8043.67365092

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10233E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    22.675       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    33.285       1.0000         .10000E-03   10000.    
     6 'Prefactor '    53.701       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.681       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.6656       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11161E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    8.7527       1.0000         .10000E-03   10000.    
    14 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    6.7305       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.9406       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10487E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.156       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2541       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0698       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.

 FCN=   8043.667     FROM MIGRAD    STATUS=CONVERGED    492 CALLS     2364 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    36.624       -.35647E-05** at limit **
   2  Prefactor     .10012E-03    36.263       -.13988E-05** at limit **
   3  norm          22.667        12.981        .12929E-06    .33494E-03
   4  Prefactor     .10000E-03    5.1270        .44804E-07** at limit **
   5  Prefactor     33.279        55.687       -.72096E-05   -.18903E-04
   6  Prefactor     53.694        45.476       -.30577E-05    .41566E-04
   7  Prefactor     .10000E-03    22.559        .19223E-04** at limit **
   8  Prefactor     19.699        52.401        .18518E-04   -.77517E-04
   9  Prefactor     .10000E-03    21.629       -.18510E-04** at limit **
  10  Prefactor     .10000E-03    8.1262       -.24223E-07** at limit **
  11  norm          1.6656        1.0752       -.11007E-06   -.14510E-02
  12  Prefactor     .10000E-03    72.007        .58313E-05** at limit **
  13  norm          8.7514        10.665        .13326E-05   -.77025E-04
  14  norm          .10000E-03    3.3412       -.69458E-07** at limit **
  15  Prefactor     .10000E-03    2.4046       -.48943E-07** at limit **
  16  norm          6.7318        6.5540       -.25094E-05   -.19681E-03
  17  norm          .10000E-03    1.1176       -.36612E-07** at limit **
  18  norm          4.9400        6.1105       -.53323E-06   -.31238E-03
  19  Prefactor     .10000E-03    14.276        .18799E-06** at limit **
  20  Prefactor     19.156        13.052       -.29697E-06   -.28374E-03
  21  Normalizat    1.2541        .27431        .81152E-06    .49365E-04
  22  Prefactor     1.0697        .11925        .18052E-07    .14876E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100122
  norm       = 22.6673
  Prefactor  = 0.0001
  Prefactor  = 33.2787
  Prefactor  = 53.6944
  Prefactor  = 0.000100001
  Prefactor  = 19.6995
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.66559
  Prefactor  = 0.0001
  norm       = 8.75136
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.73182
  norm       = 0.0001
  norm       = 4.93998
  Prefactor  = 0.0001
  Prefactor  = 19.156
  Normalizat = 1.25413
  Prefactor  = 1.06974
 **********
 **   18 **HESSE 
 **********

 FCN=   8043.667     FROM HESSE     STATUS=OK           338 CALLS     2702 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    36.639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10012E-03    224.66        .83972E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          22.667        10.737        .84118E-04   -1.4755    
   4  Prefactor     .10000E-03    5.1594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     33.279        55.658        .69456E-04   -1.4554    
   6  Prefactor     53.694        45.431        .54734E-04   -1.4241    
   7  Prefactor     .10000E-03    22.190        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     19.699        51.752        .90284E-04   -1.4820    
   9  Prefactor     .10000E-03    21.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.1509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.6656        1.0770        .16338E-03   -1.5450    
  12  Prefactor     .10000E-03    72.148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.7514        10.658        .13549E-03   -1.5116    
  14  norm          .10000E-03    3.4148        .16002E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.4251        .13578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          6.7318        6.5770        .15467E-03   -1.5189    
  17  norm          .10000E-03    2.3248        .18433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.9400        6.1088        .18094E-03   -1.5263    
  19  Prefactor     .10000E-03    14.293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     19.156        13.064        .45755E-03   -1.4832    
  21  Normalizat    1.2541        .32124        .40220E-03   -.84946    
  22  Prefactor     1.0697        .14025        .18970E-03   -.90440    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07275e-09
Minuit parameter uncertainties:
  1  5.04858e-06
  2  0.0104909
  3  10.7382
  4  1.28147e-05
  5  55.7446
  6  45.4608
  7  0.000338972
  8  51.8706
  9  4.84966e-05
  10  9.17132e-06
  11  1.07698
  12  5.10911e-05
  13  10.6607
  14  5.91795e-06
  15  2.03339e-06
  16  6.57773
  17  6.2802e-06
  18  6.10956
  19  4.23714e-07
  20  13.0662
  21  0.321748
  22  0.140297
Done.

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

Extracting fit parameters...

4FGL J1246.7-2548
   Spectrum: LogParabola
275         norm:  1.666e+00  1.077e+00  1.000e-04  1.000e+04 ( 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  0.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:  1.070e+00  1.403e-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.254e+00  3.217e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.80
Ra Dec: 191.689 -25.802
Photon Index (Fixed Index): 2.21 +/- 0.00
Photon Flux (Fixed Index): 7.29e-08 +/- 4.71e-08
Energy Flux (Fixed Index): 2.80e-05 +/- 1.81e-05

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) = 8040.85919976
delta logL = 2.80745465792

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8040.75395375
delta logL = 2.91270066575

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24727       1.0000         .10000E-03   10000.    
     2 'alpha     '    .61581       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2878       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0737       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.

 FCN=   8040.754     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      223 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .24722        .24159        .74800E-02   -.82174E-03
   2  alpha         .61570        .37412        .32561       -.32972E-04
   3  Normalizat    1.2878        .26641        .89783E-01    .20147E-04
   4  Prefactor     1.0737        .11790        .38683E-01    .74468E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.247216
  alpha      = 0.615697
  Normalizat = 1.28781
  Prefactor  = 1.07372
 **********
 **   18 **HESSE 
 **********

 FCN=   8040.754     FROM HESSE     STATUS=OK            35 CALLS      258 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .24722        .44120        .31430E-03   -1.5609    
   2  alpha         .61570        .61795        .14863E-01   -.85371    
   3  Normalizat    1.2878        .31425        .39763E-03   -.83931    
   4  Prefactor     1.0737        .13950        .18943E-03   -.90311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9594e-09
Minuit parameter uncertainties:
  1  0.441202
  2  0.633538
  3  0.314714
  4  0.13955
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/903439': 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) = 8040.75395373
delta logL = 2.91270068695

Extracting fit parameters...

4FGL J1246.7-2548
   Spectrum: LogParabola
275         norm:  2.472e-01  4.412e-01  1.000e-04  1.000e+04 ( 1.000e-11)
276        alpha:  6.157e-01  6.335e-01  0.000e+00  5.000e+00 ( 1.000e+00)
277         beta:  1.173e-01  0.000e+00  0.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:  1.074e+00  1.396e-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.288e+00  3.147e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.61
Ra Dec: 191.689 -25.802
Photon Index (Free Index): 0.62 +/- 0.63
Photon Flux (Free Index): 1.04e-08 +/- 1.01e-08
Energy Flux (Free Index): 1.10e-04 +/- 1.14e-04

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/903439/cmap_HighResolution_437616001_437875201_4FGL_J1246.7-2548_daily_bin765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.29e-08', energy_flux2='1.10e-04', photon_flux_error='4.71e-08', dlogl='2.91e+00', energy_flux='2.80e-05', photon_flux2='1.04e-08', job_status='DONE', time_completed='2021-09-06 05:05:57.988453', photon_index_error2='0.63', photon_index2='0.62', ts='8.80', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='1.14e-04', EG='1.25', time_epoch_completed='1630929957.99', return_code='0', job_id='903439', GAL2='1.07', EG2='1.29', return_code2='0', energy_flux_error='1.81e-05', photon_flux_error2='1.01e-08', ts2='14.61', photon_index='2.21' WHERE bin_id='765' AND source_name='4FGL J1246.7-2548' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 05:05:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0191>
Subject: Job 903439: <4FGL_J1246.7-2548_daily_bin765> in cluster <slac> Done

Job <4FGL_J1246.7-2548_daily_bin765> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Sep  6 04:50:35 2021
Job was executed on host(s) <bullet0191>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 04:50:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep  6 04:50:36 2021
Terminated at Mon Sep  6 05:05:58 2021
Results reported at Mon Sep  6 05:05:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1246.7-2548_daily_bin765 191.689 -25.8018 437616001 437875201 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 :                                   732.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             301.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   922 sec.
    Turnaround time :                            923 sec.

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

