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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1031
RA = 344.025, Dec = -27.6739
tmin = 506563201, tmax = 506822401
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='592694', job_status='RUN', time_executed='2021-09-29 02:46:42.663068', time_epoch_executed='1632908802.66' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1031'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592694

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592694/ft1_4FGL_J2256.0-2740_daily_bin1031.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592694/ft2_4FGL_J2256.0-2740_daily_bin1031.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592694/ft1_4FGL_J2256.0-2740_daily_bin1031.fits outfile=/scratch/kocevski/592694/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1031.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=506563201.0 tmax=506822401.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.40
user 3.17
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592694/ft1_filtered_4FGL_J2256.0-2740_daily_bin1031.fits" evtable="EVENTS" scfile=/scratch/kocevski/592694/ft2_4FGL_J2256.0-2740_daily_bin1031.fits sctable="SC_DATA" outfile=/scratch/kocevski/592694/ltcube_506563201_506822401_4FGL_J2256.0-2740_daily_bin1031.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/592694/ft2_4FGL_J2256.0-2740_daily_bin1031.fits
.....................!
real 11.83
user 11.49
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592694/ft1_filtered_4FGL_J2256.0-2740_daily_bin1031.fits evtable="EVENTS" scfile=/scratch/kocevski/592694/ft2_4FGL_J2256.0-2740_daily_bin1031.fits sctable="SC_DATA" expcube=/scratch/kocevski/592694/ltcube_506563201_506822401_4FGL_J2256.0-2740_daily_bin1031.fits outfile=/scratch/kocevski/592694/expmap_506563201_506822401_4FGL_J2256.0-2740_daily_bin1031.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/592694/ltcube_506563201_506822401_4FGL_J2256.0-2740_daily_bin1031.fits
.....................!
real 191.07
user 186.46
sys 4.30

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/592694/ft1_filtered_4FGL_J2256.0-2740_daily_bin1031.fits scfile=/scratch/kocevski/592694/ft2_4FGL_J2256.0-2740_daily_bin1031.fits outfile=/scratch/kocevski/592694/cmap_506563201_506822401_4FGL_J2256.0-2740_daily_bin1031.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/592694/ft1_filtered_4FGL_J2256.0-2740_daily_bin1031.fits scfile=/scratch/kocevski/592694/ft2_4FGL_J2256.0-2740_daily_bin1031.fits outfile=/scratch/kocevski/592694/cmap_HighResolution_506563201_506822401_4FGL_J2256.0-2740_daily_bin1031.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/592694/ft1_filtered_4FGL_J2256.0-2740_daily_bin1031.fits evtable="EVENTS" scfile=/scratch/kocevski/592694/ft2_4FGL_J2256.0-2740_daily_bin1031.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/592694/Model_4FGL_J2256.0-2740_daily_bin1031.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/592694/ft1_filtered_4FGL_J2256.0-2740_daily_bin1031.fits.....................!
real 51.16
user 49.86
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.247       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.4653       1.0000         .10000E-03   10000.    
     3 'norm      '    .10098E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.1798       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.0415       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.174       1.0000         .10000E-03   10000.    
    12 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.794       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .34966E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.4771       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .52605E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .99758       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .79016       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=   6612.999     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     2052 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.248        16.875        .78524E-07   -.12093E-04
   2  Prefactor     5.4660        6.2226        .26483E-06    .61957E-05
   3  norm          .10000E-03    20.745        .10199E-05** at limit **
   4  Prefactor     8.1803        12.112        .79726E-07   -.94403E-05
   5  Prefactor     .10000E-03    4.2217        .49633E-07** at limit **
   6  norm          .10000E-03    .71380        .44679E-07** at limit **
   7  Prefactor     .10000E-03    19.058       -.56953E-06** at limit **
   8  Prefactor     .10000E-03    3.2060        .45160E-07** at limit **
   9  norm          4.0403        3.3780        .90979E-07   -.30024E-03
  10  Prefactor     .10000E-03    7.1235        .44374E-06** at limit **
  11  Prefactor     10.197        6.7766       -.10460E-05   -.82874E-04
  12  norm          .10000E-03    .12348        .30802E-06** at limit **
  13  Prefactor     .10000E-03    16.984       -.90137E-06** at limit **
  14  Prefactor     21.797        15.778        .61159E-07   -.32927E-04
  15  Prefactor     .10002E-03    10.078       -.32465E-05** at limit **
  16  norm          .10000E-03    3.1918        .39836E-07** at limit **
  17  Prefactor     .10000E-03    21.113        .81051E-06** at limit **
  18  norm          3.4771        2.2166        .48496E-07    .49404E-04
  19  Prefactor     .10000E-03    11.820        .52340E-06** at limit **
  20  Prefactor     .10003E-03    98.213       -.35798E-05** at limit **
  21  Normalizat    .99759        .14827       -.53770E-06   -.14070E-03
  22  Prefactor     .79007        .14294        .61413E-07   -.10956E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.2477
  Prefactor  = 5.46599
  norm       = 0.000100002
  Prefactor  = 8.18032
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 4.04026
  Prefactor  = 0.0001
  Prefactor  = 10.1965
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 21.797
  Prefactor  = 0.000100017
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 3.47707
  Prefactor  = 0.000100001
  Prefactor  = 0.000100029
  Normalizat = 0.997588
  Prefactor  = 0.790068
 **********
 **   18 **HESSE 
 **********

 FCN=   6612.999     FROM HESSE     STATUS=OK           342 CALLS     2394 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.248        16.881        .71679E-04   -1.4589    
   2  Prefactor     5.4660        6.2301        .17188E-03   -1.5240    
   3  norm          .10000E-03    21.360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.1803        12.106        .14018E-03   -1.5136    
   5  Prefactor     .10000E-03    4.2562        .16317E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .73560        .13419E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    19.252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.2189        .14220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.0403        3.3685        .12260E-03   -1.5306    
  10  Prefactor     .10000E-03    7.1907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.197        6.8603        .12562E-03   -1.5069    
  12  norm          .10000E-03    .15304        .58492E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    17.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     21.797        15.782        .85798E-04   -1.4774    
  15  Prefactor     .10002E-03    11.177        .33343E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.2314        .14187E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    21.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.4771        2.2182        .93348E-04   -1.5335    
  19  Prefactor     .10000E-03    11.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10003E-03    102.04        .21132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .99759        .17563        .21462E-03   -.93111    
  22  Prefactor     .79007        .16874        .23597E-03   -1.0010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97647e-09
