/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 107 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1775
RA = 344.025, Dec = -27.6739
tmin = 699408001, tmax = 699667201
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='793663', job_status='RUN', time_executed='2023-03-05 04:04:25.657057', time_epoch_executed='1678017865.66' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1775'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/793663

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/793663/ft1_4FGL_J2256.0-2740_daily_bin1775.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/793663/ft2_4FGL_J2256.0-2740_daily_bin1775.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/793663/ft1_4FGL_J2256.0-2740_daily_bin1775.fits outfile=/scratch/kocevski/793663/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1775.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=699408001.0 tmax=699667201.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.74
user 4.44
sys 0.23

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

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

Number of photons that the gtmktime cut: 476

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/793663/ft1_filtered_4FGL_J2256.0-2740_daily_bin1775.fits" evtable="EVENTS" scfile=/scratch/kocevski/793663/ft2_4FGL_J2256.0-2740_daily_bin1775.fits sctable="SC_DATA" outfile=/scratch/kocevski/793663/ltcube_699408001_699667201_4FGL_J2256.0-2740_daily_bin1775.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/793663/ft2_4FGL_J2256.0-2740_daily_bin1775.fits
.....................!
real 13.29
user 12.92
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/793663/ft1_filtered_4FGL_J2256.0-2740_daily_bin1775.fits evtable="EVENTS" scfile=/scratch/kocevski/793663/ft2_4FGL_J2256.0-2740_daily_bin1775.fits sctable="SC_DATA" expcube=/scratch/kocevski/793663/ltcube_699408001_699667201_4FGL_J2256.0-2740_daily_bin1775.fits outfile=/scratch/kocevski/793663/expmap_699408001_699667201_4FGL_J2256.0-2740_daily_bin1775.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/793663/ltcube_699408001_699667201_4FGL_J2256.0-2740_daily_bin1775.fits
.....................!
real 190.29
user 185.29
sys 4.47

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/793663/ft1_filtered_4FGL_J2256.0-2740_daily_bin1775.fits scfile=/scratch/kocevski/793663/ft2_4FGL_J2256.0-2740_daily_bin1775.fits outfile=/scratch/kocevski/793663/cmap_699408001_699667201_4FGL_J2256.0-2740_daily_bin1775.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/793663/ft1_filtered_4FGL_J2256.0-2740_daily_bin1775.fits scfile=/scratch/kocevski/793663/ft2_4FGL_J2256.0-2740_daily_bin1775.fits outfile=/scratch/kocevski/793663/cmap_HighResolution_699408001_699667201_4FGL_J2256.0-2740_daily_bin1775.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=344.025 yref=-27.6739 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/793663/ft1_filtered_4FGL_J2256.0-2740_daily_bin1775.fits evtable="EVENTS" scfile=/scratch/kocevski/793663/ft2_4FGL_J2256.0-2740_daily_bin1775.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/793663/Model_4FGL_J2256.0-2740_daily_bin1775.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/793663/ft1_filtered_4FGL_J2256.0-2740_daily_bin1775.fits.....................!
real 43.17
user 41.87
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/793663/ft1_filtered_4FGL_J2256.0-2740_daily_bin1775.fits', '/scratch/kocevski/793663/ft2_4FGL_J2256.0-2740_daily_bin1775.fits', expMap='/scratch/kocevski/793663/expmap_699408001_699667201_4FGL_J2256.0-2740_daily_bin1775.fits', expCube='/scratch/kocevski/793663/ltcube_699408001_699667201_4FGL_J2256.0-2740_daily_bin1775.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/793663/Model_4FGL_J2256.0-2740_daily_bin1775.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  0.000e+00  1.000e+06 ( 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/793663/ft1_filtered_4FGL_J2256.0-2740_daily_bin1775.fits
Spacecraft file(s): /scratch/kocevski/793663/ft2_4FGL_J2256.0-2740_daily_bin1775.fits
Exposure map: /scratch/kocevski/793663/expmap_699408001_699667201_4FGL_J2256.0-2740_daily_bin1775.fits
Exposure cube: /scratch/kocevski/793663/ltcube_699408001_699667201_4FGL_J2256.0-2740_daily_bin1775.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/793663/Model_4FGL_J2256.0-2740_daily_bin1775.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) = 5137.21688004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51011E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .38858E-08   1.0000          .0000       .10000E+07
     3 'norm      '    14.953       1.0000          .0000       .10000E+07
     4 'Prefactor '    16.036       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.5281       1.0000          .0000       .10000E+07
     6 'norm      '    4.2795       1.0000          .0000       .10000E+07
     7 'Prefactor '    144.28       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.6525       1.0000          .0000       .10000E+07
     9 'norm      '    .10492E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.3543       1.0000          .0000       .10000E+07
    11 'Prefactor '    34.444       1.0000          .0000       .10000E+07
    12 'norm      '    .40034       1.0000          .0000       .10000E+07
    13 'Prefactor '    33.629       1.0000          .0000       .10000E+07
    14 'Prefactor '    .12436E-04   1.0000          .0000       .10000E+07
    15 'norm      '    6.8650       1.0000          .0000       .10000E+07
    16 'Prefactor '    .19604E-01   1.0000          .0000       .10000E+07
    17 'norm      '    6.0341       1.0000          .0000       .10000E+07
    18 'Normalizat'    .54411       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.2014       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5134.414     FROM MIGRAD    STATUS=CONVERGED    140 CALLS      894 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.4040       -.12734E-06** at limit **
   2  Prefactor      .0000        1.5889       -.92218E-08** at limit **
   3  norm          16.101        21.611       -.33535E-07   -.42206E-02
   4  Prefactor     15.951        4.8942        .24664E-07    .21575E-01
   5  Prefactor     6.5478        12.645       -.15047E-06    .87843E-02
   6  norm          4.2457        3.0367       -.12873E-07   -.11221E-03
   7  Prefactor     145.92        74.602        .11769E-06    .16838E-02
   8  Prefactor     2.8936        10.811       -.29400E-06   -.67836E-03
   9  norm           .0000        4.1478        .18247E-07** at limit **
  10  Prefactor     9.0946        23.593       -.97338E-08   -.91700E-03
  11  Prefactor     33.135        16.694       -.83336E-07   -.30101E-02
  12  norm          .41516        .65134        .16255E-07    .77136E-04
  13  Prefactor     33.483        3.2661        .26907E-08   -.51785E-01
  14  Prefactor      .0000        5.0006       -.24224E-07** at limit **
  15  norm          6.8668        5.4867       -.66589E-08    .27856E-04
  16  Prefactor      .0000        21.530       -.35565E-08** at limit **
  17  norm          6.0383        3.9772       -.17279E-07    .78709E-04
  18  Normalizat    .54623        .23487        .25428E-05    .48641E-06
  19  Prefactor     1.1989        .22787       -.68718E-06    .84291E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  norm       = 16.1014
  Prefactor  = 15.9514
  Prefactor  = 6.54782
  norm       = 4.24567
  Prefactor  = 145.922
  Prefactor  = 2.89358
  norm       = 0
  Prefactor  = 9.09459
  Prefactor  = 33.135
  norm       = 0.415161
  Prefactor  = 33.4825
  Prefactor  = 0
  norm       = 6.8668
  Prefactor  = 0
  norm       = 6.03828
  Normalizat = 0.546227
  Prefactor  = 1.19894
 **********
 **   18 **HESSE 
 **********

 FCN=   5134.414     FROM HESSE     STATUS=OK           314 CALLS     1208 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.3811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.5852        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          16.101        21.805        .25875E-03   -1.5628    
   4  Prefactor     15.951        14.306        .24984E-03   -1.5628    
   5  Prefactor     6.5478        13.528        .39255E-03   -1.5657    
   6  norm          4.2457        3.0408        .48678E-03   -1.5667    
   7  Prefactor     145.92        74.787        .83259E-04   -1.5466    
   8  Prefactor     2.8936        10.821        .62566E-03   -1.5674    
   9  norm           .0000        4.0853        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.0946        23.700        .36961E-03   -1.5648    
  11  Prefactor     33.135        17.488        .17041E-03   -1.5593    
  12  norm          .41516        .78257        .13886E-02   -1.5695    
  13  Prefactor     33.483        22.083        .17246E-03   -1.5592    
  14  Prefactor      .0000        5.0010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.8668        5.4877        .38269E-03   -1.5656    
  16  Prefactor      .0000        21.442        .17063E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.0383        3.9946        .40851E-03   -1.5659    
  18  Normalizat    .54623        .20538        .68778E-01   -1.1032    
  19  Prefactor     1.1989        .19679        .34597E-01   -.86364    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64469e-07
