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


Performing analysis on: 4FGL_J1254.2-2205_daily_bin1744
RA = 193.552, Dec = -22.0872
tmin = 691372801, tmax = 691632001
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='579418', job_status='RUN', time_executed='2022-12-02 00:58:46.953458', time_epoch_executed='1669971526.95' WHERE source_name='4FGL J1254.2-2205' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/579418

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/579418/ft1_4FGL_J1254.2-2205_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/579418/ft2_4FGL_J1254.2-2205_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/579418/ft1_4FGL_J1254.2-2205_daily_bin1744.fits outfile=/scratch/kocevski/579418/ft1_filteredMKT_4FGL_J1254.2-2205_daily_bin1744.fits ra=193.552 dec=-22.0872 rad=12.0 tmin=691372801.0 tmax=691632001.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 2.52
user 2.31
sys 0.19

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

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

Number of photons that the gtmktime cut: 948

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/579418/ft1_filtered_4FGL_J1254.2-2205_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/579418/ft2_4FGL_J1254.2-2205_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/579418/ltcube_691372801_691632001_4FGL_J1254.2-2205_daily_bin1744.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/579418/ft2_4FGL_J1254.2-2205_daily_bin1744.fits
.....................!
real 12.73
user 12.23
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/579418/ft1_filtered_4FGL_J1254.2-2205_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/579418/ft2_4FGL_J1254.2-2205_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/579418/ltcube_691372801_691632001_4FGL_J1254.2-2205_daily_bin1744.fits outfile=/scratch/kocevski/579418/expmap_691372801_691632001_4FGL_J1254.2-2205_daily_bin1744.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/579418/ltcube_691372801_691632001_4FGL_J1254.2-2205_daily_bin1744.fits
.....................!
real 192.65
user 185.47
sys 4.93

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/579418/ft1_filtered_4FGL_J1254.2-2205_daily_bin1744.fits scfile=/scratch/kocevski/579418/ft2_4FGL_J1254.2-2205_daily_bin1744.fits outfile=/scratch/kocevski/579418/cmap_691372801_691632001_4FGL_J1254.2-2205_daily_bin1744.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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/579418/ft1_filtered_4FGL_J1254.2-2205_daily_bin1744.fits scfile=/scratch/kocevski/579418/ft2_4FGL_J1254.2-2205_daily_bin1744.fits outfile=/scratch/kocevski/579418/cmap_HighResolution_691372801_691632001_4FGL_J1254.2-2205_daily_bin1744.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/579418/ft1_filtered_4FGL_J1254.2-2205_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/579418/ft2_4FGL_J1254.2-2205_daily_bin1744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/579418/Model_4FGL_J1254.2-2205_daily_bin1744.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/579418/ft1_filtered_4FGL_J1254.2-2205_daily_bin1744.fits.....................!
real 77.12
user 74.91
sys 1.30

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

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.7218       1.0000          .0000       .10000E+07
     2 'Prefactor '    .14658E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    21.703       1.0000          .0000       .10000E+07
     4 'Prefactor '    .27435E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    29.319       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10807E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    8.4872       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.7881       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10348E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .62431       1.0000          .0000       .10000E+07
    11 'Prefactor '    .42453       1.0000          .0000       .10000E+07
    12 'norm      '    5.4586       1.0000          .0000       .10000E+07
    13 'norm      '    10.740       1.0000          .0000       .10000E+07
    14 'Prefactor '    .32546E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .37620       1.0000          .0000       .10000E+07
    16 'norm      '    .18041E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.5133       1.0000          .0000       .10000E+07
    18 'Prefactor '    17.296       1.0000          .0000       .10000E+07
    19 'Prefactor '    17.353       1.0000          .0000       .10000E+07
    20 'Prefactor '    .83499E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    5.8720       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.2476       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87159       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=   10148.09     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1858 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.7666        5.3801        .42746E-07   -.16782E-02
   2  Prefactor     .13090E-06    25.023        .19036E-06** at limit **
   3  Prefactor     21.673        13.390       -.27588E-06    .13165E-02
   4  Prefactor     .10314E-06    11.526       -.20776E-06** at limit **
   5  Prefactor     29.195        1.8574       -.37384E-07   -.14827E-01
   6  Prefactor      .0000        1.2065       -.27759E-06** at limit **
   7  Prefactor     8.4850        2.0813        .54627E-08    .29203E-05
   8  Prefactor     1.8701        2.2336        .73590E-07   -.31698E-01
   9  Prefactor     .21505E-06    7.0336       -.51896E-06** at limit **
  10  norm          .62404        .55443       -.49287E-07   -.30563E-03
  11  Prefactor     .13716E-05    117.21       -.34512E-05** at limit **
  12  norm          5.5087        6.2518        .74940E-07   -.90708E-03
  13  norm          10.747        5.2157        .66659E-07    .13324E-03
  14  Prefactor      .0000        1.7225       -.14345E-06** at limit **
  15  norm          .41029        13.968        .12444E-05    .29582E-02
  16  norm           .0000        .69069        .22209E-06** at limit **
  17  Prefactor     1.5677        8.5758       -.87154E-06   -.49356E-02
  18  Prefactor     16.496        9.2886        .30198E-06    .11262E-01
  19  Prefactor     17.287        1.9957       -.49305E-07   -.79268E-02
  20  Prefactor     .17708E-07    11.428        .10979E-06** at limit **
  21  Prefactor     6.2583        10.449       -.11257E-06   -.31523E-02
  22  Normalizat    1.2473        .22831       -.14457E-04   -.32964E-05
  23  Prefactor     .87181        .10944        .54227E-05    .15850E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.76661
  Prefactor  = 1.30895e-07
  Prefactor  = 21.673
  Prefactor  = 1.0314e-07
  Prefactor  = 29.1952
  Prefactor  = 0
  Prefactor  = 8.48498
  Prefactor  = 1.87013
  Prefactor  = 2.1505e-07
  norm       = 0.624044
  Prefactor  = 1.37157e-06
  norm       = 5.50865
  norm       = 10.747
  Prefactor  = 0
  norm       = 0.41029
  norm       = 0
  Prefactor  = 1.56772
  Prefactor  = 16.4956
  Prefactor  = 17.2871
  Prefactor  = 1.77081e-08
  Prefactor  = 6.2583
  Normalizat = 1.24729
  Prefactor  = 0.871814
 **********
 **   18 **HESSE 
 **********

 FCN=   10148.09     FROM HESSE     STATUS=OK           424 CALLS     2282 TOTAL
                     EDM=   .98E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.7666        5.3910        .52318E-03   -1.5669    
   2  Prefactor     .13090E-06    28.086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     21.673        13.428        .21471E-03   -1.5615    
   4  Prefactor     .10314E-06    15.417        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     29.195        16.655        .18471E-03   -1.5600    
   6  Prefactor      .0000        1.2076        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.4850        2.0838        .34400E-02   -1.5125    
   8  Prefactor     1.8701        7.6307        .78202E-03   -1.5681    
   9  Prefactor     .21505E-06    17.117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .62404        .56629        .67078E-03   -1.5692    
  11  Prefactor     .13716E-05    139.52        .86698E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.5087        6.2747        .42984E-03   -1.5661    
  13  norm          10.747        5.2198        .30547E-03   -1.5642    
  14  Prefactor      .0000        1.7217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .41029        3.2161        .59872E-02   -1.5695    
  16  norm           .0000        .69279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.5677        8.8480        .86888E-03   -1.5683    
  18  Prefactor     16.496        20.595        .24056E-03   -1.5627    
  19  Prefactor     17.287        20.679        .24016E-03   -1.5625    
  20  Prefactor     .17708E-07    12.261        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.2583        15.610        .41419E-03   -1.5658    
  22  Normalizat    1.2473        .19474        .74897E-01   -.85154    
  23  Prefactor     .87181        .92566E-01    .44642E-01   -.97133    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.79306e-07
