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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1690
RA = 344.025, Dec = -27.6739
tmin = 677376001, tmax = 677635201
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='159545', job_status='RUN', time_executed='2022-06-23 01:18:32.068041', time_epoch_executed='1655972312.07' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1690'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/159545

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/159545/ft1_4FGL_J2256.0-2740_daily_bin1690.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/159545/ft2_4FGL_J2256.0-2740_daily_bin1690.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/159545/ft1_4FGL_J2256.0-2740_daily_bin1690.fits outfile=/scratch/kocevski/159545/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1690.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=677376001.0 tmax=677635201.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.54
user 2.34
sys 0.19

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

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

Number of photons that the gtmktime cut: 425

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/159545/ft1_filtered_4FGL_J2256.0-2740_daily_bin1690.fits" evtable="EVENTS" scfile=/scratch/kocevski/159545/ft2_4FGL_J2256.0-2740_daily_bin1690.fits sctable="SC_DATA" outfile=/scratch/kocevski/159545/ltcube_677376001_677635201_4FGL_J2256.0-2740_daily_bin1690.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/159545/ft2_4FGL_J2256.0-2740_daily_bin1690.fits
.....................!
real 15.39
user 15.01
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/159545/ft1_filtered_4FGL_J2256.0-2740_daily_bin1690.fits evtable="EVENTS" scfile=/scratch/kocevski/159545/ft2_4FGL_J2256.0-2740_daily_bin1690.fits sctable="SC_DATA" expcube=/scratch/kocevski/159545/ltcube_677376001_677635201_4FGL_J2256.0-2740_daily_bin1690.fits outfile=/scratch/kocevski/159545/expmap_677376001_677635201_4FGL_J2256.0-2740_daily_bin1690.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/159545/ltcube_677376001_677635201_4FGL_J2256.0-2740_daily_bin1690.fits
.....................!
real 190.34
user 185.83
sys 3.76

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/159545/ft1_filtered_4FGL_J2256.0-2740_daily_bin1690.fits scfile=/scratch/kocevski/159545/ft2_4FGL_J2256.0-2740_daily_bin1690.fits outfile=/scratch/kocevski/159545/cmap_677376001_677635201_4FGL_J2256.0-2740_daily_bin1690.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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/159545/ft1_filtered_4FGL_J2256.0-2740_daily_bin1690.fits scfile=/scratch/kocevski/159545/ft2_4FGL_J2256.0-2740_daily_bin1690.fits outfile=/scratch/kocevski/159545/cmap_HighResolution_677376001_677635201_4FGL_J2256.0-2740_daily_bin1690.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.2748       1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.763       1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .66700       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.7390       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    39.817       1.0000         .10000E-03   10000.    
    12 'norm      '    .14345E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.835       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    18.691       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    24.844       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10653E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    96.294       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1077       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98053       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=   4663.762     FROM MIGRAD    STATUS=CONVERGED    460 CALLS     2380 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.2809        29.060        .70482E-06    .13955E-04
   2  Prefactor     14.769        13.277        .48205E-06    .11309E-04
   3  norm          .10000E-03    7.1038       -.59716E-07** at limit **
   4  Prefactor     .10000E-03    15.698       -.49748E-06** at limit **
   5  Prefactor     .10000E-03    14.786       -.11492E-05** at limit **
   6  norm          .66776        1.9556       -.12789E-06    .11979E-03
   7  Prefactor     .10000E-03    50.967       -.10931E-05** at limit **
   8  Prefactor     .10000E-03    9.2062       -.92981E-06** at limit **
   9  norm          6.7367        5.4387       -.10318E-06    .42477E-03
  10  Prefactor     .10000E-03    10.317       -.13513E-07** at limit **
  11  Prefactor     39.808        15.696        .11546E-05    .10430E-02
  12  norm          .10001E-03    .55815       -.38617E-06** at limit **
  13  Prefactor     27.798        57.412        .70466E-06   -.16580E-04
  14  Prefactor     .10000E-03    5.4360       -.22171E-06** at limit **
  15  Prefactor     .10000E-03    11.425       -.57219E-07** at limit **
  16  norm          18.693        10.330        .12696E-06    .12109E-04
  17  Prefactor     .10000E-03    17.754        .88459E-08** at limit **
  18  norm          24.847        6.0151        .29611E-06    .30172E-03
  19  Prefactor     .10000E-03    38.616        .40239E-05** at limit **
  20  Prefactor     96.596        140.14        .49183E-05    .58328E-04
  21  Normalizat    1.1067        .29355       -.10707E-04    .25628E-03
  22  Prefactor     .98132        .26157        .97843E-05    .90135E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.28088
  Prefactor  = 14.7685
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.66776
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.73665
  Prefactor  = 0.0001
  Prefactor  = 39.8079
  norm       = 0.000100013
  Prefactor  = 27.7976
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.6926
  Prefactor  = 0.0001
  norm       = 24.8471
  Prefactor  = 0.000100004
  Prefactor  = 96.5961
  Normalizat = 1.10672
  Prefactor  = 0.981318
 **********
 **   18 **HESSE 
 **********

 FCN=   4663.762     FROM HESSE     STATUS=OK           342 CALLS     2722 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.2809        29.052        .13160E-03   -1.5099    
   2  Prefactor     14.769        13.272        .10424E-03   -1.4939    
   3  norm          .10000E-03    7.1044        .17778E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    14.968        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .66776        1.7363        .15714E-02   -1.5545    
   7  Prefactor     .10000E-03    51.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.3251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.7367        5.4124        .13177E-03   -1.5189    
  10  Prefactor     .10000E-03    10.324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     39.808        14.145        .63522E-04   -1.4445    
  12  norm          .10001E-03    18.155        .82787E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.798        57.471        .75935E-04   -1.4653    
  14  Prefactor     .10000E-03    5.4441        .15553E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          18.693        10.330        .92642E-04   -1.4843    
  17  Prefactor     .10000E-03    17.759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          24.847        6.0056        .78416E-04   -1.4711    
  19  Prefactor     .10000E-03    39.191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     96.596        140.28        .20480E-03   -1.3739    
  21  Normalizat    1.1067        .29006        .27000E-03   -.89536    
  22  Prefactor     .98132        .26085        .26870E-03   -.93355    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33478e-09
