/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 9 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 = 7484
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1254.2-2205_daily_bin161
RA = 193.552, Dec = -22.0872
tmin = 281059201, tmax = 281318401
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='976221', job_status='RUN', time_executed='2021-09-06 08:26:13.501454', time_epoch_executed='1630941973.5' WHERE source_name='4FGL J1254.2-2205' and cadence='daily' and bin_id='161'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/976221

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/976221/ft1_4FGL_J1254.2-2205_daily_bin161.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/976221/ft2_4FGL_J1254.2-2205_daily_bin161.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/976221/ft1_4FGL_J1254.2-2205_daily_bin161.fits outfile=/scratch/kocevski/976221/ft1_filteredMKT_4FGL_J1254.2-2205_daily_bin161.fits ra=193.552 dec=-22.0872 rad=12.0 tmin=281059201.0 tmax=281318401.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 4.50
user 4.24
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/976221/ft1_filtered_4FGL_J1254.2-2205_daily_bin161.fits" evtable="EVENTS" scfile=/scratch/kocevski/976221/ft2_4FGL_J1254.2-2205_daily_bin161.fits sctable="SC_DATA" outfile=/scratch/kocevski/976221/ltcube_281059201_281318401_4FGL_J1254.2-2205_daily_bin161.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/976221/ft2_4FGL_J1254.2-2205_daily_bin161.fits
.....................!
real 12.28
user 11.88
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/976221/ft1_filtered_4FGL_J1254.2-2205_daily_bin161.fits evtable="EVENTS" scfile=/scratch/kocevski/976221/ft2_4FGL_J1254.2-2205_daily_bin161.fits sctable="SC_DATA" expcube=/scratch/kocevski/976221/ltcube_281059201_281318401_4FGL_J1254.2-2205_daily_bin161.fits outfile=/scratch/kocevski/976221/expmap_281059201_281318401_4FGL_J1254.2-2205_daily_bin161.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/976221/ltcube_281059201_281318401_4FGL_J1254.2-2205_daily_bin161.fits
.....................!
real 192.14
user 186.01
sys 5.70

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/976221/ft1_filtered_4FGL_J1254.2-2205_daily_bin161.fits scfile=/scratch/kocevski/976221/ft2_4FGL_J1254.2-2205_daily_bin161.fits outfile=/scratch/kocevski/976221/cmap_281059201_281318401_4FGL_J1254.2-2205_daily_bin161.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.59
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/976221/ft1_filtered_4FGL_J1254.2-2205_daily_bin161.fits scfile=/scratch/kocevski/976221/ft2_4FGL_J1254.2-2205_daily_bin161.fits outfile=/scratch/kocevski/976221/cmap_HighResolution_281059201_281318401_4FGL_J1254.2-2205_daily_bin161.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    103.59       1.0000         .10000E-03   10000.    
     3 'Prefactor '    61.416       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    35.558       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.4048       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.4022       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.3108       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.4807       1.0000         .10000E-03   10000.    
    12 'Prefactor '    152.27       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .68725E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.1556       1.0000         .10000E-03   10000.    
    16 'norm      '    1.6727       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.4675       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .41472       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.0725       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.8751       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.6419       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .67026       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=   5550.695     FROM MIGRAD    STATUS=CONVERGED    565 CALLS     2790 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.5595        .12515E-06** at limit **
   2  Prefactor     103.59        94.978        .44012E-06   -.39321E-05
   3  Prefactor     61.404        46.483        .18418E-06   -.64974E-05
   4  Prefactor     .10000E-03    22.175        .22846E-06** at limit **
   5  Prefactor     35.525        66.863       -.48000E-06   -.77886E-05
   6  Prefactor     8.4000        28.533        .25643E-06   -.22385E-06
   7  Prefactor     4.4007        7.2480        .11248E-06   -.14540E-03
   8  Prefactor     5.3108        2.9238       -.48130E-07   -.78482E-04
   9  Prefactor     .10000E-03    5.0917        .66447E-07** at limit **
  10  Prefactor     .10000E-03    29.855       -.42542E-06** at limit **
  11  norm          3.4807        1.4382        .40250E-07    .99588E-04
  12  Prefactor     152.01        119.17       -.61411E-05   -.16355E-04
  13  norm          .10000E-03    2.8977        .68463E-07** at limit **
  14  norm          .10440E-03    14.175       -.48040E-06** at limit **
  15  Prefactor     4.1517        5.3833        .49182E-06    .25298E-03
  16  norm          1.6717        8.0267       -.46098E-07   -.22841E-04
  17  norm          .10000E-03    .82395        .51693E-07** at limit **
  18  Prefactor     2.4671        6.5059        .16787E-06    .91326E-06
  19  Prefactor     .38304        150.65        .64998E-05    .65065E-04
  20  Prefactor     2.0694        93.845       -.78000E-06    .47934E-06
  21  Prefactor     1.8733        31.568        .91132E-06    .69036E-05
  22  Prefactor     .10000E-03    32.524       -.35103E-06** at limit **
  23  Normalizat    1.6422        .32011       -.52503E-05    .55286E-04
  24  Prefactor     .67020        .13972        .28002E-05   -.76152E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 103.585
  Prefactor  = 61.4038
  Prefactor  = 0.0001
  Prefactor  = 35.5251
  Prefactor  = 8.40003
  Prefactor  = 4.40073
  Prefactor  = 5.31083
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.48068
  Prefactor  = 152.006
  norm       = 0.0001
  norm       = 0.000104404
  Prefactor  = 4.15167
  norm       = 1.67172
  norm       = 0.0001
  Prefactor  = 2.46711
  Prefactor  = 0.383044
  Prefactor  = 2.06937
  Prefactor  = 1.87329
  Prefactor  = 0.0001
  Normalizat = 1.64218
  Prefactor  = 0.670196
 **********
 **   18 **HESSE 
 **********

 FCN=   5550.695     FROM HESSE     STATUS=OK           413 CALLS     3203 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.5772        .17145E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     103.59        94.905        .39506E-04   -1.3669    
   3  Prefactor     61.404        46.447        .51200E-04   -1.4139    
   4  Prefactor     .10000E-03    22.186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     35.525        66.823        .67206E-04   -1.4515    
   6  Prefactor     8.4000        28.520        .13828E-03   -1.5128    
   7  Prefactor     4.4007        7.3079        .95973E-03   -1.5288    
   8  Prefactor     5.3108        2.9290        .85884E-04   -1.5247    
   9  Prefactor     .10000E-03    5.1000        .16420E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    30.795        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.4807        1.4363        .54885E-04   -1.5335    
  12  Prefactor     152.01        141.60        .16333E-03   -1.3236    
  13  norm          .10000E-03    2.9017        .12387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10440E-03    14.234        .52820E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.1517        5.7569        .18031E-03   -1.5300    
  16  norm          1.6717        8.0803        .32590E-03   -1.5449    
  17  norm          .10000E-03    .82572        .66048E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.4671        6.4785        .26033E-03   -1.5394    
  19  Prefactor     .38304        149.94        .50981E-02   -1.5584    
  20  Prefactor     2.0694        91.600        .28693E-03   -1.5420    
  21  Prefactor     1.8733        30.989        .30409E-03   -1.5434    
  22  Prefactor     .10000E-03    32.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.6422        .33794        .31767E-03   -.73858    
  24  Prefactor     .67020        .14724        .20778E-03   -1.0471    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2325e-09
