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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1302
RA = 344.025, Dec = -27.6739
tmin = 576806401, tmax = 577065601
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='594058', job_status='RUN', time_executed='2021-09-29 02:51:01.728897', time_epoch_executed='1632909061.73' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1302'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/594058

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/594058/ft1_4FGL_J2256.0-2740_daily_bin1302.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/594058/ft2_4FGL_J2256.0-2740_daily_bin1302.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/594058/ft1_4FGL_J2256.0-2740_daily_bin1302.fits outfile=/scratch/kocevski/594058/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1302.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=576806401.0 tmax=577065601.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.18
user 2.83
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/594058/ft1_filtered_4FGL_J2256.0-2740_daily_bin1302.fits" evtable="EVENTS" scfile=/scratch/kocevski/594058/ft2_4FGL_J2256.0-2740_daily_bin1302.fits sctable="SC_DATA" outfile=/scratch/kocevski/594058/ltcube_576806401_577065601_4FGL_J2256.0-2740_daily_bin1302.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/594058/ft2_4FGL_J2256.0-2740_daily_bin1302.fits
.....................!
real 12.96
user 12.59
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/594058/ft1_filtered_4FGL_J2256.0-2740_daily_bin1302.fits evtable="EVENTS" scfile=/scratch/kocevski/594058/ft2_4FGL_J2256.0-2740_daily_bin1302.fits sctable="SC_DATA" expcube=/scratch/kocevski/594058/ltcube_576806401_577065601_4FGL_J2256.0-2740_daily_bin1302.fits outfile=/scratch/kocevski/594058/expmap_576806401_577065601_4FGL_J2256.0-2740_daily_bin1302.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/594058/ltcube_576806401_577065601_4FGL_J2256.0-2740_daily_bin1302.fits
.....................!
real 190.98
user 185.38
sys 5.24

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/594058/ft1_filtered_4FGL_J2256.0-2740_daily_bin1302.fits scfile=/scratch/kocevski/594058/ft2_4FGL_J2256.0-2740_daily_bin1302.fits outfile=/scratch/kocevski/594058/cmap_576806401_577065601_4FGL_J2256.0-2740_daily_bin1302.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/594058/ft1_filtered_4FGL_J2256.0-2740_daily_bin1302.fits scfile=/scratch/kocevski/594058/ft2_4FGL_J2256.0-2740_daily_bin1302.fits outfile=/scratch/kocevski/594058/cmap_HighResolution_576806401_577065601_4FGL_J2256.0-2740_daily_bin1302.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/594058/ft1_filtered_4FGL_J2256.0-2740_daily_bin1302.fits evtable="EVENTS" scfile=/scratch/kocevski/594058/ft2_4FGL_J2256.0-2740_daily_bin1302.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/594058/Model_4FGL_J2256.0-2740_daily_bin1302.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/594058/ft1_filtered_4FGL_J2256.0-2740_daily_bin1302.fits.....................!
real 62.26
user 60.86
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.101       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.3071       1.0000         .10000E-03   10000.    
     3 'norm      '    15.202       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10205E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11434E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.9021       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.9317       1.0000         .10000E-03   10000.    
    12 'norm      '    2.4498       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.9626       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    5.8874       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.9580       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4229       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .57883       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=   8287.267     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2439 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.096        17.777        .16859E-05    .32564E-03
   2  Prefactor     6.3063        6.1021        .31275E-05   -.50642E-03
   3  norm          15.214        17.787       -.34453E-05   -.55205E-03
   4  Prefactor     .10000E-03    8.5181       -.15198E-05** at limit **
   5  Prefactor     .10000E-03    3.9966        .12036E-07** at limit **
   6  norm          .10000E-03    .85145       -.15069E-06** at limit **
   7  Prefactor     .11191E-03    36.970       -.19875E-05** at limit **
   8  Prefactor     .10000E-03    3.4241       -.23853E-07** at limit **
   9  norm          .10000E-03    1.8319       -.62200E-07** at limit **
  10  Prefactor     4.9068        9.2064       -.19951E-06   -.11683E-04
  11  Prefactor     2.9204        12.046        .33022E-05    .13638E-03
  12  norm          2.4501        .85150       -.15164E-06    .76733E-03
  13  Prefactor     .10000E-03    9.7750       -.81286E-07** at limit **
  14  Prefactor     9.9671        11.097       -.88204E-06   -.28373E-03
  15  Prefactor     .10000E-03    6.2585        .13251E-07** at limit **
  16  norm          5.8871        5.0568       -.64734E-07   -.14598E-03
  17  Prefactor     .10000E-03    8.6304        .13991E-05** at limit **
  18  norm          .10000E-03    2.0999        .14996E-06** at limit **
  19  Prefactor     4.9561        26.085        .22241E-05    .48807E-04
  20  Prefactor     .10000E-03    48.432       -.59644E-06** at limit **
  21  Normalizat    1.4229        .15785       -.12636E-05    .27122E-03
  22  Prefactor     .57890        .14232        .99503E-06   -.21899E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.0961
  Prefactor  = 6.30632
  norm       = 15.2136
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.000111915
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.90675
  Prefactor  = 2.92041
  norm       = 2.45007
  Prefactor  = 0.0001
  Prefactor  = 9.9671
  Prefactor  = 0.0001
  norm       = 5.88711
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 4.95612
  Prefactor  = 0.0001
  Normalizat = 1.42285
  Prefactor  = 0.578897
 **********
 **   18 **HESSE 
 **********

 FCN=   8287.267     FROM HESSE     STATUS=OK           358 CALLS     2797 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.096        17.916        .89335E-04   -1.4811    
   2  Prefactor     6.3063        6.3951        .79916E-03   -1.5206    
   3  norm          15.214        18.853        .10272E-03   -1.4928    
   4  Prefactor     .10000E-03    8.6420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.0396        .17766E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.2902        .15398E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11191E-03    31.837        .12728       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.4434        .16448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.8890        .24010E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.9068        9.0161        .18167E-03   -1.5265    
  11  Prefactor     2.9204        12.013        .23724E-03   -1.5366    
  12  norm          2.4501        .86872        .34934E-04   -1.5395    
  13  Prefactor     .10000E-03    9.7780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.9671        11.166        .12695E-03   -1.5076    
  15  Prefactor     .10000E-03    6.2836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          5.8871        5.0606        .16551E-03   -1.5223    
  17  Prefactor     .10000E-03    8.6989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.3137        .39687E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.9561        26.722        .18062E-03   -1.5263    
  20  Prefactor     .10000E-03    48.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4229        .18852        .20926E-03   -.79970    
  22  Prefactor     .57890        .16795        .29680E-03   -1.0848    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65108e-09
