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


Performing analysis on: 4FGL_J1251.3-0201_daily_bin1141
RA = 192.836, Dec = -2.0271
tmin = 535075201, tmax = 535334401
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='950561', job_status='RUN', time_executed='2021-09-06 07:14:32.021405', time_epoch_executed='1630937672.02' WHERE source_name='4FGL J1251.3-0201' and cadence='daily' and bin_id='1141'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/950561

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/950561/ft1_4FGL_J1251.3-0201_daily_bin1141.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/950561/ft2_4FGL_J1251.3-0201_daily_bin1141.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/950561/ft1_4FGL_J1251.3-0201_daily_bin1141.fits outfile=/scratch/kocevski/950561/ft1_filteredMKT_4FGL_J1251.3-0201_daily_bin1141.fits ra=192.836 dec=-2.0271 rad=12.0 tmin=535075201.0 tmax=535334401.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.93
user 3.69
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/950561/ft2_4FGL_J1251.3-0201_daily_bin1141.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/950561/ft2_4FGL_J1251.3-0201_daily_bin1141.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/950561/ft1_filteredMKT_4FGL_J1251.3-0201_daily_bin1141.fits evtable="EVENTS" outfile="/scratch/kocevski/950561/ft1_filtered_4FGL_J1251.3-0201_daily_bin1141.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.61
user 0.28
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/950561/ft1_filtered_4FGL_J1251.3-0201_daily_bin1141.fits" evtable="EVENTS" scfile=/scratch/kocevski/950561/ft2_4FGL_J1251.3-0201_daily_bin1141.fits sctable="SC_DATA" outfile=/scratch/kocevski/950561/ltcube_535075201_535334401_4FGL_J1251.3-0201_daily_bin1141.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/950561/ft2_4FGL_J1251.3-0201_daily_bin1141.fits
.....................!
real 9.25
user 8.88
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/950561/ft1_filtered_4FGL_J1251.3-0201_daily_bin1141.fits evtable="EVENTS" scfile=/scratch/kocevski/950561/ft2_4FGL_J1251.3-0201_daily_bin1141.fits sctable="SC_DATA" expcube=/scratch/kocevski/950561/ltcube_535075201_535334401_4FGL_J1251.3-0201_daily_bin1141.fits outfile=/scratch/kocevski/950561/expmap_535075201_535334401_4FGL_J1251.3-0201_daily_bin1141.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/950561/ltcube_535075201_535334401_4FGL_J1251.3-0201_daily_bin1141.fits
.....................!
real 147.81
user 144.24
sys 3.15

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 179 point sources and 0 extended sources

Setting source of interest to:
4FGL J1251.3-0201 @ 192.836 -2.0271

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/950561/ft1_filtered_4FGL_J1251.3-0201_daily_bin1141.fits scfile=/scratch/kocevski/950561/ft2_4FGL_J1251.3-0201_daily_bin1141.fits outfile=/scratch/kocevski/950561/cmap_535075201_535334401_4FGL_J1251.3-0201_daily_bin1141.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=192.836 yref=-2.0271 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.45
user 0.30
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/950561/ft1_filtered_4FGL_J1251.3-0201_daily_bin1141.fits scfile=/scratch/kocevski/950561/ft2_4FGL_J1251.3-0201_daily_bin1141.fits outfile=/scratch/kocevski/950561/cmap_HighResolution_535075201_535334401_4FGL_J1251.3-0201_daily_bin1141.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=192.836 yref=-2.0271 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.49
user 0.31
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/950561/ft1_filtered_4FGL_J1251.3-0201_daily_bin1141.fits evtable="EVENTS" scfile=/scratch/kocevski/950561/ft2_4FGL_J1251.3-0201_daily_bin1141.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/950561/Model_4FGL_J1251.3-0201_daily_bin1141.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/950561/ft1_filtered_4FGL_J1251.3-0201_daily_bin1141.fits.....................!
real 44.42
user 43.22
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/950561/ft1_filtered_4FGL_J1251.3-0201_daily_bin1141.fits', '/scratch/kocevski/950561/ft2_4FGL_J1251.3-0201_daily_bin1141.fits', expMap='/scratch/kocevski/950561/expmap_535075201_535334401_4FGL_J1251.3-0201_daily_bin1141.fits', expCube='/scratch/kocevski/950561/ltcube_535075201_535334401_4FGL_J1251.3-0201_daily_bin1141.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/950561/Model_4FGL_J1251.3-0201_daily_bin1141.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1251.3-0201'

4FGL J1251.3-0201
   Spectrum: LogParabola
