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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin747
RA = 344.025, Dec = -27.6739
tmin = 432950401, tmax = 433209601
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='592268', job_status='RUN', time_executed='2021-09-29 02:47:08.897927', time_epoch_executed='1632908828.9' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592268

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592268/ft1_4FGL_J2256.0-2740_daily_bin747.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592268/ft2_4FGL_J2256.0-2740_daily_bin747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592268/ft1_4FGL_J2256.0-2740_daily_bin747.fits outfile=/scratch/kocevski/592268/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin747.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=432950401.0 tmax=433209601.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.66
user 5.37
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592268/ft1_filtered_4FGL_J2256.0-2740_daily_bin747.fits" evtable="EVENTS" scfile=/scratch/kocevski/592268/ft2_4FGL_J2256.0-2740_daily_bin747.fits sctable="SC_DATA" outfile=/scratch/kocevski/592268/ltcube_432950401_433209601_4FGL_J2256.0-2740_daily_bin747.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/592268/ft2_4FGL_J2256.0-2740_daily_bin747.fits
.....................!
real 12.17
user 11.79
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592268/ft1_filtered_4FGL_J2256.0-2740_daily_bin747.fits evtable="EVENTS" scfile=/scratch/kocevski/592268/ft2_4FGL_J2256.0-2740_daily_bin747.fits sctable="SC_DATA" expcube=/scratch/kocevski/592268/ltcube_432950401_433209601_4FGL_J2256.0-2740_daily_bin747.fits outfile=/scratch/kocevski/592268/expmap_432950401_433209601_4FGL_J2256.0-2740_daily_bin747.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/592268/ltcube_432950401_433209601_4FGL_J2256.0-2740_daily_bin747.fits
.....................!
real 192.21
user 186.60
sys 5.29

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/592268/ft1_filtered_4FGL_J2256.0-2740_daily_bin747.fits scfile=/scratch/kocevski/592268/ft2_4FGL_J2256.0-2740_daily_bin747.fits outfile=/scratch/kocevski/592268/cmap_432950401_433209601_4FGL_J2256.0-2740_daily_bin747.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=344.025 yref=-27.6739 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592268/ft1_filtered_4FGL_J2256.0-2740_daily_bin747.fits scfile=/scratch/kocevski/592268/ft2_4FGL_J2256.0-2740_daily_bin747.fits outfile=/scratch/kocevski/592268/cmap_HighResolution_432950401_433209601_4FGL_J2256.0-2740_daily_bin747.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/592268/ft1_filtered_4FGL_J2256.0-2740_daily_bin747.fits evtable="EVENTS" scfile=/scratch/kocevski/592268/ft2_4FGL_J2256.0-2740_daily_bin747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/592268/Model_4FGL_J2256.0-2740_daily_bin747.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/592268/ft1_filtered_4FGL_J2256.0-2740_daily_bin747.fits....................!
real 29.27
user 28.10
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.625       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.8260       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10944E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.698       1.0000         .10000E-03   10000.    
    16 'norm      '    4.5436       1.0000         .10000E-03   10000.    
    17 'Prefactor '    88.762       1.0000         .10000E-03   10000.    
    18 'norm      '    5.5618       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.9966       1.0000         .10000E-03   10000.    
    20 'Prefactor '    230.95       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .65824       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .82639       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=   2775.619     FROM MIGRAD    STATUS=CONVERGED    491 CALLS     2347 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.628        26.465       -.54626E-05   -.24599E-04
   2  Prefactor     .10000E-03    4.0986       -.49076E-07** at limit **
   3  norm          .10000E-03    9.9999        .12250E-05** at limit **
   4  Prefactor     .10000E-03    9.8145       -.19352E-05** at limit **
   5  Prefactor     .10000E-03    28.728        .17423E-05** at limit **
   6  norm          3.8238        3.3973       -.30071E-06   -.78615E-03
   7  Prefactor     .10000E-03    50.826        .35587E-04** at limit **
   8  Prefactor     .10000E-03    4.4145        .26888E-07** at limit **
   9  norm          .10000E-03    4.0167        .10232E-05** at limit **
  10  Prefactor     .10000E-03    6.7828        .61913E-06** at limit **
  11  Prefactor     .10000E-03    7.5237       -.22144E-05** at limit **
  12  norm          .10000E-03    .30447       -.27046E-08** at limit **
  13  Prefactor     .10000E-03    47.410       -.34210E-04** at limit **
  14  Prefactor     .10000E-03    6.2258       -.63721E-07** at limit **
  15  Prefactor     10.696        11.199       -.79256E-06   -.50784E-04
  16  norm          4.5431        10.653        .96659E-06   -.93747E-04
  17  Prefactor     88.754        62.026       -.58237E-05    .12317E-04
  18  norm          5.5621        5.7921        .16963E-06    .21901E-03
  19  Prefactor     1.9017        188.33       -.39135E-04   -.22396E-04
  20  Prefactor     230.95        144.37        .13956E-05    .34890E-04
  21  Normalizat    .65847        .21231        .30043E-05   -.21910E-04
  22  Prefactor     .82613        .20134        .86770E-07    .30191E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.6277
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.82383
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.696
  norm       = 4.54314
  Prefactor  = 88.7542
  norm       = 5.56211
  Prefactor  = 1.90172
  Prefactor  = 230.95
  Normalizat = 0.658468
  Prefactor  = 0.826127
 **********
 **   18 **HESSE 
 **********

 FCN=   2775.619     FROM HESSE     STATUS=OK           340 CALLS     2687 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.628        26.542        .10851E-03   -1.4969    
   2  Prefactor     .10000E-03    4.1173        .10415E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    10.002        .16273E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.8253        .16123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    29.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.8238        3.3790        .87365E-04   -1.5317    
   7  Prefactor     .10000E-03    50.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.4268        .10810E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    8.2102        .20214E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.7889        .13398E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.6959        .28127E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .33485        .55778E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    47.369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.2268        .12840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.696        11.025        .12249E-03   -1.5054    
  16  norm          4.5431        10.629        .18886E-03   -1.5282    
  17  Prefactor     88.754        62.136        .42647E-04   -1.3821    
  18  norm          5.5621        5.6774        .11202E-03   -1.5236    
  19  Prefactor     1.9017        184.69        .29314E-03   -1.5432    
  20  Prefactor     230.95        144.19        .26630E-04   -1.2657    
  21  Normalizat    .65847        .24890        .23719E-03   -1.0556    
  22  Prefactor     .82613        .23716        .20726E-03   -.98772    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.98026e-10