Minuit parameter uncertainties:
  1  1.24148e-05
  2  95.0445
  3  46.4745
  4  7.27259e-05
  5  66.9644
  6  28.566
  7  7.30941
  8  2.92909
  9  6.87028e-06
  10  0.000162386
  11  1.43633
  12  141.92
  13  4.52456e-06
  14  0.0158382
  15  5.75768
  16  7.35203
  17  1.55715e-07
  18  6.48033
  19  15.1936
  20  27.5801
  21  15.2472
  22  2.07962e-05
  23  0.338417
  24  0.147329
Done.

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

Extracting fit parameters...

4FGL J1254.2-2205
   Spectrum: PowerLaw
283    Prefactor:  1.520e+02  1.419e+02  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:  6.702e-01  1.473e-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.642e+00  3.384e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.26
Ra Dec: 193.552 -22.087
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 9.05e-08 +/- 8.45e-08
Energy Flux (Fixed Index): 4.13e-05 +/- 3.86e-05

TS (Fixed Index): 2.26
Ra Dec: 193.552 -22.087
Photon Flux Upper Limit: 2.29e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.75e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/976221/likelihoodResults_281059201_281318401_4FGL_J1254.2-2205_daily_bin161.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) = 5549.66738493
delta logL = 1.02738996991

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5549.63277119
delta logL = 1.06200370753

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.650       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1735       1.0000          .0000       10.000    
     3 'Normalizat'    1.5188       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70526       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=   5549.633     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      312 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.637        433.32        .70126E-04   -.69552E-03
   2  Index         3.1737        2.8742        .29953E-02   -.37630E-03
   3  Normalizat    1.5188        .39721        .32719E-03   -.15553E-03
   4  Prefactor     .70527        .17431        .20287E-03   -.62802E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.6374
  Index      = 3.17372
  Normalizat = 1.51881
  Prefactor  = 0.705272
 **********
 **   18 **HESSE 
 **********

 FCN=   5549.633     FROM HESSE     STATUS=OK            25 CALLS      337 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.637        64.100        .14025E-04   -1.4565    
   2  Index         3.1737        .82422        .11981E-03   -.37391    
   3  Normalizat    1.5188        .34286        .65437E-04   -.77251    
   4  Prefactor     .70527        .14884        .40573E-04   -1.0332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05948e-09
