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


Performing analysis on: 4FGL_J1254.2-2205_daily_bin1252
RA = 193.552, Dec = -22.0872
tmin = 563846401, tmax = 564105601
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='982111', job_status='RUN', time_executed='2021-09-06 08:47:03.746592', time_epoch_executed='1630943223.75' WHERE source_name='4FGL J1254.2-2205' and cadence='daily' and bin_id='1252'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/982111

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/982111/ft1_4FGL_J1254.2-2205_daily_bin1252.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/982111/ft2_4FGL_J1254.2-2205_daily_bin1252.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/982111/ft1_4FGL_J1254.2-2205_daily_bin1252.fits outfile=/scratch/kocevski/982111/ft1_filteredMKT_4FGL_J1254.2-2205_daily_bin1252.fits ra=193.552 dec=-22.0872 rad=12.0 tmin=563846401.0 tmax=564105601.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 5.79
user 2.66
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/982111/ft2_4FGL_J1254.2-2205_daily_bin1252.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/982111/ft2_4FGL_J1254.2-2205_daily_bin1252.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/982111/ft1_filteredMKT_4FGL_J1254.2-2205_daily_bin1252.fits evtable="EVENTS" outfile="/scratch/kocevski/982111/ft1_filtered_4FGL_J1254.2-2205_daily_bin1252.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 4.36
user 0.56
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/982111/ft1_filtered_4FGL_J1254.2-2205_daily_bin1252.fits" evtable="EVENTS" scfile=/scratch/kocevski/982111/ft2_4FGL_J1254.2-2205_daily_bin1252.fits sctable="SC_DATA" outfile=/scratch/kocevski/982111/ltcube_563846401_564105601_4FGL_J1254.2-2205_daily_bin1252.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/982111/ft2_4FGL_J1254.2-2205_daily_bin1252.fits
.....................!
real 15.74
user 9.73
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/982111/ft1_filtered_4FGL_J1254.2-2205_daily_bin1252.fits evtable="EVENTS" scfile=/scratch/kocevski/982111/ft2_4FGL_J1254.2-2205_daily_bin1252.fits sctable="SC_DATA" expcube=/scratch/kocevski/982111/ltcube_563846401_564105601_4FGL_J1254.2-2205_daily_bin1252.fits outfile=/scratch/kocevski/982111/expmap_563846401_564105601_4FGL_J1254.2-2205_daily_bin1252.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/982111/ltcube_563846401_564105601_4FGL_J1254.2-2205_daily_bin1252.fits
.....................!
real 151.14
user 137.90
sys 3.42

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

Setting source of interest to:
4FGL J1254.2-2205 @ 193.552 -22.0872

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/982111/ft1_filtered_4FGL_J1254.2-2205_daily_bin1252.fits scfile=/scratch/kocevski/982111/ft2_4FGL_J1254.2-2205_daily_bin1252.fits outfile=/scratch/kocevski/982111/cmap_563846401_564105601_4FGL_J1254.2-2205_daily_bin1252.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=193.552 yref=-22.0872 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.46
user 0.30
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/982111/ft1_filtered_4FGL_J1254.2-2205_daily_bin1252.fits scfile=/scratch/kocevski/982111/ft2_4FGL_J1254.2-2205_daily_bin1252.fits outfile=/scratch/kocevski/982111/cmap_HighResolution_563846401_564105601_4FGL_J1254.2-2205_daily_bin1252.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=193.552 yref=-22.0872 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.48
user 0.30
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/982111/ft1_filtered_4FGL_J1254.2-2205_daily_bin1252.fits evtable="EVENTS" scfile=/scratch/kocevski/982111/ft2_4FGL_J1254.2-2205_daily_bin1252.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/982111/Model_4FGL_J1254.2-2205_daily_bin1252.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/982111/ft1_filtered_4FGL_J1254.2-2205_daily_bin1252.fits.....................!
real 35.74
user 33.42
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/982111/ft1_filtered_4FGL_J1254.2-2205_daily_bin1252.fits', '/scratch/kocevski/982111/ft2_4FGL_J1254.2-2205_daily_bin1252.fits', expMap='/scratch/kocevski/982111/expmap_563846401_564105601_4FGL_J1254.2-2205_daily_bin1252.fits', expCube='/scratch/kocevski/982111/ltcube_563846401_564105601_4FGL_J1254.2-2205_daily_bin1252.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/982111/Model_4FGL_J1254.2-2205_daily_bin1252.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1254.2-2205'

4FGL J1254.2-2205
   Spectrum: PowerLaw
