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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin736
RA = 344.025, Dec = -27.6739
tmin = 430099201, tmax = 430358401
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='592252', job_status='RUN', time_executed='2021-09-29 02:48:30.154039', time_epoch_executed='1632908910.15' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592252

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592252/ft1_4FGL_J2256.0-2740_daily_bin736.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592252/ft2_4FGL_J2256.0-2740_daily_bin736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592252/ft1_4FGL_J2256.0-2740_daily_bin736.fits outfile=/scratch/kocevski/592252/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin736.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=430099201.0 tmax=430358401.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 11.17
user 10.86
sys 0.28

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592252/ft1_filtered_4FGL_J2256.0-2740_daily_bin736.fits" evtable="EVENTS" scfile=/scratch/kocevski/592252/ft2_4FGL_J2256.0-2740_daily_bin736.fits sctable="SC_DATA" outfile=/scratch/kocevski/592252/ltcube_430099201_430358401_4FGL_J2256.0-2740_daily_bin736.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/592252/ft2_4FGL_J2256.0-2740_daily_bin736.fits
.....................!
real 11.51
user 11.16
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592252/ft1_filtered_4FGL_J2256.0-2740_daily_bin736.fits evtable="EVENTS" scfile=/scratch/kocevski/592252/ft2_4FGL_J2256.0-2740_daily_bin736.fits sctable="SC_DATA" expcube=/scratch/kocevski/592252/ltcube_430099201_430358401_4FGL_J2256.0-2740_daily_bin736.fits outfile=/scratch/kocevski/592252/expmap_430099201_430358401_4FGL_J2256.0-2740_daily_bin736.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/592252/ltcube_430099201_430358401_4FGL_J2256.0-2740_daily_bin736.fits
.....................!
real 191.04
user 185.90
sys 4.77

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/592252/ft1_filtered_4FGL_J2256.0-2740_daily_bin736.fits scfile=/scratch/kocevski/592252/ft2_4FGL_J2256.0-2740_daily_bin736.fits outfile=/scratch/kocevski/592252/cmap_430099201_430358401_4FGL_J2256.0-2740_daily_bin736.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.55
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592252/ft1_filtered_4FGL_J2256.0-2740_daily_bin736.fits scfile=/scratch/kocevski/592252/ft2_4FGL_J2256.0-2740_daily_bin736.fits outfile=/scratch/kocevski/592252/cmap_HighResolution_430099201_430358401_4FGL_J2256.0-2740_daily_bin736.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/592252/ft1_filtered_4FGL_J2256.0-2740_daily_bin736.fits evtable="EVENTS" scfile=/scratch/kocevski/592252/ft2_4FGL_J2256.0-2740_daily_bin736.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/592252/Model_4FGL_J2256.0-2740_daily_bin736.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/592252/ft1_filtered_4FGL_J2256.0-2740_daily_bin736.fits......................!
real 24.99
user 23.73
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.4112       1.0000         .10000E-03   10000.    
     3 'norm      '    3.5821       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10545E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.6380       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10205E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14108E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .19969       1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.369       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    41.217       1.0000         .10000E-03   10000.    
    16 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10243E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.7896       1.0000         .10000E-03   10000.    
    19 'Prefactor '    26.731       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .16479E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.8587       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .12905       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=   1817.060     FROM MIGRAD    STATUS=CONVERGED    833 CALLS     3117 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.790        .18142E-02** at limit **
   2  Prefactor     4.4083        14.059        .95873E-03    .21184E-04
   3  norm          3.5733        188.61        .21352E-03   -.11408E-04
   4  Prefactor     .10000E-03    31.608        .18142E-02** at limit **
   5  Prefactor     .10000E-03    142.72        .36285E-02** at limit **
   6  norm          5.6379        4.2062        .72590E-04   -.10086E-03
   7  Prefactor     .10000E-03    32.074        .18142E-02** at limit **
   8  Prefactor     .10000E-03    9.5085        .12829E-02** at limit **
   9  norm          .10000E-03    7.0978        .11031E-02** at limit **
  10  Prefactor     .10000E-03    37.388        .18142E-02** at limit **
  11  Prefactor     .10000E-03    64.225        .36285E-02** at limit **
  12  norm          .19873        4.1273        .81617E-03    .18711E-03
  13  Prefactor     23.311        77.283        .82860E-04   -.22248E-04
  14  Prefactor     .10000E-03    10.946        .13774E-02** at limit **
  15  Prefactor     41.218        36.036        .62438E-04   -.14471E-03
  16  norm          .10000E-03    11.377        .14000E-02** at limit **
  17  Prefactor     .10000E-03    195.72        .18142E-02** at limit **
  18  norm          1.7900        6.4473        .18661E-03   -.11164E-04
  19  Prefactor     26.743        59.719        .77483E-04   -.14232E-04
  20  Prefactor     .10003E-03    473.53        .18142E-02** at limit **
  21  Normalizat    1.8588        .41217        .18763E-03   -.11309E-03
  22  Prefactor     .12907        .35843        .58104E-03   -.29320E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.40834
  norm       = 3.57333
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 5.63786
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.198732
  Prefactor  = 23.3109
  Prefactor  = 0.0001
  Prefactor  = 41.2179
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.79003
  Prefactor  = 26.7434
  Prefactor  = 0.000100025
  Normalizat = 1.85876
  Prefactor  = 0.129066
 **********
 **   18 **HESSE 
 **********

 FCN=   1817.060     FROM HESSE     STATUS=OK           324 CALLS     3441 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    31.793        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.4083        14.052        .38349E-04   -1.5288    
   3  norm          3.5733        188.48        .85407E-05   -1.5330    
   4  Prefactor     .10000E-03    31.610        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    143.73        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.6379        4.2055        .29036E-05   -1.5233    
   7  Prefactor     .10000E-03    32.075        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.5088        .25657E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    7.0984        .22062E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    37.391        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    64.376        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .19873        3.8115        .32647E-04   -1.5619    
  13  Prefactor     23.311        77.283        .16572E-04   -1.4742    
  14  Prefactor     .10000E-03    10.946        .27548E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     41.218        34.695        .12488E-04   -1.4423    
  16  norm          .10000E-03    11.379        .28001E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    195.75        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.7900        6.4446        .74642E-05   -1.5440    
  19  Prefactor     26.743        59.711        .30993E-05   -1.4673    
  20  Prefactor     .10003E-03    473.58        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.8588        .41087        .37526E-04   -.68140    
  22  Prefactor     .12907        .35727        .23242E-04   -1.3431    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50374e-10
