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


Performing analysis on: 4FGL_J1249.3-0545_daily_bin1780
RA = 192.326, Dec = -5.7621
tmin = 700704001, tmax = 700963201
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='62620', job_status='RUN', time_executed='2023-03-20 00:52:30.666780', time_epoch_executed='1679298750.67' WHERE source_name='4FGL J1249.3-0545' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/62620

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/62620/ft1_4FGL_J1249.3-0545_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/62620/ft2_4FGL_J1249.3-0545_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/62620/ft1_4FGL_J1249.3-0545_daily_bin1780.fits outfile=/scratch/kocevski/62620/ft1_filteredMKT_4FGL_J1249.3-0545_daily_bin1780.fits ra=192.326 dec=-5.7621 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.10
user 3.87
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/62620/ft2_4FGL_J1249.3-0545_daily_bin1780.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/62620/ft1_filteredMKT_4FGL_J1249.3-0545_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/62620/ft1_filtered_4FGL_J1249.3-0545_daily_bin1780.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 316

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/62620/ft1_filtered_4FGL_J1249.3-0545_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/62620/ft2_4FGL_J1249.3-0545_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/62620/ltcube_700704001_700963201_4FGL_J1249.3-0545_daily_bin1780.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/62620/ft2_4FGL_J1249.3-0545_daily_bin1780.fits
.....................!
real 12.14
user 11.76
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/62620/ft1_filtered_4FGL_J1249.3-0545_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/62620/ft2_4FGL_J1249.3-0545_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/62620/ltcube_700704001_700963201_4FGL_J1249.3-0545_daily_bin1780.fits outfile=/scratch/kocevski/62620/expmap_700704001_700963201_4FGL_J1249.3-0545_daily_bin1780.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/62620/ltcube_700704001_700963201_4FGL_J1249.3-0545_daily_bin1780.fits
.....................!
real 190.98
user 186.06
sys 4.57

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/62620/ft1_filtered_4FGL_J1249.3-0545_daily_bin1780.fits scfile=/scratch/kocevski/62620/ft2_4FGL_J1249.3-0545_daily_bin1780.fits outfile=/scratch/kocevski/62620/cmap_700704001_700963201_4FGL_J1249.3-0545_daily_bin1780.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/62620/ft1_filtered_4FGL_J1249.3-0545_daily_bin1780.fits scfile=/scratch/kocevski/62620/ft2_4FGL_J1249.3-0545_daily_bin1780.fits outfile=/scratch/kocevski/62620/cmap_HighResolution_700704001_700963201_4FGL_J1249.3-0545_daily_bin1780.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/62620/ft1_filtered_4FGL_J1249.3-0545_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/62620/ft2_4FGL_J1249.3-0545_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/62620/Model_4FGL_J1249.3-0545_daily_bin1780.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/62620/ft1_filtered_4FGL_J1249.3-0545_daily_bin1780.fits......................!
real 35.23
user 34.02
sys 1.10

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.702       1.0000          .0000       .10000E+07
     2 'Prefactor '    .27826E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .89558       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.2840       1.0000          .0000       .10000E+07
     5 'norm      '    .71388E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .55157E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .28984       1.0000          .0000       .10000E+07
     8 'norm      '    1.5944       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.0643       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.337       1.0000          .0000       .10000E+07
    11 'Prefactor '    .17793E-01   1.0000          .0000       .10000E+07
    12 'norm      '    2.8047       1.0000          .0000       .10000E+07
    13 'Prefactor '    .69789E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    59.012       1.0000          .0000       .10000E+07
    15 'norm      '    .21759E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .18305       1.0000          .0000       .10000E+07
    17 'Prefactor '    .30260E-01   1.0000          .0000       .10000E+07
    18 'norm      '    52.967       1.0000          .0000       .10000E+07
    19 'norm      '    29.561       1.0000          .0000       .10000E+07
    20 'Prefactor '    12.821       1.0000          .0000       .10000E+07
    21 'Prefactor '    .18085E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    4.2990       1.0000          .0000       .10000E+07
    23 'norm      '    6.9500       1.0000          .0000       .10000E+07
    24 'Normalizat'    .95958       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .73729       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=   3383.452     FROM MIGRAD    STATUS=CONVERGED    175 CALLS     2152 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.808        4.2753       -.16732E-05   -.35183E-01
   2  Prefactor     .20756E-06    30.923        .63813E-05** at limit **
   3  Prefactor     2.2759        94.147        .26344E-04    .66740E-02
   4  Prefactor     3.1435        23.770        .12991E-05   -.50329E-02
   5  norm          .33307E-09    4.4465       -.41879E-06** at limit **
   6  norm          .36693E-07    55.061        .11704E-04** at limit **
   7  Prefactor     .16050E-03    26.650       -.72222E-05** at limit **
   8  norm          1.5954        .83424       -.21850E-06   -.31901E-02
   9  Prefactor     7.1038        3.4458        .13691E-04    .10559E-02
  10  Prefactor     13.372        10.533        .79725E-07   -.31459E-02
  11  Prefactor     .94369E-09    10.144       -.11907E-05** at limit **
  12  norm          2.8091        2.2273       -.47260E-07   -.23334E-02
  13  Prefactor     .55511E-10    3.1531        .91840E-06** at limit **
  14  Prefactor     61.573        39.555        .68717E-05   -.35693E-01
  15  norm          .20761E-07    22.762       -.24630E-08** at limit **
  16  norm          .18057        .22163       -.34916E-06** at limit **
  17  Prefactor     .94369E-09    21.831        .12130E-05** at limit **
  18  norm          53.162        4.4204       -.73713E-06   -.16478    
  19  norm          29.289        2.0355        .26941E-06    .13463E-01
  20  Prefactor     12.841        11.302       -.53440E-06   -.55198E-02
  21  Prefactor     .25979E-07    41.930       -.10128E-04** at limit **
  22  Prefactor     4.2337        9.4289        .41603E-07   -.26595E-02
  23  norm          6.9522        2.5897       -.88987E-07   -.13444E-02
  24  Normalizat    .95528        .34457        .74169E-04   -.19500E-03
  25  Prefactor     .73965        .22421       -.22832E-04   -.20974E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.8082
  Prefactor  = 2.07556e-07
  Prefactor  = 2.27593
  Prefactor  = 3.14349
  norm       = 3.33067e-10
  norm       = 3.66929e-08
  Prefactor  = 0.000160501
  norm       = 1.59541
  Prefactor  = 7.10383
  Prefactor  = 13.3722
  Prefactor  = 9.4369e-10
  norm       = 2.80907
  Prefactor  = 5.55112e-11
  Prefactor  = 61.5727
  norm       = 2.07612e-08
  norm       = 0.180569
  Prefactor  = 9.4369e-10
  norm       = 53.1623
  norm       = 29.289
  Prefactor  = 12.8413
  Prefactor  = 2.59792e-08
  Prefactor  = 4.23368
  norm       = 6.95223
  Normalizat = 0.955276
  Prefactor  = 0.739647
 **********
 **   18 **HESSE 
 **********

 FCN=   3383.452     FROM HESSE     STATUS=OK           489 CALLS     2641 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.808        24.701        .24480E-03   -1.5626    
   2  Prefactor     .20756E-06    31.549        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.2759        148.73        .46066E-03   -1.5678    
   4  Prefactor     3.1435        26.745        .55849E-03   -1.5673    
   5  norm          .33307E-09    4.4470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .36693E-07    56.531        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16050E-03    6.2648        .85241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.5954        .84025        .80090E-03   -1.5683    
   9  Prefactor     7.1038        3.5525        .37733E-02   -1.5175    
  10  Prefactor     13.372        10.532        .27401E-03   -1.5635    
  11  Prefactor     .94369E-09    9.9649        .17186E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.8091        2.2269        .60718E-03   -1.5674    
  13  Prefactor     .55511E-10    3.1531        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     61.573        63.522        .13018E-03   -1.5551    
  15  norm          .20761E-07    22.856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .18057        .24411        .64895E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .94369E-09    21.807        .16437E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          53.162        20.393        .13741E-03   -1.5562    
  19  norm          29.289        21.734        .18395E-03   -1.5600    
  20  Prefactor     12.841        11.291        .27950E-03   -1.5636    
  21  Prefactor     .25979E-07    44.405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.2337        9.5563        .48564E-03   -1.5667    
  23  norm          6.9522        2.6003        .38031E-03   -1.5655    
  24  Normalizat    .95528        .29091        .65680E-01   -.94544    
  25  Prefactor     .73965        .18828        .42895E-01   -1.0199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.39117e-07
