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


Performing analysis on: 4FGL_J1254.2-2205_daily_bin1563
RA = 193.552, Dec = -22.0872
tmin = 644457601, tmax = 644716801
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='984917', job_status='RUN', time_executed='2021-09-06 08:56:51.155130', time_epoch_executed='1630943811.16' WHERE source_name='4FGL J1254.2-2205' and cadence='daily' and bin_id='1563'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/984917

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/984917/ft1_4FGL_J1254.2-2205_daily_bin1563.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/984917/ft2_4FGL_J1254.2-2205_daily_bin1563.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/984917/ft1_4FGL_J1254.2-2205_daily_bin1563.fits outfile=/scratch/kocevski/984917/ft1_filteredMKT_4FGL_J1254.2-2205_daily_bin1563.fits ra=193.552 dec=-22.0872 rad=12.0 tmin=644457601.0 tmax=644716801.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 2.77
user 2.56
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/984917/ft2_4FGL_J1254.2-2205_daily_bin1563.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/984917/ft1_filteredMKT_4FGL_J1254.2-2205_daily_bin1563.fits evtable="EVENTS" outfile="/scratch/kocevski/984917/ft1_filtered_4FGL_J1254.2-2205_daily_bin1563.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.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/984917/ft1_filtered_4FGL_J1254.2-2205_daily_bin1563.fits" evtable="EVENTS" scfile=/scratch/kocevski/984917/ft2_4FGL_J1254.2-2205_daily_bin1563.fits sctable="SC_DATA" outfile=/scratch/kocevski/984917/ltcube_644457601_644716801_4FGL_J1254.2-2205_daily_bin1563.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/984917/ft2_4FGL_J1254.2-2205_daily_bin1563.fits
.....................!
real 12.70
user 12.34
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/984917/ft1_filtered_4FGL_J1254.2-2205_daily_bin1563.fits evtable="EVENTS" scfile=/scratch/kocevski/984917/ft2_4FGL_J1254.2-2205_daily_bin1563.fits sctable="SC_DATA" expcube=/scratch/kocevski/984917/ltcube_644457601_644716801_4FGL_J1254.2-2205_daily_bin1563.fits outfile=/scratch/kocevski/984917/expmap_644457601_644716801_4FGL_J1254.2-2205_daily_bin1563.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/984917/ltcube_644457601_644716801_4FGL_J1254.2-2205_daily_bin1563.fits
.....................!
real 190.51
user 184.95
sys 5.14

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/984917/ft1_filtered_4FGL_J1254.2-2205_daily_bin1563.fits scfile=/scratch/kocevski/984917/ft2_4FGL_J1254.2-2205_daily_bin1563.fits outfile=/scratch/kocevski/984917/cmap_644457601_644716801_4FGL_J1254.2-2205_daily_bin1563.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/984917/ft1_filtered_4FGL_J1254.2-2205_daily_bin1563.fits scfile=/scratch/kocevski/984917/ft2_4FGL_J1254.2-2205_daily_bin1563.fits outfile=/scratch/kocevski/984917/cmap_HighResolution_644457601_644716801_4FGL_J1254.2-2205_daily_bin1563.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/984917/ft1_filtered_4FGL_J1254.2-2205_daily_bin1563.fits evtable="EVENTS" scfile=/scratch/kocevski/984917/ft2_4FGL_J1254.2-2205_daily_bin1563.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/984917/Model_4FGL_J1254.2-2205_daily_bin1563.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/984917/ft1_filtered_4FGL_J1254.2-2205_daily_bin1563.fits.....................!
real 49.93
user 48.55
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/984917/ft1_filtered_4FGL_J1254.2-2205_daily_bin1563.fits', '/scratch/kocevski/984917/ft2_4FGL_J1254.2-2205_daily_bin1563.fits', expMap='/scratch/kocevski/984917/expmap_644457601_644716801_4FGL_J1254.2-2205_daily_bin1563.fits', expCube='/scratch/kocevski/984917/ltcube_644457601_644716801_4FGL_J1254.2-2205_daily_bin1563.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/984917/Model_4FGL_J1254.2-2205_daily_bin1563.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/984917/ft1_filtered_4FGL_J1254.2-2205_daily_bin1563.fits
Spacecraft file(s): /scratch/kocevski/984917/ft2_4FGL_J1254.2-2205_daily_bin1563.fits
Exposure map: /scratch/kocevski/984917/expmap_644457601_644716801_4FGL_J1254.2-2205_daily_bin1563.fits
Exposure cube: /scratch/kocevski/984917/ltcube_644457601_644716801_4FGL_J1254.2-2205_daily_bin1563.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/984917/Model_4FGL_J1254.2-2205_daily_bin1563.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) = 5655.51622888

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4956       1.0000         .10000E-03   10000.    
     2 'Prefactor '    54.271       1.0000         .10000E-03   10000.    
     3 'Prefactor '    27.395       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.372       1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.561       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .46121       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.5055       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.867       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.1767       1.0000         .10000E-03   10000.    
    11 'norm      '    4.5914       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    9.6649       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    23.559       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.1201       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    18.808       1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.6669       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.6666       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .52103       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=   5655.472     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2715 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4956        6.0986        .26606E-05   -.74259E-03
   2  Prefactor     54.278        47.607        .17699E-05    .14022E-03
   3  Prefactor     27.399        36.455       -.24930E-06    .45442E-04
   4  Prefactor     .10000E-03    9.0811        .70026E-07** at limit **
   5  Prefactor     22.372        35.627       -.19175E-06    .85695E-05
   6  Prefactor     20.551        29.501       -.36128E-05   -.26318E-03
   7  Prefactor     .46636        3.8517        .28228E-07   -.20503E-04
   8  Prefactor     7.5049        2.7473       -.38531E-07   -.58277E-04
   9  Prefactor     13.867        15.958        .76243E-06   -.10652E-03
  10  Prefactor     9.1781        12.134       -.10347E-07   -.25932E-04
  11  norm          4.5915        1.5750        .15934E-07   -.46065E-04
  12  Prefactor     .10000E-03    33.608       -.38518E-07** at limit **
  13  norm          .10000E-03    7.9801       -.11876E-06** at limit **
  14  norm          .10000E-03    7.9111        .28160E-07** at limit **
  15  Prefactor     .10000E-03    2.7728       -.16569E-07** at limit **
  16  norm          9.6657        9.5107        .10438E-06   -.25073E-04
  17  norm          .10000E-03    .97032        .48394E-07** at limit **
  18  Prefactor     23.559        11.629        .97572E-08   -.67091E-05
  19  Prefactor     7.1274        26.397        .44120E-05    .12138E-03
  20  Prefactor     .10000E-03    10.788       -.14512E-06** at limit **
  21  Prefactor     18.807        16.906       -.99058E-08   -.13674E-04
  22  Prefactor     6.6583        22.898       -.37086E-05   -.14498E-03
  23  Normalizat    1.6665        .27268       -.26592E-06   -.19911E-04
  24  Prefactor     .52108        .11793       -.18165E-06   -.34643E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.49558
  Prefactor  = 54.2779
  Prefactor  = 27.3986
  Prefactor  = 0.0001
  Prefactor  = 22.3715
  Prefactor  = 20.5509
  Prefactor  = 0.466356
  Prefactor  = 7.50486
  Prefactor  = 13.867
  Prefactor  = 9.17814
  norm       = 4.5915
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 9.66567
  norm       = 0.0001
  Prefactor  = 23.5591
  Prefactor  = 7.12736
  Prefactor  = 0.0001
  Prefactor  = 18.807
  Prefactor  = 6.65827
  Normalizat = 1.66653
  Prefactor  = 0.52108
 **********
 **   18 **HESSE 
 **********

 FCN=   5655.472     FROM HESSE     STATUS=OK           405 CALLS     3120 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4956        6.5114        .94945E-03   -1.5284    
   2  Prefactor     54.278        47.999        .54447E-04   -1.4233    
   3  Prefactor     27.399        36.917        .76541E-04   -1.4661    
   4  Prefactor     .10000E-03    9.0810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     22.372        35.613        .84685E-04   -1.4762    
   6  Prefactor     20.551        30.436        .88331E-04   -1.4801    
   7  Prefactor     .46636        17.700        .26212E-02   -1.5571    
   8  Prefactor     7.5049        2.8031        .68415E-04   -1.5160    
   9  Prefactor     13.867        16.062        .53781E-03   -1.4963    
  10  Prefactor     9.1781        12.224        .13230E-03   -1.5102    
  11  norm          4.5915        1.5752        .52762E-04   -1.5279    
  12  Prefactor     .10000E-03    33.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    8.2145        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    8.2701        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.7921        .12225E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          9.6657        9.5124        .12890E-03   -1.5086    
  17  norm          .10000E-03    .97442        .72337E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     23.559        11.637        .82526E-04   -1.4737    
  19  Prefactor     7.1274        26.841        .15033E-03   -1.5174    
  20  Prefactor     .10000E-03    10.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     18.807        16.907        .92354E-04   -1.4840    
  22  Prefactor     6.6583        23.388        .15541E-03   -1.5192    
  23  Normalizat    1.6665        .32036        .29724E-03   -.73201    
  24  Prefactor     .52108        .13702        .22255E-03   -1.1102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97879e-08