Minuit parameter uncertainties:
  1  5.39096
  2  0.00383445
  3  13.4277
  4  0.00252202
  5  16.6553
  6  2.66762e-06
  7  2.08377
  8  7.55528
  9  0.00383696
  10  0.566291
  11  0.0276678
  12  6.2747
  13  5.2198
  14  6.92575e-06
  15  2.29743
  16  7.29223e-08
  17  7.44883
  18  20.5951
  19  20.6791
  20  0.000932038
  21  15.6104
  22  0.194849
  23  0.0925827
Done.

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

Extracting fit parameters...

4FGL J1254.2-2205
   Spectrum: PowerLaw
283    Prefactor:  1.372e-06  2.767e-02  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:  8.718e-01  9.258e-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.247e+00  1.948e-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: 8.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.10e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/579418/likelihoodResults_691372801_691632001_4FGL_J1254.2-2205_daily_bin1744.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) = 10148.0977374
delta logL = -0.00353414164601

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10147.7659667
delta logL = 0.328236569692

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .94382E-01   1.0000          .0000       .10000E+07
     2 'Index     '    4.7981       1.0000          .0000       10.000    
     3 'Normalizat'    1.1962       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88573       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=   10147.77     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      267 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .90592E-01    1.2957        .85681E-03** at limit **
   2  Index         4.8146        1.8537        .10633        .31641E-03
   3  Normalizat    1.1956        .30162E-01    .76236E-01    .42248E-04
   4  Prefactor     .88595        .14488E-01    .44823E-01    .58546E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0905924
  Index      = 4.81457
  Normalizat = 1.19563
  Prefactor  = 0.885952
 **********
 **   18 **HESSE 
 **********

 FCN=   10147.77     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      300 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .90592E-01    7.5158        .38230E-05   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.8146        7.3410        .63829E-02   -.37094E-01
   3  Normalizat    1.1956        .16804        .33742E-03   -.86738    
   4  Prefactor     .88595        .79432E-01    .18430E-03   -.96634    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.70181e-09
Minuit parameter uncertainties:
  1  1.65031
  2  6.50989
  3  0.168119
  4  0.0794427
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/579418': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10147.7659512
delta logL = 0.328252025281

Extracting fit parameters...

4FGL J1254.2-2205
   Spectrum: PowerLaw
283    Prefactor:  9.059e-02  1.650e+00  0.000e+00  1.000e+06 ( 1.000e-14)
284        Index:  4.815e+00  6.510e+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:  8.860e-01  7.944e-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.196e+00  1.681e-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/579418/cmap_HighResolution_691372801_691632001_4FGL_J1254.2-2205_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.10e-03', job_status='DONE', photon_flux_upper_limit='8.01e-08', time_completed='2022-12-02 01:11:57.132416', job_id='579418', GAL2='0.89', fit_tolerance='1e-08', EG2='1.20', EG='1.25', time_epoch_completed='1669972317.13', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='3.28e-01', ts2='0.70', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1744' AND source_name='4FGL J1254.2-2205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 01:11:57 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 579418: <4FGL_J1254.2-2205_daily_bin1744> in cluster <slac> Done

Job <4FGL_J1254.2-2205_daily_bin1744> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Dec  2 00:55:23 2022
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 00:55:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 00:55:25 2022
Terminated at Fri Dec  2 01:11:57 2022
Results reported at Fri Dec  2 01:11:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.2-2205_daily_bin1744 193.552 -22.0872 691372801 691632001 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 :                                   785.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             286.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   992 sec.
    Turnaround time :                            994 sec.

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