Minuit parameter uncertainties:
  1  16.8835
  2  6.2308
  3  0.000411306
  4  12.11
  5  8.39481e-06
  6  3.44446e-06
  7  0.000265629
  8  5.27432e-06
  9  3.36863
  10  9.50797e-05
  11  6.86085
  12  7.90571e-06
  13  0.000372734
  14  15.7852
  15  0.000883715
  16  6.04024e-06
  17  0.000367255
  18  2.21822
  19  0.000180357
  20  0.00344859
  21  0.175736
  22  0.168851
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.020e+01  6.861e+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

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  7.901e-01  1.689e-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:  9.976e-01  1.757e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.78
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 6.98e-08 +/- 4.69e-08
Energy Flux (Fixed Index): 1.38e-05 +/- 9.26e-06

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

Saving results to:
/scratch/kocevski/592694/likelihoodResults_506563201_506822401_4FGL_J2256.0-2740_daily_bin1031.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) = 6612.85983257
delta logL = 0.139613427345

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6612.85655498
delta logL = 0.142891020329

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.7264       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4856       1.0000          .0000       10.000    
     3 'Normalizat'    .98000       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80299       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=   6612.857     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      234 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.7270        6.4769        .12849E-03   -.20256E-02
   2  Index         3.4855        .96134        .12460E-01   -.22564E-03
   3  Normalizat    .98006        .17574        .21627E-03    .23481E-03
   4  Prefactor     .80297        .17011        .23432E-03    .18063E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.72699
  Index      = 3.4855
  Normalizat = 0.980058
  Prefactor  = 0.802968
 **********
 **   18 **HESSE 
 **********

 FCN=   6612.857     FROM HESSE     STATUS=OK            23 CALLS      257 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.7270        6.3189        .51397E-05   -1.5084    
   2  Index         3.4855        .93771        .49841E-03   -.30773    
   3  Normalizat    .98006        .17605        .43253E-04   -.93702    
   4  Prefactor     .80297        .17031        .93728E-05   -.99619    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39482e-09
Minuit parameter uncertainties:
  1  6.31934
  2  0.943872
  3  0.176158
  4  0.170422
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592694': 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) = 6612.85655487
delta logL = 0.142891129545

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  9.727e+00  6.319e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.485e+00  9.439e-01  0.000e+00  1.000e+01 (-1.000e+00)
342        Scale:  2.384e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  8.030e-01  1.704e-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:  9.801e-01  1.762e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.16
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 3.49 +/- 0.94
Photon Flux (Free Index): 8.10e-08 +/- 4.93e-08
Energy Flux (Free Index): 1.35e-05 +/- 8.04e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/592694/cmap_HighResolution_506563201_506822401_4FGL_J2256.0-2740_daily_bin1031.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-02', comment='SUCCESS', photon_flux='6.98e-08', energy_flux2='1.35e-05', photon_flux_error='4.69e-08', dlogl='1.43e-01', energy_flux='1.38e-05', photon_flux2='8.10e-08', job_status='DONE', time_completed='2021-09-29 02:57:10.279511', photon_index_error2='0.94', photon_index2='3.49', ts='3.78', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='1.53e-07', energy_flux_error2='8.04e-06', EG='1.00', time_epoch_completed='1632909430.28', return_code='0', job_id='592694', GAL2='0.80', EG2='0.98', return_code2='0', energy_flux_error='9.26e-06', photon_flux_error2='4.93e-08', ts2='4.16', photon_index='3.02' WHERE bin_id='1031' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:57:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 592694: <4FGL_J2256.0-2740_daily_bin1031> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1031 344.025 -27.6739 506563201 506822401 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 :                                   622.43 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             284.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   684 sec.
    Turnaround time :                            687 sec.

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

