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


Performing analysis on: 4FGL_J1251.3-0201_daily_bin520
RA = 192.836, Dec = -2.0271
tmin = 374112001, tmax = 374371201
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='946925', job_status='RUN', time_executed='2021-09-06 07:02:45.802613', time_epoch_executed='1630936965.8' WHERE source_name='4FGL J1251.3-0201' and cadence='daily' and bin_id='520'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/946925

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/946925/ft1_4FGL_J1251.3-0201_daily_bin520.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/946925/ft2_4FGL_J1251.3-0201_daily_bin520.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/946925/ft1_4FGL_J1251.3-0201_daily_bin520.fits outfile=/scratch/kocevski/946925/ft1_filteredMKT_4FGL_J1251.3-0201_daily_bin520.fits ra=192.836 dec=-2.0271 rad=12.0 tmin=374112001.0 tmax=374371201.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.48
user 3.19
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/946925/ft2_4FGL_J1251.3-0201_daily_bin520.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/946925/ft1_filteredMKT_4FGL_J1251.3-0201_daily_bin520.fits evtable="EVENTS" outfile="/scratch/kocevski/946925/ft1_filtered_4FGL_J1251.3-0201_daily_bin520.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.54
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/946925/ft1_filtered_4FGL_J1251.3-0201_daily_bin520.fits" evtable="EVENTS" scfile=/scratch/kocevski/946925/ft2_4FGL_J1251.3-0201_daily_bin520.fits sctable="SC_DATA" outfile=/scratch/kocevski/946925/ltcube_374112001_374371201_4FGL_J1251.3-0201_daily_bin520.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/946925/ft2_4FGL_J1251.3-0201_daily_bin520.fits
.....................!
real 12.27
user 11.60
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/946925/ft1_filtered_4FGL_J1251.3-0201_daily_bin520.fits evtable="EVENTS" scfile=/scratch/kocevski/946925/ft2_4FGL_J1251.3-0201_daily_bin520.fits sctable="SC_DATA" expcube=/scratch/kocevski/946925/ltcube_374112001_374371201_4FGL_J1251.3-0201_daily_bin520.fits outfile=/scratch/kocevski/946925/expmap_374112001_374371201_4FGL_J1251.3-0201_daily_bin520.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/946925/ltcube_374112001_374371201_4FGL_J1251.3-0201_daily_bin520.fits
.....................!
real 192.06
user 185.54
sys 4.27

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/946925/ft1_filtered_4FGL_J1251.3-0201_daily_bin520.fits scfile=/scratch/kocevski/946925/ft2_4FGL_J1251.3-0201_daily_bin520.fits outfile=/scratch/kocevski/946925/cmap_374112001_374371201_4FGL_J1251.3-0201_daily_bin520.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.64
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/946925/ft1_filtered_4FGL_J1251.3-0201_daily_bin520.fits scfile=/scratch/kocevski/946925/ft2_4FGL_J1251.3-0201_daily_bin520.fits outfile=/scratch/kocevski/946925/cmap_HighResolution_374112001_374371201_4FGL_J1251.3-0201_daily_bin520.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.64
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/946925/ft1_filtered_4FGL_J1251.3-0201_daily_bin520.fits evtable="EVENTS" scfile=/scratch/kocevski/946925/ft2_4FGL_J1251.3-0201_daily_bin520.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/946925/Model_4FGL_J1251.3-0201_daily_bin520.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/946925/ft1_filtered_4FGL_J1251.3-0201_daily_bin520.fits.....................!
real 62.74
user 60.85
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/946925/ft1_filtered_4FGL_J1251.3-0201_daily_bin520.fits', '/scratch/kocevski/946925/ft2_4FGL_J1251.3-0201_daily_bin520.fits', expMap='/scratch/kocevski/946925/expmap_374112001_374371201_4FGL_J1251.3-0201_daily_bin520.fits', expCube='/scratch/kocevski/946925/ltcube_374112001_374371201_4FGL_J1251.3-0201_daily_bin520.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/946925/Model_4FGL_J1251.3-0201_daily_bin520.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/946925/ft1_filtered_4FGL_J1251.3-0201_daily_bin520.fits
Spacecraft file(s): /scratch/kocevski/946925/ft2_4FGL_J1251.3-0201_daily_bin520.fits
Exposure map: /scratch/kocevski/946925/expmap_374112001_374371201_4FGL_J1251.3-0201_daily_bin520.fits
Exposure cube: /scratch/kocevski/946925/ltcube_374112001_374371201_4FGL_J1251.3-0201_daily_bin520.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/946925/Model_4FGL_J1251.3-0201_daily_bin520.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) = 7438.14140511

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.201       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.3548       1.0000         .10000E-03   10000.    
     5 'norm      '    3.7351       1.0000         .10000E-03   10000.    
     6 'norm      '    .10067E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    44.631       1.0000         .10000E-03   10000.    
     8 'norm      '    1.4093       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    22.098       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.8882       1.0000         .10000E-03   10000.    
    13 'Prefactor '    41.980       1.0000         .10000E-03   10000.    
    14 'Prefactor '    57.735       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .15934       1.0000         .10000E-03   10000.    
    17 'Prefactor '    55.169       1.0000         .10000E-03   10000.    
    18 'norm      '    9.2005       1.0000         .10000E-03   10000.    
    19 'norm      '    5.9013       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    22.063       1.0000         .10000E-03   10000.    
    22 'norm      '    .49807       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.9750       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .75543       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=   7438.121     FROM MIGRAD    STATUS=CONVERGED    538 CALLS     2763 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.199        17.278        .19524E-06    .31904E-05
   2  Prefactor     .10000E-03    31.855       -.33625E-04** at limit **
   3  Prefactor     .10000E-03    8.3505        .15173E-06** at limit **
   4  norm          1.3543        2.7366       -.59545E-06   -.10850E-02
   5  norm          3.7353        3.0688        .24121E-07    .67890E-03
   6  norm          .10000E-03    80.295       -.38467E-04** at limit **
   7  Prefactor     44.649        103.33        .25460E-04    .11809E-04
   8  norm          1.4092        .69414       -.59808E-08    .69045E-03
   9  Prefactor     .10000E-03    5.0104       -.17447E-07** at limit **
  10  Prefactor     .10000E-03    14.163       -.83763E-05** at limit **
  11  norm          22.098        3.5196       -.89790E-07    .29402E-03
  12  Prefactor     7.8879        7.9971       -.42705E-06   -.29954E-03
  13  Prefactor     41.981        36.116        .10702E-05   -.29796E-04
  14  Prefactor     57.728        42.152       -.52899E-05   -.26201E-04
  15  norm          .10000E-03    42.228        .55005E-04** at limit **
  16  norm          .15938        .21679        .69012E-07   -.23396E-02
  17  Prefactor     55.164        56.781       -.56322E-05   -.26289E-04
  18  norm          9.2002        10.590        .37968E-06   -.36862E-04
  19  norm          5.9015        6.3140       -.26800E-06    .10791E-03
  20  Prefactor     .10000E-03    15.336        .11556E-04** at limit **
  21  Prefactor     22.062        14.501        .18439E-06    .69646E-04
  22  norm          .49873        1.5397       -.72721E-06   -.84261E-03
  23  Normalizat    1.9751        .26354        .11194E-05    .20019E-04
  24  Prefactor     .75534        .17512       -.34177E-06    .50685E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.1994
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.3543
  norm       = 3.73532
  norm       = 0.000100001
  Prefactor  = 44.649
  norm       = 1.40925
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 22.0979
  Prefactor  = 7.88787
  Prefactor  = 41.981
  Prefactor  = 57.728
  norm       = 0.000100001
  norm       = 0.159375
  Prefactor  = 55.1636
  norm       = 9.20022
  norm       = 5.90151
  Prefactor  = 0.0001
  Prefactor  = 22.0625
  norm       = 0.498729
  Normalizat = 1.9751
  Prefactor  = 0.755344
 **********
 **   18 **HESSE 
 **********

 FCN=   7438.121     FROM HESSE     STATUS=OK           399 CALLS     3162 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.199        17.256        .11971E-03   -1.5039    
   2  Prefactor     .10000E-03    31.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.3720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.3543        2.7071        .19278E-03   -1.5475    
   5  norm          3.7353        3.0585        .13020E-03   -1.5321    
   6  norm          .10000E-03    81.454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     44.649        103.35        .60013E-04   -1.4371    
   8  norm          1.4092        .68613        .46193E-04   -1.5471    
   9  Prefactor     .10000E-03    5.0357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    14.361        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          22.098        3.5243        .60268E-04   -1.4767    
  12  Prefactor     7.8879        7.9966        .14276E-03   -1.5146    
  13  Prefactor     41.981        36.108        .61871E-04   -1.4411    
  14  Prefactor     57.728        41.910        .26399E-03   -1.4187    
  15  norm          .10000E-03    42.344        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .15938        .19749        .42628E-03   -1.5628    
  17  Prefactor     55.164        56.671        .54005E-04   -1.4221    
  18  norm          9.2002        10.571        .13213E-03   -1.5101    
  19  norm          5.9015        6.3156        .16531E-03   -1.5222    
  20  Prefactor     .10000E-03    15.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     22.062        14.473        .85274E-04   -1.4768    
  22  norm          .49873        1.9483        .17422E-02   -1.5567    
  23  Normalizat    1.9751        .31636        .30126E-03   -.65176    
  24  Prefactor     .75534        .20890        .31729E-03   -1.0140    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34716e-09