290         norm:  5.916e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  1.951e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  1.558e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  1.195e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/950561/ft1_filtered_4FGL_J1251.3-0201_daily_bin1141.fits
Spacecraft file(s): /scratch/kocevski/950561/ft2_4FGL_J1251.3-0201_daily_bin1141.fits
Exposure map: /scratch/kocevski/950561/expmap_535075201_535334401_4FGL_J1251.3-0201_daily_bin1141.fits
Exposure cube: /scratch/kocevski/950561/ltcube_535075201_535334401_4FGL_J1251.3-0201_daily_bin1141.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/950561/Model_4FGL_J1251.3-0201_daily_bin1141.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) = 7125.88468101

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.386       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .21662E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    134.39       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .29433       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.417       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.6864       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    25.706       1.0000         .10000E-03   10000.    
    14 'Prefactor '    82.504       1.0000         .10000E-03   10000.    
    15 'norm      '    16.874       1.0000         .10000E-03   10000.    
    16 'norm      '    2.3057       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .73287E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.8333       1.0000         .10000E-03   10000.    
    22 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.6508       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .67203       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7125.795     FROM MIGRAD    STATUS=CONVERGED    561 CALLS     2790 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.390        21.372        .19626E-06   -.26449E-04
   2  Prefactor     .10000E-03    12.399       -.31075E-07** at limit **
   3  Prefactor     .10000E-03    5.1020       -.23966E-06** at limit **
   4  norm          .10000E-03    .66128       -.90873E-07** at limit **
   5  norm          .10000E-03    4.8652        .54647E-05** at limit **
   6  norm          134.57        62.214        .28845E-05    .95780E-05
   7  Prefactor     .10000E-03    71.014        .40042E-06** at limit **
   8  norm          .29338        .64898        .46377E-06    .49399E-03
   9  Prefactor     10.420        8.4188       -.28606E-06   -.13202E-03
  10  Prefactor     .10000E-03    9.7079       -.34789E-06** at limit **
  11  norm          3.6874        1.9425        .55466E-07   -.45818E-03
  12  Prefactor     .10000E-03    2.9123       -.11147E-06** at limit **
  13  Prefactor     25.712        29.150       -.81401E-07   -.38330E-04
  14  Prefactor     82.499        55.612       -.26786E-06    .32366E-04
  15  norm          16.872        19.641       -.13689E-06    .24805E-04
  16  norm          2.3054        .38255        .24890E-07    .44267E-02
  17  Prefactor     .10001E-03    185.91       -.11497E-04** at limit **
  18  norm          .10000E-03    3.3721       -.61504E-07** at limit **
  19  norm          .10000E-03    4.3420       -.75960E-07** at limit **
  20  Prefactor     .10000E-03    6.7375       -.14329E-06** at limit **
  21  Prefactor     6.8318        9.2836        .32336E-06    .98365E-04
  22  norm          .10000E-03    .54099       -.36070E-06** at limit **
  23  Normalizat    1.6509        .22930        .35233E-06    .24652E-03
  24  Prefactor     .67193        .15335        .11737E-05    .36120E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.3904
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 134.566
  Prefactor  = 0.0001
  norm       = 0.293383
  Prefactor  = 10.4204
  Prefactor  = 0.0001
  norm       = 3.68737
  Prefactor  = 0.0001
  Prefactor  = 25.7123
  Prefactor  = 82.4994
  norm       = 16.8722
  norm       = 2.30539
  Prefactor  = 0.000100009
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.83178
  norm       = 0.0001
  Normalizat = 1.65091
  Prefactor  = 0.671932
 **********
 **   18 **HESSE 
 **********

 FCN=   7125.795     FROM HESSE     STATUS=OK           393 CALLS     3183 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.390        21.388        .82830E-04   -1.4740    
   2  Prefactor     .10000E-03    12.405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.1194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .66372        .67053E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    4.8249        .24818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          134.57        62.595        .17370E-03   -1.3383    
   7  Prefactor     .10000E-03    71.022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .29338        .62018        .82112E-04   -1.5600    
   9  Prefactor     10.420        8.4083        .12414E-03   -1.5062    
  10  Prefactor     .10000E-03    9.8432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.6874        1.9325        .80204E-04   -1.5324    
  12  Prefactor     .10000E-03    2.9212        .14068E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     25.712        29.121        .79010E-04   -1.4693    
  14  Prefactor     82.499        55.995        .44221E-04   -1.3889    
  15  norm          16.872        19.637        .97500E-04   -1.4886    
  16  norm          2.3054        .38664        .19368E-04   -1.5404    
  17  Prefactor     .10001E-03    186.00        .20954E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.3779        .15139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    4.3473        .17179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.7562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.8318        9.2933        .15349E-03   -1.5185    
  22  norm          .10000E-03    .85769        .12050E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.6509        .27247        .28053E-03   -.73622    
  24  Prefactor     .67193        .18199        .29154E-03   -1.0464    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.97773e-10
