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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1666
RA = 344.025, Dec = -27.6739
tmin = 671155201, tmax = 671414401
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='414549', job_status='RUN', time_executed='2022-04-12 00:39:00.556288', time_epoch_executed='1649749140.56' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1666'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/414549

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/414549/ft1_4FGL_J2256.0-2740_daily_bin1666.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/414549/ft2_4FGL_J2256.0-2740_daily_bin1666.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/414549/ft1_4FGL_J2256.0-2740_daily_bin1666.fits outfile=/scratch/kocevski/414549/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1666.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=671155201.0 tmax=671414401.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 5.24
user 4.98
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/414549/ft2_4FGL_J2256.0-2740_daily_bin1666.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/414549/ft2_4FGL_J2256.0-2740_daily_bin1666.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/414549/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1666.fits evtable="EVENTS" outfile="/scratch/kocevski/414549/ft1_filtered_4FGL_J2256.0-2740_daily_bin1666.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.52
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 732

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/414549/ft1_filtered_4FGL_J2256.0-2740_daily_bin1666.fits" evtable="EVENTS" scfile=/scratch/kocevski/414549/ft2_4FGL_J2256.0-2740_daily_bin1666.fits sctable="SC_DATA" outfile=/scratch/kocevski/414549/ltcube_671155201_671414401_4FGL_J2256.0-2740_daily_bin1666.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/414549/ft2_4FGL_J2256.0-2740_daily_bin1666.fits
.....................!
real 11.75
user 11.38
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/414549/ft1_filtered_4FGL_J2256.0-2740_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414549/ft2_4FGL_J2256.0-2740_daily_bin1666.fits sctable="SC_DATA" expcube=/scratch/kocevski/414549/ltcube_671155201_671414401_4FGL_J2256.0-2740_daily_bin1666.fits outfile=/scratch/kocevski/414549/expmap_671155201_671414401_4FGL_J2256.0-2740_daily_bin1666.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/414549/ltcube_671155201_671414401_4FGL_J2256.0-2740_daily_bin1666.fits
.....................!
real 190.81
user 185.03
sys 5.43

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 175 point sources and 0 extended sources

