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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin728
RA = 344.025, Dec = -27.6739
tmin = 428025601, tmax = 428284801
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='592241', job_status='RUN', time_executed='2021-09-29 02:47:07.322315', time_epoch_executed='1632908827.32' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='728'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592241

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592241/ft1_4FGL_J2256.0-2740_daily_bin728.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592241/ft2_4FGL_J2256.0-2740_daily_bin728.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592241/ft1_4FGL_J2256.0-2740_daily_bin728.fits outfile=/scratch/kocevski/592241/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin728.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=428025601.0 tmax=428284801.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 5.69
user 5.37
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592241/ft1_filtered_4FGL_J2256.0-2740_daily_bin728.fits" evtable="EVENTS" scfile=/scratch/kocevski/592241/ft2_4FGL_J2256.0-2740_daily_bin728.fits sctable="SC_DATA" outfile=/scratch/kocevski/592241/ltcube_428025601_428284801_4FGL_J2256.0-2740_daily_bin728.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/592241/ft2_4FGL_J2256.0-2740_daily_bin728.fits
.....................!
real 16.05
user 15.44
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592241/ft1_filtered_4FGL_J2256.0-2740_daily_bin728.fits evtable="EVENTS" scfile=/scratch/kocevski/592241/ft2_4FGL_J2256.0-2740_daily_bin728.fits sctable="SC_DATA" expcube=/scratch/kocevski/592241/ltcube_428025601_428284801_4FGL_J2256.0-2740_daily_bin728.fits outfile=/scratch/kocevski/592241/expmap_428025601_428284801_4FGL_J2256.0-2740_daily_bin728.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/592241/ltcube_428025601_428284801_4FGL_J2256.0-2740_daily_bin728.fits
.....................!
real 191.12
user 186.20
sys 4.50

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/592241/ft1_filtered_4FGL_J2256.0-2740_daily_bin728.fits scfile=/scratch/kocevski/592241/ft2_4FGL_J2256.0-2740_daily_bin728.fits outfile=/scratch/kocevski/592241/cmap_428025601_428284801_4FGL_J2256.0-2740_daily_bin728.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.52
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592241/ft1_filtered_4FGL_J2256.0-2740_daily_bin728.fits scfile=/scratch/kocevski/592241/ft2_4FGL_J2256.0-2740_daily_bin728.fits outfile=/scratch/kocevski/592241/cmap_HighResolution_428025601_428284801_4FGL_J2256.0-2740_daily_bin728.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/592241/ft1_filtered_4FGL_J2256.0-2740_daily_bin728.fits evtable="EVENTS" scfile=/scratch/kocevski/592241/ft2_4FGL_J2256.0-2740_daily_bin728.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/592241/Model_4FGL_J2256.0-2740_daily_bin728.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/592241/ft1_filtered_4FGL_J2256.0-2740_daily_bin728.fits.....................!
real 34.22
user 32.90
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13248E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    38.868       1.0000         .10000E-03   10000.    
     6 'norm      '    .10308E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    227.81       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .61523E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    14.314       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.4071       1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.656       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .89269       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .83257       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=   3296.386     FROM MIGRAD    STATUS=CONVERGED    487 CALLS     2389 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.4789        .26982E-07** at limit **
   2  Prefactor     .10001E-03    29.439        .97393E-05** at limit **
   3  norm          .10000E-03    18.116       -.57031E-06** at limit **
   4  Prefactor     .10000E-03    11.475        .17614E-06** at limit **
   5  Prefactor     38.870        26.611        .30251E-06   -.96593E-04
   6  norm          .10000E-03    2.6185       -.31240E-06** at limit **
   7  Prefactor     227.79        97.992       -.34881E-05   -.21696E-03
   8  Prefactor     .10000E-03    18.320       -.39769E-06** at limit **
   9  norm          .10000E-03    1.8005        .51598E-07** at limit **
  10  Prefactor     .10000E-03    8.7014        .12332E-06** at limit **
  11  Prefactor     .10000E-03    11.870        .11625E-05** at limit **
  12  norm          .10000E-03    .38036        .27917E-07** at limit **
  13  Prefactor     .10000E-03    20.918        .13326E-05** at limit **
  14  Prefactor     .10000E-03    11.040       -.79304E-06** at limit **
  15  Prefactor     .10013E-03    66.673       -.13457E-04** at limit **
  16  norm          14.313        16.182        .14720E-06   -.10320E-04
  17  Prefactor     .10000E-03    52.465        .32455E-06** at limit **
  18  norm          4.4068        4.8579        .93848E-07    .24032E-03
  19  Prefactor     13.658        30.178        .70354E-07   -.19175E-05
  20  Prefactor     .10000E-03    103.65       -.16701E-06** at limit **
  21  Normalizat    .89264        .23357       -.23488E-06   -.16037E-03
  22  Prefactor     .83267        .21624       -.96331E-06   -.16831E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 38.8701
  norm       = 0.000100003
  Prefactor  = 227.793
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100129
  norm       = 14.313
  Prefactor  = 0.0001
  norm       = 4.40684
  Prefactor  = 13.6579
  Prefactor  = 0.0001
  Normalizat = 0.892644
  Prefactor  = 0.832674
 **********
 **   18 **HESSE 
 **********

 FCN=   3296.386     FROM HESSE     STATUS=OK           334 CALLS     2723 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.4859        .15336E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    54.255        .34030E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    18.155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     38.870        26.605        .64290E-04   -1.4460    
   6  norm          .10000E-03    3.8772        .17022E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     227.79        100.96        .13404E-03   -1.2678    
   8  Prefactor     .10000E-03    18.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.8031        .75238E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.7078        .16539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.978        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .39381        .68758E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    20.949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10013E-03    120.63        .41348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          14.313        16.182        .10587E-03   -1.4951    
  17  Prefactor     .10000E-03    52.529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.4068        4.8467        .12293E-03   -1.5288    
  19  Prefactor     13.658        30.129        .10839E-03   -1.4969    
  20  Prefactor     .10000E-03    103.70        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .89264        .27532        .24272E-03   -.96719    
  22  Prefactor     .83267        .25659        .23700E-03   -.98535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30962e-09
