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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1692
RA = 344.025, Dec = -27.6739
tmin = 677894401, tmax = 678153601
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='484347', job_status='RUN', time_executed='2022-06-29 04:56:09.849820', time_epoch_executed='1656503769.85' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1692'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/484347

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/484347/ft1_4FGL_J2256.0-2740_daily_bin1692.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/484347/ft2_4FGL_J2256.0-2740_daily_bin1692.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/484347/ft1_4FGL_J2256.0-2740_daily_bin1692.fits outfile=/scratch/kocevski/484347/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1692.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=677894401.0 tmax=678153601.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 4.53
user 4.29
sys 0.21

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

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

Number of photons that the gtmktime cut: 386

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/484347/ft1_filtered_4FGL_J2256.0-2740_daily_bin1692.fits" evtable="EVENTS" scfile=/scratch/kocevski/484347/ft2_4FGL_J2256.0-2740_daily_bin1692.fits sctable="SC_DATA" outfile=/scratch/kocevski/484347/ltcube_677894401_678153601_4FGL_J2256.0-2740_daily_bin1692.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/484347/ft2_4FGL_J2256.0-2740_daily_bin1692.fits
.....................!
real 14.50
user 14.02
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/484347/ft1_filtered_4FGL_J2256.0-2740_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/484347/ft2_4FGL_J2256.0-2740_daily_bin1692.fits sctable="SC_DATA" expcube=/scratch/kocevski/484347/ltcube_677894401_678153601_4FGL_J2256.0-2740_daily_bin1692.fits outfile=/scratch/kocevski/484347/expmap_677894401_678153601_4FGL_J2256.0-2740_daily_bin1692.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/484347/ltcube_677894401_678153601_4FGL_J2256.0-2740_daily_bin1692.fits
.....................!
real 192.78
user 186.65
sys 5.71

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/484347/ft1_filtered_4FGL_J2256.0-2740_daily_bin1692.fits scfile=/scratch/kocevski/484347/ft2_4FGL_J2256.0-2740_daily_bin1692.fits outfile=/scratch/kocevski/484347/cmap_677894401_678153601_4FGL_J2256.0-2740_daily_bin1692.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/484347/ft1_filtered_4FGL_J2256.0-2740_daily_bin1692.fits scfile=/scratch/kocevski/484347/ft2_4FGL_J2256.0-2740_daily_bin1692.fits outfile=/scratch/kocevski/484347/cmap_HighResolution_677894401_678153601_4FGL_J2256.0-2740_daily_bin1692.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/484347/ft1_filtered_4FGL_J2256.0-2740_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/484347/ft2_4FGL_J2256.0-2740_daily_bin1692.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/484347/Model_4FGL_J2256.0-2740_daily_bin1692.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/484347/ft1_filtered_4FGL_J2256.0-2740_daily_bin1692.fits.....................!
real 39.41
user 38.08
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.943       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.075       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.507       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.7473       1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.776       1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.054       1.0000         .10000E-03   10000.    
     9 'norm      '    .10050E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.018       1.0000         .10000E-03   10000.    
    11 'Prefactor '    27.973       1.0000         .10000E-03   10000.    
    12 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    67.628       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.873       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.4589       1.0000         .10000E-03   10000.    
    16 'norm      '    .18659E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    82.381       1.0000         .10000E-03   10000.    
    18 'norm      '    15.446       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .88808       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0294       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=   4376.748     FROM MIGRAD    STATUS=CONVERGED    460 CALLS     2464 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.942        26.613       -.30655E-07   -.78488E-05
   2  Prefactor     11.072        11.550       -.20897E-06    .47188E-05
   3  norm          .10000E-03    9.1684        .34834E-07** at limit **
   4  Prefactor     16.506        18.478       -.78070E-07    .37796E-05
   5  Prefactor     .10000E-03    8.0361        .10104E-06** at limit **
   6  norm          1.7475        2.1435        .10452E-07   -.89140E-04
   7  Prefactor     24.763        47.042       -.96301E-07   -.48402E-04
   8  Prefactor     18.042        18.193       -.37477E-06   -.83549E-04
   9  norm          .10000E-03    4.8815        .42338E-06** at limit **
  10  Prefactor     10.021        30.040        .47760E-06   -.37433E-03
  11  Prefactor     27.971        18.749       -.19927E-05   -.12690E-02
  12  norm          .10000E-03    .82642        .11773E-05** at limit **
  13  Prefactor     67.601        79.889       -.92472E-06   -.19599E-04
  14  Prefactor     12.871        18.100       -.75902E-07   -.11777E-04
  15  Prefactor     4.4605        10.687       -.36581E-06   -.34810E-03
  16  norm          .10000E-03    22.495       -.26801E-05** at limit **
  17  Prefactor     82.303        66.883       -.13822E-05   -.11045E-03
  18  norm          15.444        5.4690       -.71762E-07   -.78774E-04
  19  Prefactor     .10000E-03    22.928        .15409E-06** at limit **
  20  Prefactor     .10000E-03    35.962        .59858E-07** at limit **
  21  Normalizat    .88884        .27897        .53981E-05   -.36807E-03
  22  Prefactor     1.0288        .24456       -.42623E-05    .99056E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.942
  Prefactor  = 11.0716
  norm       = 0.0001
  Prefactor  = 16.5058
  Prefactor  = 0.0001
  norm       = 1.74745
  Prefactor  = 24.7628
  Prefactor  = 18.0421
  norm       = 0.0001
  Prefactor  = 10.0208
  Prefactor  = 27.9708
  norm       = 0.0001
  Prefactor  = 67.601
  Prefactor  = 12.8711
  Prefactor  = 4.46055
  norm       = 0.000100002
  Prefactor  = 82.3026
  norm       = 15.4444
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.888838
  Prefactor  = 1.02878
 **********
 **   18 **HESSE 
 **********

 FCN=   4376.748     FROM HESSE     STATUS=OK           346 CALLS     2810 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.942        26.627        .80207E-04   -1.4709    
   2  Prefactor     11.072        11.559        .12038E-03   -1.5042    
   3  norm          .10000E-03    9.1816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.506        18.475        .98580E-04   -1.4895    
   5  Prefactor     .10000E-03    8.0543        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.7475        2.1277        .97433E-04   -1.5444    
   7  Prefactor     24.763        46.821        .80478E-04   -1.4712    
   8  Prefactor     18.042        18.209        .94262E-04   -1.4858    
   9  norm          .10000E-03    4.9914        .28493E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.021        29.944        .12660E-03   -1.5075    
  11  Prefactor     27.971        19.111        .75748E-04   -1.4650    
  12  norm          .10000E-03    1.6772        .10782E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     67.601        79.889        .48807E-04   -1.4062    
  14  Prefactor     12.871        18.101        .11164E-03   -1.4990    
  15  Prefactor     4.4605        10.617        .19069E-03   -1.5286    
  16  norm          .10000E-03    22.484        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     82.303        66.909        .22127E-03   -1.3891    
  18  norm          15.444        5.4701        .87795E-04   -1.4922    
  19  Prefactor     .10000E-03    22.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    35.966        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .88884        .30083        .28219E-03   -.96853    
  22  Prefactor     1.0288        .26577        .25069E-03   -.91776    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62884e-09
