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


Performing analysis on: 4FGL_J1349.5-1131_daily_bin469
RA = 207.387, Dec = -11.5188
tmin = 360892801, tmax = 361152001
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='993989', job_status='RUN', time_executed='2021-09-08 14:14:34.436643', time_epoch_executed='1631135674.44' WHERE source_name='4FGL J1349.5-1131' and cadence='daily' and bin_id='469'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/993989

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/993989/ft1_4FGL_J1349.5-1131_daily_bin469.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/993989/ft2_4FGL_J1349.5-1131_daily_bin469.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/993989/ft1_4FGL_J1349.5-1131_daily_bin469.fits outfile=/scratch/kocevski/993989/ft1_filteredMKT_4FGL_J1349.5-1131_daily_bin469.fits ra=207.387 dec=-11.5188 rad=12.0 tmin=360892801.0 tmax=361152001.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.60
user 3.31
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/993989/ft1_filtered_4FGL_J1349.5-1131_daily_bin469.fits" evtable="EVENTS" scfile=/scratch/kocevski/993989/ft2_4FGL_J1349.5-1131_daily_bin469.fits sctable="SC_DATA" outfile=/scratch/kocevski/993989/ltcube_360892801_361152001_4FGL_J1349.5-1131_daily_bin469.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/993989/ft2_4FGL_J1349.5-1131_daily_bin469.fits
.....................!
real 15.95
user 15.53
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/993989/ft1_filtered_4FGL_J1349.5-1131_daily_bin469.fits evtable="EVENTS" scfile=/scratch/kocevski/993989/ft2_4FGL_J1349.5-1131_daily_bin469.fits sctable="SC_DATA" expcube=/scratch/kocevski/993989/ltcube_360892801_361152001_4FGL_J1349.5-1131_daily_bin469.fits outfile=/scratch/kocevski/993989/expmap_360892801_361152001_4FGL_J1349.5-1131_daily_bin469.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/993989/ltcube_360892801_361152001_4FGL_J1349.5-1131_daily_bin469.fits
.....................!
real 191.41
user 186.63
sys 4.35

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/993989/ft1_filtered_4FGL_J1349.5-1131_daily_bin469.fits scfile=/scratch/kocevski/993989/ft2_4FGL_J1349.5-1131_daily_bin469.fits outfile=/scratch/kocevski/993989/cmap_360892801_361152001_4FGL_J1349.5-1131_daily_bin469.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.57
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/993989/ft1_filtered_4FGL_J1349.5-1131_daily_bin469.fits scfile=/scratch/kocevski/993989/ft2_4FGL_J1349.5-1131_daily_bin469.fits outfile=/scratch/kocevski/993989/cmap_HighResolution_360892801_361152001_4FGL_J1349.5-1131_daily_bin469.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.57
user 0.39
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/993989/ft1_filtered_4FGL_J1349.5-1131_daily_bin469.fits evtable="EVENTS" scfile=/scratch/kocevski/993989/ft2_4FGL_J1349.5-1131_daily_bin469.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/993989/Model_4FGL_J1349.5-1131_daily_bin469.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/993989/ft1_filtered_4FGL_J1349.5-1131_daily_bin469.fits.....................!
real 62.54
user 61.09
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    37.494       1.0000         .10000E-03   10000.    
     2 'norm      '    6.0018       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.887       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.2410       1.0000         .10000E-03   10000.    
     6 'norm      '    1.2058       1.0000         .10000E-03   10000.    
     7 'norm      '    5.9508       1.0000         .10000E-03   10000.    
     8 'norm      '    7.9697       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .24492E-02   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.568       1.0000         .10000E-03   10000.    
    12 'norm      '    6.0484       1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.307       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.2918       1.0000         .10000E-03   10000.    
    16 'norm      '    2.8709       1.0000         .10000E-03   10000.    
    17 'norm      '    15.475       1.0000         .10000E-03   10000.    
    18 'norm      '    .33081       1.0000         .10000E-03   10000.    
    19 'Prefactor '    19.046       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .75826       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1053       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=   7745.677     FROM MIGRAD    STATUS=CONVERGED    497 CALLS     2117 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          37.494        16.592        .39361E-07   -.26311E-06
   2  norm          6.0017        7.9615        .17370E-05    .40760E-03
   3  Prefactor     12.887        9.3238        .61421E-06    .25495E-03
   4  Prefactor     .10000E-03    2.1339       -.23037E-08** at limit **
   5  Prefactor     7.2340        29.072        .44700E-05   -.26031E-03
   6  norm          1.2057        1.4688        .14391E-06   -.30406E-03
   7  norm          5.9517        5.8133       -.98765E-06   -.11031E-03
   8  norm          7.9700        6.8488        .52553E-06   -.88406E-03
   9  Prefactor     .10035E-03    18.866       -.12509E-05** at limit **
  10  norm          .10000E-03    21.689        .96738E-07** at limit **
  11  Prefactor     20.565        14.348        .40206E-06    .47418E-03
  12  norm          6.0483        4.3811        .65628E-06   -.11148E-02
  13  Prefactor     17.308        6.2797        .10383E-05    .11010E-02
  14  Prefactor     .10000E-03    42.519       -.19647E-05** at limit **
  15  norm          4.2916        5.3881       -.10316E-05   -.37132E-03
  16  norm          2.8707        2.5873        .99759E-07   -.14689E-03
  17  norm          15.475        10.679        .56417E-08   -.31427E-05
  18  norm          .33694        4.4876        .20439E-06   -.19052E-03
  19  Prefactor     19.044        20.276        .37656E-06    .26166E-04
  20  Prefactor     .10000E-03    49.577        .22067E-05** at limit **
  21  Normalizat    .75825        .23635       -.19210E-05    .68101E-04
  22  Prefactor     1.1053        .12093       -.29200E-07    .15155E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 37.4941
  norm       = 6.00167
  Prefactor  = 12.8873
  Prefactor  = 0.0001
  Prefactor  = 7.23402
  norm       = 1.20574
  norm       = 5.95171
  norm       = 7.97003
  Prefactor  = 0.000100349
  norm       = 0.0001
  Prefactor  = 20.5653
  norm       = 6.04828
  Prefactor  = 17.3075
  Prefactor  = 0.000100001
  norm       = 4.29163
  norm       = 2.87069
  norm       = 15.4749
  norm       = 0.336944
  Prefactor  = 19.0439
  Prefactor  = 0.000100001
  Normalizat = 0.758255
  Prefactor  = 1.10525
 **********
 **   18 **HESSE 
 **********

 FCN=   7745.677     FROM HESSE     STATUS=OK           364 CALLS     2481 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          37.494        16.585        .65454E-04   -1.4483    
   2  norm          6.0017        8.0698        .16390E-03   -1.5218    
   3  Prefactor     12.887        9.3812        .11158E-03   -1.4990    
   4  Prefactor     .10000E-03    2.1373        .12554E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.2340        33.523        .74531E-03   -1.5170    
   6  norm          1.2057        1.4468        .11079E-03   -1.5488    
   7  norm          5.9517        6.1432        .13242E-03   -1.5220    
   8  norm          7.9700        7.0391        .71014E-03   -1.5143    
   9  Prefactor     .10035E-03    26.304        .82215E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    21.733        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.565        14.602        .88317E-04   -1.4801    
  12  norm          6.0483        4.6322        .79313E-03   -1.5216    
  13  Prefactor     17.308        6.5674        .96273E-04   -1.4876    
  14  Prefactor     .10000E-03    42.837        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.2916        5.4806        .19447E-03   -1.5294    
  16  norm          2.8707        2.5673        .12574E-03   -1.5369    
  17  norm          15.475        10.680        .10181E-03   -1.4921    
  18  norm          .33694        17.334        .34959E-02   -1.5592    
  19  Prefactor     19.044        20.143        .91775E-04   -1.4835    
  20  Prefactor     .10000E-03    50.306        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75825        .26101        .40307E-03   -1.0164    
  22  Prefactor     1.1053        .13634        .18428E-03   -.89299    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52996e-08
