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


Performing analysis on: 4FGL_J1349.5-1131_daily_bin1454
RA = 207.387, Dec = -11.5188
tmin = 616204801, tmax = 616464001
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='371', job_status='RUN', time_executed='2021-09-08 14:39:00.354394', time_epoch_executed='1631137140.35' WHERE source_name='4FGL J1349.5-1131' and cadence='daily' and bin_id='1454'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/371

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/371/ft1_4FGL_J1349.5-1131_daily_bin1454.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/371/ft2_4FGL_J1349.5-1131_daily_bin1454.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/371/ft1_4FGL_J1349.5-1131_daily_bin1454.fits outfile=/scratch/kocevski/371/ft1_filteredMKT_4FGL_J1349.5-1131_daily_bin1454.fits ra=207.387 dec=-11.5188 rad=12.0 tmin=616204801.0 tmax=616464001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.02
user 3.80
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/371/ft1_filtered_4FGL_J1349.5-1131_daily_bin1454.fits" evtable="EVENTS" scfile=/scratch/kocevski/371/ft2_4FGL_J1349.5-1131_daily_bin1454.fits sctable="SC_DATA" outfile=/scratch/kocevski/371/ltcube_616204801_616464001_4FGL_J1349.5-1131_daily_bin1454.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/371/ft2_4FGL_J1349.5-1131_daily_bin1454.fits
.....................!
real 15.33
user 14.93
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/371/ft1_filtered_4FGL_J1349.5-1131_daily_bin1454.fits evtable="EVENTS" scfile=/scratch/kocevski/371/ft2_4FGL_J1349.5-1131_daily_bin1454.fits sctable="SC_DATA" expcube=/scratch/kocevski/371/ltcube_616204801_616464001_4FGL_J1349.5-1131_daily_bin1454.fits outfile=/scratch/kocevski/371/expmap_616204801_616464001_4FGL_J1349.5-1131_daily_bin1454.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/371/ltcube_616204801_616464001_4FGL_J1349.5-1131_daily_bin1454.fits
.....................!
real 191.10
user 186.50
sys 4.09

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/371/ft1_filtered_4FGL_J1349.5-1131_daily_bin1454.fits scfile=/scratch/kocevski/371/ft2_4FGL_J1349.5-1131_daily_bin1454.fits outfile=/scratch/kocevski/371/cmap_616204801_616464001_4FGL_J1349.5-1131_daily_bin1454.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=207.387 yref=-11.5188 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/371/ft1_filtered_4FGL_J1349.5-1131_daily_bin1454.fits scfile=/scratch/kocevski/371/ft2_4FGL_J1349.5-1131_daily_bin1454.fits outfile=/scratch/kocevski/371/cmap_HighResolution_616204801_616464001_4FGL_J1349.5-1131_daily_bin1454.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.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/371/ft1_filtered_4FGL_J1349.5-1131_daily_bin1454.fits evtable="EVENTS" scfile=/scratch/kocevski/371/ft2_4FGL_J1349.5-1131_daily_bin1454.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/371/Model_4FGL_J1349.5-1131_daily_bin1454.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/371/ft1_filtered_4FGL_J1349.5-1131_daily_bin1454.fits.....................!
real 60.68
user 59.29
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.623       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .83094       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.2708       1.0000         .10000E-03   10000.    
     6 'norm      '    .10041E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.4743       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .19674E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10082E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.329       1.0000         .10000E-03   10000.    
    12 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.1498       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .76086E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    46.699       1.0000         .10000E-03   10000.    
    17 'norm      '    .18531E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2245       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0698       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=   7579.306     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     2385 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.621        15.441        .27954E-07   -.45409E-04
   2  norm          .10000E-03    3.9391       -.41907E-07** at limit **
   3  Prefactor     .10000E-03    6.7286       -.16195E-06** at limit **
   4  Prefactor     .82365        6.8067       -.56176E-06   -.23674E-03
   5  Prefactor     4.2810        21.497        .72873E-05    .27084E-03
   6  norm          .10000E-03    .48737        .11444E-08** at limit **
   7  norm          .10000E-03    3.5280       -.71881E-06** at limit **
   8  norm          6.4749        8.6491        .63726E-06    .53470E-04
   9  Prefactor     .10000E-03    24.674        .86768E-06** at limit **
  10  norm          .10000E-03    65.010        .40803E-05** at limit **
  11  Prefactor     10.327        14.902        .15683E-05    .19547E-03
  12  norm          .10000E-03    1.9044        .61182E-07** at limit **
  13  Prefactor     5.1542        6.3264       -.10206E-05   -.65739E-03
  14  Prefactor     .10000E-03    62.643       -.39468E-06** at limit **
  15  norm          .10006E-03    13.077        .69472E-05** at limit **
  16  norm          46.699        5.9600        .53060E-07   -.42963E-03
  17  norm          .10001E-03    11.762       -.53229E-05** at limit **
  18  norm          .10000E-03    9.2662        .71896E-07** at limit **
  19  Prefactor     .10000E-03    5.9141       -.25308E-07** at limit **
  20  Prefactor     .10000E-03    44.116       -.48159E-05** at limit **
  21  Normalizat    1.2246        .26045       -.16435E-05   -.21725E-03
  22  Prefactor     1.0698        .13036        .14438E-06   -.32607E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 29.6209
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.823655
  Prefactor  = 4.28103
  norm       = 0.0001
  norm       = 0.000100001
  norm       = 6.47494
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.3272
  norm       = 0.0001
  Prefactor  = 5.15422
  Prefactor  = 0.0001
  norm       = 0.000100057
  norm       = 46.6988
  norm       = 0.000100014
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.2246
  Prefactor  = 1.06976
 **********
 **   18 **HESSE 
 **********

 FCN=   7579.306     FROM HESSE     STATUS=OK           342 CALLS     2727 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.621        15.456        .73612E-04   -1.4619    
   2  norm          .10000E-03    3.9412        .16875E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.8627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .82365        17.348        .41754E-02   -1.5526    
   5  Prefactor     4.2810        27.716        .97479E-03   -1.5294    
   6  norm          .10000E-03    .70920        .11715E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.6563        .32085E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.4749        8.6835        .15773E-03   -1.5199    
   9  Prefactor     .10000E-03    24.857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    65.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.327        15.077        .62336E-03   -1.5065    
  12  norm          .10000E-03    1.9095        .11730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.1542        6.2617        .17716E-03   -1.5254    
  14  Prefactor     .10000E-03    62.784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10006E-03    28.750        .36429E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          46.699        5.9605        .58674E-04   -1.4340    
  17  norm          .10001E-03    33.292        .42987E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    9.4400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.9177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    44.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2246        .29554        .37143E-03   -.85846    
  22  Prefactor     1.0698        .14969        .21057E-03   -.90439    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.97474e-09