283    Prefactor:  8.803e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  2.191e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  2.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/982111/ft1_filtered_4FGL_J1254.2-2205_daily_bin1252.fits
Spacecraft file(s): /scratch/kocevski/982111/ft2_4FGL_J1254.2-2205_daily_bin1252.fits
Exposure map: /scratch/kocevski/982111/expmap_563846401_564105601_4FGL_J1254.2-2205_daily_bin1252.fits
Exposure cube: /scratch/kocevski/982111/ltcube_563846401_564105601_4FGL_J1254.2-2205_daily_bin1252.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/982111/Model_4FGL_J1254.2-2205_daily_bin1252.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) = 4960.34649136

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53936       1.0000         .10000E-03   10000.    
     2 'Prefactor '    55.924       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10899E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.2494       1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.976       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10210E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.5630       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.998       1.0000         .10000E-03   10000.    
    11 'norm      '    .76415       1.0000         .10000E-03   10000.    
    12 'Prefactor '    75.050       1.0000         .10000E-03   10000.    
    13 'norm      '    1.2237       1.0000         .10000E-03   10000.    
    14 'norm      '    .10576E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10368E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.0681       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.7228       1.0000         .10000E-03   10000.    
    19 'Prefactor '    28.805       1.0000         .10000E-03   10000.    
    20 'Prefactor '    68.490       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11066E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .71261       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1165       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4960.330     FROM MIGRAD    STATUS=CONVERGED    543 CALLS     2768 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .48293        4.5467       -.15589E-05    .49440E-03
   2  Prefactor     55.925        40.817        .34407E-05   -.67818E-04
   3  Prefactor     .10000E-03    76.273       -.28879E-05** at limit **
   4  Prefactor     7.2277        27.939       -.12295E-05    .52804E-04
   5  Prefactor     27.965        52.056       -.39576E-05    .10912E-03
   6  Prefactor     .10000E-03    31.490       -.94286E-05** at limit **
   7  Prefactor     .10000E-03    2.2099        .15457E-06** at limit **
   8  Prefactor     4.5630        2.2272       -.49124E-07    .57869E-04
   9  Prefactor     .10000E-03    6.4681       -.28463E-07** at limit **
  10  Prefactor     13.002        15.343        .94146E-07   -.39641E-04
  11  norm          .76260        1.1229       -.11429E-06   -.22802E-03
  12  Prefactor     75.062        71.258        .11507E-04   -.15273E-03
  13  norm          1.2194        12.799       -.79666E-05   -.45486E-03
  14  norm          .10000E-03    2.3616       -.22536E-07** at limit **
  15  Prefactor     .10000E-03    2.7500        .14078E-06** at limit **
  16  norm          .10012E-03    6.0147        .64831E-06** at limit **
  17  norm          1.0666        3.4374       -.11529E-05   -.79562E-03
  18  Prefactor     5.7228        8.9527        .10059E-05   -.12679E-03
  19  Prefactor     28.802        34.125       -.28500E-05    .37813E-04
  20  Prefactor     68.491        68.370        .71285E-06   -.16719E-04
  21  Prefactor     .10000E-03    14.650        .14538E-05** at limit **
  22  Prefactor     .10000E-03    27.560        .52385E-05** at limit **
  23  Normalizat    .71213        .29387        .58950E-06    .13473E-03
  24  Prefactor     1.1167        .14018        .85594E-06    .22112E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.482932
  Prefactor  = 55.9254
  Prefactor  = 0.000100001
  Prefactor  = 7.22765
  Prefactor  = 27.9645
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 4.56295
  Prefactor  = 0.0001
  Prefactor  = 13.0023
  norm       = 0.762601
  Prefactor  = 75.0623
  norm       = 1.21936
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100121
  norm       = 1.06659
  Prefactor  = 5.72277
  Prefactor  = 28.8018
  Prefactor  = 68.4909
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.712128
  Prefactor  = 1.11672
 **********
 **   18 **HESSE 
 **********

 FCN=   4960.330     FROM HESSE     STATUS=OK           397 CALLS     3165 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .48293        22.649        .27855E-02   -1.5569    
   2  Prefactor     55.925        40.551        .53641E-04   -1.4211    
   3  Prefactor     .10000E-03    76.859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.2277        27.612        .14897E-03   -1.5170    
   5  Prefactor     27.965        51.332        .75744E-04   -1.4650    
   6  Prefactor     .10000E-03    31.152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.2143        .10219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.5630        2.2268        .70810E-04   -1.5281    
   9  Prefactor     .10000E-03    6.4855        .17492E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.002        15.362        .11110E-03   -1.4987    
  11  norm          .76260        1.1238        .49222E-04   -1.5533    
  12  Prefactor     75.062        69.927        .23174E-03   -1.3973    
  13  norm          1.2194        15.218        .40735E-03   -1.5487    
  14  norm          .10000E-03    2.3660        .10568E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.7577        .11402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10012E-03    40.287        .33050E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.0666        3.4802        .23036E-03   -1.5501    
  18  Prefactor     5.7228        8.9247        .16790E-03   -1.5229    
  19  Prefactor     28.802        34.143        .74648E-04   -1.4634    
  20  Prefactor     68.491        68.328        .48501E-04   -1.4051    
  21  Prefactor     .10000E-03    14.650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    27.489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .71213        .32204        .42148E-03   -1.0342    
  24  Prefactor     1.1167        .15671        .17044E-03   -.88934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.72223e-09
