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


Performing analysis on: 4FGL_J1254.2-2205_daily_bin468
RA = 193.552, Dec = -22.0872
tmin = 360633601, tmax = 360892801
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='978641', job_status='RUN', time_executed='2021-09-06 08:37:38.736680', time_epoch_executed='1630942658.74' WHERE source_name='4FGL J1254.2-2205' and cadence='daily' and bin_id='468'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/978641

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/978641/ft1_4FGL_J1254.2-2205_daily_bin468.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/978641/ft2_4FGL_J1254.2-2205_daily_bin468.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/978641/ft1_4FGL_J1254.2-2205_daily_bin468.fits outfile=/scratch/kocevski/978641/ft1_filteredMKT_4FGL_J1254.2-2205_daily_bin468.fits ra=193.552 dec=-22.0872 rad=12.0 tmin=360633601.0 tmax=360892801.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.35
user 3.15
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/978641/ft1_filtered_4FGL_J1254.2-2205_daily_bin468.fits" evtable="EVENTS" scfile=/scratch/kocevski/978641/ft2_4FGL_J1254.2-2205_daily_bin468.fits sctable="SC_DATA" outfile=/scratch/kocevski/978641/ltcube_360633601_360892801_4FGL_J1254.2-2205_daily_bin468.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/978641/ft2_4FGL_J1254.2-2205_daily_bin468.fits
.....................!
real 12.25
user 11.87
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/978641/ft1_filtered_4FGL_J1254.2-2205_daily_bin468.fits evtable="EVENTS" scfile=/scratch/kocevski/978641/ft2_4FGL_J1254.2-2205_daily_bin468.fits sctable="SC_DATA" expcube=/scratch/kocevski/978641/ltcube_360633601_360892801_4FGL_J1254.2-2205_daily_bin468.fits outfile=/scratch/kocevski/978641/expmap_360633601_360892801_4FGL_J1254.2-2205_daily_bin468.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/978641/ltcube_360633601_360892801_4FGL_J1254.2-2205_daily_bin468.fits
.....................!
real 190.40
user 185.51
sys 3.88

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/978641/ft1_filtered_4FGL_J1254.2-2205_daily_bin468.fits scfile=/scratch/kocevski/978641/ft2_4FGL_J1254.2-2205_daily_bin468.fits outfile=/scratch/kocevski/978641/cmap_360633601_360892801_4FGL_J1254.2-2205_daily_bin468.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.87
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/978641/ft1_filtered_4FGL_J1254.2-2205_daily_bin468.fits scfile=/scratch/kocevski/978641/ft2_4FGL_J1254.2-2205_daily_bin468.fits outfile=/scratch/kocevski/978641/cmap_HighResolution_360633601_360892801_4FGL_J1254.2-2205_daily_bin468.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.87
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/978641/ft1_filtered_4FGL_J1254.2-2205_daily_bin468.fits evtable="EVENTS" scfile=/scratch/kocevski/978641/ft2_4FGL_J1254.2-2205_daily_bin468.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/978641/Model_4FGL_J1254.2-2205_daily_bin468.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/978641/ft1_filtered_4FGL_J1254.2-2205_daily_bin468.fits.....................!
real 61.21
user 59.12
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19860E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .52433       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.6278       1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.463       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .21284E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10225E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.5832       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.8339       1.0000         .10000E-03   10000.    
     9 'Prefactor '    29.774       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10165E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.1327       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12144E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    6.8438       1.0000         .10000E-03   10000.    
    14 'norm      '    2.7164       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .32505       1.0000         .10000E-03   10000.    
    16 'norm      '    4.4839       1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10822E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.8141       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .97178       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1048       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=   7509.739     FROM MIGRAD    STATUS=CONVERGED    592 CALLS     2391 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    15.216       -.56028E-05** at limit **
   2  Prefactor     .18530        104.23       -.79485E-05    .23693E-03
   3  Prefactor     9.5924        44.476       -.27212E-05   -.40874E-04
   4  Prefactor     19.510        19.654        .50828E-07    .10962E-03
   5  Prefactor     .10000E-03    23.606       -.24558E-06** at limit **
   6  Prefactor     .10000E-03    10.352       -.34015E-06** at limit **
   7  Prefactor     7.5833        6.2385       -.36332E-07   -.17833E-04
   8  Prefactor     9.8338        3.2050       -.31428E-08    .43791E-05
   9  Prefactor     29.781        16.233       -.69594E-07   -.12811E-04
  10  Prefactor     .10000E-03    7.4556        .99024E-07** at limit **
  11  norm          6.1325        1.5853       -.23604E-07   -.27038E-03
  12  Prefactor     .10000E-03    51.718        .91379E-07** at limit **
  13  norm          6.8432        7.0443       -.25541E-07   -.15341E-04
  14  norm          2.7134        6.5987       -.51061E-06   -.24512E-03
  15  Prefactor     .31347        7.4882        .10319E-05   -.17454E-03
  16  norm          4.4818        5.2345        .85388E-07    .14674E-03
  17  norm          .10000E-03    .97476        .47154E-07** at limit **
  18  Prefactor     .10000E-03    18.343        .43083E-06** at limit **
  19  Prefactor     .10000E-03    7.2329        .15290E-06** at limit **
  20  Prefactor     .10000E-03    9.5882        .99323E-07** at limit **
  21  Prefactor     1.8099        7.3803        .94118E-06    .28004E-03
  22  Prefactor     .10000E-03    14.725        .97360E-06** at limit **
  23  Normalizat    .97194        .26459        .77226E-06    .92860E-04
  24  Prefactor     1.1048        .12374       -.18877E-06    .15669E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Prefactor  = 0.185299
  Prefactor  = 9.59244
  Prefactor  = 19.51
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.58334
  Prefactor  = 9.83379
  Prefactor  = 29.7814
  Prefactor  = 0.0001
  norm       = 6.13248
  Prefactor  = 0.0001
  norm       = 6.84315
  norm       = 2.71339
  Prefactor  = 0.313474
  norm       = 4.48183
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.80987
  Prefactor  = 0.0001
  Normalizat = 0.971943
  Prefactor  = 1.10479
 **********
 **   18 **HESSE 
 **********

 FCN=   7509.739     FROM HESSE     STATUS=OK           407 CALLS     2798 TOTAL
                     EDM=   .73E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    15.293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .18530        51.587        .19073       -1.5622    
   3  Prefactor     9.5924        44.545        .12915E-03   -1.5088    
   4  Prefactor     19.510        19.654        .90788E-04   -1.4824    
   5  Prefactor     .10000E-03    23.611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.5833        6.2410        .14563E-03   -1.5157    
   8  Prefactor     9.8338        3.2057        .84417E-04   -1.5081    
   9  Prefactor     29.781        16.242        .73427E-04   -1.4616    
  10  Prefactor     .10000E-03    7.5119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.1325        1.5823        .52823E-04   -1.5213    
  12  Prefactor     .10000E-03    51.743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.8432        7.0440        .15337E-03   -1.5185    
  14  norm          2.7134        6.4462        .24711E-03   -1.5379    
  15  Prefactor     .31347        32.317        .36295E-02   -1.5596    
  16  norm          4.4818        5.2346        .95073E-03   -1.5285    
  17  norm          .10000E-03    .97964        .83535E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    18.659        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.2529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.5969        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.8099        7.4136        .15507E-02   -1.5439    
  22  Prefactor     .10000E-03    14.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .97194        .30008        .41921E-03   -.93976    
  24  Prefactor     1.1048        .14160        .18569E-03   -.89314    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.26447e-08
