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


Performing analysis on: 4FGL_J1254.2-2205_daily_bin1193
RA = 193.552, Dec = -22.0872
tmin = 548553601, tmax = 548812801
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='982043', job_status='RUN', time_executed='2021-09-06 08:49:20.801308', time_epoch_executed='1630943360.8' WHERE source_name='4FGL J1254.2-2205' and cadence='daily' and bin_id='1193'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/982043

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/982043/ft1_4FGL_J1254.2-2205_daily_bin1193.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/982043/ft2_4FGL_J1254.2-2205_daily_bin1193.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/982043/ft1_4FGL_J1254.2-2205_daily_bin1193.fits outfile=/scratch/kocevski/982043/ft1_filteredMKT_4FGL_J1254.2-2205_daily_bin1193.fits ra=193.552 dec=-22.0872 rad=12.0 tmin=548553601.0 tmax=548812801.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.60
user 3.29
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/982043/ft2_4FGL_J1254.2-2205_daily_bin1193.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/982043/ft1_filteredMKT_4FGL_J1254.2-2205_daily_bin1193.fits evtable="EVENTS" outfile="/scratch/kocevski/982043/ft1_filtered_4FGL_J1254.2-2205_daily_bin1193.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.59
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/982043/ft1_filtered_4FGL_J1254.2-2205_daily_bin1193.fits" evtable="EVENTS" scfile=/scratch/kocevski/982043/ft2_4FGL_J1254.2-2205_daily_bin1193.fits sctable="SC_DATA" outfile=/scratch/kocevski/982043/ltcube_548553601_548812801_4FGL_J1254.2-2205_daily_bin1193.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/982043/ft2_4FGL_J1254.2-2205_daily_bin1193.fits
.....................!
real 12.10
user 11.65
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/982043/ft1_filtered_4FGL_J1254.2-2205_daily_bin1193.fits evtable="EVENTS" scfile=/scratch/kocevski/982043/ft2_4FGL_J1254.2-2205_daily_bin1193.fits sctable="SC_DATA" expcube=/scratch/kocevski/982043/ltcube_548553601_548812801_4FGL_J1254.2-2205_daily_bin1193.fits outfile=/scratch/kocevski/982043/expmap_548553601_548812801_4FGL_J1254.2-2205_daily_bin1193.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/982043/ltcube_548553601_548812801_4FGL_J1254.2-2205_daily_bin1193.fits
.....................!
real 191.55
user 185.90
sys 4.00

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/982043/ft1_filtered_4FGL_J1254.2-2205_daily_bin1193.fits scfile=/scratch/kocevski/982043/ft2_4FGL_J1254.2-2205_daily_bin1193.fits outfile=/scratch/kocevski/982043/cmap_548553601_548812801_4FGL_J1254.2-2205_daily_bin1193.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.57
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/982043/ft1_filtered_4FGL_J1254.2-2205_daily_bin1193.fits scfile=/scratch/kocevski/982043/ft2_4FGL_J1254.2-2205_daily_bin1193.fits outfile=/scratch/kocevski/982043/cmap_HighResolution_548553601_548812801_4FGL_J1254.2-2205_daily_bin1193.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.54
user 0.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/982043/ft1_filtered_4FGL_J1254.2-2205_daily_bin1193.fits evtable="EVENTS" scfile=/scratch/kocevski/982043/ft2_4FGL_J1254.2-2205_daily_bin1193.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/982043/Model_4FGL_J1254.2-2205_daily_bin1193.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/982043/ft1_filtered_4FGL_J1254.2-2205_daily_bin1193.fits.....................!
real 52.56
user 51.16
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    74.266       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.056       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.8396       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.6446       1.0000         .10000E-03   10000.    
    11 'norm      '    .11103E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    36.283       1.0000         .10000E-03   10000.    
    13 'norm      '    3.5440       1.0000         .10000E-03   10000.    
    14 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10200E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.4288       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14363E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.3345       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10905E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    12.138       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.6110       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91043       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=   6120.467     FROM MIGRAD    STATUS=CONVERGED    535 CALLS     2688 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.7546        .14285E-06** at limit **
   2  Prefactor     74.265        69.618        .25443E-06   -.54370E-05
   3  Prefactor     13.056        38.283        .36791E-06   -.61487E-05
   4  Prefactor     .10000E-03    10.978        .15983E-06** at limit **
   5  Prefactor     .10000E-03    19.341        .15953E-06** at limit **
   6  Prefactor     .10000E-03    10.977        .19698E-06** at limit **
   7  Prefactor     .10000E-03    6.6417        .44876E-06** at limit **
   8  Prefactor     6.8406        2.4313        .13034E-07   -.68555E-04
   9  Prefactor     .10000E-03    8.3784        .29634E-06** at limit **
  10  Prefactor     6.6483        12.169        .53793E-06   -.94617E-05
  11  norm          .10000E-03    .75271        .39183E-06** at limit **
  12  Prefactor     36.289        51.938       -.29178E-06   -.16567E-04
  13  norm          3.5455        9.8980        .78923E-06    .38309E-05
  14  norm          .10000E-03    4.0270        .37323E-06** at limit **
  15  Prefactor     .10000E-03    2.7022        .16926E-06** at limit **
  16  norm          .10000E-03    16.127        .52729E-06** at limit **
  17  norm          .10000E-03    1.2705        .43644E-07** at limit **
  18  Prefactor     6.4294        11.405        .29249E-06   -.65129E-06
  19  Prefactor     .10000E-03    28.839       -.13547E-05** at limit **
  20  Prefactor     5.2248        126.60       -.26466E-05   -.74068E-05
  21  Prefactor     .10000E-03    21.012       -.49033E-05** at limit **
  22  Prefactor     12.122        23.077       -.51794E-06   -.10055E-04
  23  Normalizat    1.6108        .29239       -.23166E-05   -.82017E-04
  24  Prefactor     .91049        .13127        .53390E-06   -.28112E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 74.2649
  Prefactor  = 13.0562
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.8406
  Prefactor  = 0.0001
  Prefactor  = 6.64828
  norm       = 0.0001
  Prefactor  = 36.289
  norm       = 3.5455
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 6.42942
  Prefactor  = 0.0001
  Prefactor  = 5.22476
  Prefactor  = 0.0001
  Prefactor  = 12.1222
  Normalizat = 1.61076
  Prefactor  = 0.910487
 **********
 **   18 **HESSE 
 **********

 FCN=   6120.467     FROM HESSE     STATUS=OK           391 CALLS     3079 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.7648        .14799E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     74.265        69.635        .46590E-04   -1.3982    
   3  Prefactor     13.056        38.274        .11086E-03   -1.4985    
   4  Prefactor     .10000E-03    10.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    19.353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.8558        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.8406        2.4273        .70348E-04   -1.5185    
   9  Prefactor     .10000E-03    8.4172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.6483        12.214        .15567E-03   -1.5192    
  11  norm          .10000E-03    1.5537        .12634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     36.289        51.926        .66533E-04   -1.4502    
  13  norm          3.5455        9.9064        .21471E-03   -1.5331    
  14  norm          .10000E-03    4.0704        .15339E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.7175        .12563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    16.756        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.2986        .86113E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.4294        11.407        .15829E-03   -1.5201    
  19  Prefactor     .10000E-03    28.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.2248        128.05        .17401E-03   -1.5251    
  21  Prefactor     .10000E-03    21.097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     12.122        22.985        .11498E-03   -1.5011    
  23  Normalizat    1.6108        .33678        .34201E-03   -.74712    
  24  Prefactor     .91049        .15246        .20169E-03   -.95776    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55514e-10
