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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1674
RA = 344.025, Dec = -27.6739
tmin = 673228801, tmax = 673488001
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='717935', job_status='RUN', time_executed='2022-05-06 03:17:29.333096', time_epoch_executed='1651832249.33' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/717935

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/717935/ft1_4FGL_J2256.0-2740_daily_bin1674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/717935/ft2_4FGL_J2256.0-2740_daily_bin1674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/717935/ft1_4FGL_J2256.0-2740_daily_bin1674.fits outfile=/scratch/kocevski/717935/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1674.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=673228801.0 tmax=673488001.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.80
user 2.58
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/717935/ft2_4FGL_J2256.0-2740_daily_bin1674.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/717935/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1674.fits evtable="EVENTS" outfile="/scratch/kocevski/717935/ft1_filtered_4FGL_J2256.0-2740_daily_bin1674.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.54
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 579

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/717935/ft1_filtered_4FGL_J2256.0-2740_daily_bin1674.fits" evtable="EVENTS" scfile=/scratch/kocevski/717935/ft2_4FGL_J2256.0-2740_daily_bin1674.fits sctable="SC_DATA" outfile=/scratch/kocevski/717935/ltcube_673228801_673488001_4FGL_J2256.0-2740_daily_bin1674.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/717935/ft2_4FGL_J2256.0-2740_daily_bin1674.fits
.....................!
real 15.28
user 14.89
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/717935/ft1_filtered_4FGL_J2256.0-2740_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/717935/ft2_4FGL_J2256.0-2740_daily_bin1674.fits sctable="SC_DATA" expcube=/scratch/kocevski/717935/ltcube_673228801_673488001_4FGL_J2256.0-2740_daily_bin1674.fits outfile=/scratch/kocevski/717935/expmap_673228801_673488001_4FGL_J2256.0-2740_daily_bin1674.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/717935/ltcube_673228801_673488001_4FGL_J2256.0-2740_daily_bin1674.fits
.....................!
real 191.95
user 186.18
sys 5.01

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/717935/ft1_filtered_4FGL_J2256.0-2740_daily_bin1674.fits scfile=/scratch/kocevski/717935/ft2_4FGL_J2256.0-2740_daily_bin1674.fits outfile=/scratch/kocevski/717935/cmap_673228801_673488001_4FGL_J2256.0-2740_daily_bin1674.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/717935/ft1_filtered_4FGL_J2256.0-2740_daily_bin1674.fits scfile=/scratch/kocevski/717935/ft2_4FGL_J2256.0-2740_daily_bin1674.fits outfile=/scratch/kocevski/717935/cmap_HighResolution_673228801_673488001_4FGL_J2256.0-2740_daily_bin1674.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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/717935/ft1_filtered_4FGL_J2256.0-2740_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/717935/ft2_4FGL_J2256.0-2740_daily_bin1674.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/717935/Model_4FGL_J2256.0-2740_daily_bin1674.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/717935/ft1_filtered_4FGL_J2256.0-2740_daily_bin1674.fits.....................!
real 50.33
user 48.91
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.682       1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.776       1.0000         .10000E-03   10000.    
     3 'norm      '    8.7014       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.1755       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10079E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .40308E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.493       1.0000         .10000E-03   10000.    
     9 'norm      '    1.3348       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.757       1.0000         .10000E-03   10000.    
    12 'norm      '    .62861       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10889E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    11.013       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11947E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    18.714       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .66772       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2314       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=   6340.716     FROM MIGRAD    STATUS=CONVERGED    479 CALLS     2051 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.683        19.187        .78801E-07    .27201E-06
   2  Prefactor     17.778        10.317       -.25740E-06   -.53973E-04
   3  norm          8.6963        12.624       -.16510E-06   -.16757E-05
   4  Prefactor     8.1818        23.623        .25338E-05   -.20728E-04
   5  Prefactor     .10000E-03    4.0231        .92134E-08** at limit **
   6  norm          .10000E-03    .82762        .29463E-07** at limit **
   7  Prefactor     .10000E-03    116.37       -.11994E-04** at limit **
   8  Prefactor     27.497        12.271        .14636E-06   -.16107E-04
   9  norm          1.3342        2.9223       -.27187E-06   -.63067E-03
  10  Prefactor     .10000E-03    12.420       -.24969E-05** at limit **
  11  Prefactor     20.744        10.274       -.10506E-07    .15427E-03
  12  norm          .62878        .59412        .15079E-07   -.26590E-04
  13  Prefactor     .10000E-03    34.701       -.10246E-04** at limit **
  14  Prefactor     .10020E-03    6.3333        .42493E-05** at limit **
  15  Prefactor     .10000E-03    4.3616        .37309E-07** at limit **
  16  norm          11.016        7.3108        .20527E-07   -.15340E-03
  17  Prefactor     .10000E-03    63.507        .57873E-04** at limit **
  18  norm          18.716        4.9113        .34801E-06   -.46966E-04
  19  Prefactor     .10000E-03    10.129        .48533E-06** at limit **
  20  Prefactor     .10000E-03    85.541       -.61878E-04** at limit **
  21  Normalizat    .66751        .18014       -.40798E-06   -.18358E-03
  22  Prefactor     1.2315        .17207       -.19006E-06   -.26334E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.6828
  Prefactor  = 17.7783
  norm       = 8.69626
  Prefactor  = 8.18176
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 27.4967
  norm       = 1.33422
  Prefactor  = 0.0001
  Prefactor  = 20.7443
  norm       = 0.628783
  Prefactor  = 0.0001
  Prefactor  = 0.000100201
  Prefactor  = 0.0001
  norm       = 11.0158
  Prefactor  = 0.000100003
  norm       = 18.7155
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.667507
  Prefactor  = 1.23151
 **********
 **   18 **HESSE 
 **********

 FCN=   6340.716     FROM HESSE     STATUS=OK           344 CALLS     2395 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.683        19.190        .70092E-04   -1.4564    
   2  Prefactor     17.778        10.322        .94996E-04   -1.4864    
   3  norm          8.6963        12.619        .13589E-03   -1.5118    
   4  Prefactor     8.1818        23.578        .14022E-03   -1.5136    
   5  Prefactor     .10000E-03    4.0364        .15596E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .83775        .70699E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    119.82        .42520E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     27.497        12.284        .76404E-04   -1.4659    
   9  norm          1.3342        2.8495        .18752E-03   -1.5477    
  10  Prefactor     .10000E-03    12.538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.744        10.116        .87913E-04   -1.4797    
  12  norm          .62878        .58103        .49694E-04   -1.5549    
  13  Prefactor     .10000E-03    34.747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10020E-03    18.881        .38306E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.3718        .16225E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          11.016        7.3152        .12072E-03   -1.5044    
  17  Prefactor     .10000E-03    64.058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          18.716        4.9150        .86606E-04   -1.4842    
  19  Prefactor     .10000E-03    10.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    86.087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .66751        .21301        .29851E-03   -1.0519    
  22  Prefactor     1.2315        .20399        .22645E-03   -.85367    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08431e-08