Minuit parameter uncertainties:
  1  6.51247
  2  48.0333
  3  36.9481
  4  4.05052e-06
  5  35.6469
  6  30.4588
  7  5.74742
  8  2.8032
  9  16.0667
  10  12.2271
  11  1.57524
  12  7.57421e-06
  13  1.055e-05
  14  1.60806e-06
  15  9.34081e-07
  16  9.51386
  17  1.23412e-06
  18  11.6381
  19  26.8864
  20  1.34413e-05
  21  16.9108
  22  23.4202
  23  0.320755
  24  0.137106
Done.

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

Extracting fit parameters...

4FGL J1254.2-2205
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  7.574e-06  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:  5.211e-01  1.371e-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:  1.667e+00  3.208e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 193.552 -22.087
Photon Flux Upper Limit: 8.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/984917/likelihoodResults_644457601_644716801_4FGL_J1254.2-2205_daily_bin1563.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5655.47196371
delta logL = -0.000141584374433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5655.47182459
delta logL = -2.4633418434e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17292E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7281       1.0000          .0000       10.000    
     3 'Normalizat'    1.6665       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .52108       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5655.472     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      276 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10385E-03    1.7029        .18142E-01** at limit **
   2  Index         2.6201        5.9488        .50000        .87625E-05
   3  Normalizat    1.6665        .17829E-02    .29723E-03   -.13387E-05
   4  Prefactor     .52108        .79860E-03    .22255E-03   -.52104E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103849
  Index      = 2.62013
  Normalizat = 1.66653
  Prefactor  = 0.52108
 **********
 **   18 **HESSE 
 **********

 FCN=   5655.472     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      305 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10385E-03    60.891        .36088E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6201        6.4288        .50000       -.49607    
   3  Normalizat    1.6665        .10663E-01    .11889E-04   -.73201    
   4  Prefactor     .52108        .47764E-02    .89022E-05   -1.1102    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.81248e-09
