aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 58 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1254.2-2205_daily_bin1748
RA = 193.552, Dec = -22.0872
tmin = 692409601, tmax = 692668801
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='886341', job_status='RUN', time_executed='2022-12-14 00:41:34.548758', time_epoch_executed='1671007294.55' WHERE source_name='4FGL J1254.2-2205' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/886341

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/886341/ft1_4FGL_J1254.2-2205_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/886341/ft2_4FGL_J1254.2-2205_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/886341/ft1_4FGL_J1254.2-2205_daily_bin1748.fits outfile=/scratch/kocevski/886341/ft1_filteredMKT_4FGL_J1254.2-2205_daily_bin1748.fits ra=193.552 dec=-22.0872 rad=12.0 tmin=692409601.0 tmax=692668801.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.37
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/886341/ft2_4FGL_J1254.2-2205_daily_bin1748.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/886341/ft1_filteredMKT_4FGL_J1254.2-2205_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/886341/ft1_filtered_4FGL_J1254.2-2205_daily_bin1748.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.16

Number of photons that the gtmktime cut: 1026

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/886341/ft1_filtered_4FGL_J1254.2-2205_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/886341/ft2_4FGL_J1254.2-2205_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/886341/ltcube_692409601_692668801_4FGL_J1254.2-2205_daily_bin1748.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/886341/ft2_4FGL_J1254.2-2205_daily_bin1748.fits
.....................!
real 12.05
user 11.68
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/886341/ft1_filtered_4FGL_J1254.2-2205_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/886341/ft2_4FGL_J1254.2-2205_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/886341/ltcube_692409601_692668801_4FGL_J1254.2-2205_daily_bin1748.fits outfile=/scratch/kocevski/886341/expmap_692409601_692668801_4FGL_J1254.2-2205_daily_bin1748.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/886341/ltcube_692409601_692668801_4FGL_J1254.2-2205_daily_bin1748.fits
.....................!
real 190.31
user 185.57
sys 4.33

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/886341/ft1_filtered_4FGL_J1254.2-2205_daily_bin1748.fits scfile=/scratch/kocevski/886341/ft2_4FGL_J1254.2-2205_daily_bin1748.fits outfile=/scratch/kocevski/886341/cmap_692409601_692668801_4FGL_J1254.2-2205_daily_bin1748.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/886341/ft1_filtered_4FGL_J1254.2-2205_daily_bin1748.fits scfile=/scratch/kocevski/886341/ft2_4FGL_J1254.2-2205_daily_bin1748.fits outfile=/scratch/kocevski/886341/cmap_HighResolution_692409601_692668801_4FGL_J1254.2-2205_daily_bin1748.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/886341/ft1_filtered_4FGL_J1254.2-2205_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/886341/ft2_4FGL_J1254.2-2205_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/886341/Model_4FGL_J1254.2-2205_daily_bin1748.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/886341/ft1_filtered_4FGL_J1254.2-2205_daily_bin1748.fits.....................!
real 82.08
user 80.55
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/886341/ft1_filtered_4FGL_J1254.2-2205_daily_bin1748.fits', '/scratch/kocevski/886341/ft2_4FGL_J1254.2-2205_daily_bin1748.fits', expMap='/scratch/kocevski/886341/expmap_692409601_692668801_4FGL_J1254.2-2205_daily_bin1748.fits', expCube='/scratch/kocevski/886341/ltcube_692409601_692668801_4FGL_J1254.2-2205_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/886341/Model_4FGL_J1254.2-2205_daily_bin1748.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  0.000e+00  1.000e+06 ( 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/886341/ft1_filtered_4FGL_J1254.2-2205_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/886341/ft2_4FGL_J1254.2-2205_daily_bin1748.fits
Exposure map: /scratch/kocevski/886341/expmap_692409601_692668801_4FGL_J1254.2-2205_daily_bin1748.fits
Exposure cube: /scratch/kocevski/886341/ltcube_692409601_692668801_4FGL_J1254.2-2205_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/886341/Model_4FGL_J1254.2-2205_daily_bin1748.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) = 10907.168767

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41666       1.0000          .0000       .10000E+07
     2 'Prefactor '    39.725       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12532E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .12628E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .93791E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10848E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    9.2501       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.4458       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.9264       1.0000          .0000       .10000E+07
    10 'norm      '    .12862E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    32.647       1.0000          .0000       .10000E+07
    12 'norm      '    10.452       1.0000          .0000       .10000E+07
    13 'norm      '    2.2048       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.1248       1.0000          .0000       .10000E+07
    15 'norm      '    .28787E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .59952E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    11.111       1.0000          .0000       .10000E+07
    18 'Prefactor '    .77547E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    5.7746       1.0000          .0000       .10000E+07
    20 'Prefactor '    .57464E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .46632E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1505       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0422       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10907.16     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1851 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .28431        16.166       -.28761E-05    .84825E-02
   2  Prefactor     40.715        32.857        .11103E-05    .33694E-01
   3  Prefactor     .16920E-06    3.4331        .14212E-05** at limit **
   4  Prefactor     .10436E-07    9.5620        .66382E-07** at limit **
   5  Prefactor     .12029E-06    5.7781       -.11654E-05** at limit **
   6  Prefactor     .15082E-06    3.1410       -.59919E-07** at limit **
   7  Prefactor     9.2531        2.3811       -.15388E-05    .74111E-03
   8  Prefactor     8.4695        2.3425       -.89559E-06    .19612E-01
   9  Prefactor     7.9312        7.2975        .12650E-05    .12188E-01
  10  norm           .0000        .25894        .17084E-07** at limit **
  11  Prefactor     32.353        11.178       -.58590E-06    .50128E-01
  12  norm          10.351        6.6902       -.90153E-06   -.42993E-02
  13  norm          2.3500        5.6878       -.25792E-06   -.20472E-02
  14  Prefactor     6.0084        5.6897        .43195E-07    .66901E-02
  15  norm          .37192E-08    5.1200       -.46059E-06** at limit **
  16  norm           .0000        1.7819        .25275E-06** at limit **
  17  Prefactor     11.102        8.2912        .31567E-05    .34627E-01
  18  Prefactor     .25546E-06    3.1020       -.65773E-06** at limit **
  19  Prefactor     5.8160        1.3385        .15450E-06   -.99980E-02
  20  Prefactor     .26090E-08    5.0401       -.69334E-07** at limit **
  21  Prefactor     .55511E-10    3.6252        .19618E-06** at limit **
  22  Normalizat    1.1504        .22975        .32613E-05    .14680E-03
  23  Prefactor     1.0422        .11065       -.89174E-08    .27192E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.284309
  Prefactor  = 40.7152
  Prefactor  = 1.69198e-07
  Prefactor  = 1.04361e-08
  Prefactor  = 1.20293e-07
  Prefactor  = 1.50824e-07
  Prefactor  = 9.25312
  Prefactor  = 8.4695
  Prefactor  = 7.93116
  norm       = 0
  Prefactor  = 32.3534
  norm       = 10.3511
  norm       = 2.35001
  Prefactor  = 6.00837
  norm       = 3.71925e-09
  norm       = 0
  Prefactor  = 11.1018
  Prefactor  = 2.55462e-07
  Prefactor  = 5.816
  Prefactor  = 2.60902e-09
  Prefactor  = 5.55112e-11
  Normalizat = 1.15037
  Prefactor  = 1.04219
 **********
 **   18 **HESSE 
 **********

 FCN=   10907.16     FROM HESSE     STATUS=OK           418 CALLS     2269 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28431        4.5723        .87581E-02   -1.5697    
   2  Prefactor     40.715        33.843        .15868E-03   -1.5580    
   3  Prefactor     .16920E-06    6.2716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10436E-07    14.242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .12029E-06    8.6673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .15082E-06    8.8440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.2531        2.3837        .32943E-02   -1.5099    
   8  Prefactor     8.4695        10.231        .34470E-03   -1.5650    
   9  Prefactor     7.9312        7.3240        .35590E-03   -1.5652    
  10  norm           .0000        .25616        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     32.353        37.416        .17504E-03   -1.5594    
  12  norm          10.351        6.6979        .30967E-03   -1.5644    
  13  norm          2.3500        6.0695        .69256E-03   -1.5677    
  14  Prefactor     6.0084        5.9012        .40543E-03   -1.5659    
  15  norm          .37192E-08    5.1092        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        1.7157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.102        8.7216        .30031E-03   -1.5641    
  18  Prefactor     .25546E-06    6.0760        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.8160        15.989        .41772E-03   -1.5660    
  20  Prefactor     .26090E-08    14.956        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .55511E-10    3.6357        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1504        .20068        .81824E-01   -.88151    
  23  Prefactor     1.0422        .94763E-01    .40390E-01   -.91336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25991e-06