Minuit parameter uncertainties:
  1  17.2634
  2  6.4904e-05
  3  2.11354e-05
  4  2.70733
  5  3.05867
  6  0.000586984
  7  103.765
  8  0.686133
  9  1.02601e-06
  10  4.10872e-05
  11  3.5243
  12  7.99764
  13  36.1268
  14  41.9313
  15  0.000418751
  16  0.197488
  17  56.7263
  18  10.5734
  19  6.31628
  20  2.42553e-05
  21  14.4751
  22  1.94852
  23  0.316693
  24  0.209116
Done.

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

Extracting fit parameters...

4FGL J1251.3-0201
   Spectrum: LogParabola
290         norm:  1.000e-04  4.188e-04  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:  7.553e-01  2.091e-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.975e+00  3.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/946925/likelihoodResults_374112001_374371201_4FGL_J1251.3-0201_daily_bin520.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) = 7438.12160087
delta logL = -0.000112449943117

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7438.12148857
delta logL = -1.52565007738e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10316E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9263       1.0000          .0000       5.0000    
     3 'Normalizat'    1.9751       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75537       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.

 FCN=   7438.121     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      207 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    62.716        .90712E-02** at limit **
   2  alpha         1.9829        3.4726        .42612       -.69275E-05
   3  Normalizat    1.9751        .24704        .68116E-01    .30987E-04
   4  Prefactor     .75534        .17312        .71695E-01    .59269E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100006
  alpha      = 1.98289
  Normalizat = 1.9751
  Prefactor  = 0.755344
 **********
 **   18 **HESSE 
 **********

 FCN=   7438.121     FROM HESSE     STATUS=OK            31 CALLS      238 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    45.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9829        3.4148        .50000       -.20835    
   3  Normalizat    1.9751        .29348        .30126E-03   -.65176    
   4  Prefactor     .75534        .20539        .31729E-03   -1.0140    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94155e-10
