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


Performing analysis on: 4FGL_J1254.2-2205_daily_bin1243
RA = 193.552, Dec = -22.0872
tmin = 561513601, tmax = 561772801
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='982102', job_status='RUN', time_executed='2021-09-06 08:49:30.642807', time_epoch_executed='1630943370.64' WHERE source_name='4FGL J1254.2-2205' and cadence='daily' and bin_id='1243'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/982102

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/982102/ft1_4FGL_J1254.2-2205_daily_bin1243.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/982102/ft2_4FGL_J1254.2-2205_daily_bin1243.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/982102/ft1_4FGL_J1254.2-2205_daily_bin1243.fits outfile=/scratch/kocevski/982102/ft1_filteredMKT_4FGL_J1254.2-2205_daily_bin1243.fits ra=193.552 dec=-22.0872 rad=12.0 tmin=561513601.0 tmax=561772801.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.80
user 3.52
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/982102/ft1_filtered_4FGL_J1254.2-2205_daily_bin1243.fits" evtable="EVENTS" scfile=/scratch/kocevski/982102/ft2_4FGL_J1254.2-2205_daily_bin1243.fits sctable="SC_DATA" outfile=/scratch/kocevski/982102/ltcube_561513601_561772801_4FGL_J1254.2-2205_daily_bin1243.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/982102/ft2_4FGL_J1254.2-2205_daily_bin1243.fits
.....................!
real 11.45
user 10.99
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/982102/ft1_filtered_4FGL_J1254.2-2205_daily_bin1243.fits evtable="EVENTS" scfile=/scratch/kocevski/982102/ft2_4FGL_J1254.2-2205_daily_bin1243.fits sctable="SC_DATA" expcube=/scratch/kocevski/982102/ltcube_561513601_561772801_4FGL_J1254.2-2205_daily_bin1243.fits outfile=/scratch/kocevski/982102/expmap_561513601_561772801_4FGL_J1254.2-2205_daily_bin1243.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/982102/ltcube_561513601_561772801_4FGL_J1254.2-2205_daily_bin1243.fits
.....................!
real 192.47
user 186.27
sys 5.01

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/982102/ft1_filtered_4FGL_J1254.2-2205_daily_bin1243.fits scfile=/scratch/kocevski/982102/ft2_4FGL_J1254.2-2205_daily_bin1243.fits outfile=/scratch/kocevski/982102/cmap_561513601_561772801_4FGL_J1254.2-2205_daily_bin1243.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/982102/ft1_filtered_4FGL_J1254.2-2205_daily_bin1243.fits scfile=/scratch/kocevski/982102/ft2_4FGL_J1254.2-2205_daily_bin1243.fits outfile=/scratch/kocevski/982102/cmap_HighResolution_561513601_561772801_4FGL_J1254.2-2205_daily_bin1243.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.53
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/982102/ft1_filtered_4FGL_J1254.2-2205_daily_bin1243.fits evtable="EVENTS" scfile=/scratch/kocevski/982102/ft2_4FGL_J1254.2-2205_daily_bin1243.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/982102/Model_4FGL_J1254.2-2205_daily_bin1243.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/982102/ft1_filtered_4FGL_J1254.2-2205_daily_bin1243.fits.....................!
real 46.89
user 45.39
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/982102/ft1_filtered_4FGL_J1254.2-2205_daily_bin1243.fits', '/scratch/kocevski/982102/ft2_4FGL_J1254.2-2205_daily_bin1243.fits', expMap='/scratch/kocevski/982102/expmap_561513601_561772801_4FGL_J1254.2-2205_daily_bin1243.fits', expCube='/scratch/kocevski/982102/ltcube_561513601_561772801_4FGL_J1254.2-2205_daily_bin1243.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/982102/Model_4FGL_J1254.2-2205_daily_bin1243.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/982102/ft1_filtered_4FGL_J1254.2-2205_daily_bin1243.fits
Spacecraft file(s): /scratch/kocevski/982102/ft2_4FGL_J1254.2-2205_daily_bin1243.fits
Exposure map: /scratch/kocevski/982102/expmap_561513601_561772801_4FGL_J1254.2-2205_daily_bin1243.fits
Exposure cube: /scratch/kocevski/982102/ltcube_561513601_561772801_4FGL_J1254.2-2205_daily_bin1243.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/982102/Model_4FGL_J1254.2-2205_daily_bin1243.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5375.7980283

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.5627       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.7212       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.961       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.1382       1.0000         .10000E-03   10000.    
    11 'norm      '    .13409E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10223E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.4558       1.0000         .10000E-03   10000.    
    14 'norm      '    1.1351       1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.380       1.0000         .10000E-03   10000.    
    16 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.8353       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    36.559       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10345E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1935       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0240       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=   5375.761     FROM MIGRAD    STATUS=CONVERGED    552 CALLS     2772 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.2784       -.84944E-08** at limit **
   2  Prefactor     .10000E-03    39.654        .38139E-05** at limit **
   3  Prefactor     .10000E-03    16.662        .48687E-06** at limit **
   4  Prefactor     .10000E-03    9.4137        .44030E-06** at limit **
   5  Prefactor     .10000E-03    23.606        .10508E-04** at limit **
   6  Prefactor     7.5131        32.412       -.19584E-04   -.65495E-05
   7  Prefactor     .10000E-03    6.8725       -.13249E-06** at limit **
   8  Prefactor     5.7218        3.5285        .47727E-07    .49311E-04
   9  Prefactor     12.962        18.306       -.19655E-05   -.22386E-07
  10  Prefactor     3.1377        66.414       -.83389E-05   -.84387E-07
  11  norm          .15124E-01    .50853        .27291E-06   -.15638E-02
  12  Prefactor     .10000E-03    167.13       -.29488E-05** at limit **
  13  norm          1.4562        20.879       -.14529E-05   -.15942E-03
  14  norm          1.1091        4.0386        .66756E-06   -.36125E-03
  15  Prefactor     11.391        7.4518       -.12529E-05   -.73298E-04
  16  norm          .10000E-03    2.7404       -.67724E-07** at limit **
  17  norm          2.8359        2.6816       -.60866E-07   -.37850E-05
  18  Prefactor     .10000E-03    25.390       -.13331E-04** at limit **
  19  Prefactor     36.536        28.400       -.25807E-05    .45797E-05
  20  Prefactor     .10000E-03    160.75        .70265E-05** at limit **
  21  Prefactor     .10000E-03    4.8888       -.75058E-07** at limit **
  22  Prefactor     .10000E-03    8.2655       -.19419E-06** at limit **
  23  Normalizat    1.1937        .31210        .33757E-05   -.29059E-04
  24  Prefactor     1.0240        .13586        .97754E-06   -.49999E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.51306
  Prefactor  = 0.0001
  Prefactor  = 5.72182
  Prefactor  = 12.9619
  Prefactor  = 3.13766
  norm       = 0.0151239
  Prefactor  = 0.0001
  norm       = 1.45625
  norm       = 1.10908
  Prefactor  = 11.3906
  norm       = 0.0001
  norm       = 2.83585
  Prefactor  = 0.0001
  Prefactor  = 36.5362
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.19374
  Prefactor  = 1.02396
 **********
 **   18 **HESSE 
 **********

 FCN=   5375.761     FROM HESSE     STATUS=OK           397 CALLS     3169 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.2886        .12964E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    39.674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    16.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.4168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    23.593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.5131        32.668        .14583E-03   -1.5160    
   7  Prefactor     .10000E-03    6.8881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.7218        3.5249        .10480E-03   -1.5230    
   9  Prefactor     12.962        18.315        .11126E-03   -1.4988    
  10  Prefactor     3.1377        66.521        .22884E-03   -1.5354    
  11  norm          .15124E-01    13.753        .99063E-03   -1.5683    
  12  Prefactor     .10000E-03    167.38        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.4562        22.958        .17842E-02   -1.5467    
  14  norm          1.1091        22.263        .21876E-02   -1.5497    
  15  Prefactor     11.391        8.2330        .11876E-03   -1.5033    
  16  norm          .10000E-03    2.7730        .11849E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.8359        2.6913        .11335E-03   -1.5371    
  18  Prefactor     .10000E-03    25.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     36.536        28.449        .66282E-04   -1.4498    
  20  Prefactor     .10000E-03    165.56        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.8980        .15833E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    8.2764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1937        .36989        .38655E-03   -.86796    
  24  Prefactor     1.0240        .16183        .18201E-03   -.91935    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34736e-08
