/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 90 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 = 7404
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2256.0-2740_daily_bin539
RA = 344.025, Dec = -27.6739
tmin = 379036801, tmax = 379296001
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='590934', job_status='RUN', time_executed='2021-09-29 02:42:19.872734', time_epoch_executed='1632908539.87' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='539'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/590934

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/590934/ft1_4FGL_J2256.0-2740_daily_bin539.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/590934/ft2_4FGL_J2256.0-2740_daily_bin539.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/590934/ft1_4FGL_J2256.0-2740_daily_bin539.fits outfile=/scratch/kocevski/590934/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin539.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=379036801.0 tmax=379296001.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.47
user 3.25
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/590934/ft1_filtered_4FGL_J2256.0-2740_daily_bin539.fits" evtable="EVENTS" scfile=/scratch/kocevski/590934/ft2_4FGL_J2256.0-2740_daily_bin539.fits sctable="SC_DATA" outfile=/scratch/kocevski/590934/ltcube_379036801_379296001_4FGL_J2256.0-2740_daily_bin539.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/590934/ft2_4FGL_J2256.0-2740_daily_bin539.fits
.....................!
real 12.02
user 11.61
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/590934/ft1_filtered_4FGL_J2256.0-2740_daily_bin539.fits evtable="EVENTS" scfile=/scratch/kocevski/590934/ft2_4FGL_J2256.0-2740_daily_bin539.fits sctable="SC_DATA" expcube=/scratch/kocevski/590934/ltcube_379036801_379296001_4FGL_J2256.0-2740_daily_bin539.fits outfile=/scratch/kocevski/590934/expmap_379036801_379296001_4FGL_J2256.0-2740_daily_bin539.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/590934/ltcube_379036801_379296001_4FGL_J2256.0-2740_daily_bin539.fits
.....................!
real 194.70
user 189.56
sys 4.71

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/590934/ft1_filtered_4FGL_J2256.0-2740_daily_bin539.fits scfile=/scratch/kocevski/590934/ft2_4FGL_J2256.0-2740_daily_bin539.fits outfile=/scratch/kocevski/590934/cmap_379036801_379296001_4FGL_J2256.0-2740_daily_bin539.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/590934/ft1_filtered_4FGL_J2256.0-2740_daily_bin539.fits scfile=/scratch/kocevski/590934/ft2_4FGL_J2256.0-2740_daily_bin539.fits outfile=/scratch/kocevski/590934/cmap_HighResolution_379036801_379296001_4FGL_J2256.0-2740_daily_bin539.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.56
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/590934/ft1_filtered_4FGL_J2256.0-2740_daily_bin539.fits evtable="EVENTS" scfile=/scratch/kocevski/590934/ft2_4FGL_J2256.0-2740_daily_bin539.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/590934/Model_4FGL_J2256.0-2740_daily_bin539.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/590934/ft1_filtered_4FGL_J2256.0-2740_daily_bin539.fits.....................!
real 50.76
user 49.31
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    9.5542       1.0000         .10000E-03   10000.    
     4 'Prefactor '    41.682       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.0188       1.0000         .10000E-03   10000.    
     6 'norm      '    1.1895       1.0000         .10000E-03   10000.    
     7 'Prefactor '    48.954       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.4188       1.0000         .10000E-03   10000.    
     9 'norm      '    6.1756       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.914       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .17673E-01   1.0000         .10000E-03   10000.    
    12 'norm      '    .90851       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.4230       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.026       1.0000         .10000E-03   10000.    
    16 'norm      '    4.7394       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.090       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .79960       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90597       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=   6803.020     FROM MIGRAD    STATUS=CONVERGED    492 CALLS     2393 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.162        .66718E-07** at limit **
   2  Prefactor     .10000E-03    2.6905       -.20645E-07** at limit **
   3  norm          9.5540        14.377       -.35704E-05   -.56364E-04
   4  Prefactor     41.688        21.086        .53339E-06   -.23935E-04
   5  Prefactor     1.0226        5.5277        .48578E-06    .30599E-03
   6  norm          1.1900        1.7452        .13821E-05   -.11435E-03
   7  Prefactor     48.928        45.308       -.11208E-04   -.23360E-04
   8  Prefactor     5.4201        10.854        .56914E-05   -.12348E-03
   9  norm          6.1774        3.6750       -.46632E-06   -.14985E-04
  10  Prefactor     12.918        10.352        .77161E-05    .47050E-04
  11  Prefactor     .10004E-03    9.1462       -.26108E-06** at limit **
  12  norm          .90904        .59434       -.13068E-06    .66373E-03
  13  Prefactor     .10000E-03    15.819       -.52989E-06** at limit **
  14  Prefactor     7.4226        7.1542        .52267E-06    .24518E-04
  15  Prefactor     10.031        8.1715       -.27553E-05   -.54807E-04
  16  norm          4.7393        7.5447        .22759E-05   -.24389E-03
  17  Prefactor     .10000E-03    7.9839        .85748E-08** at limit **
  18  norm          .10000E-03    1.2358       -.16959E-07** at limit **
  19  Prefactor     11.091        17.844        .10548E-05   -.13249E-04
  20  Prefactor     .10000E-03    203.67       -.95989E-05** at limit **
  21  Normalizat    .79945        .15227       -.55430E-06   -.69742E-04
  22  Prefactor     .90612        .14378        .19650E-06   -.11996E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.55399
  Prefactor  = 41.6878
  Prefactor  = 1.02264
  norm       = 1.19004
  Prefactor  = 48.9284
  Prefactor  = 5.42008
  norm       = 6.17742
  Prefactor  = 12.9177
  Prefactor  = 0.000100043
  norm       = 0.909037
  Prefactor  = 0.0001
  Prefactor  = 7.42263
  Prefactor  = 10.0311
  norm       = 4.73932
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.0912
  Prefactor  = 0.0001
  Normalizat = 0.79945
  Prefactor  = 0.906116
 **********
 **   18 **HESSE 
 **********

 FCN=   6803.020     FROM HESSE     STATUS=OK           362 CALLS     2755 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.7109        .13207E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          9.5540        14.389        .12965E-03   -1.5090    
   4  Prefactor     41.688        21.111        .62091E-04   -1.4416    
   5  Prefactor     1.0226        21.091        .34466E-02   -1.5506    
   6  norm          1.1900        1.7068        .11113E-03   -1.5490    
   7  Prefactor     48.928        45.133        .57313E-04   -1.4308    
   8  Prefactor     5.4201        10.836        .17262E-03   -1.5242    
   9  norm          6.1774        3.6676        .11108E-03   -1.5211    
  10  Prefactor     12.918        10.427        .11146E-03   -1.4989    
  11  Prefactor     .10004E-03    14.031        .48489E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .90904        .59658        .41727E-04   -1.5517    
  13  Prefactor     .10000E-03    15.830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.4226        7.1565        .14721E-03   -1.5163    
  15  Prefactor     10.031        8.1464        .12655E-03   -1.5074    
  16  norm          4.7393        7.5142        .18483E-03   -1.5273    
  17  Prefactor     .10000E-03    7.9880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.2601        .89435E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     11.091        17.841        .12030E-03   -1.5042    
  20  Prefactor     .10000E-03    205.11        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .79945        .18083        .23350E-03   -1.0009    
  22  Prefactor     .90612        .17138        .22148E-03   -.95928    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38101e-09