Minuit parameter uncertainties:
  1  3.59202e-06
  2  2.70148e-07
  3  21.8048
  4  14.3064
  5  13.5279
  6  3.04085
  7  74.7877
  8  10.8209
  9  4.08197e-06
  10  23.6999
  11  17.4882
  12  0.782569
  13  22.0834
  14  2.72872e-06
  15  5.48773
  16  7.05304e-07
  17  3.99465
  18  0.205662
  19  0.196909
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  3.313e+01  1.749e+01  0.000e+00  1.000e+06 ( 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.199e+00  1.969e-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:  5.462e-01  2.057e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.80
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 2.27e-07 +/- 1.19e-07
Energy Flux (Fixed Index): 4.47e-05 +/- 2.36e-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) = 5134.17008925
delta logL = 0.244143030754

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5134.16481126
delta logL = 0.249421026407

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.813       1.0000          .0000       .10000E+07
     2 'Index     '    2.7143       1.0000          .0000       10.000    
     3 'Normalizat'    .57547       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1750       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=   5134.165     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      205 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.813        11.075        .17199E-03   -.35128E-01
   2  Index         2.7135        .38486        .13830       -.56673E-05
   3  Normalizat    .57551        .19086        .67160E-01    .26043E-04
   4  Prefactor     1.1749        .19205        .35250E-01   -.69315E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.8129
  Index      = 2.71352
  Normalizat = 0.575507
  Prefactor  = 1.17488
 **********
 **   18 **HESSE 
 **********

 FCN=   5134.165     FROM HESSE     STATUS=OK            31 CALLS      236 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.813        10.694        .68798E-05   -1.5592    
   2  Index         2.7135        .39733        .57284E-02   -.47495    
   3  Normalizat    .57551        .22273        .29723E-03   -1.0903    
   4  Prefactor     1.1749        .22321        .21794E-03   -.87108    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19324e-09
