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


Performing analysis on: 4FGL_J1249.3-0545_daily_bin1709
RA = 192.326, Dec = -5.7621
tmin = 682300801, tmax = 682560001
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='124888', job_status='RUN', time_executed='2022-09-16 17:07:49.908825', time_epoch_executed='1663373269.91' WHERE source_name='4FGL J1249.3-0545' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/124888

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/124888/ft1_4FGL_J1249.3-0545_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/124888/ft2_4FGL_J1249.3-0545_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/124888/ft1_4FGL_J1249.3-0545_daily_bin1709.fits outfile=/scratch/kocevski/124888/ft1_filteredMKT_4FGL_J1249.3-0545_daily_bin1709.fits ra=192.326 dec=-5.7621 rad=12.0 tmin=682300801.0 tmax=682560001.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.78
user 3.53
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/124888/ft2_4FGL_J1249.3-0545_daily_bin1709.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/124888/ft1_filteredMKT_4FGL_J1249.3-0545_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/124888/ft1_filtered_4FGL_J1249.3-0545_daily_bin1709.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.52
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 841

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/124888/ft1_filtered_4FGL_J1249.3-0545_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/124888/ft2_4FGL_J1249.3-0545_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/124888/ltcube_682300801_682560001_4FGL_J1249.3-0545_daily_bin1709.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/124888/ft2_4FGL_J1249.3-0545_daily_bin1709.fits
.....................!
real 15.82
user 15.40
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/124888/ft1_filtered_4FGL_J1249.3-0545_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/124888/ft2_4FGL_J1249.3-0545_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/124888/ltcube_682300801_682560001_4FGL_J1249.3-0545_daily_bin1709.fits outfile=/scratch/kocevski/124888/expmap_682300801_682560001_4FGL_J1249.3-0545_daily_bin1709.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/124888/ltcube_682300801_682560001_4FGL_J1249.3-0545_daily_bin1709.fits
.....................!
real 193.75
user 187.38
sys 5.94

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/124888/ft1_filtered_4FGL_J1249.3-0545_daily_bin1709.fits scfile=/scratch/kocevski/124888/ft2_4FGL_J1249.3-0545_daily_bin1709.fits outfile=/scratch/kocevski/124888/cmap_682300801_682560001_4FGL_J1249.3-0545_daily_bin1709.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.58
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/124888/ft1_filtered_4FGL_J1249.3-0545_daily_bin1709.fits scfile=/scratch/kocevski/124888/ft2_4FGL_J1249.3-0545_daily_bin1709.fits outfile=/scratch/kocevski/124888/cmap_HighResolution_682300801_682560001_4FGL_J1249.3-0545_daily_bin1709.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/124888/ft1_filtered_4FGL_J1249.3-0545_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/124888/ft2_4FGL_J1249.3-0545_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/124888/Model_4FGL_J1249.3-0545_daily_bin1709.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/124888/ft1_filtered_4FGL_J1249.3-0545_daily_bin1709.fits.....................!
real 68.41
user 66.96
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/124888/ft1_filtered_4FGL_J1249.3-0545_daily_bin1709.fits', '/scratch/kocevski/124888/ft2_4FGL_J1249.3-0545_daily_bin1709.fits', expMap='/scratch/kocevski/124888/expmap_682300801_682560001_4FGL_J1249.3-0545_daily_bin1709.fits', expCube='/scratch/kocevski/124888/ltcube_682300801_682560001_4FGL_J1249.3-0545_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/124888/Model_4FGL_J1249.3-0545_daily_bin1709.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/124888/ft1_filtered_4FGL_J1249.3-0545_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/124888/ft2_4FGL_J1249.3-0545_daily_bin1709.fits
Exposure map: /scratch/kocevski/124888/expmap_682300801_682560001_4FGL_J1249.3-0545_daily_bin1709.fits
Exposure cube: /scratch/kocevski/124888/ltcube_682300801_682560001_4FGL_J1249.3-0545_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/124888/Model_4FGL_J1249.3-0545_daily_bin1709.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) = 9100.09539261

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75547E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .71858E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .31641E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    .70366E-03   1.0000          .0000       .10000E+07
     5 'norm      '    1.8193       1.0000          .0000       .10000E+07
     6 'norm      '    .71283E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.9316       1.0000          .0000       .10000E+07
     8 'norm      '    1.3105       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.2500       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .86694E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.5642       1.0000          .0000       .10000E+07
    12 'norm      '    .36417       1.0000          .0000       .10000E+07
    13 'Prefactor '    12.059       1.0000          .0000       .10000E+07
    14 'Prefactor '    .21514E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .33764E-04   1.0000          .0000       .10000E+07
    16 'norm      '    .43631       1.0000          .0000       .10000E+07
    17 'Prefactor '    .26747E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .56732E-06   1.0000          .0000       .10000E+07
    19 'norm      '    .68387E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .70465E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .16981E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    8.8421       1.0000          .0000       .10000E+07
    23 'norm      '    .66012E-05   1.0000          .0000       .10000E+07
    24 'Normalizat'    .64169       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.3259       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=   9099.940     FROM MIGRAD    STATUS=CONVERGED    234 CALLS     1789 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .80708E-06    12.267       -.22778E-06** at limit **
   2  Prefactor     .24730E-06    3.1685       -.10535E-06** at limit **
   3  Prefactor     .77716E-08    7.2710       -.95406E-08** at limit **
   4  Prefactor     .16653E-09    3.8268       -.88192E-07** at limit **
   5  norm          1.8202        1.5002       -.23226E-07   -.17371E-02
   6  norm          .18747E-05    4.4148       -.87853E-07** at limit **
   7  Prefactor     4.9343        3.4200        .14328E-07    .57808E-03
   8  norm          1.3106        .49721        .26773E-07    .79224E-02
   9  Prefactor     7.2502        1.9489        .58764E-07    .77257E-04
  10  Prefactor     .11867E-05    75.494        .39922E-06** at limit **
  11  Prefactor     4.5654        7.2971        .28867E-07    .13573E-03
  12  norm          .36449        1.1726       -.14241E-07   -.14236E-03
  13  Prefactor     12.052        7.4608        .48208E-07    .12239E-02
  14  Prefactor     .23859E-06    45.398        .58447E-06** at limit **
  15  norm          .14755E-06    8.2579       -.62905E-07** at limit **
  16  norm          .43631        .16640        .24767E-07    .25955E-01
  17  Prefactor     .22038E-07    3.3426       -.10082E-06** at limit **
  18  norm          .14433E-08    3.4123        .73742E-07** at limit **
  19  norm           .0000        2.5250       -.75807E-07** at limit **
  20  Prefactor     .28311E-08    3.4473        .78521E-07** at limit **
  21  Prefactor     .18390E-05    3.2611       -.13306E-06** at limit **
  22  Prefactor     8.8747        6.4537       -.18491E-07   -.56828E-03
  23  norm           .0000        22.168       -.17711E-06** at limit **
  24  Normalizat    .64158        .21330       -.57506E-05   -.71991E-04
  25  Prefactor     1.3259        .14806        .17855E-05   -.72362E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.07077e-07
  Prefactor  = 2.47302e-07
  Prefactor  = 7.77156e-09
  Prefactor  = 1.66533e-10
  norm       = 1.82016
  norm       = 1.87467e-06
  Prefactor  = 4.93425
  norm       = 1.3106
  Prefactor  = 7.25016
  Prefactor  = 1.18672e-06
  Prefactor  = 4.56542
  norm       = 0.364488
  Prefactor  = 12.052
  Prefactor  = 2.38587e-07
  norm       = 1.47549e-07
  norm       = 0.436314
  Prefactor  = 2.20379e-08
  norm       = 1.44329e-09
  norm       = 0
  Prefactor  = 2.83107e-09
  Prefactor  = 1.83897e-06
  Prefactor  = 8.87475
  norm       = 0
  Normalizat = 0.641583
  Prefactor  = 1.32588
 **********
 **   18 **HESSE 
 **********

 FCN=   9099.940     FROM HESSE     STATUS=OK           485 CALLS     2274 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .80708E-06    14.202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .24730E-06    11.626        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .77716E-08    7.3012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .16653E-09    3.8479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.8202        1.5084        .77394E-03   -1.5681    
   6  norm          .18747E-05    10.632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.9343        3.4197        .45266E-03   -1.5664    
   8  norm          1.3106        .50707        .87782E-03   -1.5685    
   9  Prefactor     7.2502        1.9473        .37242E-02   -1.5169    
  10  Prefactor     .11867E-05    6.3555        .66614E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.5654        7.3232        .47095E-03   -1.5665    
  12  norm          .36449        1.1913        .93760E-03   -1.5696    
  13  Prefactor     12.052        7.5519        .28822E-03   -1.5639    
  14  Prefactor     .23859E-06    45.833        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .14755E-06    8.6265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .43631        .16845        .51743E-03   -1.5695    
  17  Prefactor     .22038E-07    11.407        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .14433E-08    3.4328        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        2.5182        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .28311E-08    3.4702        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .18390E-05    12.464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     8.8747        6.4613        .33684E-03   -1.5648    
  23  norm           .0000        .68551        .25173E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .64158        .19481        .83954E-01   -1.0625    
  25  Prefactor     1.3259        .13282        .32173E-01   -.82541    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.37331e-07
