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


Performing analysis on: 4FGL_J1349.5-1131_daily_bin1280
RA = 207.387, Dec = -11.5188
tmin = 571104001, tmax = 571363201
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='998990', job_status='RUN', time_executed='2021-09-08 14:31:30.241708', time_epoch_executed='1631136690.24' WHERE source_name='4FGL J1349.5-1131' and cadence='daily' and bin_id='1280'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/998990

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/998990/ft1_4FGL_J1349.5-1131_daily_bin1280.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/998990/ft2_4FGL_J1349.5-1131_daily_bin1280.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/998990/ft1_4FGL_J1349.5-1131_daily_bin1280.fits outfile=/scratch/kocevski/998990/ft1_filteredMKT_4FGL_J1349.5-1131_daily_bin1280.fits ra=207.387 dec=-11.5188 rad=12.0 tmin=571104001.0 tmax=571363201.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.00
user 2.76
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/998990/ft2_4FGL_J1349.5-1131_daily_bin1280.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/998990/ft1_filteredMKT_4FGL_J1349.5-1131_daily_bin1280.fits evtable="EVENTS" outfile="/scratch/kocevski/998990/ft1_filtered_4FGL_J1349.5-1131_daily_bin1280.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.50
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/998990/ft1_filtered_4FGL_J1349.5-1131_daily_bin1280.fits" evtable="EVENTS" scfile=/scratch/kocevski/998990/ft2_4FGL_J1349.5-1131_daily_bin1280.fits sctable="SC_DATA" outfile=/scratch/kocevski/998990/ltcube_571104001_571363201_4FGL_J1349.5-1131_daily_bin1280.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/998990/ft2_4FGL_J1349.5-1131_daily_bin1280.fits
.....................!
real 14.93
user 14.55
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/998990/ft1_filtered_4FGL_J1349.5-1131_daily_bin1280.fits evtable="EVENTS" scfile=/scratch/kocevski/998990/ft2_4FGL_J1349.5-1131_daily_bin1280.fits sctable="SC_DATA" expcube=/scratch/kocevski/998990/ltcube_571104001_571363201_4FGL_J1349.5-1131_daily_bin1280.fits outfile=/scratch/kocevski/998990/expmap_571104001_571363201_4FGL_J1349.5-1131_daily_bin1280.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/998990/ltcube_571104001_571363201_4FGL_J1349.5-1131_daily_bin1280.fits
.....................!
real 192.71
user 187.11
sys 5.12

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/998990/ft1_filtered_4FGL_J1349.5-1131_daily_bin1280.fits scfile=/scratch/kocevski/998990/ft2_4FGL_J1349.5-1131_daily_bin1280.fits outfile=/scratch/kocevski/998990/cmap_571104001_571363201_4FGL_J1349.5-1131_daily_bin1280.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/998990/ft1_filtered_4FGL_J1349.5-1131_daily_bin1280.fits scfile=/scratch/kocevski/998990/ft2_4FGL_J1349.5-1131_daily_bin1280.fits outfile=/scratch/kocevski/998990/cmap_HighResolution_571104001_571363201_4FGL_J1349.5-1131_daily_bin1280.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.60
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/998990/ft1_filtered_4FGL_J1349.5-1131_daily_bin1280.fits evtable="EVENTS" scfile=/scratch/kocevski/998990/ft2_4FGL_J1349.5-1131_daily_bin1280.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/998990/Model_4FGL_J1349.5-1131_daily_bin1280.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/998990/ft1_filtered_4FGL_J1349.5-1131_daily_bin1280.fits.....................!
real 65.24
user 63.84
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/998990/ft1_filtered_4FGL_J1349.5-1131_daily_bin1280.fits', '/scratch/kocevski/998990/ft2_4FGL_J1349.5-1131_daily_bin1280.fits', expMap='/scratch/kocevski/998990/expmap_571104001_571363201_4FGL_J1349.5-1131_daily_bin1280.fits', expCube='/scratch/kocevski/998990/ltcube_571104001_571363201_4FGL_J1349.5-1131_daily_bin1280.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/998990/Model_4FGL_J1349.5-1131_daily_bin1280.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/998990/ft1_filtered_4FGL_J1349.5-1131_daily_bin1280.fits
Spacecraft file(s): /scratch/kocevski/998990/ft2_4FGL_J1349.5-1131_daily_bin1280.fits
Exposure map: /scratch/kocevski/998990/expmap_571104001_571363201_4FGL_J1349.5-1131_daily_bin1280.fits
Exposure cube: /scratch/kocevski/998990/ltcube_571104001_571363201_4FGL_J1349.5-1131_daily_bin1280.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/998990/Model_4FGL_J1349.5-1131_daily_bin1280.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) = 8237.50901338

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0490       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .19530E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.8166       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.0739       1.0000         .10000E-03   10000.    
     6 'norm      '    2.9005       1.0000         .10000E-03   10000.    
     7 'norm      '    1.6362       1.0000         .10000E-03   10000.    
     8 'norm      '    2.7119       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.764       1.0000         .10000E-03   10000.    
    12 'norm      '    3.6291       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.0136       1.0000         .10000E-03   10000.    
    14 'Prefactor '    42.237       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    5.3829       1.0000         .10000E-03   10000.    
    17 'norm      '    15.814       1.0000         .10000E-03   10000.    
    18 'norm      '    9.0736       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.2735       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0512       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .92353       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=   8237.504     FROM MIGRAD    STATUS=CONVERGED    462 CALLS     2377 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0492        7.5463        .16082E-05    .59736E-03
   2  norm          .10000E-03    2.4546        .23903E-07** at limit **
   3  Prefactor     .10008E-03    11.645        .72938E-05** at limit **
   4  Prefactor     4.8170        9.4425        .24471E-05    .11161E-03
   5  Prefactor     9.0907        25.577       -.83351E-05   -.31211E-03
   6  norm          2.9006        1.5921        .27352E-07   -.12792E-03
   7  norm          1.6332        4.5923        .32646E-05    .25117E-03
   8  norm          2.7117        3.4787       -.45563E-07   -.14706E-03
   9  Prefactor     .10000E-03    10.891        .34282E-06** at limit **
  10  norm          .10000E-03    8.4500       -.38745E-07** at limit **
  11  Prefactor     14.765        11.503        .14115E-06   -.36463E-04
  12  norm          3.6280        4.8367        .41301E-07    .72909E-04
  13  Prefactor     6.0139        5.0311        .46047E-06   -.37586E-03
  14  Prefactor     42.239        29.612       -.15294E-06   -.20057E-05
  15  norm          .10000E-03    2.3398       -.23115E-06** at limit **
  16  norm          5.3831        2.6783        .76844E-07   -.16793E-03
  17  norm          15.814        11.516        .43089E-07   -.55947E-06
  18  norm          9.0740        6.3500        .16822E-06    .11402E-03
  19  Prefactor     .10000E-03    21.390        .10889E-05** at limit **
  20  Prefactor     3.2693        30.051        .13469E-05   -.29273E-04
  21  Normalizat    1.0510        .21069       -.22583E-05   -.63609E-03
  22  Prefactor     .92360        .10450        .67542E-06   -.83850E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.04922
  norm       = 0.0001
  Prefactor  = 0.000100078
  Prefactor  = 4.81695
  Prefactor  = 9.09069
  norm       = 2.90056
  norm       = 1.63317
  norm       = 2.71174
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 14.7653
  norm       = 3.62803
  Prefactor  = 6.01386
  Prefactor  = 42.2392
  norm       = 0.0001
  norm       = 5.38308
  norm       = 15.814
  norm       = 9.07403
  Prefactor  = 0.000100001
  Prefactor  = 3.26932
  Normalizat = 1.05103
  Prefactor  = 0.923604
 **********
 **   18 **HESSE 
 **********

 FCN=   8237.504     FROM HESSE     STATUS=OK           348 CALLS     2725 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0492        7.7722        .10019E-02   -1.5305    
   2  norm          .10000E-03    2.4549        .13887E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10008E-03    19.194        .37391E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.8170        9.6551        .91653E-03   -1.5269    
   5  Prefactor     9.0907        26.624        .13305E-03   -1.5105    
   6  norm          2.9006        1.5910        .80452E-04   -1.5367    
   7  norm          1.6332        4.6942        .19258E-03   -1.5452    
   8  norm          2.7117        3.4591        .18232E-03   -1.5379    
   9  Prefactor     .10000E-03    10.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    8.4512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.765        11.489        .10424E-03   -1.4939    
  12  norm          3.6280        4.8396        .21208E-03   -1.5327    
  13  Prefactor     6.0139        5.0442        .16374E-03   -1.5217    
  14  Prefactor     42.239        29.594        .61683E-04   -1.4407    
  15  norm          .10000E-03    2.3474        .13549E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          5.3831        2.6841        .98154E-04   -1.5244    
  17  norm          15.814        11.518        .10072E-03   -1.4912    
  18  norm          9.0740        6.3590        .66528E-03   -1.5105    
  19  Prefactor     .10000E-03    21.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.2693        30.246        .22381E-03   -1.5346    
  21  Normalizat    1.0510        .24546        .33114E-03   -.91340    
  22  Prefactor     .92360        .12191        .18604E-03   -.95321    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.49645e-09
