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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1073
RA = 344.025, Dec = -27.6739
tmin = 517449601, tmax = 517708801
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='592757', job_status='RUN', time_executed='2021-09-29 02:47:33.629971', time_epoch_executed='1632908853.63' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1073'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592757

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592757/ft1_4FGL_J2256.0-2740_daily_bin1073.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592757/ft2_4FGL_J2256.0-2740_daily_bin1073.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592757/ft1_4FGL_J2256.0-2740_daily_bin1073.fits outfile=/scratch/kocevski/592757/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1073.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=517449601.0 tmax=517708801.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 5.58
user 5.32
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592757/ft1_filtered_4FGL_J2256.0-2740_daily_bin1073.fits" evtable="EVENTS" scfile=/scratch/kocevski/592757/ft2_4FGL_J2256.0-2740_daily_bin1073.fits sctable="SC_DATA" outfile=/scratch/kocevski/592757/ltcube_517449601_517708801_4FGL_J2256.0-2740_daily_bin1073.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/592757/ft2_4FGL_J2256.0-2740_daily_bin1073.fits
.....................!
real 11.53
user 11.15
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592757/ft1_filtered_4FGL_J2256.0-2740_daily_bin1073.fits evtable="EVENTS" scfile=/scratch/kocevski/592757/ft2_4FGL_J2256.0-2740_daily_bin1073.fits sctable="SC_DATA" expcube=/scratch/kocevski/592757/ltcube_517449601_517708801_4FGL_J2256.0-2740_daily_bin1073.fits outfile=/scratch/kocevski/592757/expmap_517449601_517708801_4FGL_J2256.0-2740_daily_bin1073.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/592757/ltcube_517449601_517708801_4FGL_J2256.0-2740_daily_bin1073.fits
.....................!
real 190.73
user 185.61
sys 4.82

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/592757/ft1_filtered_4FGL_J2256.0-2740_daily_bin1073.fits scfile=/scratch/kocevski/592757/ft2_4FGL_J2256.0-2740_daily_bin1073.fits outfile=/scratch/kocevski/592757/cmap_517449601_517708801_4FGL_J2256.0-2740_daily_bin1073.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592757/ft1_filtered_4FGL_J2256.0-2740_daily_bin1073.fits scfile=/scratch/kocevski/592757/ft2_4FGL_J2256.0-2740_daily_bin1073.fits outfile=/scratch/kocevski/592757/cmap_HighResolution_517449601_517708801_4FGL_J2256.0-2740_daily_bin1073.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/592757/ft1_filtered_4FGL_J2256.0-2740_daily_bin1073.fits evtable="EVENTS" scfile=/scratch/kocevski/592757/ft2_4FGL_J2256.0-2740_daily_bin1073.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/592757/Model_4FGL_J2256.0-2740_daily_bin1073.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/592757/ft1_filtered_4FGL_J2256.0-2740_daily_bin1073.fits.....................!
real 43.09
user 41.84
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.762       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    34.597       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.6889       1.0000         .10000E-03   10000.    
     6 'norm      '    1.5115       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10424E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.0369       1.0000         .10000E-03   10000.    
     9 'norm      '    13.506       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.0052       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .82901E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    .93623       1.0000         .10000E-03   10000.    
    13 'Prefactor '    28.565       1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.068       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.2459       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.0599       1.0000         .10000E-03   10000.    
    18 'norm      '    .10295E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    89.657       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .71743       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2536       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=   5210.936     FROM MIGRAD    STATUS=CONVERGED    472 CALLS     2356 TOTAL
                     EDM=   .69E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.762        14.740        .61779E-07    .64040E-05
   2  Prefactor     .10000E-03    7.8750       -.10252E-05** at limit **
   3  norm          34.599        23.153        .16246E-06    .21437E-05
   4  Prefactor     .10000E-03    5.3829       -.28744E-08** at limit **
   5  Prefactor     4.6878        13.911       -.39265E-06   -.39895E-05
   6  norm          1.5116        1.5319        .17653E-06    .14467E-04
   7  Prefactor     .10000E-03    40.983        .15621E-06** at limit **
   8  Prefactor     5.0364        10.732       -.46219E-06   -.80491E-05
   9  norm          13.507        6.6375        .35615E-06    .10142E-03
  10  Prefactor     1.9970        29.819       -.57440E-05   -.40682E-04
  11  Prefactor     .10000E-03    76.177       -.69246E-05** at limit **
  12  norm          .93633        .81163       -.42524E-07   -.17879E-04
  13  Prefactor     28.526        57.619        .10833E-05    .23239E-04
  14  Prefactor     21.068        14.295        .51779E-07   -.61106E-06
  15  Prefactor     .10000E-03    7.6896       -.16023E-06** at limit **
  16  norm          4.2451        11.150       -.12142E-05   -.12781E-04
  17  Prefactor     7.0625        119.59        .20980E-05    .26959E-05
  18  norm          .10000E-03    2.7716        .17802E-05** at limit **
  19  Prefactor     89.616        40.064        .55928E-07   -.19024E-04
  20  Prefactor     .10000E-03    51.194       -.43491E-06** at limit **
  21  Normalizat    .71727        .20621       -.14097E-05    .46009E-04
  22  Prefactor     1.2538        .19730        .14099E-05   -.94291E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.7617
  Prefactor  = 0.0001
  norm       = 34.5991
  Prefactor  = 0.0001
  Prefactor  = 4.68785
  norm       = 1.5116
  Prefactor  = 0.0001
  Prefactor  = 5.03637
  norm       = 13.5068
  Prefactor  = 1.99705
  Prefactor  = 0.0001
  norm       = 0.936325
  Prefactor  = 28.526
  Prefactor  = 21.0679
  Prefactor  = 0.0001
  norm       = 4.24507
  Prefactor  = 7.06247
  norm       = 0.0001
  Prefactor  = 89.6155
  Prefactor  = 0.0001
  Normalizat = 0.717269
  Prefactor  = 1.25378
 **********
 **   18 **HESSE 
 **********

 FCN=   5210.936     FROM HESSE     STATUS=OK           352 CALLS     2708 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.762        14.742        .82174E-04   -1.4733    
   2  Prefactor     .10000E-03    8.0522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          34.599        23.145        .68130E-04   -1.4531    
   4  Prefactor     .10000E-03    5.3845        .16358E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.6878        13.898        .18584E-03   -1.5275    
   6  norm          1.5116        1.5386        .87239E-04   -1.5462    
   7  Prefactor     .10000E-03    41.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.0364        10.770        .17917E-03   -1.5259    
   9  norm          13.507        6.5840        .10899E-03   -1.4973    
  10  Prefactor     1.9970        29.490        .29242E-03   -1.5425    
  11  Prefactor     .10000E-03    75.100        .37865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .93633        .80174        .50938E-04   -1.5514    
  13  Prefactor     28.526        57.740        .74960E-04   -1.4639    
  14  Prefactor     21.068        14.296        .87264E-04   -1.4790    
  15  Prefactor     .10000E-03    7.7615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.2451        11.103        .19554E-03   -1.5296    
  17  Prefactor     7.0625        118.86        .15098E-03   -1.5176    
  18  norm          .10000E-03    2.7675        .23099E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     89.616        40.092        .21218E-03   -1.3812    
  20  Prefactor     .10000E-03    51.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .71727        .24165        .29279E-03   -1.0322    
  22  Prefactor     1.2538        .23148        .22830E-03   -.84692    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52769e-10