Minuit parameter uncertainties:
  1  64.2354
  2  0.828584
  3  0.343383
  4  0.148927
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/976221': 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) = 5549.63277101
delta logL = 1.06200388729

Extracting fit parameters...

4FGL J1254.2-2205
   Spectrum: PowerLaw
283    Prefactor:  3.264e+01  6.424e+01  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  3.174e+00  8.286e-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:  7.053e-01  1.489e-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.519e+00  3.434e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.53
Ra Dec: 193.552 -22.087
Photon Index (Free Index): 3.17 +/- 0.83
Photon Flux (Free Index): 2.02e-07 +/- 1.19e-07
Energy Flux (Free Index): 3.74e-05 +/- 2.09e-05

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/976221/cmap_HighResolution_281059201_281318401_4FGL_J1254.2-2205_daily_bin161.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.75e-02', comment='SUCCESS', photon_flux='9.05e-08', energy_flux2='3.74e-05', photon_flux_error='8.45e-08', dlogl='1.06e+00', energy_flux='4.13e-05', photon_flux2='2.02e-07', job_status='DONE', time_completed='2021-09-06 08:37:24.364167', photon_index_error2='0.83', photon_index2='3.17', ts='2.26', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', photon_flux_upper_limit='2.29e-07', energy_flux_error2='2.09e-05', EG='1.64', time_epoch_completed='1630942644.36', return_code='0', job_id='976221', GAL2='0.71', EG2='1.52', return_code2='0', energy_flux_error='3.86e-05', photon_flux_error2='1.19e-07', ts2='4.53', photon_index='2.19' WHERE bin_id='161' AND source_name='4FGL J1254.2-2205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 08:37:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 976221: <4FGL_J1254.2-2205_daily_bin161> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.2-2205_daily_bin161 193.552 -22.0872 281059201 281318401 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 :                                   667.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             338.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   692 sec.
    Turnaround time :                            695 sec.

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