Minuit parameter uncertainties:
  1  7.77409
  2  4.68857e-07
  3  0.00244256
  4  9.65822
  5  26.6584
  6  1.59101
  7  4.69524
  8  3.45937
  9  2.23419e-05
  10  8.15412e-07
  11  11.491
  12  4.84009
  13  5.04451
  14  29.6039
  15  2.04533e-05
  16  2.68415
  17  11.5192
  18  6.35951
  19  0.000342668
  20  19.9012
  21  0.245726
  22  0.121949
Done.

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

Extracting fit parameters...

4FGL J1349.5-1131
   Spectrum: PowerLaw
259    Prefactor:  6.014e+00  5.045e+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:  9.236e-01  1.219e-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.051e+00  2.457e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.00
Ra Dec: 207.387 -11.519
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 5.85e-08 +/- 4.90e-08
Energy Flux (Fixed Index): 1.71e-05 +/- 1.43e-05

TS (Fixed Index): 2.00
Ra Dec: 207.387 -11.519
Photon Flux Upper Limit: 1.56e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.21e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/998990/likelihoodResults_571104001_571363201_4FGL_J1349.5-1131_daily_bin1280.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) = 8233.97249104
delta logL = 3.53168767089

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8233.93299169
delta logL = 3.57118701614

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95641       1.0000         .10000E-03   10000.    
     2 'Index     '    4.4102       1.0000          .0000       10.000    
     3 'Normalizat'    .89932       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97290       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=   8233.933     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      235 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .95450        4.7131        .77350E-02    .61587E-03
   2  Index         4.4112        2.2784        .92090E-01    .19105E-03
   3  Normalizat    .89947        .69888E-01    .79946E-01    .19098E-04
   4  Prefactor     .97284        .36946E-01    .45927E-01   -.12230E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.954502
  Index      = 4.41116
  Normalizat = 0.899468
  Prefactor  = 0.972844
 **********
 **   18 **HESSE 
 **********

 FCN=   8233.933     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      268 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .95450        7.7269        .34601E-04   -1.5513    
   2  Index         4.4112        3.0551        .37959E-02   -.11804    
   3  Normalizat    .89947        .22150        .35389E-03   -.96479    
   4  Prefactor     .97284        .11608        .18161E-03   -.93640    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.79105e-07
