/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 159 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 = 7428
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2256.0-2740_daily_bin111
RA = 344.025, Dec = -27.6739
tmin = 268099201, tmax = 268358401
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='589257', job_status='RUN', time_executed='2021-09-29 02:38:07.342527', time_epoch_executed='1632908287.34' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='111'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/589257

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/589257/ft1_4FGL_J2256.0-2740_daily_bin111.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/589257/ft2_4FGL_J2256.0-2740_daily_bin111.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/589257/ft1_4FGL_J2256.0-2740_daily_bin111.fits outfile=/scratch/kocevski/589257/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin111.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=268099201.0 tmax=268358401.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 1.42
user 1.24
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/589257/ft2_4FGL_J2256.0-2740_daily_bin111.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/589257/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin111.fits evtable="EVENTS" outfile="/scratch/kocevski/589257/ft1_filtered_4FGL_J2256.0-2740_daily_bin111.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/589257/ft1_filtered_4FGL_J2256.0-2740_daily_bin111.fits" evtable="EVENTS" scfile=/scratch/kocevski/589257/ft2_4FGL_J2256.0-2740_daily_bin111.fits sctable="SC_DATA" outfile=/scratch/kocevski/589257/ltcube_268099201_268358401_4FGL_J2256.0-2740_daily_bin111.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/589257/ft2_4FGL_J2256.0-2740_daily_bin111.fits
.....................!
real 12.71
user 12.35
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/589257/ft1_filtered_4FGL_J2256.0-2740_daily_bin111.fits evtable="EVENTS" scfile=/scratch/kocevski/589257/ft2_4FGL_J2256.0-2740_daily_bin111.fits sctable="SC_DATA" expcube=/scratch/kocevski/589257/ltcube_268099201_268358401_4FGL_J2256.0-2740_daily_bin111.fits outfile=/scratch/kocevski/589257/expmap_268099201_268358401_4FGL_J2256.0-2740_daily_bin111.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/589257/ltcube_268099201_268358401_4FGL_J2256.0-2740_daily_bin111.fits
.....................!
real 190.62
user 184.94
sys 5.36

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

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/589257/ft1_filtered_4FGL_J2256.0-2740_daily_bin111.fits evtable="EVENTS" scfile=/scratch/kocevski/589257/ft2_4FGL_J2256.0-2740_daily_bin111.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/589257/Model_4FGL_J2256.0-2740_daily_bin111.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/589257/ft1_filtered_4FGL_J2256.0-2740_daily_bin111.fits.....................!
real 47.89
user 46.57
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.783       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.040       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.5193       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10364E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.1704       1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.2390       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.857       1.0000         .10000E-03   10000.    
    12 'norm      '    .74954       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    10.559       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    15.361       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .51984E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .80936       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .93461       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=   6337.306     FROM MIGRAD    STATUS=CONVERGED    475 CALLS     2026 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.782        17.136        .13424E-06   -.26058E-05
   2  Prefactor     .10000E-03    3.4470        .35791E-07** at limit **
   3  norm          .10000E-03    5.1319       -.92613E-08** at limit **
   4  Prefactor     12.041        13.747       -.71873E-07   -.25439E-05
   5  Prefactor     .10000E-03    3.1078        .15572E-07** at limit **
   6  norm          1.5202        1.4146        .12375E-07    .80316E-05
   7  Prefactor     .10000E-03    93.121       -.40282E-06** at limit **
   8  Prefactor     3.1696        8.0165        .40092E-05   -.33750E-06
   9  norm          .10000E-03    1.3900       -.70293E-07** at limit **
  10  Prefactor     5.2366        16.093        .52914E-06    .13813E-05
  11  Prefactor     11.862        11.170        .17121E-06   -.29650E-05
  12  norm          .74942        .55178       -.34351E-07   -.39231E-04
  13  Prefactor     .10000E-03    16.780        .83321E-07** at limit **
  14  Prefactor     .10000E-03    6.4482        .14456E-07** at limit **
  15  Prefactor     .10000E-03    3.0718       -.11110E-06** at limit **
  16  norm          10.559        7.9208        .69471E-07   -.83298E-05
  17  Prefactor     .10000E-03    9.6705        .13489E-07** at limit **
  18  norm          15.360        4.1436        .27779E-06   -.11484E-03
  19  Prefactor     .10000E-03    63.533       -.11867E-05** at limit **
  20  Prefactor     .10001E-03    536.02        .24296E-04** at limit **
  21  Normalizat    .80936        .16040       -.89126E-06   -.12430E-03
  22  Prefactor     .93466        .15265       -.29104E-06   -.18795E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.7819
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.0407
  Prefactor  = 0.0001
  norm       = 1.5202
  Prefactor  = 0.0001
  Prefactor  = 3.16959
  norm       = 0.0001
  Prefactor  = 5.23664
  Prefactor  = 11.8625
  norm       = 0.749421
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.5587
  Prefactor  = 0.0001
  norm       = 15.3604
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Normalizat = 0.809358
  Prefactor  = 0.934663
 **********
 **   18 **HESSE 
 **********

 FCN=   6337.306     FROM HESSE     STATUS=OK           340 CALLS     2366 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.782        17.144        .71074E-04   -1.4580    
   2  Prefactor     .10000E-03    3.4704        .14431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    5.1341        .17613E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.041        13.752        .11545E-03   -1.5014    
   5  Prefactor     .10000E-03    3.1133        .13704E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.5202        1.4264        .88492E-04   -1.5461    
   7  Prefactor     .10000E-03    94.317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.1696        8.0284        .11381E-02   -1.5352    
   9  norm          .10000E-03    1.3997        .91563E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.2366        15.974        .17561E-03   -1.5250    
  11  Prefactor     11.862        11.178        .11633E-03   -1.5019    
  12  norm          .74942        .54870        .42415E-04   -1.5535    
  13  Prefactor     .10000E-03    16.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.4977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.0772        .13619E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.559        7.9234        .12330E-03   -1.5058    
  17  Prefactor     .10000E-03    9.6753        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          15.360        4.1459        .80492E-04   -1.4924    
  19  Prefactor     .10000E-03    64.824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10001E-03    536.78        .21138E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .80936        .18970        .24238E-03   -.99722    
  22  Prefactor     .93466        .18049        .22567E-03   -.94940    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22067e-10