Minuit parameter uncertainties:
  1  29.0966
  2  13.2745
  3  2.41125e-06
  4  4.859e-05
  5  9.40669e-05
  6  1.73641
  7  0.000260267
  8  7.71335e-05
  9  5.41276
  10  1.28961e-05
  11  14.1458
  12  0.000987079
  13  57.5857
  14  1.24164e-05
  15  9.07823e-06
  16  10.3308
  17  5.25341e-06
  18  6.00577
  19  0.000761276
  20  140.764
  21  0.290476
  22  0.261186
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  3.981e+01  1.415e+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:  9.813e-01  2.612e-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.107e+00  2.905e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.30
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 2.72e-07 +/- 9.66e-08
Energy Flux (Fixed Index): 5.38e-05 +/- 1.91e-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) = 4663.76068366
delta logL = 0.00161303957066

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4663.76062581
delta logL = 0.00167089081879

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.808       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9975       1.0000          .0000       10.000    
     3 'Normalizat'    1.1096       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97909       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=   4663.761     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      200 TOTAL
                     EDM=   .71E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.900        15.063        .15882E-02   -.25074E-03
   2  Index         2.9972        .46751        .14031       -.88550E-04
   3  Normalizat    1.1092        .23155        .60989E-01   -.86105E-04
   4  Prefactor     .97922        .21634        .46005E-01   -.42020E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.8999
  Index      = 2.9972
  Normalizat = 1.10925
  Prefactor  = 0.979223
 **********
 **   18 **HESSE 
 **********

 FCN=   4663.761     FROM HESSE     STATUS=OK            31 CALLS      231 TOTAL
                     EDM=   .72E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.900        13.459        .63529E-04   -1.4444    
   2  Index         2.9972        .43620        .59372E-02   -.41213    
   3  Normalizat    1.1092        .28017        .26975E-03   -.89455    
   4  Prefactor     .97922        .26017        .26893E-03   -.93425    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.22269e-11
Minuit parameter uncertainties:
  1  13.4597
  2  0.436861
  3  0.280545
  4  0.2605
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/159545': 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) = 4663.76060242
delta logL = 0.00169428464142

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  3.990e+01  1.346e+01  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.997e+00  4.369e-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.792e-01  2.605e-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.109e+00  2.805e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.38
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 3.00 +/- 0.44
Photon Flux (Free Index): 2.70e-07 +/- 9.61e-08
Energy Flux (Free Index): 5.40e-05 +/- 1.88e-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/159545/cmap_HighResolution_677376001_677635201_4FGL_J2256.0-2740_daily_bin1690.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.72e-07', energy_flux2='5.40e-05', photon_flux_error='9.66e-08', dlogl='1.69e-03', energy_flux='5.38e-05', photon_flux2='2.70e-07', job_status='DONE', time_completed='2022-06-23 01:27:02.504306', photon_index_error2='0.44', photon_index2='3.00', ts='16.30', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.88e-05', EG='1.11', time_epoch_completed='1655972822.5', return_code='0', job_id='159545', GAL2='0.98', EG2='1.11', return_code2='0', energy_flux_error='1.91e-05', photon_flux_error2='9.61e-08', ts2='16.38', photon_index='3.02' WHERE bin_id='1690' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jun 23 01:27:02 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 159545: <4FGL_J2256.0-2740_daily_bin1690> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1690> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Thu Jun 23 01:15:20 2022
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 01:17:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 01:17:22 2022
Terminated at Thu Jun 23 01:27:03 2022
Results reported at Thu Jun 23 01:27:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1690 344.025 -27.6739 677376001 677635201 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 :                                   512.00 sec.
    Max Memory :                                 1129 MB
    Average Memory :                             348.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   580 sec.
    Turnaround time :                            703 sec.

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