Minuit parameter uncertainties:
  1  5.43217
  2  3.29076
  3  0.221722
  4  0.116113
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/998990': 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): 102
logL (Free Index) = 8233.93299063
delta logL = 3.57118807775

Extracting fit parameters...

4FGL J1349.5-1131
   Spectrum: PowerLaw
259    Prefactor:  9.545e-01  5.432e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  4.411e+00  3.291e+00  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:  9.728e-01  1.161e-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:  8.995e-01  2.217e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.90
Ra Dec: 207.387 -11.519
Photon Index (Free Index): 4.41 +/- 3.29
Photon Flux (Free Index): 1.87e-07 +/- 7.91e-08
Energy Flux (Free Index): 2.64e-05 +/- 1.66e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/998990/cmap_HighResolution_571104001_571363201_4FGL_J1349.5-1131_daily_bin1280.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.21e-02', comment='SUCCESS', photon_flux='5.85e-08', energy_flux2='2.64e-05', photon_flux_error='4.90e-08', dlogl='3.57e+00', energy_flux='1.71e-05', photon_flux2='1.87e-07', job_status='DONE', time_completed='2021-09-08 14:43:31.002304', photon_index_error2='3.29', photon_index2='4.41', ts='2.00', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.56e-07', energy_flux_error2='1.66e-05', EG='1.05', time_epoch_completed='1631137411.0', return_code='0', job_id='998990', GAL2='0.97', EG2='0.90', return_code2='102', energy_flux_error='1.43e-05', photon_flux_error2='7.91e-08', ts2='9.90', photon_index='2.49' WHERE bin_id='1280' AND source_name='4FGL J1349.5-1131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 14:43:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 998990: <4FGL_J1349.5-1131_daily_bin1280> in cluster <slac> Done

Job <4FGL_J1349.5-1131_daily_bin1280> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep  8 14:30:28 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 14:30:47 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:30:47 2021
Terminated at Wed Sep  8 14:43:31 2021
Results reported at Wed Sep  8 14:43:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1349.5-1131_daily_bin1280 207.387 -11.5188 571104001 571363201 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 :                                   714.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   764 sec.
    Turnaround time :                            783 sec.

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