Minuit parameter uncertainties:
  1  10.6945
  2  0.397859
  3  0.223072
  4  0.223387
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/793663': 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) = 5134.16480835
delta logL = 0.249423935047

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  3.381e+01  1.069e+01  0.000e+00  1.000e+06 ( 1.000e-11)
341        Index:  2.714e+00  3.979e-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:  1.175e+00  2.234e-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:  5.755e-01  2.231e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.13
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 2.71 +/- 0.40
Photon Flux (Free Index): 2.09e-07 +/- 7.22e-08
Energy Flux (Free Index): 4.97e-05 +/- 1.76e-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/793663/cmap_HighResolution_699408001_699667201_4FGL_J2256.0-2740_daily_bin1775.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.27e-07', energy_flux2='4.97e-05', photon_flux_error='1.19e-07', dlogl='2.49e-01', energy_flux='4.47e-05', photon_flux2='2.09e-07', job_status='DONE', time_completed='2023-03-05 04:11:50.278705', photon_index_error2='0.40', photon_index2='2.71', ts='15.80', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='1.76e-05', EG='0.55', time_epoch_completed='1678018310.28', return_code='0', job_id='793663', GAL2='1.17', EG2='0.58', return_code2='0', energy_flux_error='2.36e-05', photon_flux_error2='7.22e-08', ts2='17.13', photon_index='3.02' WHERE bin_id='1775' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Mar  5 04:11:50 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0138>
Subject: Job 793663: <4FGL_J2256.0-2740_daily_bin1775> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1775> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Mar  5 03:55:17 2023
Job was executed on host(s) <bullet0138>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Mar  5 04:02:31 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Mar  5 04:02:31 2023
Terminated at Sun Mar  5 04:11:50 2023
Results reported at Sun Mar  5 04:11:50 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1775 344.025 -27.6739 699408001 699667201 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 :                                   445.44 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             284.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   559 sec.
    Turnaround time :                            993 sec.

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