Minuit parameter uncertainties:
  1  17.1465
  2  3.86896e-06
  3  4.81364e-07
  4  13.7558
  5  1.44327e-06
  6  1.42638
  7  1.0041e-05
  8  8.03111
  9  3.54371e-06
  10  15.9873
  11  11.1799
  12  0.548707
  13  4.38764e-06
  14  3.50764e-06
  15  6.44218e-06
  16  7.92423
  17  1.98853e-06
  18  4.14601
  19  0.000317264
  20  0.00340094
  21  0.189855
  22  0.180606
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.186e+01  1.118e+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:  9.347e-01  1.806e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  8.094e-01  1.899e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.22
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 8.12e-08 +/- 7.64e-08
Energy Flux (Fixed Index): 1.60e-05 +/- 1.51e-05

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

Saving results to:
/scratch/kocevski/589257/likelihoodResults_268099201_268358401_4FGL_J2256.0-2740_daily_bin111.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) = 6337.27440604
delta logL = 0.0319973531759

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6337.27152928
delta logL = 0.0348741099406

Fit tolerance = 1e-08

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

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

 FCN=   6337.271     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      207 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.716        8.1692        .29206E-02    .33574E-03
   2  Index         2.7217        .69146        .22798       -.12430E-03
   3  Normalizat    .82539        .15468        .43929E-01    .36534E-04
   4  Prefactor     .92256        .15176        .45300E-01    .78632E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.7165
  Index      = 2.72171
  Normalizat = 0.825391
  Prefactor  = 0.922563
 **********
 **   18 **HESSE 
 **********

 FCN=   6337.271     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.716        7.8221        .11683E-03   -1.5023    
   2  Index         2.7217        .94345        .10914E-01   -.47311    
   3  Normalizat    .82539        .18882        .24027E-03   -.99134    
   4  Prefactor     .92256        .18128        .22691E-03   -.95357    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30107e-10
Minuit parameter uncertainties:
  1  7.82281
  2  0.950663
  3  0.188968
  4  0.181394
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/589257': 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) = 6337.27147664
delta logL = 0.0349267531037

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.172e+01  7.823e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.722e+00  9.507e-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:  9.226e-01  1.814e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  8.254e-01  1.890e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.34
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 2.72 +/- 0.95
Photon Flux (Free Index): 7.25e-08 +/- 5.71e-08
Energy Flux (Free Index): 1.72e-05 +/- 1.19e-05

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/589257/cmap_HighResolution_268099201_268358401_4FGL_J2256.0-2740_daily_bin111.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.42e-02', comment='SUCCESS', photon_flux='8.12e-08', energy_flux2='1.72e-05', photon_flux_error='7.64e-08', dlogl='3.49e-02', energy_flux='1.60e-05', photon_flux2='7.25e-08', job_status='DONE', time_completed='2021-09-29 02:47:58.475803', photon_index_error2='0.95', photon_index2='2.72', ts='3.22', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='1.77e-07', energy_flux_error2='1.19e-05', EG='0.81', time_epoch_completed='1632908878.48', return_code='0', job_id='589257', GAL2='0.92', EG2='0.83', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='5.71e-08', ts2='3.34', photon_index='3.02' WHERE bin_id='111' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:47:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 589257: <4FGL_J2256.0-2740_daily_bin111> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin111> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:35:20 2021
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:35:21 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:35:21 2021
Terminated at Wed Sep 29 02:47:59 2021
Results reported at Wed Sep 29 02:47:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin111 344.025 -27.6739 268099201 268358401 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 :                                   591.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   757 sec.
    Turnaround time :                            759 sec.

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

