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


Performing analysis on: 4FGL_J1349.5-1131_daily_bin1355
RA = 207.387, Dec = -11.5188
tmin = 590544001, tmax = 590803201
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='999101', job_status='RUN', time_executed='2021-09-08 14:31:35.903950', time_epoch_executed='1631136695.9' WHERE source_name='4FGL J1349.5-1131' and cadence='daily' and bin_id='1355'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/999101

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/999101/ft1_4FGL_J1349.5-1131_daily_bin1355.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/999101/ft2_4FGL_J1349.5-1131_daily_bin1355.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/999101/ft1_4FGL_J1349.5-1131_daily_bin1355.fits outfile=/scratch/kocevski/999101/ft1_filteredMKT_4FGL_J1349.5-1131_daily_bin1355.fits ra=207.387 dec=-11.5188 rad=12.0 tmin=590544001.0 tmax=590803201.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.27
user 4.06
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/999101/ft2_4FGL_J1349.5-1131_daily_bin1355.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/999101/ft2_4FGL_J1349.5-1131_daily_bin1355.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/999101/ft1_filteredMKT_4FGL_J1349.5-1131_daily_bin1355.fits evtable="EVENTS" outfile="/scratch/kocevski/999101/ft1_filtered_4FGL_J1349.5-1131_daily_bin1355.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.63
user 0.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/999101/ft1_filtered_4FGL_J1349.5-1131_daily_bin1355.fits" evtable="EVENTS" scfile=/scratch/kocevski/999101/ft2_4FGL_J1349.5-1131_daily_bin1355.fits sctable="SC_DATA" outfile=/scratch/kocevski/999101/ltcube_590544001_590803201_4FGL_J1349.5-1131_daily_bin1355.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/999101/ft2_4FGL_J1349.5-1131_daily_bin1355.fits
.....................!
real 15.17
user 14.81
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/999101/ft1_filtered_4FGL_J1349.5-1131_daily_bin1355.fits evtable="EVENTS" scfile=/scratch/kocevski/999101/ft2_4FGL_J1349.5-1131_daily_bin1355.fits sctable="SC_DATA" expcube=/scratch/kocevski/999101/ltcube_590544001_590803201_4FGL_J1349.5-1131_daily_bin1355.fits outfile=/scratch/kocevski/999101/expmap_590544001_590803201_4FGL_J1349.5-1131_daily_bin1355.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/999101/ltcube_590544001_590803201_4FGL_J1349.5-1131_daily_bin1355.fits
.....................!
real 192.88
user 187.72
sys 4.67

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

Setting source of interest to:
4FGL J1349.5-1131 @ 207.387 -11.5188

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/999101/ft1_filtered_4FGL_J1349.5-1131_daily_bin1355.fits scfile=/scratch/kocevski/999101/ft2_4FGL_J1349.5-1131_daily_bin1355.fits outfile=/scratch/kocevski/999101/cmap_590544001_590803201_4FGL_J1349.5-1131_daily_bin1355.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=207.387 yref=-11.5188 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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/999101/ft1_filtered_4FGL_J1349.5-1131_daily_bin1355.fits scfile=/scratch/kocevski/999101/ft2_4FGL_J1349.5-1131_daily_bin1355.fits outfile=/scratch/kocevski/999101/cmap_HighResolution_590544001_590803201_4FGL_J1349.5-1131_daily_bin1355.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=207.387 yref=-11.5188 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.59
user 0.42
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/999101/ft1_filtered_4FGL_J1349.5-1131_daily_bin1355.fits evtable="EVENTS" scfile=/scratch/kocevski/999101/ft2_4FGL_J1349.5-1131_daily_bin1355.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/999101/Model_4FGL_J1349.5-1131_daily_bin1355.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/999101/ft1_filtered_4FGL_J1349.5-1131_daily_bin1355.fits.....................!
real 75.91
user 74.52
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/999101/ft1_filtered_4FGL_J1349.5-1131_daily_bin1355.fits', '/scratch/kocevski/999101/ft2_4FGL_J1349.5-1131_daily_bin1355.fits', expMap='/scratch/kocevski/999101/expmap_590544001_590803201_4FGL_J1349.5-1131_daily_bin1355.fits', expCube='/scratch/kocevski/999101/ltcube_590544001_590803201_4FGL_J1349.5-1131_daily_bin1355.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/999101/Model_4FGL_J1349.5-1131_daily_bin1355.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1349.5-1131'