Minuit parameter uncertainties:
  1  16.5868
  2  8.07123
  3  9.3823
  4  1.63196e-06
  5  31.1736
  6  1.44681
  7  6.14381
  8  7.03982
  9  0.00606606
  10  1.81783e-05
  11  14.6046
  12  4.63243
  13  6.5677
  14  0.000359975
  15  5.48124
  16  2.56743
  17  10.6815
  18  4.8342
  19  20.1497
  20  0.000456865
  21  0.26144
  22  0.136378
Done.

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

Extracting fit parameters...

4FGL J1349.5-1131
   Spectrum: PowerLaw
259    Prefactor:  1.731e+01  6.568e+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.105e+00  1.364e-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:  7.583e-01  2.614e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.89
Ra Dec: 207.387 -11.519
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 1.68e-07 +/- 6.38e-08
Energy Flux (Fixed Index): 4.92e-05 +/- 1.87e-05

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) = 7745.67690144
delta logL = 0.000345708041095

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7745.67672824
delta logL = 0.000518901257237

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.190       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5079       1.0000          .0000       10.000    
     3 'Normalizat'    .75629       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1058       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7745.677     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      263 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.173        7.7437        .48301E-03   -.13840E-04
   2  Index         2.5064        .38751        .51839E-02    .46246E-03
   3  Normalizat    .75657        .25224        .40347E-03   -.37983E-04
   4  Prefactor     1.1058        .13475        .18424E-03   -.64063E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.173
  Index      = 2.50641
  Normalizat = 0.756568
  Prefactor  = 1.10583
 **********
 **   18 **HESSE 
 **********

 FCN=   7745.677     FROM HESSE     STATUS=OK            25 CALLS      288 TOTAL
                     EDM=   .35E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.173        7.5363        .19320E-04   -1.4879    
   2  Index         2.5064        .37686        .10368E-02   -.52212    
   3  Normalizat    .75657        .25223        .16139E-04   -1.0170    
   4  Prefactor     1.1058        .13476        .36848E-04   -.89280    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.46557e-12