Minuit parameter uncertainties:
  1  0.00677111
  2  0.00339104
  3  0.000476554
  4  5.43102e-05
  5  1.50845
  6  0.00892903
  7  3.41968
  8  0.507068
  9  1.94727
  10  0.00549261
  11  7.32324
  12  1.19134
  13  7.5519
  14  0.00661386
  15  0.00225625
  16  0.168453
  17  0.00100321
  18  0.000141466
  19  8.42351e-06
  20  0.000198087
  21  0.00957499
  22  6.4613
  23  1.04661e-06
  24  0.195016
  25  0.132852
Done.

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

Extracting fit parameters...

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  2.386e-07  6.614e-03  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.326e+00  1.329e-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:  6.416e-01  1.950e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 192.326 -5.762
Photon Flux Upper Limit: 5.37e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/124888/likelihoodResults_682300801_682560001_4FGL_J1249.3-0545_daily_bin1709.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) = 9099.95129846
delta logL = -0.0112377702026

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9099.83168747
delta logL = 0.108373219346

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13324E-03   1.0000          .0000       .10000E+07
     2 'Index     '    6.2146       1.0000          .0000       10.000    
     3 'Normalizat'    .60983       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3405       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.

 FCN=   9099.940     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      361 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    1.3430        .42118E-03** at limit **
   2  Index         .60823E-02    6.0676        .50000       -.90949E-10
   3  Normalizat    .64159        .18084        .83953E-01    .62521E-04
   4  Prefactor     1.3259        .13158        .31938E-01   -.64633E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Index      = 0.00608227
  Normalizat = 0.641589
  Prefactor  = 1.32588
 **********
 **   18 **HESSE 
 **********

 FCN=   9099.940     FROM HESSE     STATUS=OK            27 CALLS      388 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    1.3138        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .60823E-02    6.0450        .50000       -1.5215    
   3  Normalizat    .64159        .20012        .37182E-03   -1.0625    
   4  Prefactor     1.3259        .14603        .19371E-03   -.82541    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12376e-09