4FGL J1349.5-1131
   Spectrum: PowerLaw
259    Prefactor:  2.801e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.494e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
261        Scale:  7.359e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/999101/ft1_filtered_4FGL_J1349.5-1131_daily_bin1355.fits
Spacecraft file(s): /scratch/kocevski/999101/ft2_4FGL_J1349.5-1131_daily_bin1355.fits
Exposure map: /scratch/kocevski/999101/expmap_590544001_590803201_4FGL_J1349.5-1131_daily_bin1355.fits
Exposure cube: /scratch/kocevski/999101/ltcube_590544001_590803201_4FGL_J1349.5-1131_daily_bin1355.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/999101/Model_4FGL_J1349.5-1131_daily_bin1355.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) = 9876.74772065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.1754       1.0000         .10000E-03   10000.    
     5 'Prefactor '    24.048       1.0000         .10000E-03   10000.    
     6 'norm      '    4.3612       1.0000         .10000E-03   10000.    
     7 'norm      '    2.1645       1.0000         .10000E-03   10000.    
     8 'norm      '    3.6270       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    58.641       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10253E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .45336       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.2053       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.634       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    6.1719       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    20.046       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3400       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .83628       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9876.737     FROM MIGRAD    STATUS=CONVERGED    448 CALLS     3004 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.5153        .73959E-05** at limit **
   2  norm          .10000E-03    5.1230       -.14510E-05** at limit **
   3  Prefactor     .10000E-03    1.6632       -.17599E-07** at limit **
   4  Prefactor     3.1765        5.4235       -.61429E-06   -.14062E-02
   5  Prefactor     24.044        13.648       -.34101E-05   -.36735E-04
   6  norm          4.3615        1.6481       -.98169E-07   -.10791E-03
   7  norm          2.1653        2.3976        .74886E-06    .13043E-03
   8  norm          3.6267        4.3964        .39102E-06   -.16241E-02
   9  Prefactor     .10000E-03    5.6710       -.39711E-05** at limit **
  10  norm          58.642        32.959        .90321E-06    .55313E-05
  11  Prefactor     .10000E-03    10.261       -.29360E-05** at limit **
  12  norm          .45360        1.9766        .30070E-06   -.91355E-04
  13  Prefactor     2.2053        2.3705        .27482E-06   -.34182E-02
  14  Prefactor     12.626        35.239       -.17216E-04   -.84788E-05
  15  norm          .10000E-03    1.1743       -.47284E-07** at limit **
  16  norm          6.1722        2.4193       -.33965E-06    .13568E-04
  17  norm          .10000E-03    3.5530       -.41179E-06** at limit **
  18  norm          20.047        7.3550       -.14146E-06    .59005E-04
  19  Prefactor     .10000E-03    6.1084       -.30925E-05** at limit **
  20  Prefactor     .10000E-03    4.7251        .39402E-05** at limit **
  21  Normalizat    1.3399        .18607        .16948E-05    .24304E-04
  22  Prefactor     .83632        .95373E-01    .23630E-06    .23486E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.17655
  Prefactor  = 24.0442
  norm       = 4.36153
  norm       = 2.16534
  norm       = 3.62667
  Prefactor  = 0.0001
  norm       = 58.6416
  Prefactor  = 0.0001
  norm       = 0.453597
  Prefactor  = 2.20533
  Prefactor  = 12.6263
  norm       = 0.0001
  norm       = 6.17221
  norm       = 0.0001
  norm       = 20.0465
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.33986
  Prefactor  = 0.836323
 **********
 **   18 **HESSE 
 **********

 FCN=   9876.737     FROM HESSE     STATUS=OK           342 CALLS     3346 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.5349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    5.1566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.6657        .12516E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.1765        6.0774        .11371E-02   -1.5351    
   5  Prefactor     24.044        13.624        .81683E-04   -1.4727    
   6  norm          4.3615        1.6559        .74286E-04   -1.5290    
   7  norm          2.1653        2.3803        .13982E-03   -1.5414    
   8  norm          3.6267        4.5413        .10607E-02   -1.5327    
   9  Prefactor     .10000E-03    5.7128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          58.642        32.960        .52391E-04   -1.4175    
  11  Prefactor     .10000E-03    10.720        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .45360        1.8952        .27107E-03   -1.5573    
  13  Prefactor     2.2053        3.7857        .11936E-02   -1.5411    
  14  Prefactor     12.626        35.270        .11270E-03   -1.4997    
  15  norm          .10000E-03    1.1766        .10516E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          6.1722        2.4222        .92108E-04   -1.5211    
  17  norm          .10000E-03    3.5563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          20.047        7.3598        .89458E-04   -1.4812    
  19  Prefactor     .10000E-03    6.1218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.7258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3399        .22386        .30420E-03   -.82384    
  22  Prefactor     .83632        .11261        .19784E-03   -.98403    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07293e-08