Minuit parameter uncertainties:
  1  2.2803
  2  33.8427
  3  0.00206023
  4  0.000771947
  5  0.00204213
  6  0.00230995
  7  2.38376
  8  10.2308
  9  7.32397
  10  4.65379e-06
  11  37.4163
  12  6.69793
  13  6.06953
  14  5.90122
  15  0.000275678
  16  4.34233e-06
  17  8.72162
  18  0.00249162
  19  15.9887
  20  0.000394021
  21  2.54614e-05
  22  0.200817
  23  0.094778
Done.

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

Extracting fit parameters...

4FGL J1254.2-2205
   Spectrum: PowerLaw
283    Prefactor:  3.235e+01  3.742e+01  0.000e+00  1.000e+06 ( 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.042e+00  9.478e-02  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.150e+00  2.008e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.16
Ra Dec: 193.552 -22.087
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 1.93e-08 +/- 2.23e-08
Energy Flux (Fixed Index): 8.80e-06 +/- 1.02e-05

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

Saving results to:
/scratch/kocevski/886341/likelihoodResults_692409601_692668801_4FGL_J1254.2-2205_daily_bin1748.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) = 10906.7960685
delta logL = 0.360380464232

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10906.7784477
delta logL = 0.378001190527

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    51.955       1.0000          .0000       .10000E+07
     2 'Index     '    1.4534       1.0000          .0000       10.000    
     3 'Normalizat'    1.1598       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0403       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=   10906.78     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      311 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.963        53.190        .27749E-04   -.16224E-03
   2  Index         1.4534        .66579        .14775E-01   -.17178E-03
   3  Normalizat    1.1599        .22712        .36096E-03   -.21984E-04
   4  Prefactor     1.0402        .11037        .18274E-03   -.49769E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.9632
  Index      = 1.45337
  Normalizat = 1.15988
  Prefactor  = 1.04024
 **********
 **   18 **HESSE 
 **********

 FCN=   10906.78     FROM HESSE     STATUS=OK            25 CALLS      336 TOTAL
                     EDM=   .43E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.963        53.339        .11100E-05   -1.5564    
   2  Index         1.4534        .66798        .29549E-02   -.78854    
   3  Normalizat    1.1599        .22730        .14438E-04   -.87852    
   4  Prefactor     1.0402        .11046        .73097E-05   -.91400    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.34112e-12