Minuit parameter uncertainties:
  1  21.3951
  2  1.19967e-05
  3  4.83483e-05
  4  5.59505e-06
  5  6.49754e-05
  6  62.6261
  7  6.76021e-05
  8  0.620191
  9  8.4093
  10  6.98647e-05
  11  1.93249
  12  1.25379e-05
  13  29.1373
  14  56.0304
  15  19.6448
  16  0.386641
  17  0.0026501
  18  6.14893e-06
  19  1.09091e-05
  20  1.92531e-05
  21  9.29525
  22  1.27467e-05
  23  0.272715
  24  0.18215
Done.

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

Extracting fit parameters...

4FGL J1251.3-0201
   Spectrum: LogParabola
290         norm:  1.687e+01  1.964e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  1.951e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  1.558e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  1.195e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  6.719e-01  1.822e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.651e+00  2.727e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.18
Ra Dec: 192.836 -2.027
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 1.45e-08 +/- 1.69e-08
Energy Flux (Fixed Index): 1.00e-05 +/- 1.16e-05

TS (Fixed Index): 1.18
Ra Dec: 192.836 -2.027
Photon Flux Upper Limit: 6.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.21e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/950561/likelihoodResults_535075201_535334401_4FGL_J1251.3-0201_daily_bin1141.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) = 7125.71714668
delta logL = 0.0775358237333

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7125.71202438
delta logL = 0.0826581237989

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.982       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3407       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6447       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67354       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+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=   7125.712     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      254 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.978        19.243        .10348E-03    .11031E-03
   2  alpha         2.3416        .97695        .22083E-01    .97518E-05
   3  Normalizat    1.6446        .25747        .28089E-03    .20046E-03
   4  Prefactor     .67367        .18033        .29113E-03    .17846E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.9785
  alpha      = 2.34157
  Normalizat = 1.64457
  Prefactor  = 0.673669
 **********
 **   18 **HESSE 
 **********

 FCN=   7125.712     FROM HESSE     STATUS=OK            25 CALLS      279 TOTAL
                     EDM=   .64E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.978        18.561        .41391E-05   -1.4934    
   2  alpha         2.3416        .94404        .88331E-03   -.63416E-01
   3  Normalizat    1.6446        .25756        .56179E-04   -.73793    
   4  Prefactor     .67367        .18044        .11645E-04   -1.0457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.41855e-11
Minuit parameter uncertainties:
  1  18.5678
  2  0.968153
  3  0.257765
  4  0.180596
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/950561': 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) = 7125.71202365
delta logL = 0.0826588482805

Extracting fit parameters...

4FGL J1251.3-0201
   Spectrum: LogParabola
290         norm:  1.498e+01  1.857e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  2.342e+00  9.682e-01  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  1.558e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  1.195e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  6.737e-01  1.806e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.645e+00  2.578e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.35
Ra Dec: 192.836 -2.027
Photon Index (Free Index): 2.34 +/- 0.97
Photon Flux (Free Index): 2.22e-08 +/- 3.14e-08
Energy Flux (Free Index): 9.02e-06 +/- 9.94e-06

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/950561/cmap_HighResolution_535075201_535334401_4FGL_J1251.3-0201_daily_bin1141.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.21e-05', comment='SUCCESS', photon_flux='1.45e-08', energy_flux2='9.02e-06', photon_flux_error='1.69e-08', dlogl='8.27e-02', energy_flux='1.00e-05', photon_flux2='2.22e-08', job_status='DONE', time_completed='2021-09-06 07:26:04.609903', photon_index_error2='0.97', photon_index2='2.34', ts='1.18', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', photon_flux_upper_limit='6.10e-08', energy_flux_error2='9.94e-06', EG='1.65', time_epoch_completed='1630938364.61', return_code='0', job_id='950561', GAL2='0.67', EG2='1.64', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='3.14e-08', ts2='1.35', photon_index='1.95' WHERE bin_id='1141' AND source_name='4FGL J1251.3-0201' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 07:26:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 950561: <4FGL_J1251.3-0201_daily_bin1141> in cluster <slac> Done

Job <4FGL_J1251.3-0201_daily_bin1141> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Mon Sep  6 07:11:02 2021
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 07:11:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep  6 07:11:03 2021
Terminated at Mon Sep  6 07:26:05 2021
Results reported at Mon Sep  6 07:26:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1251.3-0201_daily_bin1141 192.836 -2.0271 535075201 535334401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1251.3-0201 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   565.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             244.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            903 sec.

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

