/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 28 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 = 7640
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1242
RA = 344.025, Dec = -27.6739
tmin = 561254401, tmax = 561513601
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='593965', job_status='RUN', time_executed='2021-09-29 02:51:01.967457', time_epoch_executed='1632909061.97' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1242'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/593965

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/593965/ft1_4FGL_J2256.0-2740_daily_bin1242.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/593965/ft2_4FGL_J2256.0-2740_daily_bin1242.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/593965/ft1_4FGL_J2256.0-2740_daily_bin1242.fits outfile=/scratch/kocevski/593965/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1242.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=561254401.0 tmax=561513601.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.90
user 3.67
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/593965/ft1_filtered_4FGL_J2256.0-2740_daily_bin1242.fits" evtable="EVENTS" scfile=/scratch/kocevski/593965/ft2_4FGL_J2256.0-2740_daily_bin1242.fits sctable="SC_DATA" outfile=/scratch/kocevski/593965/ltcube_561254401_561513601_4FGL_J2256.0-2740_daily_bin1242.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/593965/ft2_4FGL_J2256.0-2740_daily_bin1242.fits
.....................!
real 11.87
user 11.48
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/593965/ft1_filtered_4FGL_J2256.0-2740_daily_bin1242.fits evtable="EVENTS" scfile=/scratch/kocevski/593965/ft2_4FGL_J2256.0-2740_daily_bin1242.fits sctable="SC_DATA" expcube=/scratch/kocevski/593965/ltcube_561254401_561513601_4FGL_J2256.0-2740_daily_bin1242.fits outfile=/scratch/kocevski/593965/expmap_561254401_561513601_4FGL_J2256.0-2740_daily_bin1242.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/593965/ltcube_561254401_561513601_4FGL_J2256.0-2740_daily_bin1242.fits
.....................!
real 192.60
user 186.89
sys 5.35

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/593965/ft1_filtered_4FGL_J2256.0-2740_daily_bin1242.fits scfile=/scratch/kocevski/593965/ft2_4FGL_J2256.0-2740_daily_bin1242.fits outfile=/scratch/kocevski/593965/cmap_561254401_561513601_4FGL_J2256.0-2740_daily_bin1242.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.53
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/593965/ft1_filtered_4FGL_J2256.0-2740_daily_bin1242.fits scfile=/scratch/kocevski/593965/ft2_4FGL_J2256.0-2740_daily_bin1242.fits outfile=/scratch/kocevski/593965/cmap_HighResolution_561254401_561513601_4FGL_J2256.0-2740_daily_bin1242.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/593965/ft1_filtered_4FGL_J2256.0-2740_daily_bin1242.fits evtable="EVENTS" scfile=/scratch/kocevski/593965/ft2_4FGL_J2256.0-2740_daily_bin1242.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/593965/Model_4FGL_J2256.0-2740_daily_bin1242.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/593965/ft1_filtered_4FGL_J2256.0-2740_daily_bin1242.fits.....................!
real 94.23
user 92.81
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.818       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.1576       1.0000         .10000E-03   10000.    
     3 'norm      '    8.9419       1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.784       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.667       1.0000         .10000E-03   10000.    
     6 'norm      '    4.0446       1.0000         .10000E-03   10000.    
     7 'Prefactor '    51.361       1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.326       1.0000         .10000E-03   10000.    
     9 'norm      '    3.6123       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.5805       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.558       1.0000         .10000E-03   10000.    
    12 'norm      '    .19475       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13885E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.3213       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    14.189       1.0000         .10000E-03   10000.    
    17 'Prefactor '    35.549       1.0000         .10000E-03   10000.    
    18 'norm      '    .11448E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    27.160       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .76571       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .96435       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=   14179.16     FROM MIGRAD    STATUS=CONVERGED    468 CALLS     2449 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.821        11.096       -.16694E-06   -.64761E-04
   2  Prefactor     2.1577        3.1881        .27833E-06   -.53674E-03
   3  norm          8.9412        10.158        .46205E-06    .13406E-04
   4  Prefactor     15.784        10.145        .70479E-07    .12969E-05
   5  Prefactor     14.670        8.9667        .72257E-06    .83957E-05
   6  norm          4.0449        1.8202        .24530E-06   -.60932E-03
   7  Prefactor     51.337        36.114       -.26568E-05   -.17426E-03
   8  Prefactor     17.326        6.9109       -.10244E-06   -.17255E-03
   9  norm          3.6123        2.3200       -.42223E-07   -.50809E-03
  10  Prefactor     8.5810        7.2438       -.19400E-06   -.20910E-03
  11  Prefactor     15.558        7.3066       -.15266E-05   -.84820E-03
  12  norm          .19482        .44416        .10618E-05   -.14720E-02
  13  Prefactor     .10000E-03    81.964        .17386E-06** at limit **
  14  Prefactor     4.3213        5.5364       -.20304E-06   -.13864E-03
  15  Prefactor     .10000E-03    2.7140       -.10004E-06** at limit **
  16  norm          14.189        5.0280       -.18574E-06   -.15205E-03
  17  Prefactor     35.553        26.932        .35501E-06    .16920E-04
  18  norm          .10000E-03    .44228        .40069E-07** at limit **
  19  Prefactor     27.165        15.215       -.41334E-06   -.14425E-03
  20  Prefactor     .10000E-03    13.626        .22557E-07** at limit **
  21  Normalizat    .76576        .11672        .56064E-06   -.33195E-03
  22  Prefactor     .96429        .10917       -.56131E-06   -.11240E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.8212
  Prefactor  = 2.15766
  norm       = 8.94116
  Prefactor  = 15.7844
  Prefactor  = 14.6699
  norm       = 4.04491
  Prefactor  = 51.3372
  Prefactor  = 17.3257
  norm       = 3.61228
  Prefactor  = 8.58096
  Prefactor  = 15.5576
  norm       = 0.194816
  Prefactor  = 0.0001
  Prefactor  = 4.32132
  Prefactor  = 0.0001
  norm       = 14.1891
  Prefactor  = 35.553
  norm       = 0.0001
  Prefactor  = 27.1651
  Prefactor  = 0.0001
  Normalizat = 0.765758
  Prefactor  = 0.96429
 **********
 **   18 **HESSE 
 **********

 FCN=   14179.16     FROM HESSE     STATUS=OK           358 CALLS     2807 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.821        11.104        .87784E-04   -1.4795    
   2  Prefactor     2.1577        3.1767        .24902E-03   -1.5414    
   3  norm          8.9412        10.158        .13404E-03   -1.5110    
   4  Prefactor     15.784        10.142        .10081E-03   -1.4913    
   5  Prefactor     14.670        9.0081        .10458E-03   -1.4942    
   6  norm          4.0449        1.8230        .91164E-04   -1.5306    
   7  Prefactor     51.337        36.673        .55960E-04   -1.4274    
   8  Prefactor     17.326        6.9318        .96221E-04   -1.4875    
   9  norm          3.6123        2.3126        .13293E-03   -1.5328    
  10  Prefactor     8.5810        7.2366        .13685E-03   -1.5122    
  11  Prefactor     15.558        7.3293        .10154E-03   -1.4919    
  12  norm          .19482        .45384        .85059E-04   -1.5620    
  13  Prefactor     .10000E-03    85.946        .41061E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.3213        5.5441        .19378E-03   -1.5292    
  15  Prefactor     .10000E-03    2.7693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          14.189        5.0349        .10633E-03   -1.4954    
  17  Prefactor     35.553        27.180        .67214E-04   -1.4515    
  18  norm          .10000E-03    6.1580        .15150E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     27.165        15.097        .76871E-04   -1.4665    
  20  Prefactor     .10000E-03    13.632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .76576        .13858        .25361E-03   -1.0135    
  22  Prefactor     .96429        .12942        .22914E-03   -.93929    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.49951e-10