Minuit parameter uncertainties:
  1  53.3393
  2  0.672045
  3  0.227498
  4  0.110482
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/886341': 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) = 10906.7784475
delta logL = 0.378001395828

Extracting fit parameters...

4FGL J1254.2-2205
   Spectrum: PowerLaw
283    Prefactor:  5.196e+01  5.334e+01  0.000e+00  1.000e+06 ( 1.000e-14)
284        Index:  1.453e+00  6.720e-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.040e+00  1.105e-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.160e+00  2.275e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.92
Ra Dec: 193.552 -22.087
Photon Index (Free Index): 1.45 +/- 0.67
Photon Flux (Free Index): 8.53e-09 +/- 1.13e-08
Energy Flux (Free Index): 3.15e-05 +/- 5.50e-05

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/886341/cmap_HighResolution_692409601_692668801_4FGL_J1254.2-2205_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.35e-03', comment='SUCCESS', photon_flux='1.93e-08', energy_flux2='3.15e-05', photon_flux_error='2.23e-08', dlogl='3.78e-01', energy_flux='8.80e-06', photon_flux2='8.53e-09', job_status='DONE', time_completed='2022-12-14 00:55:39.332645', photon_index_error2='0.67', photon_index2='1.45', ts='2.16', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='8.35e-08', energy_flux_error2='5.50e-05', EG='1.15', time_epoch_completed='1671008139.33', return_code='0', job_id='886341', GAL2='1.04', EG2='1.16', return_code2='0', energy_flux_error='1.02e-05', photon_flux_error2='1.13e-08', ts2='2.92', photon_index='2.19' WHERE bin_id='1748' AND source_name='4FGL J1254.2-2205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:55:39 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 886341: <4FGL_J1254.2-2205_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1254.2-2205_daily_bin1748> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Dec 14 00:40:17 2022
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:40:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:40:18 2022
Terminated at Wed Dec 14 00:55:40 2022
Results reported at Wed Dec 14 00:55:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.2-2205_daily_bin1748 193.552 -22.0872 692409601 692668801 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 :                                   845.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             339.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            923 sec.

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