Minuit parameter uncertainties:
  1  1.21503e-05
  2  14.0625
  3  52.0763
  4  0.000164244
  5  0.000788868
  6  4.20569
  7  1.92196e-06
  8  3.24967e-06
  9  8.14411e-06
  10  0.00018123
  11  0.000387326
  12  1.74035
  13  77.6176
  14  1.53613e-06
  15  34.7121
  16  8.97416e-06
  17  0.000492353
  18  6.44711
  19  59.8447
  20  0.00699908
  21  0.41164
  22  0.363519
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  3.873e-04  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:  1.291e-01  3.635e-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.859e+00  4.116e-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: 2.55e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.05e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/592252/likelihoodResults_430099201_430358401_4FGL_J2256.0-2740_daily_bin736.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) = 1817.05978829
delta logL = -7.4053955359e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1817.05971468
delta logL = -4.39064251623e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.3427       1.0000          .0000       10.000    
     3 'Normalizat'    1.8588       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .12909       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=   1817.060     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      302 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7411.2        .36285E-02** at limit **
   2  Index         2.7785        6.1692        .50000       -.34100E-07
   3  Normalizat    1.8588        .76275E-01    .18763E-03   -.49609E-04
   4  Prefactor     .12907        .69390E-01    .58102E-03    .15507E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.77851
  Normalizat = 1.85875
  Prefactor  = 0.129069
 **********
 **   18 **HESSE 
 **********

 FCN=   1817.060     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      331 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9777.8        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7785        6.6942        .50000       -.46039    
   3  Normalizat    1.8588        .30250        .75053E-05   -.68140    
   4  Prefactor     .12907        .27314        .23241E-04   -1.3431    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.46458e-10
Minuit parameter uncertainties:
  1  0.0013979
  2  2698.79
  3  0.302809
  4  0.275883
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592252': 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): 102
logL (Free Index) = 1817.05971412
delta logL = 1.21492576e-07

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  1.398e-03  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.779e+00  2.699e+03  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.291e-01  2.759e-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.859e+00  3.028e-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/592252/cmap_HighResolution_430099201_430358401_4FGL_J2256.0-2740_daily_bin736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.05e-02', job_status='DONE', photon_flux_upper_limit='2.55e-07', time_completed='2021-09-29 02:56:23.368556', job_id='592252', GAL2='0.13', fit_tolerance='1e-08', EG2='1.86', EG='1.86', time_epoch_completed='1632909383.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.13', dlogl='1.21e-07', ts2='-0.00', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='736' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:56:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 592252: <4FGL_J2256.0-2740_daily_bin736> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin736> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:45:12 2021
Job was executed on host(s) <bullet0263>, 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:24 2021
Results reported at Wed Sep 29 02:56:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin736 344.025 -27.6739 430099201 430358401 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 :                                   459.49 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             254.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   675 sec.
    Turnaround time :                            672 sec.

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