Minuit parameter uncertainties:
  1  7.53672
  2  0.377337
  3  0.252617
  4  0.134803
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/993989': 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) = 7745.67670592
delta logL = 0.000541224003427

Extracting fit parameters...

4FGL J1349.5-1131
   Spectrum: PowerLaw
259    Prefactor:  1.717e+01  7.537e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.506e+00  3.773e-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.106e+00  1.348e-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:  7.566e-01  2.526e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.95
Ra Dec: 207.387 -11.519
Photon Index (Free Index): 2.51 +/- 0.38
Photon Flux (Free Index): 1.70e-07 +/- 7.57e-08
Energy Flux (Free Index): 4.89e-05 +/- 1.94e-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/993989/cmap_HighResolution_360892801_361152001_4FGL_J1349.5-1131_daily_bin469.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.68e-07', energy_flux2='4.89e-05', photon_flux_error='6.38e-08', dlogl='5.41e-04', energy_flux='4.92e-05', photon_flux2='1.70e-07', job_status='DONE', time_completed='2021-09-08 14:24:31.947106', photon_index_error2='0.38', photon_index2='2.51', ts='15.89', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='1.94e-05', EG='0.76', time_epoch_completed='1631136271.95', return_code='0', job_id='993989', GAL2='1.11', EG2='0.76', return_code2='0', energy_flux_error='1.87e-05', photon_flux_error2='7.57e-08', ts2='15.95', photon_index='2.49' WHERE bin_id='469' AND source_name='4FGL J1349.5-1131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 14:24:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0296>
Subject: Job 993989: <4FGL_J1349.5-1131_daily_bin469> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1349.5-1131_daily_bin469 207.387 -11.5188 360892801 361152001 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 :                                   596.60 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             235.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            843 sec.

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