Minuit parameter uncertainties:
  1  3.52061e-06
  2  2.84851e-05
  3  2.77991e-05
  4  4.73995e-06
  5  9.89367e-06
  6  31.3618
  7  1.71996e-06
  8  3.52499
  9  18.323
  10  28.9305
  11  0.909323
  12  1.87401e-05
  13  11.5691
  14  9.94183
  15  8.23387
  16  1.23145e-05
  17  2.69145
  18  2.0061e-05
  19  28.4597
  20  0.000925935
  21  7.91452e-06
  22  4.46366e-06
  23  0.370706
  24  0.161902
Done.

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

Extracting fit parameters...

4FGL J1254.2-2205
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  1.874e-05  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.024e+00  1.619e-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.194e+00  3.707e-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: 1.55e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.18e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/982102/likelihoodResults_561513601_561772801_4FGL_J1254.2-2205_daily_bin1243.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) = 5375.76115642
delta logL = -2.83309273073e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5375.76112813
delta logL = -4.4412445277e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1589       1.0000          .0000       10.000    
     3 'Normalizat'    1.1937       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0240       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=   5375.761     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      282 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10008E-03    9820.2        .18142E-02** at limit **
   2  Index         2.2545        7.2237        .50000       -.68310E-05
   3  Normalizat    1.1937        .79469E-01    .38654E-03    .59999E-05
   4  Prefactor     1.0240        .35247E-01    .18201E-03   -.18738E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100081
  Index      = 2.2545
  Normalizat = 1.19374
  Prefactor  = 1.02396
 **********
 **   18 **HESSE 
 **********

 FCN=   5375.761     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      311 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10008E-03    7476.7        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2545        7.7745        .50000       -.58129    
   3  Normalizat    1.1937        .32762        .15462E-04   -.86796    
   4  Prefactor     1.0240        .14549        .72805E-05   -.91935    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.67236e-08
