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


Performing analysis on: 4FGL_J1349.5-1131_daily_bin396
RA = 207.387, Dec = -11.5188
tmin = 341971201, tmax = 342230401
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='993883', job_status='RUN', time_executed='2021-09-08 14:13:06.986042', time_epoch_executed='1631135586.99' WHERE source_name='4FGL J1349.5-1131' and cadence='daily' and bin_id='396'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/993883

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/993883/ft1_4FGL_J1349.5-1131_daily_bin396.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/993883/ft2_4FGL_J1349.5-1131_daily_bin396.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/993883/ft1_4FGL_J1349.5-1131_daily_bin396.fits outfile=/scratch/kocevski/993883/ft1_filteredMKT_4FGL_J1349.5-1131_daily_bin396.fits ra=207.387 dec=-11.5188 rad=12.0 tmin=341971201.0 tmax=342230401.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.44
user 3.23
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/993883/ft2_4FGL_J1349.5-1131_daily_bin396.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/993883/ft1_filteredMKT_4FGL_J1349.5-1131_daily_bin396.fits evtable="EVENTS" outfile="/scratch/kocevski/993883/ft1_filtered_4FGL_J1349.5-1131_daily_bin396.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/993883/ft1_filtered_4FGL_J1349.5-1131_daily_bin396.fits" evtable="EVENTS" scfile=/scratch/kocevski/993883/ft2_4FGL_J1349.5-1131_daily_bin396.fits sctable="SC_DATA" outfile=/scratch/kocevski/993883/ltcube_341971201_342230401_4FGL_J1349.5-1131_daily_bin396.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/993883/ft2_4FGL_J1349.5-1131_daily_bin396.fits
.....................!
real 14.80
user 14.24
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/993883/ft1_filtered_4FGL_J1349.5-1131_daily_bin396.fits evtable="EVENTS" scfile=/scratch/kocevski/993883/ft2_4FGL_J1349.5-1131_daily_bin396.fits sctable="SC_DATA" expcube=/scratch/kocevski/993883/ltcube_341971201_342230401_4FGL_J1349.5-1131_daily_bin396.fits outfile=/scratch/kocevski/993883/expmap_341971201_342230401_4FGL_J1349.5-1131_daily_bin396.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/993883/ltcube_341971201_342230401_4FGL_J1349.5-1131_daily_bin396.fits
.....................!
real 193.67
user 186.82
sys 4.47

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/993883/ft1_filtered_4FGL_J1349.5-1131_daily_bin396.fits scfile=/scratch/kocevski/993883/ft2_4FGL_J1349.5-1131_daily_bin396.fits outfile=/scratch/kocevski/993883/cmap_341971201_342230401_4FGL_J1349.5-1131_daily_bin396.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.61
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/993883/ft1_filtered_4FGL_J1349.5-1131_daily_bin396.fits scfile=/scratch/kocevski/993883/ft2_4FGL_J1349.5-1131_daily_bin396.fits outfile=/scratch/kocevski/993883/cmap_HighResolution_341971201_342230401_4FGL_J1349.5-1131_daily_bin396.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/993883/ft1_filtered_4FGL_J1349.5-1131_daily_bin396.fits evtable="EVENTS" scfile=/scratch/kocevski/993883/ft2_4FGL_J1349.5-1131_daily_bin396.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/993883/Model_4FGL_J1349.5-1131_daily_bin396.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/993883/ft1_filtered_4FGL_J1349.5-1131_daily_bin396.fits.....................!
real 61.51
user 59.52
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10134E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .31146E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.9791       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.0809       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.9821       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .12779E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    15.701       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .98665E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10273E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.6256       1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.829       1.0000         .10000E-03   10000.    
    15 'norm      '    10.878       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.0244       1.0000         .10000E-03   10000.    
    18 'norm      '    6.9865       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10826E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2987       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1449       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=   7216.960     FROM MIGRAD    STATUS=CONVERGED    469 CALLS     2343 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.9767       -.26025E-07** at limit **
   2  norm          .10000E-03    5.6348       -.28989E-06** at limit **
   3  Prefactor     7.9784        11.552       -.41930E-06    .32988E-05
   4  Prefactor     5.0788        10.954        .60766E-05   -.46827E-03
   5  Prefactor     2.9545        42.507       -.34125E-05   -.14803E-03
   6  norm          .10000E-03    .56872       -.87167E-07** at limit **
   7  norm          .10000E-03    4.4333       -.15587E-05** at limit **
   8  norm          15.694        11.015        .28316E-07    .76433E-04
   9  Prefactor     .10023E-03    10.903        .25963E-05** at limit **
  10  norm          .10000E-03    13.870        .83472E-07** at limit **
  11  Prefactor     .10000E-03    11.362        .22391E-06** at limit **
  12  norm          .10000E-03    1.8608        .21642E-06** at limit **
  13  Prefactor     2.6243        7.2937       -.77077E-07   -.32271E-03
  14  Prefactor     21.870        48.562        .12372E-04    .38679E-03
  15  norm          10.879        8.7349       -.29551E-06   -.23090E-03
  16  norm          .10000E-03    1.3831        .24689E-07** at limit **
  17  norm          4.0239        9.4222        .54731E-05   -.48787E-03
  18  norm          6.9873        6.0705        .54093E-06    .32152E-03
  19  Prefactor     .10000E-03    14.070       -.37655E-06** at limit **
  20  Prefactor     .10000E-03    22.007       -.16826E-06** at limit **
  21  Normalizat    1.2987        .25941       -.16910E-05   -.14654E-03
  22  Prefactor     1.1448        .13179       -.55761E-06   -.29176E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 7.97844
  Prefactor  = 5.07879
  Prefactor  = 2.95454
  norm       = 0.0001
  norm       = 0.0001
  norm       = 15.6936
  Prefactor  = 0.00010023
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.62435
  Prefactor  = 21.8703
  norm       = 10.8794
  norm       = 0.0001
  norm       = 4.02388
  norm       = 6.98727
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.29872
  Prefactor  = 1.1448
 **********
 **   18 **HESSE 
 **********

 FCN=   7216.960     FROM HESSE     STATUS=OK           344 CALLS     2687 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.9821        .16545E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    29.833        .39286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.9784        11.531        .14194E-03   -1.5143    
   4  Prefactor     5.0788        11.201        .89188E-03   -1.5257    
   5  Prefactor     2.9545        40.614        .23510E-03   -1.5364    
   6  norm          .10000E-03    .58370        .12501E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    4.4396        .34102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          15.694        10.795        .10108E-03   -1.4915    
   9  Prefactor     .10023E-03    56.370        .52683E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    13.879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.8669        .11312E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.6243        7.2399        .25168E-03   -1.5384    
  14  Prefactor     21.870        51.704        .85729E-04   -1.4772    
  15  norm          10.879        8.6642        .12147E-03   -1.5048    
  16  norm          .10000E-03    1.4068        .97483E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.0239        9.5846        .10051E-02   -1.5307    
  18  norm          6.9873        6.0798        .15178E-03   -1.5179    
  19  Prefactor     .10000E-03    14.107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    22.047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2987        .29963        .35711E-03   -.83605    
  22  Prefactor     1.1448        .15272        .19994E-03   -.88047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.6414e-09
