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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin928
RA = 344.025, Dec = -27.6739
tmin = 479865601, tmax = 480124801
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='592538', job_status='RUN', time_executed='2021-09-29 02:48:02.953867', time_epoch_executed='1632908882.95' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592538

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592538/ft1_4FGL_J2256.0-2740_daily_bin928.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592538/ft2_4FGL_J2256.0-2740_daily_bin928.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592538/ft1_4FGL_J2256.0-2740_daily_bin928.fits outfile=/scratch/kocevski/592538/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin928.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=479865601.0 tmax=480124801.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.53
user 3.32
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/592538/ft2_4FGL_J2256.0-2740_daily_bin928.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/592538/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin928.fits evtable="EVENTS" outfile="/scratch/kocevski/592538/ft1_filtered_4FGL_J2256.0-2740_daily_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592538/ft1_filtered_4FGL_J2256.0-2740_daily_bin928.fits" evtable="EVENTS" scfile=/scratch/kocevski/592538/ft2_4FGL_J2256.0-2740_daily_bin928.fits sctable="SC_DATA" outfile=/scratch/kocevski/592538/ltcube_479865601_480124801_4FGL_J2256.0-2740_daily_bin928.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/592538/ft2_4FGL_J2256.0-2740_daily_bin928.fits
.....................!
real 11.66
user 11.29
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592538/ft1_filtered_4FGL_J2256.0-2740_daily_bin928.fits evtable="EVENTS" scfile=/scratch/kocevski/592538/ft2_4FGL_J2256.0-2740_daily_bin928.fits sctable="SC_DATA" expcube=/scratch/kocevski/592538/ltcube_479865601_480124801_4FGL_J2256.0-2740_daily_bin928.fits outfile=/scratch/kocevski/592538/expmap_479865601_480124801_4FGL_J2256.0-2740_daily_bin928.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/592538/ltcube_479865601_480124801_4FGL_J2256.0-2740_daily_bin928.fits
.....................!
real 191.07
user 185.32
sys 5.43

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/592538/ft1_filtered_4FGL_J2256.0-2740_daily_bin928.fits scfile=/scratch/kocevski/592538/ft2_4FGL_J2256.0-2740_daily_bin928.fits outfile=/scratch/kocevski/592538/cmap_479865601_480124801_4FGL_J2256.0-2740_daily_bin928.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/592538/ft1_filtered_4FGL_J2256.0-2740_daily_bin928.fits scfile=/scratch/kocevski/592538/ft2_4FGL_J2256.0-2740_daily_bin928.fits outfile=/scratch/kocevski/592538/cmap_HighResolution_479865601_480124801_4FGL_J2256.0-2740_daily_bin928.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.53
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/592538/ft1_filtered_4FGL_J2256.0-2740_daily_bin928.fits evtable="EVENTS" scfile=/scratch/kocevski/592538/ft2_4FGL_J2256.0-2740_daily_bin928.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/592538/Model_4FGL_J2256.0-2740_daily_bin928.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/592538/ft1_filtered_4FGL_J2256.0-2740_daily_bin928.fits.....................!
real 53.18
user 51.90
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10770E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13337       1.0000         .10000E-03   10000.    
     3 'norm      '    .15245E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.4200       1.0000         .10000E-03   10000.    
     6 'norm      '    1.7556       1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.345       1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.142       1.0000         .10000E-03   10000.    
     9 'norm      '    11.667       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .14511E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.243       1.0000         .10000E-03   10000.    
    12 'norm      '    1.0521       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .75895E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.0018       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .17491E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10069E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .92585E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    29.335       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .54375E-02   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .94130       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .86999       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=   6845.335     FROM MIGRAD    STATUS=CONVERGED    534 CALLS     2118 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.4643        .14033E-07** at limit **
   2  Prefactor     .13819        3.5399        .58488E-07   -.37591E-04
   3  norm          .10000E-03    17.599       -.93390E-08** at limit **
   4  Prefactor     .10000E-03    5.1837       -.29506E-09** at limit **
   5  Prefactor     2.3717        3.0475       -.59705E-07   -.39321E-03
   6  norm          1.7188        2.2186       -.18767E-06   -.15376E-06
   7  Prefactor     18.618        44.228        .19834E-05   -.48404E-05
   8  Prefactor     15.201        10.541        .57496E-07   -.92150E-04
   9  norm          11.666        4.9597       -.77940E-08   -.22943E-04
  10  Prefactor     .10000E-03    4.8377       -.14071E-07** at limit **
  11  Prefactor     12.129        9.3769       -.45553E-08   -.18836E-03
  12  norm          1.0552        .66729       -.30659E-08   -.14963E-03
  13  Prefactor     .10000E-03    12.988       -.28403E-08** at limit **
  14  Prefactor     3.0017        4.7840        .19425E-06   -.20328E-03
  15  Prefactor     .10000E-03    4.6408        .31662E-08** at limit **
  16  norm          .10000E-03    6.3850        .85069E-08** at limit **
  17  Prefactor     .10000E-03    391.78        .40107E-04** at limit **
  18  norm          .10000E-03    1.3439        .42821E-08** at limit **
  19  Prefactor     28.165        28.826        .10267E-06   -.11135E-04
  20  Prefactor     .10000E-03    94.658        .12820E-06** at limit **
  21  Normalizat    .94213        .15625       -.38417E-06   -.22442E-03
  22  Prefactor     .86969        .14928        .71150E-07   -.18760E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.138186
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.37166
  norm       = 1.71885
  Prefactor  = 18.618
  Prefactor  = 15.2014
  norm       = 11.6658
  Prefactor  = 0.0001
  Prefactor  = 12.1292
  norm       = 1.0552
  Prefactor  = 0.0001
  Prefactor  = 3.00173
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 28.1646
  Prefactor  = 0.0001
  Normalizat = 0.942129
  Prefactor  = 0.869694
 **********
 **   18 **HESSE 
 **********

 FCN=   6845.335     FROM HESSE     STATUS=OK           346 CALLS     2464 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.4743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .13819        21.708        .30099E-02   -1.5634    
   3  norm          .10000E-03    17.808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.1885        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.3717        7.7456        .13156E-02   -1.5400    
   6  norm          1.7188        2.2358        .11099E-03   -1.5446    
   7  Prefactor     18.618        46.123        .96167E-04   -1.4845    
   8  Prefactor     15.201        10.649        .51464E-03   -1.4928    
   9  norm          11.666        4.9536        .10807E-03   -1.5025    
  10  Prefactor     .10000E-03    4.8395        .17760E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.129        9.6840        .57241E-03   -1.5011    
  12  norm          1.0552        .67028        .43197E-04   -1.5503    
  13  Prefactor     .10000E-03    12.994        .20933E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.0017        4.9670        .11607E-02   -1.5361    
  15  Prefactor     .10000E-03    4.6969        .17385E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    6.5627        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    392.37        .36434E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.3953        .18675E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     28.165        28.912        .73973E-04   -1.4646    
  20  Prefactor     .10000E-03    94.919        .19084E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .94213        .18870        .22828E-03   -.94995    
  22  Prefactor     .86969        .17866        .23563E-03   -.97208    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.04561e-08
