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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1669
RA = 344.025, Dec = -27.6739
tmin = 671932801, tmax = 672192001
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='692258', job_status='RUN', time_executed='2022-04-21 00:37:46.908867', time_epoch_executed='1650526666.91' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1669'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/692258

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/692258/ft1_4FGL_J2256.0-2740_daily_bin1669.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/692258/ft2_4FGL_J2256.0-2740_daily_bin1669.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/692258/ft1_4FGL_J2256.0-2740_daily_bin1669.fits outfile=/scratch/kocevski/692258/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1669.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=671932801.0 tmax=672192001.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.75
user 3.51
sys 0.21

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

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

Number of photons that the gtmktime cut: 602

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/692258/ft1_filtered_4FGL_J2256.0-2740_daily_bin1669.fits" evtable="EVENTS" scfile=/scratch/kocevski/692258/ft2_4FGL_J2256.0-2740_daily_bin1669.fits sctable="SC_DATA" outfile=/scratch/kocevski/692258/ltcube_671932801_672192001_4FGL_J2256.0-2740_daily_bin1669.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/692258/ft2_4FGL_J2256.0-2740_daily_bin1669.fits
.....................!
real 12.37
user 12.02
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/692258/ft1_filtered_4FGL_J2256.0-2740_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/692258/ft2_4FGL_J2256.0-2740_daily_bin1669.fits sctable="SC_DATA" expcube=/scratch/kocevski/692258/ltcube_671932801_672192001_4FGL_J2256.0-2740_daily_bin1669.fits outfile=/scratch/kocevski/692258/expmap_671932801_672192001_4FGL_J2256.0-2740_daily_bin1669.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/692258/ltcube_671932801_672192001_4FGL_J2256.0-2740_daily_bin1669.fits
.....................!
real 191.57
user 185.80
sys 5.32

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/692258/ft1_filtered_4FGL_J2256.0-2740_daily_bin1669.fits scfile=/scratch/kocevski/692258/ft2_4FGL_J2256.0-2740_daily_bin1669.fits outfile=/scratch/kocevski/692258/cmap_671932801_672192001_4FGL_J2256.0-2740_daily_bin1669.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/692258/ft1_filtered_4FGL_J2256.0-2740_daily_bin1669.fits scfile=/scratch/kocevski/692258/ft2_4FGL_J2256.0-2740_daily_bin1669.fits outfile=/scratch/kocevski/692258/cmap_HighResolution_671932801_672192001_4FGL_J2256.0-2740_daily_bin1669.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/692258/ft1_filtered_4FGL_J2256.0-2740_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/692258/ft2_4FGL_J2256.0-2740_daily_bin1669.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/692258/Model_4FGL_J2256.0-2740_daily_bin1669.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/692258/ft1_filtered_4FGL_J2256.0-2740_daily_bin1669.fits.....................!
real 50.85
user 49.49
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/692258/ft1_filtered_4FGL_J2256.0-2740_daily_bin1669.fits', '/scratch/kocevski/692258/ft2_4FGL_J2256.0-2740_daily_bin1669.fits', expMap='/scratch/kocevski/692258/expmap_671932801_672192001_4FGL_J2256.0-2740_daily_bin1669.fits', expCube='/scratch/kocevski/692258/ltcube_671932801_672192001_4FGL_J2256.0-2740_daily_bin1669.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/692258/Model_4FGL_J2256.0-2740_daily_bin1669.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/692258/ft1_filtered_4FGL_J2256.0-2740_daily_bin1669.fits
Spacecraft file(s): /scratch/kocevski/692258/ft2_4FGL_J2256.0-2740_daily_bin1669.fits
Exposure map: /scratch/kocevski/692258/expmap_671932801_672192001_4FGL_J2256.0-2740_daily_bin1669.fits
Exposure cube: /scratch/kocevski/692258/ltcube_671932801_672192001_4FGL_J2256.0-2740_daily_bin1669.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/692258/Model_4FGL_J2256.0-2740_daily_bin1669.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) = 6461.13739829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.7537       1.0000         .10000E-03   10000.    
     3 'norm      '    30.120       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.508       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.4328       1.0000         .10000E-03   10000.    
     6 'norm      '    .10690E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    42.686       1.0000         .10000E-03   10000.    
     8 'Prefactor '    26.335       1.0000         .10000E-03   10000.    
     9 'norm      '    .38392E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    41.461       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.677       1.0000         .10000E-03   10000.    
    12 'norm      '    .75754       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.2559       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    15.665       1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.114       1.0000         .10000E-03   10000.    
    18 'norm      '    7.5690       1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.647       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .98243       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .65919       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=   6461.115     FROM MIGRAD    STATUS=CONVERGED    469 CALLS     2385 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.281        .23155E-06** at limit **
   2  Prefactor     3.7532        5.7130        .28747E-06   -.32212E-04
   3  norm          30.122        19.328       -.14949E-05   -.35224E-03
   4  Prefactor     12.507        15.274        .10720E-05    .18587E-03
   5  Prefactor     6.4306        9.6094        .32732E-05   -.16289E-04
   6  norm          .10000E-03    1.1467        .60397E-06** at limit **
   7  Prefactor     42.708        40.879        .80139E-06    .12842E-03
   8  Prefactor     26.332        11.309        .11937E-05    .79033E-03
   9  norm          .10009E-03    2.5328       -.12406E-05** at limit **
  10  Prefactor     41.468        22.936       -.57663E-06    .27218E-03
  11  Prefactor     10.674        13.009       -.37008E-06    .33199E-03
  12  norm          .75756        .82524        .24906E-06    .20843E-02
  13  Prefactor     .10000E-03    10.692       -.55537E-06** at limit **
  14  Prefactor     8.2556        8.3760        .10229E-06    .21400E-04
  15  Prefactor     .10000E-03    9.7785        .23900E-06** at limit **
  16  norm          15.665        7.6513        .68976E-07   -.48813E-05
  17  Prefactor     18.109        26.329        .33070E-06    .21532E-05
  18  norm          7.5686        3.5365        .65672E-07   -.69654E-05
  19  Prefactor     15.643        25.052        .61443E-06    .25422E-04
  20  Prefactor     .10000E-03    145.36       -.10668E-05** at limit **
  21  Normalizat    .98265        .16988       -.13424E-05    .13538E-03
  22  Prefactor     .65898        .15431        .35025E-06   -.25285E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.75317
  norm       = 30.1223
  Prefactor  = 12.5065
  Prefactor  = 6.43064
  norm       = 0.0001
  Prefactor  = 42.7078
  Prefactor  = 26.3319
  norm       = 0.000100093
  Prefactor  = 41.4677
  Prefactor  = 10.6744
  norm       = 0.757565
  Prefactor  = 0.0001
  Prefactor  = 8.2556
  Prefactor  = 0.0001
  norm       = 15.6648
  Prefactor  = 18.1093
  norm       = 7.56864
  Prefactor  = 15.6425
  Prefactor  = 0.0001
  Normalizat = 0.982651
  Prefactor  = 0.658983
 **********
 **   18 **HESSE 
 **********

 FCN=   6461.115     FROM HESSE     STATUS=OK           350 CALLS     2735 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.7532        5.7171        .20839E-03   -1.5320    
   3  norm          30.122        19.601        .73004E-04   -1.4610    
   4  Prefactor     12.507        15.336        .11326E-03   -1.5001    
   5  Prefactor     6.4306        10.114        .79122E-03   -1.5201    
   6  norm          .10000E-03    1.7305        .15799E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     42.708        41.102        .61359E-04   -1.4400    
   8  Prefactor     26.332        11.536        .78064E-04   -1.4681    
   9  norm          .10009E-03    12.599        .21374E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     41.468        22.698        .62255E-04   -1.4419    
  11  Prefactor     10.674        12.804        .12261E-03   -1.5054    
  12  norm          .75756        .78471        .53565E-03   -1.5534    
  13  Prefactor     .10000E-03    10.710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.2556        8.3790        .13953E-03   -1.5133    
  15  Prefactor     .10000E-03    9.9856        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          15.665        7.6555        .10119E-03   -1.4916    
  17  Prefactor     18.109        26.362        .94106E-04   -1.4857    
  18  norm          7.5686        3.5379        .96078E-04   -1.5158    
  19  Prefactor     15.643        25.064        .10125E-03   -1.4917    
  20  Prefactor     .10000E-03    145.93        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .98265        .20307        .22366E-03   -.93614    
  22  Prefactor     .65898        .18362        .25923E-03   -1.0516    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.35675e-09
