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


Performing analysis on: 4FGL_J1349.5-1131_daily_bin1433
RA = 207.387, Dec = -11.5188
tmin = 610761601, tmax = 611020801
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='341', job_status='RUN', time_executed='2021-09-08 14:36:39.039315', time_epoch_executed='1631136999.04' WHERE source_name='4FGL J1349.5-1131' and cadence='daily' and bin_id='1433'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/341

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/341/ft1_4FGL_J1349.5-1131_daily_bin1433.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/341/ft2_4FGL_J1349.5-1131_daily_bin1433.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/341/ft1_4FGL_J1349.5-1131_daily_bin1433.fits outfile=/scratch/kocevski/341/ft1_filteredMKT_4FGL_J1349.5-1131_daily_bin1433.fits ra=207.387 dec=-11.5188 rad=12.0 tmin=610761601.0 tmax=611020801.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.76
user 3.35
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/341/ft1_filtered_4FGL_J1349.5-1131_daily_bin1433.fits" evtable="EVENTS" scfile=/scratch/kocevski/341/ft2_4FGL_J1349.5-1131_daily_bin1433.fits sctable="SC_DATA" outfile=/scratch/kocevski/341/ltcube_610761601_611020801_4FGL_J1349.5-1131_daily_bin1433.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/341/ft2_4FGL_J1349.5-1131_daily_bin1433.fits
.....................!
real 15.77
user 15.22
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/341/ft1_filtered_4FGL_J1349.5-1131_daily_bin1433.fits evtable="EVENTS" scfile=/scratch/kocevski/341/ft2_4FGL_J1349.5-1131_daily_bin1433.fits sctable="SC_DATA" expcube=/scratch/kocevski/341/ltcube_610761601_611020801_4FGL_J1349.5-1131_daily_bin1433.fits outfile=/scratch/kocevski/341/expmap_610761601_611020801_4FGL_J1349.5-1131_daily_bin1433.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/341/ltcube_610761601_611020801_4FGL_J1349.5-1131_daily_bin1433.fits
.....................!
real 194.26
user 186.33
sys 5.18

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

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

This is gtbin version HEAD
real 0.56
user 0.37
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/341/ft1_filtered_4FGL_J1349.5-1131_daily_bin1433.fits scfile=/scratch/kocevski/341/ft2_4FGL_J1349.5-1131_daily_bin1433.fits outfile=/scratch/kocevski/341/cmap_HighResolution_610761601_611020801_4FGL_J1349.5-1131_daily_bin1433.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.53
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/341/ft1_filtered_4FGL_J1349.5-1131_daily_bin1433.fits evtable="EVENTS" scfile=/scratch/kocevski/341/ft2_4FGL_J1349.5-1131_daily_bin1433.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/341/Model_4FGL_J1349.5-1131_daily_bin1433.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/341/ft1_filtered_4FGL_J1349.5-1131_daily_bin1433.fits.....................!
real 53.05
user 50.44
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.5559       1.0000         .10000E-03   10000.    
     2 'norm      '    .10133E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2144       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.1111       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.0124       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.5194       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    57.021       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .23456E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .14857E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.1237       1.0000         .10000E-03   10000.    
    16 'norm      '    20.665       1.0000         .10000E-03   10000.    
    17 'norm      '    17.454       1.0000         .10000E-03   10000.    
    18 'norm      '    .13465E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .75683       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1961       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=   6370.888     FROM MIGRAD    STATUS=CONVERGED    465 CALLS     2351 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.5603        12.248        .13970E-05    .28573E-05
   2  norm          .10000E-03    3.4088       -.39022E-07** at limit **
   3  Prefactor     1.2162        4.9314        .31711E-06   -.84405E-03
   4  Prefactor     1.1128        9.1666       -.12722E-06   -.63160E-03
   5  Prefactor     .10000E-03    3.6531       -.64434E-08** at limit **
   6  norm          2.0125        1.7521       -.17764E-06   -.78523E-04
   7  norm          .10000E-03    .85610       -.27996E-08** at limit **
   8  norm          6.5206        6.6036       -.55366E-07   -.12405E-03
   9  Prefactor     .10000E-03    17.394        .15645E-05** at limit **
  10  norm          57.031        42.591        .10561E-04    .61088E-05
  11  Prefactor     .10000E-03    9.3265       -.12664E-05** at limit **
  12  norm          .10000E-03    3.2689       -.50774E-06** at limit **
  13  Prefactor     .10000E-03    6.3924        .36616E-06** at limit **
  14  Prefactor     .10000E-03    17.883       -.47885E-06** at limit **
  15  norm          5.1236        6.8395       -.10759E-06   -.17281E-04
  16  norm          20.662        4.7941       -.25556E-06   -.17118E-03
  17  norm          17.442        20.594       -.14245E-04   -.10441E-04
  18  norm          .10000E-03    4.5779        .66063E-06** at limit **
  19  Prefactor     .10000E-03    6.4701       -.68702E-06** at limit **
  20  Prefactor     .10000E-03    8.1750        .19609E-05** at limit **
  21  Normalizat    .75673        .26256        .29042E-06    .15370E-04
  22  Prefactor     1.1960        .13709        .45589E-06   -.18153E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.56027
  norm       = 0.0001
  Prefactor  = 1.21623
  Prefactor  = 1.11283
  Prefactor  = 0.0001
  norm       = 2.01253
  norm       = 0.0001
  norm       = 6.52061
  Prefactor  = 0.0001
  norm       = 57.031
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.12363
  norm       = 20.6617
  norm       = 17.4422
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.75673
  Prefactor  = 1.19601
 **********
 **   18 **HESSE 
 **********

 FCN=   6370.888     FROM HESSE     STATUS=OK           344 CALLS     2695 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.5603        12.241        .14590E-03   -1.5158    
   2  norm          .10000E-03    3.4100        .14392E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2162        8.1356        .20503E-02   -1.5487    
   4  Prefactor     1.1128        16.960        .22395E-02   -1.5497    
   5  Prefactor     .10000E-03    3.6560        .14898E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.0125        1.7434        .91950E-04   -1.5424    
   7  norm          .10000E-03    .85770        .72100E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.5206        6.6007        .78589E-03   -1.5197    
   9  Prefactor     .10000E-03    17.622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          57.031        42.597        .53125E-04   -1.4196    
  11  Prefactor     .10000E-03    9.4160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    9.6306        .27905E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.5498        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    17.892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.1236        6.8219        .17762E-03   -1.5255    
  16  norm          20.662        4.7775        .79491E-04   -1.4799    
  17  norm          17.442        20.611        .95868E-04   -1.4872    
  18  norm          .10000E-03    14.719        .32969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.4742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.1773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75673        .29308        .41717E-03   -1.0169    
  22  Prefactor     1.1960        .15264        .18359E-03   -.86454    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.5586e-09