Minuit parameter uncertainties:
  1  7.57707e-07
  2  0.000144554
  3  11.5344
  4  11.2058
  5  21.9262
  6  8.59504e-07
  7  9.25878e-05
  8  10.7964
  9  0.00721427
  10  1.65751e-05
  11  1.59301e-05
  12  7.04582e-06
  13  7.24231
  14  51.8101
  15  8.66518
  16  3.03358e-06
  17  9.58825
  18  6.08029
  19  5.44079e-05
  20  1.68143e-05
  21  0.300031
  22  0.152776
Done.

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

Extracting fit parameters...

4FGL J1349.5-1131
   Spectrum: PowerLaw
259    Prefactor:  2.624e+00  7.242e+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:  1.145e+00  1.528e-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.299e+00  3.000e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/993883/likelihoodResults_341971201_342230401_4FGL_J1349.5-1131_daily_bin396.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) = 7216.95851123
delta logL = 0.00108969720714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7216.95819499
delta logL = 0.00140593938249

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7730       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3645       1.0000          .0000       10.000    
     3 'Normalizat'    1.3027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1436       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=   7216.958     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      249 TOTAL
                     EDM=   .95E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7834        115.35        .61098E-02    .43615E-03
   2  Index         2.3461        2.0303        .50000       -.70531E-05
   3  Normalizat    1.3028        .34391E-01    .80566E-01    .61410E-04
   4  Prefactor     1.1433        .18241E-01    .36124E-01    .29623E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.78338
  Index      = 2.34614
  Normalizat = 1.30278
  Prefactor  = 1.14335
 **********
 **   18 **HESSE 
 **********

 FCN=   7216.958     FROM HESSE     STATUS=OK            31 CALLS      280 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7834        7.3662        .24439E-03   -1.5374    
   2  Index         2.3461        2.4882        .80259E-02   -.55951    
   3  Normalizat    1.3028        .29366        .35664E-03   -.83483    
   4  Prefactor     1.1433        .15239        .20005E-03   -.88093    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.3755e-11
Minuit parameter uncertainties:
  1  7.36859
  2  2.65938
  3  0.294037
  4  0.152444
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/993883': 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) = 7216.95816327
delta logL = 0.00143765604662

Extracting fit parameters...

4FGL J1349.5-1131
   Spectrum: PowerLaw
259    Prefactor:  2.783e+00  7.369e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.346e+00  2.659e+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:  1.143e+00  1.524e-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.303e+00  2.940e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.16
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/993883/cmap_HighResolution_341971201_342230401_4FGL_J1349.5-1131_daily_bin396.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.33e-02', job_status='DONE', photon_flux_upper_limit='1.71e-07', time_completed='2021-09-08 14:23:59.784449', job_id='993883', GAL2='1.14', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1631136239.78', return_code2='0', ts='0.16', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.44e-03', ts2='0.17', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='396' AND source_name='4FGL J1349.5-1131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 14:23:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 993883: <4FGL_J1349.5-1131_daily_bin396> in cluster <slac> Done

Job <4FGL_J1349.5-1131_daily_bin396> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 14:10:19 2021
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 14:10:28 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:10:28 2021
Terminated at Wed Sep  8 14:24:00 2021
Results reported at Wed Sep  8 14:24:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1349.5-1131_daily_bin396 207.387 -11.5188 341971201 342230401 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 :                                   645.45 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             246.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   814 sec.
    Turnaround time :                            821 sec.

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