Minuit parameter uncertainties:
  1  4.56905e-05
  2  0.246659
  3  0.20035
  4  0.146074
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/124888': 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) = 9099.94006068
delta logL = 2.03726813197e-09

Extracting fit parameters...

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  3.886e-10  4.569e-05  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  6.082e-03  2.467e-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.326e+00  1.461e-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:  6.416e-01  2.004e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.326 -5.762

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/124888/cmap_HighResolution_682300801_682560001_4FGL_J1249.3-0545_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.05e-03', job_status='DONE', photon_flux_upper_limit='5.37e-08', time_completed='2022-09-16 17:21:31.823037', job_id='124888', GAL2='1.33', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1663374091.82', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.33', dlogl='2.04e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1709' AND source_name='4FGL J1249.3-0545' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:21:31 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 124888: <4FGL_J1249.3-0545_daily_bin1709> in cluster <slac> Done

Job <4FGL_J1249.3-0545_daily_bin1709> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 17:05:23 2022
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:05:55 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 17:05:55 2022
Terminated at Fri Sep 16 17:21:32 2022
Results reported at Fri Sep 16 17:21:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1249.3-0545_daily_bin1709 192.326 -5.7621 682300801 682560001 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 :                                   824.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   937 sec.
    Turnaround time :                            969 sec.

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