Minuit parameter uncertainties:
  1  24.7013
  2  0.0051177
  3  36.7971
  4  18.3385
  5  7.50899e-05
  6  0.00288003
  7  0.0634196
  8  0.840246
  9  3.55257
  10  10.5316
  11  0.000193741
  12  2.22687
  13  2.90089e-05
  14  63.5222
  15  0.00137856
  16  0.244109
  17  0.000287546
  18  20.3927
  19  21.7345
  20  11.2911
  21  0.00214862
  22  9.5563
  23  2.60031
  24  0.291394
  25  0.188447
Done.

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

Extracting fit parameters...

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  6.157e+01  6.352e+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:  7.396e-01  1.884e-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:  9.553e-01  2.914e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.72
Ra Dec: 192.326 -5.762
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 5.37e-08 +/- 5.54e-08
Energy Flux (Fixed Index): 3.23e-05 +/- 3.33e-05

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

Saving results to:
/scratch/kocevski/62620/likelihoodResults_700704001_700963201_4FGL_J1249.3-0545_daily_bin1780.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) = 3382.75650266
delta logL = 0.695961193407

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3382.7417688
delta logL = 0.710695046464

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.097       1.0000          .0000       .10000E+07
     2 'Index     '    2.9725       1.0000          .0000       10.000    
     3 'Normalizat'    .86194       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78108       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=   3382.742     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      299 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.082        264.36        .11511E-04    .15171E-02
   2  Index         2.9731        3.1516        .26945E-02    .20683E-04
   3  Normalizat    .86164        .36149        .30386E-03    .36194E-03
   4  Prefactor     .78121        .24496        .21763E-03    .12076E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.0821
  Index      = 2.97309
  Normalizat = 0.861645
  Prefactor  = 0.781213
 **********
 **   18 **HESSE 
 **********

 FCN=   3382.742     FROM HESSE     STATUS=OK            25 CALLS      324 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.082        29.570        .46042E-06   -1.5638    
   2  Index         2.9731        .90328        .10778E-03   -.41740    
   3  Normalizat    .86164        .33155        .60772E-04   -.97821    
   4  Prefactor     .78121        .22436        .43527E-04   -1.0042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4219e-09