Minuit parameter uncertainties:
  1  9.82069e-07
  2  3.464
  3  5.88727e-07
  4  6.5515e-07
  5  7.74884
  6  2.23595
  7  46.2111
  8  10.6507
  9  4.95376
  10  5.12541e-07
  11  9.68529
  12  0.670281
  13  7.49816e-07
  14  4.96763
  15  5.1833e-07
  16  3.72505e-06
  17  0.00264347
  18  3.78769e-07
  19  28.9264
  20  7.84005e-06
  21  0.188832
  22  0.178783
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.213e+01  9.685e+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:  8.697e-01  1.788e-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.421e-01  1.888e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.10
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 8.30e-08 +/- 6.62e-08
Energy Flux (Fixed Index): 1.64e-05 +/- 1.31e-05

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

Saving results to:
/scratch/kocevski/592538/likelihoodResults_479865601_480124801_4FGL_J2256.0-2740_daily_bin928.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) = 6845.14401333
delta logL = 0.191180957072

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6845.14057249
delta logL = 0.194621796268

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.889       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5479       1.0000          .0000       10.000    
     3 'Normalizat'    .92631       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88218       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=   6845.141     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      260 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.889        8.1278        .12141E-03    .24220E-02
   2  Index         3.5484        1.0004        .11892E-01    .31150E-03
   3  Normalizat    .92629        .18089        .22991E-03   -.38215E-03
   4  Prefactor     .88219        .17719        .23419E-03   -.21437E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8885
  Index      = 3.5484
  Normalizat = 0.926289
  Prefactor  = 0.882188
 **********
 **   18 **HESSE 
 **********

 FCN=   6845.141     FROM HESSE     STATUS=OK            23 CALLS      283 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.889        7.8124        .48564E-05   -1.5048    
   2  Index         3.5484        .96170        .47568E-03   -.29456    
   3  Normalizat    .92629        .18118        .45982E-04   -.95542    
   4  Prefactor     .88219        .17741        .93677E-05   -.96766    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.74777e-09
Minuit parameter uncertainties:
  1  7.81309
  2  0.968298
  3  0.181303
  4  0.177524
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592538': 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) = 6845.14057238
delta logL = 0.194621904636

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.089e+01  7.813e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.548e+00  9.683e-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.822e-01  1.775e-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.263e-01  1.813e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.81
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 3.55 +/- 0.97
Photon Flux (Free Index): 9.35e-08 +/- 5.54e-08
Energy Flux (Free Index): 1.54e-05 +/- 9.53e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/592538/cmap_HighResolution_479865601_480124801_4FGL_J2256.0-2740_daily_bin928.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.43e-02', comment='SUCCESS', photon_flux='8.30e-08', energy_flux2='1.54e-05', photon_flux_error='6.62e-08', dlogl='1.95e-01', energy_flux='1.64e-05', photon_flux2='9.35e-08', job_status='DONE', time_completed='2021-09-29 02:59:05.838952', photon_index_error2='0.97', photon_index2='3.55', ts='3.10', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='1.79e-07', energy_flux_error2='9.53e-06', EG='0.94', time_epoch_completed='1632909545.84', return_code='0', job_id='592538', GAL2='0.88', EG2='0.93', return_code2='0', energy_flux_error='1.31e-05', photon_flux_error2='5.54e-08', ts2='3.81', photon_index='3.02' WHERE bin_id='928' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:59:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 592538: <4FGL_J2256.0-2740_daily_bin928> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin928 344.025 -27.6739 479865601 480124801 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 :                                   641.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            813 sec.

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