Minuit parameter uncertainties:
  1  11.1054
  2  3.17694
  3  10.1597
  4  10.1434
  5  9.00891
  6  1.82302
  7  36.6887
  8  6.93214
  9  2.31263
  10  7.23736
  11  7.32971
  12  0.453844
  13  9.29568e-05
  14  5.54471
  15  1.38894e-06
  16  5.03501
  17  27.1895
  18  2.88133e-05
  19  15.0996
  20  1.89081e-06
  21  0.138639
  22  0.12946
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.556e+01  7.330e+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

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

EG_v02
   Spectrum: FileFunction
557   Normalization:  7.658e-01  1.386e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.05
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 1.06e-07 +/- 5.01e-08
Energy Flux (Fixed Index): 2.10e-05 +/- 9.89e-06

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) = 14178.6995451
delta logL = 0.457969408462

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14178.6987467
delta logL = 0.45876784714

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.772       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6686       1.0000          .0000       10.000    
     3 'Normalizat'    .78325       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95011       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=   14178.70     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      212 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.772        5.4550        .25212E-02    .42307E-03
   2  Index         2.6685        .30601        .19775       -.14716E-03
   3  Normalizat    .78325        .10757        .43391E-01   -.11400E-04
   4  Prefactor     .95011        .10716        .45641E-01    .64010E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.7719
  Index      = 2.66854
  Normalizat = 0.783251
  Prefactor  = 0.950109
 **********
 **   18 **HESSE 
 **********

 FCN=   14178.70     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.772        5.2071        .10085E-03   -1.4913    
   2  Index         2.6685        .34038        .75092E-02   -.48510    
   3  Normalizat    .78325        .12754        .25106E-03   -1.0069    
   4  Prefactor     .95011        .12620        .23055E-03   -.94411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.20671e-11
Minuit parameter uncertainties:
  1  5.20726
  2  0.34072
  3  0.127587
  4  0.12624
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/593965': 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) = 14178.6987467
delta logL = 0.458767857048

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.577e+01  5.207e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.669e+00  3.407e-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.501e-01  1.262e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  7.833e-01  1.276e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.31
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 2.67 +/- 0.34
Photon Flux (Free Index): 9.61e-08 +/- 3.43e-08
Energy Flux (Free Index): 2.37e-05 +/- 8.38e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/593965/cmap_HighResolution_561254401_561513601_4FGL_J2256.0-2740_daily_bin1242.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.06e-07', energy_flux2='2.37e-05', photon_flux_error='5.01e-08', dlogl='4.59e-01', energy_flux='2.10e-05', photon_flux2='9.61e-08', job_status='DONE', time_completed='2021-09-29 03:06:30.470357', photon_index_error2='0.34', photon_index2='2.67', ts='14.05', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='8.38e-06', EG='0.77', time_epoch_completed='1632909990.47', return_code='0', job_id='593965', GAL2='0.95', EG2='0.78', return_code2='0', energy_flux_error='9.89e-06', photon_flux_error2='3.43e-08', ts2='15.31', photon_index='3.02' WHERE bin_id='1242' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:06:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 593965: <4FGL_J2256.0-2740_daily_bin1242> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1242> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 02:50:22 2021
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:50:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 02:50:23 2021
Terminated at Wed Sep 29 03:06:31 2021
Results reported at Wed Sep 29 03:06:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1242 344.025 -27.6739 561254401 561513601 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 :                                   922.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   967 sec.
    Turnaround time :                            969 sec.

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