Minuit parameter uncertainties:
  1  26.6393
  2  11.5613
  3  8.92301e-07
  4  18.4818
  5  8.39644e-06
  6  2.12776
  7  46.8907
  8  18.2143
  9  9.27042e-06
  10  29.9884
  11  19.1154
  12  5.13421e-07
  13  80.0161
  14  18.109
  15  10.6215
  16  0.000467657
  17  66.9701
  18  5.47031
  19  1.66671e-05
  20  5.0275e-06
  21  0.301404
  22  0.266108
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  2.797e+01  1.912e+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.029e+00  2.661e-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:  8.888e-01  3.014e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.54
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 1.91e-07 +/- 1.31e-07
Energy Flux (Fixed Index): 3.78e-05 +/- 2.58e-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) = 4376.32154217
delta logL = 0.426939449788

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4376.31422173
delta logL = 0.434259894286

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.805       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5951       1.0000          .0000       10.000    
     3 'Normalizat'    .92472       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99916       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=   4376.314     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      206 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.786        11.983        .18994E-02    .40480E-03
   2  Index         2.5931        .38224        .13442       -.46599E-04
   3  Normalizat    .92506        .23257        .45217E-01    .10168E-04
   4  Prefactor     .99889        .21911        .46257E-01    .47396E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.7856
  Index      = 2.59312
  Normalizat = 0.925057
  Prefactor  = 0.998894
 **********
 **   18 **HESSE 
 **********

 FCN=   4376.314     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .81E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.786        12.335        .37988E-03   -1.4653    
   2  Index         2.5931        .41819        .55971E-02   -.50222    
   3  Normalizat    .92506        .27460        .27714E-03   -.95585    
   4  Prefactor     .99889        .25745        .25368E-03   -.92766    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.10396e-13
Minuit parameter uncertainties:
  1  12.3362
  2  0.418831
  3  0.275014
  4  0.257766
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/484347': 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) = 4376.31421024
delta logL = 0.434271378983

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  2.779e+01  1.234e+01  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.593e+00  4.188e-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:  9.989e-01  2.578e-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.251e-01  2.750e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.51
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 2.59 +/- 0.42
Photon Flux (Free Index): 1.66e-07 +/- 7.94e-08
Energy Flux (Free Index): 4.38e-05 +/- 2.06e-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/484347/cmap_HighResolution_677894401_678153601_4FGL_J2256.0-2740_daily_bin1692.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.91e-07', energy_flux2='4.38e-05', photon_flux_error='1.31e-07', dlogl='4.34e-01', energy_flux='3.78e-05', photon_flux2='1.66e-07', job_status='DONE', time_completed='2022-06-29 05:04:37.353586', photon_index_error2='0.42', photon_index2='2.59', ts='8.54', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='2.06e-05', EG='0.89', time_epoch_completed='1656504277.35', return_code='0', job_id='484347', GAL2='1.00', EG2='0.93', return_code2='0', energy_flux_error='2.58e-05', photon_flux_error2='7.94e-08', ts2='9.51', photon_index='3.02' WHERE bin_id='1692' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun 29 05:04:37 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 484347: <4FGL_J2256.0-2740_daily_bin1692> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1692> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jun 29 04:50:29 2022
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 04:54:57 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 04:54:57 2022
Terminated at Wed Jun 29 05:04:38 2022
Results reported at Wed Jun 29 05:04:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1692 344.025 -27.6739 677894401 678153601 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 :                                   508.60 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             337.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   580 sec.
    Turnaround time :                            849 sec.

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

