/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 1 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 = 7271
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1349.5-1131_daily_bin327
RA = 207.387, Dec = -11.5188
tmin = 324086401, tmax = 324345601
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='992726', job_status='RUN', time_executed='2021-09-08 14:05:58.404531', time_epoch_executed='1631135158.4' WHERE source_name='4FGL J1349.5-1131' and cadence='daily' and bin_id='327'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/992726

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/992726/ft1_4FGL_J1349.5-1131_daily_bin327.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/992726/ft2_4FGL_J1349.5-1131_daily_bin327.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/992726/ft1_4FGL_J1349.5-1131_daily_bin327.fits outfile=/scratch/kocevski/992726/ft1_filteredMKT_4FGL_J1349.5-1131_daily_bin327.fits ra=207.387 dec=-11.5188 rad=12.0 tmin=324086401.0 tmax=324345601.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.56
user 3.33
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/992726/ft1_filtered_4FGL_J1349.5-1131_daily_bin327.fits" evtable="EVENTS" scfile=/scratch/kocevski/992726/ft2_4FGL_J1349.5-1131_daily_bin327.fits sctable="SC_DATA" outfile=/scratch/kocevski/992726/ltcube_324086401_324345601_4FGL_J1349.5-1131_daily_bin327.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/992726/ft2_4FGL_J1349.5-1131_daily_bin327.fits
.....................!
real 14.04
user 13.60
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/992726/ft1_filtered_4FGL_J1349.5-1131_daily_bin327.fits evtable="EVENTS" scfile=/scratch/kocevski/992726/ft2_4FGL_J1349.5-1131_daily_bin327.fits sctable="SC_DATA" expcube=/scratch/kocevski/992726/ltcube_324086401_324345601_4FGL_J1349.5-1131_daily_bin327.fits outfile=/scratch/kocevski/992726/expmap_324086401_324345601_4FGL_J1349.5-1131_daily_bin327.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/992726/ltcube_324086401_324345601_4FGL_J1349.5-1131_daily_bin327.fits
.....................!
real 157.02
user 152.68
sys 3.82

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/992726/ft1_filtered_4FGL_J1349.5-1131_daily_bin327.fits scfile=/scratch/kocevski/992726/ft2_4FGL_J1349.5-1131_daily_bin327.fits outfile=/scratch/kocevski/992726/cmap_324086401_324345601_4FGL_J1349.5-1131_daily_bin327.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.52
user 0.33
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/992726/ft1_filtered_4FGL_J1349.5-1131_daily_bin327.fits scfile=/scratch/kocevski/992726/ft2_4FGL_J1349.5-1131_daily_bin327.fits outfile=/scratch/kocevski/992726/cmap_HighResolution_324086401_324345601_4FGL_J1349.5-1131_daily_bin327.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.50
user 0.34
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/992726/ft1_filtered_4FGL_J1349.5-1131_daily_bin327.fits evtable="EVENTS" scfile=/scratch/kocevski/992726/ft2_4FGL_J1349.5-1131_daily_bin327.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/992726/Model_4FGL_J1349.5-1131_daily_bin327.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/992726/ft1_filtered_4FGL_J1349.5-1131_daily_bin327.fits.....................!
real 50.81
user 49.51
sys 1.03

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8956       1.0000         .10000E-03   10000.    
     2 'norm      '    7.7275       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13570E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    36.382       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10541E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.8079       1.0000         .10000E-03   10000.    
     8 'norm      '    12.727       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .39077E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    31.299       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14874E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .14831E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12616E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    48.414       1.0000         .10000E-03   10000.    
    15 'norm      '    11.129       1.0000         .10000E-03   10000.    
    16 'norm      '    .10086E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10230E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.7373       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .21835E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.7922       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2150       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0060       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=   7356.149     FROM MIGRAD    STATUS=CONVERGED    492 CALLS     2374 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8946        7.9823        .17872E-06   -.11444E-06
   2  norm          7.7261        8.1173       -.27031E-07    .11423E-04
   3  Prefactor     .10000E-03    3.3176        .60877E-07** at limit **
   4  Prefactor     36.375        13.215        .97986E-06    .80838E-03
   5  Prefactor     .10000E-03    15.865        .78152E-06** at limit **
   6  norm          .10000E-03    .47637        .35157E-07** at limit **
   7  norm          3.8052        4.1824        .15393E-06   -.11039E-03
   8  norm          12.727        9.0467        .10032E-06   -.22975E-04
   9  Prefactor     .10000E-03    11.268       -.69539E-06** at limit **
  10  norm          31.211        40.725       -.15299E-05   -.17658E-03
  11  Prefactor     .10000E-03    4.9495        .31404E-07** at limit **
  12  norm          .10000E-03    2.6509       -.27000E-06** at limit **
  13  Prefactor     .10000E-03    6.2073        .16148E-06** at limit **
  14  Prefactor     48.359        41.446       -.96986E-06   -.18040E-03
  15  norm          11.125        8.3835        .23665E-06    .21832E-04
  16  norm          .10000E-03    1.6408       -.25504E-06** at limit **
  17  norm          .10000E-03    3.8918       -.48314E-08** at limit **
  18  norm          4.7354        6.8747        .47793E-05   -.72032E-03
  19  Prefactor     .10000E-03    20.824       -.27030E-05** at limit **
  20  Prefactor     7.7834        18.266        .43577E-05    .44436E-03
  21  Normalizat    1.2150        .23460       -.18961E-05    .61708E-04
  22  Prefactor     1.0061        .12087        .21669E-08   -.14381E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.89464
  norm       = 7.72611
  Prefactor  = 0.0001
  Prefactor  = 36.3747
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.8052
  norm       = 12.7273
  Prefactor  = 0.0001
  norm       = 31.211
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 48.3588
  norm       = 11.1248
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.73537
  Prefactor  = 0.000100004
  Prefactor  = 7.78338
  Normalizat = 1.21503
  Prefactor  = 1.00612
 **********
 **   18 **HESSE 
 **********

 FCN=   7356.149     FROM HESSE     STATUS=OK           340 CALLS     2714 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8946        7.9725        .18179E-03   -1.5265    
   2  norm          7.7261        8.1184        .14425E-03   -1.5152    
   3  Prefactor     .10000E-03    3.3250        .15256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     36.375        13.432        .66443E-04   -1.4501    
   5  Prefactor     .10000E-03    15.967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .48376        .57775E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.8052        4.1535        .15455E-03   -1.5318    
   8  norm          12.727        9.0003        .11228E-03   -1.4994    
   9  Prefactor     .10000E-03    11.394        .21274E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          31.211        41.011        .71620E-04   -1.4590    
  11  Prefactor     .10000E-03    4.9695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    5.5043        .26940E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.3455        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     48.359        41.600        .57630E-04   -1.4316    
  15  norm          11.125        8.3588        .12009E-03   -1.5041    
  16  norm          .10000E-03    1.6834        .21452E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    3.8937        .16525E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.7354        7.0516        .92434E-03   -1.5273    
  19  Prefactor     .10000E-03    21.329        .20148E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.7834        18.963        .14365E-03   -1.5150    
  21  Normalizat    1.2150        .27578        .33980E-03   -.86140    
  22  Prefactor     1.0061        .14283        .19552E-03   -.92526    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46915e-09