Setting source of interest to:
4FGL J2256.0-2740 @ 344.025 -27.6739

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/414549/ft1_filtered_4FGL_J2256.0-2740_daily_bin1666.fits scfile=/scratch/kocevski/414549/ft2_4FGL_J2256.0-2740_daily_bin1666.fits outfile=/scratch/kocevski/414549/cmap_671155201_671414401_4FGL_J2256.0-2740_daily_bin1666.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=344.025 yref=-27.6739 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/414549/ft1_filtered_4FGL_J2256.0-2740_daily_bin1666.fits scfile=/scratch/kocevski/414549/ft2_4FGL_J2256.0-2740_daily_bin1666.fits outfile=/scratch/kocevski/414549/cmap_HighResolution_671155201_671414401_4FGL_J2256.0-2740_daily_bin1666.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=344.025 yref=-27.6739 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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/414549/ft1_filtered_4FGL_J2256.0-2740_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414549/ft2_4FGL_J2256.0-2740_daily_bin1666.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/414549/Model_4FGL_J2256.0-2740_daily_bin1666.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/414549/ft1_filtered_4FGL_J2256.0-2740_daily_bin1666.fits.....................!
real 57.87
user 56.38
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/414549/ft1_filtered_4FGL_J2256.0-2740_daily_bin1666.fits', '/scratch/kocevski/414549/ft2_4FGL_J2256.0-2740_daily_bin1666.fits', expMap='/scratch/kocevski/414549/expmap_671155201_671414401_4FGL_J2256.0-2740_daily_bin1666.fits', expCube='/scratch/kocevski/414549/ltcube_671155201_671414401_4FGL_J2256.0-2740_daily_bin1666.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/414549/Model_4FGL_J2256.0-2740_daily_bin1666.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2256.0-2740'

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  5.060e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.023e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  2.384e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/414549/ft1_filtered_4FGL_J2256.0-2740_daily_bin1666.fits
Spacecraft file(s): /scratch/kocevski/414549/ft2_4FGL_J2256.0-2740_daily_bin1666.fits
Exposure map: /scratch/kocevski/414549/expmap_671155201_671414401_4FGL_J2256.0-2740_daily_bin1666.fits
Exposure cube: /scratch/kocevski/414549/ltcube_671155201_671414401_4FGL_J2256.0-2740_daily_bin1666.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/414549/Model_4FGL_J2256.0-2740_daily_bin1666.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) = 7972.26898548

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.0914       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.665       1.0000         .10000E-03   10000.    
     6 'norm      '    .46416       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.0857       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.296       1.0000         .10000E-03   10000.    
    11 'Prefactor '    22.099       1.0000         .10000E-03   10000.    
    12 'norm      '    .10504E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.1208       1.0000         .10000E-03   10000.    
    16 'norm      '    7.3769       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    14.610       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .77006       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1184       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7972.134     FROM MIGRAD    STATUS=CONVERGED    475 CALLS     2031 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.6416       -.28666E-06** at limit **
   2  Prefactor     .10000E-03    1.7871        .10058E-07** at limit **
   3  norm          .10000E-03    7.7035        .17815E-06** at limit **
   4  Prefactor     8.0916        8.2654       -.47544E-09    .27647E-05
   5  Prefactor     13.664        9.9584        .12413E-07   -.41418E-04
   6  norm          .46388        1.1461       -.74401E-07   -.23891E-03
   7  Prefactor     .10000E-03    11.168        .61937E-07** at limit **
   8  Prefactor     4.0865        7.3853        .96020E-07   -.22706E-03
   9  norm          .10000E-03    1.2301       -.91085E-07** at limit **
  10  Prefactor     24.303        18.302        .10801E-05    .20131E-03
  11  Prefactor     22.107        10.613        .24590E-06    .66053E-03
  12  norm          .10000E-03    .40473       -.27103E-06** at limit **
  13  Prefactor     .10000E-03    11.140        .41528E-06** at limit **
  14  Prefactor     .10000E-03    5.5409       -.11139E-06** at limit **
  15  Prefactor     3.1187        4.2614       -.15520E-07   -.26631E-03
  16  norm          7.3770        6.8498       -.38891E-07    .13064E-04
  17  Prefactor     .10000E-03    20.941       -.19250E-05** at limit **
  18  norm          14.610        3.6051       -.44376E-09   -.12559E-03
  19  Prefactor     .10000E-03    26.782        .57831E-05** at limit **
  20  Prefactor     .10000E-03    30.055       -.36822E-05** at limit **
  21  Normalizat    .76982        .15848       -.51613E-07    .77165E-04
  22  Prefactor     1.1186        .15521       -.56332E-07    .90074E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.09163
  Prefactor  = 13.6643
  norm       = 0.463876
  Prefactor  = 0.0001
  Prefactor  = 4.08648
  norm       = 0.0001
  Prefactor  = 24.3027
  Prefactor  = 22.1069
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.11868
  norm       = 7.37701
  Prefactor  = 0.0001
  norm       = 14.6097
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 0.76982
  Prefactor  = 1.11859
 **********
 **   18 **HESSE 
 **********

 FCN=   7972.134     FROM HESSE     STATUS=OK           346 CALLS     2377 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.6454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.8087        .11655E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    7.7313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.0916        8.2677        .14095E-03   -1.5139    
   5  Prefactor     13.664        10.022        .54176E-03   -1.4968    
   6  norm          .46388        .95683        .14545E-02   -1.5572    
   7  Prefactor     .10000E-03    11.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.0865        8.9527        .99728E-03   -1.5304    
   9  norm          .10000E-03    1.2417        .96683E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     24.303        18.391        .81266E-04   -1.4722    
  11  Prefactor     22.107        10.693        .85206E-04   -1.4767    
  12  norm          .10000E-03    1.0363        .98977E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.5856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.1187        7.3345        .11476E-02   -1.5355    
  16  norm          7.3770        6.8514        .14767E-03   -1.5165    
  17  Prefactor     .10000E-03    20.834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          14.610        3.6084        .81197E-04   -1.4943    
  19  Prefactor     .10000E-03    25.475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    29.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .76982        .18744        .26332E-03   -1.0120    
  22  Prefactor     1.1186        .18236        .22534E-03   -.88874    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.33653e-09
