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


Performing analysis on: 4FGL_J1349.5-1131_daily_bin1478
RA = 207.387, Dec = -11.5188
tmin = 622425601, tmax = 622684801
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='405', job_status='RUN', time_executed='2021-09-08 14:36:08.171190', time_epoch_executed='1631136968.17' WHERE source_name='4FGL J1349.5-1131' and cadence='daily' and bin_id='1478'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/405

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/405/ft1_4FGL_J1349.5-1131_daily_bin1478.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/405/ft2_4FGL_J1349.5-1131_daily_bin1478.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/405/ft1_4FGL_J1349.5-1131_daily_bin1478.fits outfile=/scratch/kocevski/405/ft1_filteredMKT_4FGL_J1349.5-1131_daily_bin1478.fits ra=207.387 dec=-11.5188 rad=12.0 tmin=622425601.0 tmax=622684801.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.36
user 4.10
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/405/ft2_4FGL_J1349.5-1131_daily_bin1478.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/405/ft1_filteredMKT_4FGL_J1349.5-1131_daily_bin1478.fits evtable="EVENTS" outfile="/scratch/kocevski/405/ft1_filtered_4FGL_J1349.5-1131_daily_bin1478.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/405/ft1_filtered_4FGL_J1349.5-1131_daily_bin1478.fits" evtable="EVENTS" scfile=/scratch/kocevski/405/ft2_4FGL_J1349.5-1131_daily_bin1478.fits sctable="SC_DATA" outfile=/scratch/kocevski/405/ltcube_622425601_622684801_4FGL_J1349.5-1131_daily_bin1478.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/405/ft2_4FGL_J1349.5-1131_daily_bin1478.fits
.....................!
real 14.97
user 14.56
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/405/ft1_filtered_4FGL_J1349.5-1131_daily_bin1478.fits evtable="EVENTS" scfile=/scratch/kocevski/405/ft2_4FGL_J1349.5-1131_daily_bin1478.fits sctable="SC_DATA" expcube=/scratch/kocevski/405/ltcube_622425601_622684801_4FGL_J1349.5-1131_daily_bin1478.fits outfile=/scratch/kocevski/405/expmap_622425601_622684801_4FGL_J1349.5-1131_daily_bin1478.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/405/ltcube_622425601_622684801_4FGL_J1349.5-1131_daily_bin1478.fits
.....................!
real 194.60
user 188.80
sys 5.16

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/405/ft1_filtered_4FGL_J1349.5-1131_daily_bin1478.fits scfile=/scratch/kocevski/405/ft2_4FGL_J1349.5-1131_daily_bin1478.fits outfile=/scratch/kocevski/405/cmap_622425601_622684801_4FGL_J1349.5-1131_daily_bin1478.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/405/ft1_filtered_4FGL_J1349.5-1131_daily_bin1478.fits scfile=/scratch/kocevski/405/ft2_4FGL_J1349.5-1131_daily_bin1478.fits outfile=/scratch/kocevski/405/cmap_HighResolution_622425601_622684801_4FGL_J1349.5-1131_daily_bin1478.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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/405/ft1_filtered_4FGL_J1349.5-1131_daily_bin1478.fits evtable="EVENTS" scfile=/scratch/kocevski/405/ft2_4FGL_J1349.5-1131_daily_bin1478.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/405/Model_4FGL_J1349.5-1131_daily_bin1478.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/405/ft1_filtered_4FGL_J1349.5-1131_daily_bin1478.fits.....................!
real 73.77
user 72.29
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.678       1.0000         .10000E-03   10000.    
     2 'norm      '    6.5590       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.2681       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.5308       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .22650E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .58126       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    11.063       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.5414       1.0000         .10000E-03   10000.    
    10 'norm      '    .18092E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.9892       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .42806       1.0000         .10000E-03   10000.    
    14 'Prefactor '    29.162       1.0000         .10000E-03   10000.    
    15 'norm      '    .10667E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    32.711       1.0000         .10000E-03   10000.    
    17 'norm      '    17.767       1.0000         .10000E-03   10000.    
    18 'norm      '    .94287       1.0000         .10000E-03   10000.    
    19 'Prefactor '    14.640       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12336E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .96011       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99453       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=   9910.268     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     2418 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.661        10.589        .69804E-06    .46849E-03
   2  norm          6.5548        6.6664        .19737E-06    .24971E-03
   3  Prefactor     3.2755        4.6754        .63281E-07   -.12920E-03
   4  Prefactor     6.5234        5.9660        .98423E-06    .88427E-03
   5  Prefactor     .10000E-03    14.595        .19226E-05** at limit **
   6  norm          .58125        .88885        .27447E-07   -.38982E-04
   7  norm          .10000E-03    1.0975        .10990E-08** at limit **
   8  norm          11.088        5.4369       -.78127E-08   -.16824E-03
   9  Prefactor     3.5050        8.0764        .16576E-06   -.13579E-03
  10  norm          .10000E-03    9.7378       -.30576E-06** at limit **
  11  Prefactor     .10000E-03    2.5103       -.72491E-07** at limit **
  12  norm          1.9810        2.5620        .14978E-06   -.69855E-04
  13  Prefactor     .42498        1.7971        .34933E-06    .22645E-04
  14  Prefactor     28.863        38.197       -.30530E-06   -.44769E-04
  15  norm          .10005E-03    4.0809       -.17343E-05** at limit **
  16  norm          32.722        4.3570       -.39335E-07    .25720E-03
  17  norm          17.705        11.846       -.46223E-06   -.36234E-03
  18  norm          .95373        3.5626        .22163E-05   -.28223E-03
  19  Prefactor     14.602        16.139        .51892E-06    .21139E-03
  20  Prefactor     .10000E-03    11.614        .14623E-05** at limit **
  21  Normalizat    .95989        .18979       -.88187E-06    .62132E-04
  22  Prefactor     .99478        .98365E-01    .45723E-07    .63036E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.6615
  norm       = 6.55479
  Prefactor  = 3.27552
  Prefactor  = 6.52345
  Prefactor  = 0.000100003
  norm       = 0.581246
  norm       = 0.0001
  norm       = 11.0885
  Prefactor  = 3.50502
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.981
  Prefactor  = 0.424978
  Prefactor  = 28.8634
  norm       = 0.000100054
  norm       = 32.7224
  norm       = 17.7049
  norm       = 0.953731
  Prefactor  = 14.6021
  Prefactor  = 0.000100002
  Normalizat = 0.959895
  Prefactor  = 0.994784
 **********
 **   18 **HESSE 
 **********

 FCN=   9910.268     FROM HESSE     STATUS=OK           350 CALLS     2768 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.661        10.738        .10830E-03   -1.4969    
   2  norm          6.5548        6.6847        .15670E-03   -1.5196    
   3  Prefactor     3.2755        4.6787        .22401E-03   -1.5346    
   4  Prefactor     6.5234        6.1728        .15704E-03   -1.5197    
   5  Prefactor     .10000E-03    15.386        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .58125        .88920        .46393E-04   -1.5555    
   7  norm          .10000E-03    1.1120        .10161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          11.088        5.4159        .12045E-03   -1.5042    
   9  Prefactor     3.5050        8.0983        .21479E-03   -1.5334    
  10  norm          .10000E-03    9.7558        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.5208        .15389E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.9810        2.5465        .17471E-03   -1.5426    
  13  Prefactor     .42498        7.4202        .24052E-02   -1.5578    
  14  Prefactor     28.863        38.165        .74191E-04   -1.4633    
  15  norm          .10005E-03    13.740        .32504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          32.722        4.3655        .70061E-04   -1.4563    
  17  norm          17.705        11.950        .95020E-04   -1.4866    
  18  norm          .95373        4.1118        .39114E-03   -1.5513    
  19  Prefactor     14.602        16.282        .10468E-03   -1.4944    
  20  Prefactor     .10000E-03    12.031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .95989        .21725        .35390E-03   -.94386    
  22  Prefactor     .99478        .11420        .18858E-03   -.92904    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.27168e-09