Minuit parameter uncertainties:
  1  3.52192e-05
  2  5.71789
  3  19.6056
  4  15.3412
  5  10.1168
  6  5.10234e-05
  7  41.129
  8  11.537
  9  0.0021706
  10  22.7027
  11  12.8077
  12  0.784725
  13  6.36866e-05
  14  8.38016
  15  5.09198e-05
  16  7.65596
  17  26.3793
  18  3.53802
  19  25.0805
  20  0.000339683
  21  0.203227
  22  0.18379
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.067e+01  1.281e+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:  6.590e-01  1.838e-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:  9.827e-01  2.032e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.82
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 7.30e-08 +/- 8.75e-08
Energy Flux (Fixed Index): 1.44e-05 +/- 1.73e-05

TS (Fixed Index): 1.82
Ra Dec: 344.025 -27.674
Photon Flux Upper Limit: 1.78e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.42e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/692258/likelihoodResults_671932801_672192001_4FGL_J2256.0-2740_daily_bin1669.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) = 6460.32077064
delta logL = 0.794677581158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6460.31571705
delta logL = 0.799731166055

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.409       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1739       1.0000          .0000       10.000    
     3 'Normalizat'    1.0110       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63408       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=   6460.316     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      218 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.405        7.1483        .29651E-02    .32206E-02
   2  Index         2.1730        .32209        .16690       -.10912E-03
   3  Normalizat    1.0111        .15498        .45406E-01    .40973E-05
   4  Prefactor     .63410        .14941        .59606E-01    .25761E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4046
  Index      = 2.17302
  Normalizat = 1.01112
  Prefactor  = 0.6341
 **********
 **   18 **HESSE 
 **********

 FCN=   6460.316     FROM HESSE     STATUS=OK            33 CALLS      251 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.405        8.3284        .59302E-03   -1.5032    
   2  Index         2.1730        .45341        .61274E-02   -.60091    
   3  Normalizat    1.0111        .18660        .22087E-03   -.92659    
   4  Prefactor     .63410        .17840        .26366E-03   -1.0617    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17862e-09