Minuit parameter uncertainties:
  1  2.48687e-05
  2  5.72422e-06
  3  14.394
  4  21.1143
  5  9.29159
  6  1.70691
  7  45.1642
  8  10.8399
  9  3.66769
  10  10.428
  11  0.00155675
  12  0.596582
  13  1.71256e-05
  14  7.15732
  15  8.14735
  16  7.51565
  17  6.64641e-06
  18  4.42301e-08
  19  17.8491
  20  0.000129132
  21  0.180964
  22  0.171481
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  1.557e-03  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.061e-01  1.715e-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:  7.995e-01  1.810e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/590934/likelihoodResults_379036801_379296001_4FGL_J2256.0-2740_daily_bin539.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6803.02010054
delta logL = -5.22369564351e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6803.01124026
delta logL = 0.0088080364394

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .70665       1.0000         .10000E-03   10000.    
     2 'Index     '    3.7474       1.0000          .0000       10.000    
     3 'Normalizat'    .79308       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90959       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=   6803.011     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      446 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .70620        16.366        .23813E-02    .12001E-02
   2  Index         3.7488        4.0675        .42348E-01    .76788E-04
   3  Normalizat    .79304        .17507        .23428E-03   -.22909E-03
   4  Prefactor     .90964        .17054        .22105E-03   -.15517E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.706204
  Index      = 3.74884
  Normalizat = 0.793042
  Prefactor  = 0.909642
 **********
 **   18 **HESSE 
 **********

 FCN=   6803.011     FROM HESSE     STATUS=OK            25 CALLS      471 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .70620        10.828        .95251E-04   -1.5540    
   2  Index         3.7488        3.5323        .16939E-02   -.25292    
   3  Normalizat    .79304        .17321        .93711E-05   -1.0033    
   4  Prefactor     .90964        .17024        .88419E-05   -.95805    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.51444e-09
Minuit parameter uncertainties:
  1  5.53129
  2  3.95907
  3  0.17333
  4  0.170337
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/590934': 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) = 6803.01124017
delta logL = 0.00880812661217

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  7.062e-01  5.531e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.749e+00  3.959e+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:  9.096e-01  1.703e-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:  7.930e-01  1.733e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -9.398e-02 [aplpy.core]
INFO: Auto-setting vmax to  1.043e+00 [aplpy.core]
Saving /scratch/kocevski/590934/cmap_HighResolution_379036801_379296001_4FGL_J2256.0-2740_daily_bin539.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.13e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-09-29 02:53:39.017314', job_id='590934', GAL2='0.91', fit_tolerance='1e-08', EG2='0.79', EG='0.80', time_epoch_completed='1632909219.02', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='8.81e-03', ts2='0.02', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='539' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:53:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 590934: <4FGL_J2256.0-2740_daily_bin539> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin539> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 02:40:36 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:40:37 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:40:37 2021
Terminated at Wed Sep 29 02:53:39 2021
Results reported at Wed Sep 29 02:53:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin539 344.025 -27.6739 379036801 379296001 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 :                                   671.26 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             311.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            783 sec.

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