Minuit parameter uncertainties:
  1  7.97423
  2  8.11957
  3  4.16068e-06
  4  13.4329
  5  0.000140532
  6  6.08583e-07
  7  4.15382
  8  9.00121
  9  7.27392e-05
  10  41.0482
  11  1.61227e-05
  12  0.000166596
  13  1.82884e-05
  14  41.6251
  15  8.35966
  16  1.01128e-05
  17  3.83526e-07
  18  7.05286
  19  0.000553127
  20  18.9775
  21  0.276113
  22  0.142879
Done.

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

Extracting fit parameters...

4FGL J1349.5-1131
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  1.829e-05  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:  1.006e+00  1.429e-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.215e+00  2.761e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/992726/likelihoodResults_324086401_324345601_4FGL_J1349.5-1131_daily_bin327.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) = 7356.14976211
delta logL = -0.0007521632524

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7356.14901243
delta logL = -2.47836214839e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14591E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5430       1.0000          .0000       10.000    
     3 'Normalizat'    1.2151       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0061       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=   7356.149     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      220 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    6.5112        .51431E-01** at limit **
   2  Index         2.6033        6.1718        .50000       -.80141E-04
   3  Normalizat    1.2150        .82368E-02    .76773E-01    .50690E-04
   4  Prefactor     1.0061        .43839E-02    .43972E-01    .25700E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100009
  Index      = 2.60331
  Normalizat = 1.21503
  Prefactor  = 1.00612
 **********
 **   18 **HESSE 
 **********

 FCN=   7356.149     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      255 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    872.15        .30675E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6033        8.6867        .50000       -.49990    
   3  Normalizat    1.2150        .71592E-01    .33980E-03   -.86140    
   4  Prefactor     1.0061        .37998E-01    .19552E-03   -.92526    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.37032e-06
Minuit parameter uncertainties:
  1  0.0056603
  2  45.6338
  3  0.0715983
  4  0.0379986
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/992726': 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) = 7356.14900803
delta logL = 1.9195385903e-06

Extracting fit parameters...

4FGL J1349.5-1131
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  5.660e-03  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.603e+00  4.563e+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:  1.006e+00  3.800e-02  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.215e+00  7.160e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/992726/cmap_HighResolution_324086401_324345601_4FGL_J1349.5-1131_daily_bin327.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.25e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2021-09-08 14:15:10.408425', job_id='992726', GAL2='1.01', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1631135710.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.92e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='327' AND source_name='4FGL J1349.5-1131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 14:15:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 992726: <4FGL_J1349.5-1131_daily_bin327> in cluster <slac> Done

Job <4FGL_J1349.5-1131_daily_bin327> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  8 14:05:35 2021
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 14:05:49 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:05:49 2021
Terminated at Wed Sep  8 14:15:11 2021
Results reported at Wed Sep  8 14:15:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1349.5-1131_daily_bin327 207.387 -11.5188 324086401 324345601 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 :                                   544.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             299.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   561 sec.
    Turnaround time :                            576 sec.

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