Minuit parameter uncertainties:
  1  1.1518e-05
  2  0.00128112
  3  1.52618e-05
  4  1.97616e-05
  5  26.6134
  6  0.000228246
  7  101.037
  8  9.47273e-05
  9  7.48793e-07
  10  5.70733e-07
  11  1.36163e-05
  12  6.02194e-07
  13  6.26807e-05
  14  7.64535e-06
  15  0.0079152
  16  16.1865
  17  0.000108651
  18  4.84713
  19  30.162
  20  0.000111926
  21  0.275753
  22  0.25696
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  1.362e-05  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:  8.327e-01  2.570e-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.926e-01  2.758e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 344.025 -27.674
Photon Flux Upper Limit: 1.73e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.39e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/592241/likelihoodResults_428025601_428284801_4FGL_J2256.0-2740_daily_bin728.txt

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): 102
logL (Free Index) = 3296.38685395
delta logL = -0.00039788360391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3296.38645605
delta logL = 1.12295310828e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10438E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0581       1.0000          .0000       10.000    
     3 'Normalizat'    .89271       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83264       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3296.207     FROM MIGRAD    STATUS=CONVERGED    192 CALLS      342 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .60593E-01    6.3241        .56322E-02    .17242E-02
   2  Index        10.0000        7.6552        .50000    ** at limit **
   3  Normalizat    .84933        .72048E-01    .24272E-03    .68198E-04
   4  Prefactor     .86209        .67507E-01    .23700E-03    .69675E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0605927
  Index      = 10
  Normalizat = 0.849325
  Prefactor  = 0.862089
 **********
 **   18 **HESSE 
 **********

 FCN=   3296.207     FROM HESSE     STATUS=OK            33 CALLS      375 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .60593E-01    .15882        .26093E-03   -1.5659    
   2  Index        10.0000        9.9982        .50000        7.8540    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .84933        .27933        .97087E-05   -.98264    
   4  Prefactor     .86209        .26205        .94801E-05   -.97479    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09119e-09
Minuit parameter uncertainties:
  1  0.158817
  2  0.00033751
  3  0.279802
  4  0.262435
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592241': 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) = 3296.20745272
delta logL = 0.17900334132

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  6.059e-02  1.588e-01  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  1.000e+01  3.375e-04  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:  8.621e-01  2.624e-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.493e-01  2.798e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 344.025 -27.674

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/592241/cmap_HighResolution_428025601_428284801_4FGL_J2256.0-2740_daily_bin728.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-02', job_status='DONE', photon_flux_upper_limit='1.73e-07', time_completed='2021-09-29 02:56:51.949176', job_id='592241', GAL2='0.86', fit_tolerance='1e-08', EG2='0.85', EG='0.89', time_epoch_completed='1632909411.95', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.79e-01', ts2='0.38', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='728' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:56:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 592241: <4FGL_J2256.0-2740_daily_bin728> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin728> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:45:11 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:45:13 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:45:13 2021
Terminated at Wed Sep 29 02:56:52 2021
Results reported at Wed Sep 29 02:56:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin728 344.025 -27.6739 428025601 428284801 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 :                                   493.15 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             261.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   699 sec.
    Turnaround time :                            701 sec.

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

