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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1571
RA = 344.025, Dec = -27.6739
tmin = 646531201, tmax = 646790401
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='595450', job_status='RUN', time_executed='2021-09-29 02:57:01.017864', time_epoch_executed='1632909421.02' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1571'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/595450

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/595450/ft1_4FGL_J2256.0-2740_daily_bin1571.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/595450/ft2_4FGL_J2256.0-2740_daily_bin1571.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/595450/ft1_4FGL_J2256.0-2740_daily_bin1571.fits outfile=/scratch/kocevski/595450/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1571.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=646531201.0 tmax=646790401.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.63
user 3.43
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/595450/ft1_filtered_4FGL_J2256.0-2740_daily_bin1571.fits" evtable="EVENTS" scfile=/scratch/kocevski/595450/ft2_4FGL_J2256.0-2740_daily_bin1571.fits sctable="SC_DATA" outfile=/scratch/kocevski/595450/ltcube_646531201_646790401_4FGL_J2256.0-2740_daily_bin1571.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/595450/ft2_4FGL_J2256.0-2740_daily_bin1571.fits
.....................!
real 12.48
user 12.12
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/595450/ft1_filtered_4FGL_J2256.0-2740_daily_bin1571.fits evtable="EVENTS" scfile=/scratch/kocevski/595450/ft2_4FGL_J2256.0-2740_daily_bin1571.fits sctable="SC_DATA" expcube=/scratch/kocevski/595450/ltcube_646531201_646790401_4FGL_J2256.0-2740_daily_bin1571.fits outfile=/scratch/kocevski/595450/expmap_646531201_646790401_4FGL_J2256.0-2740_daily_bin1571.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/595450/ltcube_646531201_646790401_4FGL_J2256.0-2740_daily_bin1571.fits
.....................!
real 190.28
user 185.95
sys 4.02

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/595450/ft1_filtered_4FGL_J2256.0-2740_daily_bin1571.fits scfile=/scratch/kocevski/595450/ft2_4FGL_J2256.0-2740_daily_bin1571.fits outfile=/scratch/kocevski/595450/cmap_646531201_646790401_4FGL_J2256.0-2740_daily_bin1571.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/595450/ft1_filtered_4FGL_J2256.0-2740_daily_bin1571.fits scfile=/scratch/kocevski/595450/ft2_4FGL_J2256.0-2740_daily_bin1571.fits outfile=/scratch/kocevski/595450/cmap_HighResolution_646531201_646790401_4FGL_J2256.0-2740_daily_bin1571.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.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/595450/ft1_filtered_4FGL_J2256.0-2740_daily_bin1571.fits evtable="EVENTS" scfile=/scratch/kocevski/595450/ft2_4FGL_J2256.0-2740_daily_bin1571.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/595450/Model_4FGL_J2256.0-2740_daily_bin1571.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/595450/ft1_filtered_4FGL_J2256.0-2740_daily_bin1571.fits.....................!
real 40.62
user 39.33
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.870       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.7937       1.0000         .10000E-03   10000.    
     3 'norm      '    29.516       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.9469       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11579E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    35.551       1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.7156       1.0000         .10000E-03   10000.    
    12 'norm      '    1.1906       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13403E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.657       1.0000         .10000E-03   10000.    
    16 'norm      '    .10176E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .14757E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    14.188       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2390       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .86181       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=   4696.125     FROM MIGRAD    STATUS=CONVERGED    840 CALLS     2725 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.879        20.838        .72114E-04    .11035E-05
   2  Prefactor     2.7941        5.3929        .10786E-02    .32397E-03
   3  norm          29.514        24.277        .73746E-04    .40082E-06
   4  Prefactor     .10000E-03    9.8588        .18142E-02** at limit **
   5  Prefactor     2.9506        20.651        .23658E-03   -.38202E-04
   6  norm          .10000E-03    1.1551        .71568E-03** at limit **
   7  Prefactor     .10001E-03    149.10        .18142E-02** at limit **
   8  Prefactor     35.564        18.293        .67212E-04    .12777E-03
   9  norm          .10000E-03    2.2302        .99690E-03** at limit **
  10  Prefactor     .10000E-03    15.585        .18142E-02** at limit **
  11  Prefactor     9.7265        17.306        .12856E-03   -.10682E-03
  12  norm          1.1898        1.4984        .56394E-04   -.35299E-03
  13  Prefactor     .10000E-03    156.61        .18142E-02** at limit **
  14  Prefactor     .10000E-03    4.5169        .14221E-02** at limit **
  15  Prefactor     11.661        15.452        .11734E-03   -.18022E-04
  16  norm          .10000E-03    19.821        .18142E-02** at limit **
  17  Prefactor     .10000E-03    80.171        .16374    ** at limit **
  18  norm          .10000E-03    2.2514        .19821E-03** at limit **
  19  Prefactor     14.200        30.391        .10633E-03    .11547E-04
  20  Prefactor     .10000E-03    82.519        .18142E-02** at limit **
  21  Normalizat    1.2384        .27548        .24383E-03    .24614E-03
  22  Prefactor     .86217        .24414        .27007E-03    .16674E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.8787
  Prefactor  = 2.79413
  norm       = 29.5144
  Prefactor  = 0.0001
  Prefactor  = 2.95058
  norm       = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 35.5645
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.72652
  norm       = 1.18976
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.661
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 14.1995
  Prefactor  = 0.0001
  Normalizat = 1.23835
  Prefactor  = 0.862172
 **********
 **   18 **HESSE 
 **********

 FCN=   4696.125     FROM HESSE     STATUS=OK           330 CALLS     3055 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.879        20.841        .28846E-05   -1.4596    
   2  Prefactor     2.7941        5.3922        .43144E-04   -1.5374    
   3  norm          29.514        24.277        .14749E-04   -1.4621    
   4  Prefactor     .10000E-03    9.8595        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.9506        20.642        .94634E-05   -1.5364    
   6  norm          .10000E-03    1.1552        .14314E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    149.14        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     35.564        18.294        .13442E-04   -1.4515    
   9  norm          .10000E-03    2.2302        .19938E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    15.586        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.7265        17.301        .51425E-05   -1.5084    
  12  norm          1.1898        1.4980        .22557E-05   -1.5490    
  13  Prefactor     .10000E-03    156.65        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.5170        .28442E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.661        15.451        .46934E-05   -1.5025    
  16  norm          .10000E-03    19.835        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    87.385        .15487       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.2514        .39641E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     14.200        30.395        .42534E-05   -1.4954    
  20  Prefactor     .10000E-03    82.521        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2384        .27578        .48767E-04   -.85426    
  22  Prefactor     .86217        .24441        .10803E-04   -.97476    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.64982e-10