Minuit parameter uncertainties:
  1  3.40413e-06
  2  69.7116
  3  38.3463
  4  8.32323e-06
  5  4.32178e-06
  6  1.12411e-05
  7  1.41454e-05
  8  2.42738
  9  9.09932e-06
  10  12.2188
  11  3.97379e-05
  12  51.9906
  13  9.91099
  14  7.94045e-06
  15  3.18978e-06
  16  1.95313e-05
  17  8.19406e-07
  18  11.4104
  19  3.80961e-05
  20  51.8559
  21  8.9545e-05
  22  23.0019
  23  0.337254
  24  0.152528
Done.

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

Extracting fit parameters...

4FGL J1254.2-2205
   Spectrum: PowerLaw
283    Prefactor:  3.629e+01  5.199e+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:  9.105e-01  1.525e-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.611e+00  3.373e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.87
Ra Dec: 193.552 -22.087
Photon Flux Upper Limit: 1.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/982043/likelihoodResults_548553601_548812801_4FGL_J1254.2-2205_daily_bin1193.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6120.41918621
delta logL = 0.0482264978273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6120.41705209
delta logL = 0.0503606226175

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    48.167       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9109       1.0000          .0000       10.000    
     3 'Normalizat'    1.6155       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90950       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=   6120.417     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      283 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     48.172        73.333        .57777E-04   -.10283E-03
   2  Index         1.9108        .86260        .99591E-02   -.89230E-04
   3  Normalizat    1.6157        .32447        .34157E-03    .12202E-03
   4  Prefactor     .90939        .15053        .20179E-03    .24627E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 48.1716
  Index      = 1.9108
  Normalizat = 1.6157
  Prefactor  = 0.909392
 **********
 **   18 **HESSE 
 **********

 FCN=   6120.417     FROM HESSE     STATUS=OK            25 CALLS      308 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     48.172        71.973        .11555E-04   -1.4319    
   2  Index         1.9108        .84697        .39836E-03   -.66599    
   3  Normalizat    1.6157        .32469        .68314E-04   -.74577    
   4  Prefactor     .90939        .15065        .40357E-04   -.95814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.42376e-10
Minuit parameter uncertainties:
  1  72.1037
  2  0.853661
  3  0.325115
  4  0.15072
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/982043': 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) = 6120.41705183
delta logL = 0.0503608845374

Extracting fit parameters...

4FGL J1254.2-2205
   Spectrum: PowerLaw
283    Prefactor:  4.817e+01  7.210e+01  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  1.911e+00  8.537e-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:  9.094e-01  1.507e-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.616e+00  3.251e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.87
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/982043/cmap_HighResolution_548553601_548812801_4FGL_J1254.2-2205_daily_bin1193.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.89e-03', job_status='DONE', photon_flux_upper_limit='1.17e-07', time_completed='2021-09-06 09:01:24.668595', job_id='982043', GAL2='0.91', fit_tolerance='1e-08', EG2='1.62', EG='1.61', time_epoch_completed='1630944084.67', return_code2='0', ts='0.87', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='5.04e-02', ts2='0.97', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1193' AND source_name='4FGL J1254.2-2205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 09:01:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 982043: <4FGL_J1254.2-2205_daily_bin1193> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.2-2205_daily_bin1193 193.552 -22.0872 548553601 548812801 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 :                                   675.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             236.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   928 sec.
    Turnaround time :                            931 sec.

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