Minuit parameter uncertainties:
  1  29.5703
  2  0.909269
  3  0.332339
  4  0.224625
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/62620': 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) = 3382.74176815
delta logL = 0.710695695284

Extracting fit parameters...

4FGL J1249.3-0545
   Spectrum: PowerLaw
331    Prefactor:  1.208e+01  2.957e+01  0.000e+00  1.000e+06 ( 1.000e-14)
332        Index:  2.973e+00  9.093e-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:  7.812e-01  2.246e-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.616e-01  3.323e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.23
Ra Dec: 192.326 -5.762
Photon Index (Free Index): 2.97 +/- 0.91
Photon Flux (Free Index): 1.18e-07 +/- 8.36e-08
Energy Flux (Free Index): 2.38e-05 +/- 1.74e-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/62620/cmap_HighResolution_700704001_700963201_4FGL_J1249.3-0545_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.32e-02', comment='SUCCESS', photon_flux='5.37e-08', energy_flux2='2.38e-05', photon_flux_error='5.54e-08', dlogl='7.11e-01', energy_flux='3.23e-05', photon_flux2='1.18e-07', job_status='DONE', time_completed='2023-03-20 01:00:58.681445', photon_index_error2='0.91', photon_index2='2.97', ts='1.72', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='1.75e-07', energy_flux_error2='1.74e-05', EG='0.96', time_epoch_completed='1679299258.68', return_code='0', job_id='62620', GAL2='0.78', EG2='0.86', return_code2='0', energy_flux_error='3.33e-05', photon_flux_error2='8.36e-08', ts2='3.23', photon_index='2.06' WHERE bin_id='1780' AND source_name='4FGL J1249.3-0545' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:00:58 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0163>
Subject: Job 62620: <4FGL_J1249.3-0545_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1249.3-0545_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 00:50:19 2023
Job was executed on host(s) <bullet0163>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:50:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:50:20 2023
Terminated at Mon Mar 20 01:00:59 2023
Results reported at Mon Mar 20 01:00:59 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1249.3-0545_daily_bin1780 192.326 -5.7621 700704001 700963201 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 :                                   510.03 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             322.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   638 sec.
    Turnaround time :                            640 sec.

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