Minuit parameter uncertainties:
  1  26.5647
  2  9.05722e-06
  3  4.69842e-06
  4  9.04831e-06
  5  0.000101429
  6  3.37913
  7  3.94069e-05
  8  5.00376e-06
  9  0.000351805
  10  4.19884e-06
  11  1.49815e-06
  12  2.05113e-08
  13  1.98062e-05
  14  2.11211e-06
  15  11.0266
  16  10.6338
  17  62.1817
  18  5.678
  19  37.6008
  20  144.416
  21  0.249327
  22  0.237454
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  1.498e-06  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.261e-01  2.375e-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:  6.585e-01  2.493e-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.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/592268/likelihoodResults_432950401_433209601_4FGL_J2256.0-2740_daily_bin747.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) = 2775.61926525
delta logL = -0.00061986138553

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2775.61864566
delta logL = -2.63743004325e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0520       1.0000          .0000       10.000    
     3 'Normalizat'    .65825       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82636       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=   2775.141     FROM MIGRAD    STATUS=CONVERGED    145 CALLS      298 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .42879E-01    5.2191        .29128E-02    .18523E-02
   2  Index        10.0000        5.1180        .50000    ** at limit **
   3  Normalizat    .62487        .17723        .23719E-03    .98116E-04
   4  Prefactor     .84848        .15510        .20726E-03    .69701E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0428795
  Index      = 10
  Normalizat = 0.624869
  Prefactor  = 0.848478
 **********
 **   18 **HESSE 
 **********

 FCN=   2775.141     FROM HESSE     STATUS=OK            29 CALLS      327 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .42879E-01    .61418E-01    .15744E-03   -1.5667    
   2  Index        10.0000        8.0702        .66251E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .62487        .24005        .94874E-05   -1.0694    
   4  Prefactor     .84848        .23407        .41452E-04   -.97965    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.23139e-11
Minuit parameter uncertainties:
  1  0.0614182
  2  6.64466e-05
  3  0.240452
  4  0.234347
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592268': 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) = 2775.14085435
delta logL = 0.477791039792

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  4.288e-02  6.142e-02  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  1.000e+01  6.645e-05  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.485e-01  2.343e-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:  6.249e-01  2.405e-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/592268/cmap_HighResolution_432950401_433209601_4FGL_J2256.0-2740_daily_bin747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.31e-03', job_status='DONE', photon_flux_upper_limit='1.16e-07', time_completed='2021-09-29 02:54:48.100454', job_id='592268', GAL2='0.85', fit_tolerance='1e-08', EG2='0.62', EG='0.66', time_epoch_completed='1632909288.1', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='4.78e-01', ts2='0.97', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='747' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:54:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 592268: <4FGL_J2256.0-2740_daily_bin747> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin747 344.025 -27.6739 432950401 433209601 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 :                                   458.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   574 sec.
    Turnaround time :                            575 sec.

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