Minuit parameter uncertainties:
  1  0.0306475
  2  343.602
  3  0.0106633
  4  0.00477639
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/984917': 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): 102
logL (Free Index) = 5655.47182278
delta logL = -6.5057156462e-07

Extracting fit parameters...

4FGL J1254.2-2205
   Spectrum: PowerLaw
283    Prefactor:  1.038e-04  3.065e-02  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  2.620e+00  3.436e+02  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:  5.211e-01  4.776e-03  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:  1.667e+00  1.066e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 193.552 -22.087

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/984917/cmap_HighResolution_644457601_644716801_4FGL_J1254.2-2205_daily_bin1563.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.70e-03', job_status='DONE', photon_flux_upper_limit='8.80e-08', time_completed='2021-09-06 09:07:54.726758', job_id='984917', GAL2='0.52', fit_tolerance='1e-08', EG2='1.67', EG='1.67', time_epoch_completed='1630944474.73', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.52', dlogl='-6.51e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1563' AND source_name='4FGL J1254.2-2205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 09:07:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 984917: <4FGL_J1254.2-2205_daily_bin1563> in cluster <slac> Done

Job <4FGL_J1254.2-2205_daily_bin1563> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Sep  6 08:55:22 2021
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 08:55:23 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:55:23 2021
Terminated at Mon Sep  6 09:07:57 2021
Results reported at Mon Sep  6 09:07:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.2-2205_daily_bin1563 193.552 -22.0872 644457601 644716801 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 :                                   659.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             316.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   751 sec.
    Turnaround time :                            755 sec.

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