Minuit parameter uncertainties:
  1  5.51375e-06
  2  5.30019e-06
  3  1.6722e-06
  4  6.07854
  5  13.6262
  6  1.65593
  7  2.38045
  8  4.54176
  9  3.33729e-06
  10  32.9706
  11  3.66216e-05
  12  1.85427
  13  3.7861
  14  35.3287
  15  5.54845e-07
  16  2.42226
  17  2.09594e-06
  18  7.36016
  19  9.84669e-06
  20  4.25049e-06
  21  0.224021
  22  0.112642
Done.

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

Extracting fit parameters...

4FGL J1349.5-1131
   Spectrum: PowerLaw
259    Prefactor:  2.205e+00  3.786e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.494e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
261        Scale:  7.359e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  8.363e-01  1.126e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.340e+00  2.240e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.40
Ra Dec: 207.387 -11.519
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/999101/likelihoodResults_590544001_590803201_4FGL_J1349.5-1131_daily_bin1355.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) = 9876.69038774
delta logL = 0.0470093991153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9876.64927748
delta logL = 0.0881196606279

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1217       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2958       1.0000          .0000       10.000    
     3 'Normalizat'    1.3195       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84361       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9876.649     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      216 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1145        26.486        .11079E-01    .16968E-02
   2  Index         3.2984        3.4687        .21506        .11814E-03
   3  Normalizat    1.3198        .36790E-01    .69197E-01    .15391E-04
   4  Prefactor     .84349        .19398E-01    .44282E-01    .10600E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11452
  Index      = 3.29844
  Normalizat = 1.31985
  Prefactor  = 0.843491
 **********
 **   18 **HESSE 
 **********

 FCN=   9876.649     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .73E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1145        443.80        .13831E-03   -1.5497    
   2  Index         3.2984        6.4350        .11142E-01   -.34725    
   3  Normalizat    1.3198        .37001        .30615E-03   -.82976    
   4  Prefactor     .84349        .19751        .19709E-03   -.98145    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.27487e-06
Minuit parameter uncertainties:
  1  44.8165
  2  26.7993
  3  0.370761
  4  0.197681
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/999101': 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) = 9876.64927343
delta logL = 0.0881237143858

Extracting fit parameters...

4FGL J1349.5-1131
   Spectrum: PowerLaw
259    Prefactor:  1.115e+00  4.482e+01  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  3.298e+00  2.680e+01  0.000e+00  1.000e+01 (-1.000e+00)
261        Scale:  7.359e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  8.435e-01  1.977e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.320e+00  3.708e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.40
Ra Dec: 207.387 -11.519

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/999101/cmap_HighResolution_590544001_590803201_4FGL_J1349.5-1131_daily_bin1355.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.91e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2021-09-08 14:45:58.891064', job_id='999101', GAL2='0.84', fit_tolerance='1e-08', EG2='1.32', EG='1.34', time_epoch_completed='1631137558.89', return_code2='0', ts='0.40', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='8.81e-02', ts2='0.60', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1355' AND source_name='4FGL J1349.5-1131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 14:45:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 999101: <4FGL_J1349.5-1131_daily_bin1355> in cluster <slac> Done

Job <4FGL_J1349.5-1131_daily_bin1355> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep  8 14:30:36 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 14:31:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 14:31:15 2021
Terminated at Wed Sep  8 14:45:59 2021
Results reported at Wed Sep  8 14:45:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1349.5-1131_daily_bin1355 207.387 -11.5188 590544001 590803201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1349.5-1131 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   856.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             347.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   885 sec.
    Turnaround time :                            923 sec.

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