Minuit parameter uncertainties:
  1  15.4584
  2  1.73853e-06
  3  1.4459e-05
  4  7.56215
  5  21.8002
  6  2.94646e-06
  7  0.000119332
  8  8.68522
  9  0.000115208
  10  1.07261e-05
  11  15.083
  12  2.48128e-06
  13  6.26253
  14  3.18668e-05
  15  0.00255345
  16  5.96056
  17  0.00135013
  18  8.82804e-07
  19  5.57549e-07
  20  6.33454e-05
  21  0.295944
  22  0.149748
Done.

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

Extracting fit parameters...

4FGL J1349.5-1131
   Spectrum: PowerLaw
259    Prefactor:  5.154e+00  6.263e+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.070e+00  1.497e-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.225e+00  2.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/371/likelihoodResults_616204801_616464001_4FGL_J1349.5-1131_daily_bin1454.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) = 7579.24330907
delta logL = 0.062933050157

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7579.24076764
delta logL = 0.0654744735675

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3950       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1453       1.0000          .0000       10.000    
     3 'Normalizat'    1.2427       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0643       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7579.241     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      247 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3950        6.7179        .17301E-03   -.22578E-03
   2  Index         2.1454        .91132        .13323E-01   -.57540E-04
   3  Normalizat    1.2426        .27968        .36914E-03    .19926E-04
   4  Prefactor     1.0643        .14867        .21103E-03    .37819E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.39505
  Index      = 2.14543
  Normalizat = 1.24264
  Prefactor  = 1.06434
 **********
 **   18 **HESSE 
 **********

 FCN=   7579.241     FROM HESSE     STATUS=OK            25 CALLS      272 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3950        6.8153        .69205E-05   -1.5243    
   2  Index         2.1454        .92409        .53292E-03   -.60762    
   3  Normalizat    1.2426        .27991        .14766E-04   -.85295    
   4  Prefactor     1.0643        .14876        .84411E-05   -.90614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.38791e-10
Minuit parameter uncertainties:
  1  6.81629
  2  0.932077
  3  0.280249
  4  0.148816
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/371': 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) = 7579.24076763
delta logL = 0.0654744864169

Extracting fit parameters...

4FGL J1349.5-1131
   Spectrum: PowerLaw
259    Prefactor:  5.395e+00  6.816e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.145e+00  9.321e-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.064e+00  1.488e-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.243e+00  2.802e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.06
Ra Dec: 207.387 -11.519
Photon Index (Free Index): 2.15 +/- 0.93
Photon Flux (Free Index): 3.41e-08 +/- 6.29e-08
Energy Flux (Free Index): 1.70e-05 +/- 2.24e-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/371/cmap_HighResolution_616204801_616464001_4FGL_J1349.5-1131_daily_bin1454.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.40e-02', comment='SUCCESS', energy_flux2='1.70e-05', dlogl='6.55e-02', photon_flux2='3.41e-08', job_status='DONE', time_completed='2021-09-08 14:50:34.793185', photon_index_error2='0.93', photon_index2='2.15', ts='0.93', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.80e-07', energy_flux_error2='2.24e-05', EG='1.22', time_epoch_completed='1631137834.79', return_code='0', job_id='371', GAL2='1.06', EG2='1.24', return_code2='0', photon_flux_error2='6.29e-08', ts2='1.06', photon_index='2.49' WHERE bin_id='1454' AND source_name='4FGL J1349.5-1131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 14:50:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 371: <4FGL_J1349.5-1131_daily_bin1454> in cluster <slac> Done

Job <4FGL_J1349.5-1131_daily_bin1454> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Sep  8 14:35:18 2021
Job was executed on host(s) <bullet0295>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 14:35:22 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:35:22 2021
Terminated at Wed Sep  8 14:50:35 2021
Results reported at Wed Sep  8 14:50:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1349.5-1131_daily_bin1454 207.387 -11.5188 616204801 616464001 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 :                                   675.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   913 sec.
    Turnaround time :                            917 sec.

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