Minuit parameter uncertainties:
  1  8.32929
  2  0.454333
  3  0.186716
  4  0.178559
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/692258': 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) = 6460.31571358
delta logL = 0.799734642757

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.140e+01  8.329e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.173e+00  4.543e-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:  6.341e-01  1.786e-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:  1.011e+00  1.867e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.56
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 2.17 +/- 0.45
Photon Flux (Free Index): 6.42e-08 +/- 4.72e-08
Energy Flux (Free Index): 3.04e-05 +/- 2.43e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.355e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.614e-03 [aplpy.core]
Saving /scratch/kocevski/692258/cmap_HighResolution_671932801_672192001_4FGL_J2256.0-2740_daily_bin1669.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.42e-02', comment='SUCCESS', photon_flux='7.30e-08', energy_flux2='3.04e-05', photon_flux_error='8.75e-08', dlogl='8.00e-01', energy_flux='1.44e-05', photon_flux2='6.42e-08', job_status='DONE', time_completed='2022-04-21 00:48:36.367099', photon_index_error2='0.45', photon_index2='2.17', ts='1.82', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', photon_flux_upper_limit='1.78e-07', energy_flux_error2='2.43e-05', EG='0.98', time_epoch_completed='1650527316.37', return_code='0', job_id='692258', GAL2='0.63', EG2='1.01', return_code2='0', energy_flux_error='1.73e-05', photon_flux_error2='4.72e-08', ts2='3.56', photon_index='3.02' WHERE bin_id='1669' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Apr 21 00:48:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 692258: <4FGL_J2256.0-2740_daily_bin1669> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1669> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Apr 21 00:35:40 2022
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Apr 21 00:35:41 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Apr 21 00:35:41 2022
Terminated at Thu Apr 21 00:48:36 2022
Results reported at Thu Apr 21 00:48:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1669 344.025 -27.6739 671932801 672192001 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 :                                   651.41 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             293.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   775 sec.
    Turnaround time :                            776 sec.

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