Minuit parameter uncertainties:
  1  10.7399
  2  6.68551
  3  4.67919
  4  6.1734
  5  0.000433909
  6  0.889217
  7  1.22776e-06
  8  5.41617
  9  8.10085
  10  5.74955e-05
  11  3.21682e-06
  12  2.54665
  13  3.55167
  14  38.1971
  15  0.00173038
  16  4.36555
  17  11.9512
  18  3.96081
  19  16.2874
  20  0.000302673
  21  0.217451
  22  0.114229
Done.

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

Extracting fit parameters...

4FGL J1349.5-1131
   Spectrum: PowerLaw
259    Prefactor:  4.250e-01  3.552e+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:  9.948e-01  1.142e-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:  9.599e-01  2.175e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 207.387 -11.519
Photon Flux Upper Limit: 8.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/405/likelihoodResults_622425601_622684801_4FGL_J1349.5-1131_daily_bin1478.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) = 9910.24462168
delta logL = 0.023742607882

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9910.22410601
delta logL = 0.0442582812375

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1917       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9248       1.0000          .0000       10.000    
     3 'Normalizat'    .96298       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99201       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=   9910.224     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      312 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1932        3.9330        .34688E-03   -.27661E-04
   2  Index         1.9255        1.2679        .14321E-01   -.10026E-03
   3  Normalizat    .96272        .20710        .35343E-03   -.10293E-04
   4  Prefactor     .99211        .11314        .18880E-03   -.28783E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.19321
  Index      = 1.92555
  Normalizat = 0.962718
  Prefactor  = 0.992114
 **********
 **   18 **HESSE 
 **********

 FCN=   9910.224     FROM HESSE     STATUS=OK            25 CALLS      337 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1932        3.9460        .13875E-04   -1.5489    
   2  Index         1.9255        1.2729        .28642E-02   -.66225    
   3  Normalizat    .96272        .20725        .14137E-04   -.94290    
   4  Prefactor     .99211        .11322        .75520E-05   -.92993    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82315e-12
Minuit parameter uncertainties:
  1  3.94688
  2  1.29613
  3  0.207425
  4  0.113242
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/405': 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) = 9910.22410495
delta logL = 0.0442593383905

Extracting fit parameters...

4FGL J1349.5-1131
   Spectrum: PowerLaw
259    Prefactor:  1.193e+00  3.947e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.926e+00  1.296e+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:  9.921e-01  1.132e-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:  9.627e-01  2.074e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/405/cmap_HighResolution_622425601_622684801_4FGL_J1349.5-1131_daily_bin1478.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.92e-03', job_status='DONE', photon_flux_upper_limit='8.90e-08', time_completed='2021-09-08 14:50:01.063864', job_id='405', GAL2='0.99', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1631137801.06', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='4.43e-02', ts2='0.11', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1478' AND source_name='4FGL J1349.5-1131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 14:50:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0140>
Subject: Job 405: <4FGL_J1349.5-1131_daily_bin1478> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1349.5-1131_daily_bin1478 207.387 -11.5188 622425601 622684801 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 :                                   801.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   876 sec.
    Turnaround time :                            881 sec.

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