Minuit parameter uncertainties:
  1  6.26878e-06
  2  1.16887e-07
  3  6.06858e-06
  4  8.26887
  5  10.0231
  6  0.956857
  7  7.12663e-06
  8  8.9556
  9  3.51199e-06
  10  18.3957
  11  10.6939
  12  2.23654e-05
  13  1.35437e-05
  14  3.08782e-06
  15  7.33666
  16  6.85208
  17  8.94556e-05
  18  3.60846
  19  0.000311561
  20  0.000196113
  21  0.187599
  22  0.182463
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  2.211e+01  1.069e+01  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.023e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  2.384e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  1.119e+00  1.825e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  7.698e-01  1.876e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.34
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 1.51e-07 +/- 7.30e-08
Energy Flux (Fixed Index): 2.99e-05 +/- 1.44e-05

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) = 7971.82941981
delta logL = 0.304394724133

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7971.81168622
delta logL = 0.322128316157

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.144       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6890       1.0000          .0000       10.000    
     3 'Normalizat'    .79018       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1006       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7971.812     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      207 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.144        8.4152        .20816E-02   -.19261E-02
   2  Index         2.6891        .37176        .16568       -.63458E-04
   3  Normalizat    .79017        .15315        .43482E-01    .77612E-05
   4  Prefactor     1.1006        .15388        .37562E-01    .29135E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.1435
  Index      = 2.68906
  Normalizat = 0.79017
  Prefactor  = 1.10065
 **********
 **   18 **HESSE 
 **********

 FCN=   7971.812     FROM HESSE     STATUS=OK            31 CALLS      238 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.144        7.7249        .83263E-04   -1.4745    
   2  Index         2.6891        .37745        .66296E-02   -.48046    
   3  Normalizat    .79017        .18141        .26027E-03   -1.0043    
   4  Prefactor     1.1006        .18129        .22679E-03   -.89446    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00882e-09
Minuit parameter uncertainties:
  1  7.72518
  2  0.377912
  3  0.181549
  4  0.181391
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/414549': 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) = 7971.81168619
delta logL = 0.32212834599

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  2.314e+01  7.725e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.689e+00  3.779e-01  0.000e+00  1.000e+01 (-1.000e+00)
342        Scale:  2.384e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  1.101e+00  1.814e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  7.902e-01  1.815e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.40
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 2.69 +/- 0.38
Photon Flux (Free Index): 1.42e-07 +/- 5.01e-08
Energy Flux (Free Index): 3.44e-05 +/- 1.31e-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/414549/cmap_HighResolution_671155201_671414401_4FGL_J2256.0-2740_daily_bin1666.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.51e-07', energy_flux2='3.44e-05', photon_flux_error='7.30e-08', dlogl='3.22e-01', energy_flux='2.99e-05', photon_flux2='1.42e-07', job_status='DONE', time_completed='2022-04-12 00:49:16.265616', photon_index_error2='0.38', photon_index2='2.69', ts='12.34', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='1.31e-05', EG='0.77', time_epoch_completed='1649749756.27', return_code='0', job_id='414549', GAL2='1.10', EG2='0.79', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='5.01e-08', ts2='13.40', photon_index='3.02' WHERE bin_id='1666' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Apr 12 00:49:16 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 414549: <4FGL_J2256.0-2740_daily_bin1666> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1666> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 12 00:35:42 2022
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 12 00:35:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 12 00:35:43 2022
Terminated at Tue Apr 12 00:49:17 2022
Results reported at Tue Apr 12 00:49:17 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1666 344.025 -27.6739 671155201 671414401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2256.0-2740 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   617.37 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             258.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            815 sec.

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