Minuit parameter uncertainties:
  1  6.61654
  2  40.5713
  3  0.000539884
  4  27.6608
  5  51.4128
  6  0.000538895
  7  4.97402e-06
  8  2.22685
  9  8.88483e-06
  10  15.3671
  11  1.12384
  12  70.0032
  13  8.61767
  14  1.03866e-05
  15  1.61682e-05
  16  0.0044254
  17  3.48084
  18  8.92679
  19  34.1663
  20  68.4068
  21  6.32814e-05
  22  0.000220963
  23  0.322896
  24  0.156772
Done.

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

Extracting fit parameters...

4FGL J1254.2-2205
   Spectrum: PowerLaw
283    Prefactor:  7.506e+01  7.000e+01  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  2.191e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  2.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  1.117e+00  1.568e-01  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
605   Normalization:  7.121e-01  3.229e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.23
Ra Dec: 193.552 -22.087
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 4.47e-08 +/- 4.17e-08
Energy Flux (Fixed Index): 2.04e-05 +/- 1.90e-05

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) = 4956.60160877
delta logL = 3.72825807085

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4956.0013624
delta logL = 4.3285044414

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3314       1.0000         .10000E-03   10000.    
     2 'Index     '    .75383E-06   1.0000          .0000       10.000    
     3 'Normalizat'    .72344       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1238       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4956.001     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      255 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3316        6.4091        .43514E-02   -.44951E-02
   2  Index         .94130E-10    .37508        .50000    ** at limit **
   3  Normalizat    .72363        .27248        .94354E-01    .25911E-04
   4  Prefactor     1.1237        .13614        .36745E-01   -.47055E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.33164
  Index      = 9.41303e-11
  Normalizat = 0.723632
  Prefactor  = 1.12373
 **********
 **   18 **HESSE 
 **********

 FCN=   4956.001     FROM HESSE     STATUS=OK            29 CALLS      284 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3316        5.3966        .15865E-03   -1.5246    
   2  Index         .94130E-10    1.9607        .22271E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .72363        .30154        .41808E-03   -1.0297    
   4  Prefactor     1.1237        .15118        .16991E-03   -.88712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05181e-08
Minuit parameter uncertainties:
  1  5.39712
  2  2.81478e-05
  3  0.302235
  4  0.151234
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/982111': 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) = 4956.001362
delta logL = 4.3285048364

Extracting fit parameters...

4FGL J1254.2-2205
   Spectrum: PowerLaw
283    Prefactor:  5.332e+00  5.397e+00  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  9.413e-11  2.815e-05  0.000e+00  1.000e+01 (-1.000e+00)
285        Scale:  2.000e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
606    Prefactor:  1.124e+00  1.512e-01  0.000e+00  1.000e+01 ( 1.000e+00)
607        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
608        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
605   Normalization:  7.236e-01  3.022e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.87
Ra Dec: 193.552 -22.087
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 5.33e-09 +/- 5.39e-09
Energy Flux (Free Index): 2.67e-04 +/- 2.70e-04

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/982111/cmap_HighResolution_563846401_564105601_4FGL_J1254.2-2205_daily_bin1252.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.47e-08', energy_flux2='2.67e-04', photon_flux_error='4.17e-08', dlogl='4.33e+00', energy_flux='2.04e-05', photon_flux2='5.33e-09', job_status='DONE', time_completed='2021-09-06 08:55:27.804713', photon_index_error2='0.00', photon_index2='0.00', ts='4.23', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='2.70e-04', EG='0.71', time_epoch_completed='1630943727.8', return_code='0', job_id='982111', GAL2='1.12', EG2='0.72', return_code2='0', energy_flux_error='1.90e-05', photon_flux_error2='5.39e-09', ts2='12.87', photon_index='2.19' WHERE bin_id='1252' AND source_name='4FGL J1254.2-2205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 08:55:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0135>
Subject: Job 982111: <4FGL_J1254.2-2205_daily_bin1252> in cluster <slac> Done

Job <4FGL_J1254.2-2205_daily_bin1252> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Sep  6 08:46:00 2021
Job was executed on host(s) <bullet0135>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 08:46:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep  6 08:46:01 2021
Terminated at Mon Sep  6 08:55:28 2021
Results reported at Mon Sep  6 08:55:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.2-2205_daily_bin1252 193.552 -22.0872 563846401 564105601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1254.2-2205 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   425.51 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             272.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   567 sec.
    Turnaround time :                            568 sec.

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