Minuit parameter uncertainties:
  1  0.134104
  2  65.6984
  3  0.328184
  4  0.14555
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/982102': 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) = 5375.761128
delta logL = 9.51631591306e-08

Extracting fit parameters...

4FGL J1254.2-2205
   Spectrum: PowerLaw
283    Prefactor:  1.001e-04  1.341e-01  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  2.254e+00  6.570e+01  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.024e+00  1.456e-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.194e+00  3.282e-01  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/982102/cmap_HighResolution_561513601_561772801_4FGL_J1254.2-2205_daily_bin1243.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e-02', job_status='DONE', photon_flux_upper_limit='1.55e-07', time_completed='2021-09-06 09:00:53.315547', job_id='982102', GAL2='1.02', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1630944053.32', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='9.52e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1243' AND source_name='4FGL J1254.2-2205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 09:00:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 982102: <4FGL_J1254.2-2205_daily_bin1243> in cluster <slac> Done

Job <4FGL_J1254.2-2205_daily_bin1243> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Sep  6 08:45:59 2021
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 08:46:00 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:00 2021
Terminated at Mon Sep  6 09:00:54 2021
Results reported at Mon Sep  6 09:00:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.2-2205_daily_bin1243 193.552 -22.0872 561513601 561772801 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 :                                   635.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             266.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            895 sec.

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