Minuit parameter uncertainties:
  1  0.00101324
  2  2.47123
  3  0.29375
  4  0.205593
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/946925': 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) = 7438.12148833
delta logL = 9.09603841137e-08

Extracting fit parameters...

4FGL J1251.3-0201
   Spectrum: LogParabola
290         norm:  1.000e-04  1.013e-03  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  1.983e+00  2.471e+00  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:  7.553e-01  2.056e-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.975e+00  2.938e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 192.836 -2.027

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/946925/cmap_HighResolution_374112001_374371201_4FGL_J1251.3-0201_daily_bin520.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.00e-05', job_status='DONE', photon_flux_upper_limit='5.80e-08', time_completed='2021-09-06 07:15:50.607505', job_id='946925', GAL2='0.76', fit_tolerance='1e-08', EG2='1.98', EG='1.98', time_epoch_completed='1630937750.61', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='9.10e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='520' AND source_name='4FGL J1251.3-0201' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 07:15:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 946925: <4FGL_J1251.3-0201_daily_bin520> in cluster <slac> Done

Job <4FGL_J1251.3-0201_daily_bin520> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Mon Sep  6 07:00:38 2021
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 07:00:40 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:00:40 2021
Terminated at Mon Sep  6 07:15:51 2021
Results reported at Mon Sep  6 07:15:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1251.3-0201_daily_bin520 192.836 -2.0271 374112001 374371201 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 :                                   774.21 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             332.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            913 sec.

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