Minuit parameter uncertainties:
  1  20.8457
  2  5.39311
  3  24.2848
  4  1.45352e-05
  5  15.616
  6  9.18877e-06
  7  0.00179191
  8  18.2964
  9  1.41926e-05
  10  0.00013869
  11  17.3098
  12  1.49806
  13  0.000522198
  14  2.83333e-06
  15  15.4561
  16  7.43721e-05
  17  6.95829e-05
  18  9.43641e-06
  19  30.4279
  20  6.87975e-05
  21  0.276106
  22  0.24472
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  9.727e+00  1.731e+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:  8.622e-01  2.447e-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.238e+00  2.761e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/595450/likelihoodResults_646531201_646790401_4FGL_J2256.0-2740_daily_bin1571.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): 0
logL (Free Index) = 4696.11975881
delta logL = 0.00478051664868

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4696.119537
delta logL = 0.00500232896775

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.8595       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8909       1.0000          .0000       10.000    
     3 'Normalizat'    1.2419       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85909       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=   4696.120     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      221 TOTAL
                     EDM=   .16E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 76.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.9028        1.2894       -.29517E-07   -.34076E-04
   2  Index         2.8981        .73985        .12068E-06   -.70024E-05
   3  Normalizat    1.2414        .21242        .47441E-08   -.27981E-04
   4  Prefactor     .85944        .20060        .17619E-08   -.64428E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.90277
  Index      = 2.89814
  Normalizat = 1.24137
  Prefactor  = 0.859437
 **********
 **   18 **HESSE 
 **********

 FCN=   4696.120     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .77E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.9028        11.570        .63809E-03   -1.5078    
   2  Index         2.8981        1.1902        .11179E-01   -.43386    
   3  Normalizat    1.2414        .25588        .24358E-03   -.85334    
   4  Prefactor     .85944        .23796        .27042E-03   -.97573    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.70423e-12
Minuit parameter uncertainties:
  1  11.5731
  2  1.20432
  3  0.25614
  4  0.238243
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/595450': 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) = 4696.11951005
delta logL = 0.00502927393336

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  9.903e+00  1.157e+01  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.898e+00  1.204e+00  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.594e-01  2.382e-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.241e+00  2.561e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.84
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/595450/cmap_HighResolution_646531201_646790401_4FGL_J2256.0-2740_daily_bin1571.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.79e-02', job_status='DONE', photon_flux_upper_limit='2.23e-07', time_completed='2021-09-29 03:06:25.874100', job_id='595450', GAL2='0.86', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1632909985.87', return_code2='0', ts='0.84', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='5.03e-03', ts2='0.90', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='1571' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:06:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 595450: <4FGL_J2256.0-2740_daily_bin1571> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1571> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:55:24 2021
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:55:26 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:55:26 2021
Terminated at Wed Sep 29 03:06:26 2021
Results reported at Wed Sep 29 03:06:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1571 344.025 -27.6739 646531201 646790401 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 :                                   561.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             352.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   660 sec.
    Turnaround time :                            662 sec.

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