Minuit parameter uncertainties:
  1  12.2452
  2  1.16438e-06
  3  6.29214
  4  8.69143
  5  7.62449e-07
  6  1.74344
  7  3.55096e-07
  8  6.60144
  9  1.83477e-05
  10  42.6194
  11  7.20266e-06
  12  0.000219841
  13  6.6603e-06
  14  2.64613e-06
  15  6.82298
  16  4.77755
  17  20.6193
  18  0.000366478
  19  8.19921e-07
  20  1.03548e-06
  21  0.29369
  22  0.152696
Done.

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

Extracting fit parameters...

4FGL J1349.5-1131
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  6.660e-06  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.196e+00  1.527e-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.567e-01  2.937e-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.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/341/likelihoodResults_610761601_611020801_4FGL_J1349.5-1131_daily_bin1433.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) = 6370.88845348
delta logL = -0.000728480389625

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6370.88772378
delta logL = 1.2185128071e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10430E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4237       1.0000          .0000       10.000    
     3 'Normalizat'    .75676       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1960       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=   6370.792     FROM MIGRAD    STATUS=CONVERGED    167 CALLS      330 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8602        5.4728        .36285E-02    .37676E-03
   2  Index         1.5019        .61554        .33266       -.57359E-04
   3  Normalizat    .76180        .27538        .41717E-03   -.24854E-04
   4  Prefactor     1.1894        .15108        .18359E-03    .78198E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.86022
  Index      = 1.50186
  Normalizat = 0.761804
  Prefactor  = 1.18935
 **********
 **   18 **HESSE 
 **********

 FCN=   6370.792     FROM HESSE     STATUS=OK            29 CALLS      359 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8602        4.9804        .14514E-03   -1.5435    
   2  Index         1.5019        .87289        .11534E-01   -.77488    
   3  Normalizat    .76180        .27500        .16687E-04   -1.0150    
   4  Prefactor     1.1894        .15061        .36718E-04   -.86660    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.18019e-11
Minuit parameter uncertainties:
  1  4.9815
  2  0.88182
  3  0.275497
  4  0.150669
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/341': 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) = 6370.7919325
delta logL = 0.095792503007

Extracting fit parameters...

4FGL J1349.5-1131
   Spectrum: PowerLaw
259    Prefactor:  1.860e+00  4.982e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.502e+00  8.818e-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.189e+00  1.507e-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.618e-01  2.755e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/341/cmap_HighResolution_610761601_611020801_4FGL_J1349.5-1131_daily_bin1433.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.73e-03', job_status='DONE', photon_flux_upper_limit='1.25e-07', time_completed='2021-09-08 14:47:29.774726', job_id='341', GAL2='1.19', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1631137649.77', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='9.58e-02', ts2='0.19', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1433' AND source_name='4FGL J1349.5-1131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 14:47:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 341: <4FGL_J1349.5-1131_daily_bin1433> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1349.5-1131_daily_bin1433 207.387 -11.5188 610761601 611020801 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 :                                   607.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            734 sec.

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