Minuit parameter uncertainties:
  1  0.000604691
  2  6.18725
  3  41.3926
  4  19.6603
  5  1.96749e-05
  6  3.038e-05
  7  6.24152
  8  3.20573
  9  16.244
  10  6.19575e-06
  11  1.58235
  12  1.47489e-05
  13  7.04484
  14  6.4478
  15  6.36826
  16  5.23512
  17  1.04267e-06
  18  5.31191e-05
  19  9.878e-06
  20  8.94826e-06
  21  7.32741
  22  0.00014371
  23  0.300602
  24  0.14165
Done.

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

Extracting fit parameters...

4FGL J1254.2-2205
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  1.475e-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.105e+00  1.416e-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:  9.719e-01  3.006e-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.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/978641/likelihoodResults_360633601_360892801_4FGL_J1254.2-2205_daily_bin468.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) = 7509.73905867
delta logL = -9.19918738873e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7509.73896672
delta logL = -4.40704752691e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10542E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2494       1.0000          .0000       10.000    
     3 'Normalizat'    .97194       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1048       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=   7509.739     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      237 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7822.6        .90712E-02** at limit **
   2  Index         2.2528        6.6205        .50000       -.55361E-06
   3  Normalizat    .97194        .96684E-01    .94639E-01    .14227E-04
   4  Prefactor     1.1048        .45592E-01    .37407E-01   -.18818E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.25276
  Normalizat = 0.971942
  Prefactor  = 1.10479
 **********
 **   18 **HESSE 
 **********

 FCN=   7509.739     FROM HESSE     STATUS=OK            33 CALLS      270 TOTAL
                     EDM=   .46E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    105.28        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2528        5.8805        .50000       -.58170    
   3  Normalizat    .97194        .29355        .41922E-03   -.93976    
   4  Prefactor     1.1048        .13902        .18569E-03   -.89314    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.57345e-12
Minuit parameter uncertainties:
  1  0.000143019
  2  6.00058
  3  0.294039
  4  0.139063
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/978641': 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) = 7509.73896667
delta logL = 8.26821633382e-09

Extracting fit parameters...

4FGL J1254.2-2205
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  1.430e-04  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  2.253e+00  6.001e+00  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.105e+00  1.391e-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:  9.719e-01  2.940e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/978641/cmap_HighResolution_360633601_360892801_4FGL_J1254.2-2205_daily_bin468.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.66e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-09-06 08:50:05.664666', job_id='978641', GAL2='1.10', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1630943405.66', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='8.27e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='468' AND source_name='4FGL J1254.2-2205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 08:50:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 978641: <4FGL_J1254.2-2205_daily_bin468> in cluster <slac> Done

Job <4FGL_J1254.2-2205_daily_bin468> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Sep  6 08:35:25 2021
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 08:35:27 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:35:27 2021
Terminated at Mon Sep  6 08:50:06 2021
Results reported at Mon Sep  6 08:50:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.2-2205_daily_bin468 193.552 -22.0872 360633601 360892801 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 :                                   741.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            881 sec.

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