Minuit parameter uncertainties:
  1  17.9212
  2  6.39579
  3  18.8601
  4  0.000160795
  5  7.1963e-06
  6  5.60238e-05
  7  0.0389733
  8  3.87773e-06
  9  4.96054e-06
  10  9.01857
  11  11.8502
  12  0.868727
  13  8.98958e-06
  14  11.1683
  15  2.72459e-05
  16  5.061
  17  0.000145526
  18  3.48054e-06
  19  23.0322
  20  0.00016547
  21  0.188609
  22  0.168097
Done.

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

Extracting fit parameters...

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

EG_v02
   Spectrum: FileFunction
557   Normalization:  1.423e+00  1.886e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/594058/likelihoodResults_576806401_577065601_4FGL_J2256.0-2740_daily_bin1302.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) = 8287.11570301
delta logL = 0.15169199807

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8287.10966897
delta logL = 0.157726037407

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1628       1.0000         .10000E-03   10000.    
     2 'Index     '    4.2748       1.0000          .0000       10.000    
     3 'Normalizat'    1.3983       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .59474       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8287.110     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      273 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1599        10.860        .11192E-02   -.32057E-03
   2  Index         4.2766        3.8870        .20529E-01   -.26545E-04
   3  Normalizat    1.3983        .18335        .21071E-03   -.10983E-03
   4  Prefactor     .59474        .16723        .29313E-03   -.26605E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.15994
  Index      = 4.27664
  Normalizat = 1.39827
  Prefactor  = 0.594742
 **********
 **   18 **HESSE 
 **********

 FCN=   8287.110     FROM HESSE     STATUS=OK            27 CALLS      300 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1599        7.1507        .44767E-04   -1.5352    
   2  Index         4.2766        2.7721        .82117E-03   -.14518    
   3  Normalizat    1.3983        .18328        .42142E-04   -.80679    
   4  Prefactor     .59474        .16754        .11725E-04   -1.0781    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48744e-10
Minuit parameter uncertainties:
  1  7.15263
  2  2.94252
  3  0.183362
  4  0.167676
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/594058': 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) = 8287.10966875
delta logL = 0.157726257659

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  3.160e+00  7.153e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  4.277e+00  2.943e+00  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:  5.947e-01  1.677e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  1.398e+00  1.834e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
Ra Dec: 344.025 -27.674

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/594058/cmap_HighResolution_576806401_577065601_4FGL_J2256.0-2740_daily_bin1302.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', job_status='DONE', photon_flux_upper_limit='1.27e-07', time_completed='2021-09-29 03:04:07.026709', job_id='594058', GAL2='0.59', fit_tolerance='1e-08', EG2='1.40', EG='1.42', time_epoch_completed='1632909847.03', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='0.58', dlogl='1.58e-01', ts2='0.49', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='1302' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:04:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 594058: <4FGL_J2256.0-2740_daily_bin1302> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1302> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 02:50:30 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:50:32 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:50:32 2021
Terminated at Wed Sep 29 03:04:07 2021
Results reported at Wed Sep 29 03:04:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1302 344.025 -27.6739 576806401 577065601 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 :                                   746.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             308.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            817 sec.

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