Minuit parameter uncertainties:
  1  14.7441
  2  3.95262e-06
  3  23.1515
  4  3.83949e-07
  5  13.9075
  6  1.53868
  7  1.77597e-05
  8  10.7744
  9  6.58433
  10  15.3569
  11  0.000126091
  12  0.801749
  13  57.8538
  14  14.2981
  15  4.36699e-06
  16  11.1084
  17  58.0828
  18  1.06319e-05
  19  40.1046
  20  0.000164937
  21  0.242013
  22  0.231667
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  1.261e-04  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:  1.254e+00  2.317e-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.173e-01  2.420e-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.44e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.15e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/592757/likelihoodResults_517449601_517708801_4FGL_J2256.0-2740_daily_bin1073.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) = 5210.93621799
delta logL = -6.29430687695e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5210.93621796
delta logL = -6.29181395198e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96332E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0227       1.0000          .0000       10.000    
     3 'Normalizat'    .71723       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2538       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=   5210.936     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      220 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    4.7783        .90715E-01** at limit **
   2  Index         3.0143        8.3873        .50000        .10734E-05
   3  Normalizat    .71727        .46497E-02    .66172E-01    .17466E-03
   4  Prefactor     1.2538        .46856E-02    .51641E-01    .13666E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100014
  Index      = 3.0143
  Normalizat = 0.717268
  Prefactor  = 1.25379
 **********
 **   18 **HESSE 
 **********

 FCN=   5210.936     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      253 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    9775.8        .31556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0143        5.5306        .50000       -.40840    
   3  Normalizat    .71727        .23725        .29278E-03   -1.0322    
   4  Prefactor     1.2538        .21538        .22830E-03   -.84692    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.85966e-07
Minuit parameter uncertainties:
  1  0.0326268
  2  2651.54
  3  0.237593
  4  0.215528
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592757': 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): 102
logL (Free Index) = 5210.93615504
delta logL = 1.91721483134e-09

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  3.263e-02  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.014e+00  2.652e+03  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:  1.254e+00  2.155e-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.173e-01  2.376e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/592757/cmap_HighResolution_517449601_517708801_4FGL_J2256.0-2740_daily_bin1073.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-02', job_status='DONE', photon_flux_upper_limit='1.44e-07', time_completed='2021-09-29 02:57:15.449240', job_id='592757', GAL2='1.25', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1632909435.45', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='1.92e-09', ts2='-0.00', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='1073' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:57:15 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1073 344.025 -27.6739 517449601 517708801 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 :                                   569.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             339.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   685 sec.
    Turnaround time :                            687 sec.

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