Minuit parameter uncertainties:
  1  19.1933
  2  10.3229
  3  12.623
  4  23.6052
  5  3.7086e-06
  6  2.68842e-06
  7  0.000616894
  8  12.2853
  9  2.84981
  10  2.83276e-05
  11  10.1171
  12  0.581036
  13  4.78142e-06
  14  0.00390033
  15  3.26857e-06
  16  7.31582
  17  0.000816935
  18  4.91508
  19  4.62456e-06
  20  0.000108356
  21  0.213275
  22  0.204126
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  2.074e+01  1.012e+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.232e+00  2.041e-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:  6.675e-01  2.133e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.93
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 1.42e-07 +/- 6.91e-08
Energy Flux (Fixed Index): 2.80e-05 +/- 1.37e-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) = 6339.76986992
delta logL = 0.945822684787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6339.7485392
delta logL = 0.967153405587

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.470       1.0000         .10000E-03   10000.    
     2 'Index     '    4.1124       1.0000          .0000       10.000    
     3 'Normalizat'    .61169       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2772       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6339.749     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      290 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.464        10.497        .50916E-03    .11099E-03
   2  Index         4.1144        1.0720        .86031E-02    .22023E-03
   3  Normalizat    .61125        .20867        .31076E-03   -.87800E-06
   4  Prefactor     1.2776        .20580        .22305E-03   -.14272E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.4644
  Index      = 4.11441
  Normalizat = 0.611247
  Prefactor  = 1.27757
 **********
 **   18 **HESSE 
 **********

 FCN=   6339.749     FROM HESSE     STATUS=OK            27 CALLS      317 TOTAL
                     EDM=   .32E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.464        9.7721        .10183E-03   -1.4921    
   2  Index         4.1144        .99864        .17206E-02   -.17806    
   3  Normalizat    .61125        .20891        .12430E-04   -1.0751    
   4  Prefactor     1.2776        .20590        .44610E-04   -.83976    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.20874e-12
Minuit parameter uncertainties:
  1  9.7731
  2  1.00562
  3  0.209175
  4  0.206028
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/717935': 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) = 6339.74853439
delta logL = 0.967158209223

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.546e+01  9.773e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  4.114e+00  1.006e+00  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.278e+00  2.060e-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:  6.112e-01  2.092e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.44
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 4.11 +/- 1.01
Photon Flux (Free Index): 1.78e-07 +/- 6.84e-08
Energy Flux (Free Index): 2.61e-05 +/- 1.04e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/717935/cmap_HighResolution_673228801_673488001_4FGL_J2256.0-2740_daily_bin1674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.42e-07', energy_flux2='2.61e-05', photon_flux_error='6.91e-08', dlogl='9.67e-01', energy_flux='2.80e-05', photon_flux2='1.78e-07', job_status='DONE', time_completed='2022-05-06 03:26:48.973056', photon_index_error2='1.01', photon_index2='4.11', ts='8.93', fit_tolerance='1e-08', GAL='1.23', photon_index_error='0.00', energy_flux_error2='1.04e-05', EG='0.67', time_epoch_completed='1651832808.97', return_code='0', job_id='717935', GAL2='1.28', EG2='0.61', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='6.84e-08', ts2='11.44', photon_index='3.02' WHERE bin_id='1674' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May  6 03:26:49 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 717935: <4FGL_J2256.0-2740_daily_bin1674> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1674> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri May  6 03:10:38 2022
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 03:14:49 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 03:14:49 2022
Terminated at Fri May  6 03:26:49 2022
Results reported at Fri May  6 03:26:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1674 344.025 -27.6739 673228801 673488001 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 :                                   561.43 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             324.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   722 sec.
    Turnaround time :                            971 sec.

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

