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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin44
RA = 344.025, Dec = -27.6739
tmin = 250732801, tmax = 250992001
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='589157', job_status='RUN', time_executed='2021-09-29 02:37:25.017766', time_epoch_executed='1632908245.02' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='44'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/589157

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/589157/ft1_4FGL_J2256.0-2740_daily_bin44.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/589157/ft2_4FGL_J2256.0-2740_daily_bin44.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/589157/ft1_4FGL_J2256.0-2740_daily_bin44.fits outfile=/scratch/kocevski/589157/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin44.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=250732801.0 tmax=250992001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 1.44
user 1.25
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/589157/ft2_4FGL_J2256.0-2740_daily_bin44.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/589157/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin44.fits evtable="EVENTS" outfile="/scratch/kocevski/589157/ft1_filtered_4FGL_J2256.0-2740_daily_bin44.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/589157/ft1_filtered_4FGL_J2256.0-2740_daily_bin44.fits" evtable="EVENTS" scfile=/scratch/kocevski/589157/ft2_4FGL_J2256.0-2740_daily_bin44.fits sctable="SC_DATA" outfile=/scratch/kocevski/589157/ltcube_250732801_250992001_4FGL_J2256.0-2740_daily_bin44.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/589157/ft2_4FGL_J2256.0-2740_daily_bin44.fits
.....................!
real 12.83
user 12.46
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/589157/ft1_filtered_4FGL_J2256.0-2740_daily_bin44.fits evtable="EVENTS" scfile=/scratch/kocevski/589157/ft2_4FGL_J2256.0-2740_daily_bin44.fits sctable="SC_DATA" expcube=/scratch/kocevski/589157/ltcube_250732801_250992001_4FGL_J2256.0-2740_daily_bin44.fits outfile=/scratch/kocevski/589157/expmap_250732801_250992001_4FGL_J2256.0-2740_daily_bin44.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/589157/ltcube_250732801_250992001_4FGL_J2256.0-2740_daily_bin44.fits
.....................!
real 191.20
user 186.15
sys 4.69

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/589157/ft1_filtered_4FGL_J2256.0-2740_daily_bin44.fits scfile=/scratch/kocevski/589157/ft2_4FGL_J2256.0-2740_daily_bin44.fits outfile=/scratch/kocevski/589157/cmap_250732801_250992001_4FGL_J2256.0-2740_daily_bin44.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.53
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/589157/ft1_filtered_4FGL_J2256.0-2740_daily_bin44.fits scfile=/scratch/kocevski/589157/ft2_4FGL_J2256.0-2740_daily_bin44.fits outfile=/scratch/kocevski/589157/cmap_HighResolution_250732801_250992001_4FGL_J2256.0-2740_daily_bin44.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7364       1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.730       1.0000         .10000E-03   10000.    
     3 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.095       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.9803       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.677       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.2960       1.0000         .10000E-03   10000.    
     9 'norm      '    11.047       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.3140       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    31.214       1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.927       1.0000         .10000E-03   10000.    
    18 'norm      '    8.0100       1.0000         .10000E-03   10000.    
    19 'Prefactor '    20.667       1.0000         .10000E-03   10000.    
    20 'Prefactor '    158.52       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .98877       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .96016       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=   6650.906     FROM MIGRAD    STATUS=CONVERGED    462 CALLS     2340 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7364        16.922       -.92992E-06   -.22608E-04
   2  Prefactor     17.729        9.9897       -.27363E-06   -.16846E-04
   3  norm          .10000E-03    20.708       -.39016E-05** at limit **
   4  Prefactor     20.094        17.371       -.56922E-06   -.31163E-04
   5  Prefactor     .10000E-03    13.464       -.35025E-06** at limit **
   6  norm          1.9807        1.9042        .16060E-06   -.78694E-04
   7  Prefactor     11.674        26.555       -.24239E-05   -.38137E-04
   8  Prefactor     3.2947        5.4168        .20146E-05   -.15930E-02
   9  norm          11.047        4.2647       -.63941E-07    .19030E-04
  10  Prefactor     .10000E-03    5.6598       -.49498E-07** at limit **
  11  Prefactor     .10000E-03    6.1560        .15566E-07** at limit **
  12  norm          .10000E-03    .21793       -.24943E-07** at limit **
  13  Prefactor     .10000E-03    19.947        .25348E-05** at limit **
  14  Prefactor     8.3138        11.208       -.32912E-06   -.30658E-04
  15  Prefactor     .10000E-03    19.607        .17201E-05** at limit **
  16  norm          31.214        12.098        .20039E-07   -.37383E-04
  17  Prefactor     12.918        39.654       -.12329E-04   -.12467E-03
  18  norm          8.0099        3.4020        .11869E-06   -.44529E-03
  19  Prefactor     20.665        31.747       -.20763E-05   -.60184E-04
  20  Prefactor     158.51        111.39       -.42462E-05   -.70110E-04
  21  Normalizat    .98885        .18188        .15540E-05   -.58447E-04
  22  Prefactor     .96010        .16977       -.35923E-06    .91408E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.73638
  Prefactor  = 17.7286
  norm       = 0.000100001
  Prefactor  = 20.0943
  Prefactor  = 0.0001
  norm       = 1.98068
  Prefactor  = 11.6742
  Prefactor  = 3.29466
  norm       = 11.0466
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.31377
  Prefactor  = 0.0001
  norm       = 31.2137
  Prefactor  = 12.9179
  norm       = 8.00991
  Prefactor  = 20.6647
  Prefactor  = 158.506
  Normalizat = 0.988846
  Prefactor  = 0.960101
 **********
 **   18 **HESSE 
 **********

 FCN=   6650.906     FROM HESSE     STATUS=OK           346 CALLS     2686 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7364        16.950        .18489E-03   -1.5273    
   2  Prefactor     17.729        10.007        .95120E-04   -1.4866    
   3  norm          .10000E-03    21.027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     20.094        17.374        .89349E-04   -1.4811    
   5  Prefactor     .10000E-03    13.841        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.9807        1.9246        .96266E-04   -1.5426    
   7  Prefactor     11.674        26.916        .11723E-03   -1.5024    
   8  Prefactor     3.2947        8.4524        .11150E-02   -1.5345    
   9  norm          11.047        4.2009        .99354E-04   -1.5043    
  10  Prefactor     .10000E-03    5.6707        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.2554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .36725        .72245E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    19.999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.3138        11.215        .13904E-03   -1.5131    
  15  Prefactor     .10000E-03    20.168        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          31.214        12.098        .71716E-04   -1.4590    
  17  Prefactor     12.918        40.611        .11141E-03   -1.4989    
  18  norm          8.0099        3.4069        .45787E-03   -1.5142    
  19  Prefactor     20.665        31.790        .88105E-04   -1.4798    
  20  Prefactor     158.51        112.21        .32025E-04   -1.3183    
  21  Normalizat    .98885        .21727        .25138E-03   -.93405    
  22  Prefactor     .96010        .20143        .24824E-03   -.94072    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.85156e-09
Minuit parameter uncertainties:
  1  16.9669
  2  10.0084
  3  0.000238801
  4  17.3781
  5  3.9816e-05
  6  1.9247
  7  26.9439
  8  8.45547
  9  4.20105
  10  4.92547e-06
  11  1.40043e-05
  12  3.557e-06
  13  0.000140673
  14  11.2179
  15  2.09108e-05
  16  12.0991
  17  40.6976
  18  3.407
  19  31.816
  20  112.362
  21  0.217466
  22  0.201591
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  1.400e-05  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.601e-01  2.016e-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.888e-01  2.175e-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: 8.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/589157/likelihoodResults_250732801_250992001_4FGL_J2256.0-2740_daily_bin44.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) = 6650.90677105
delta logL = -0.000762182144172

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6650.90600889
delta logL = -2.91711330647e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0360       1.0000          .0000       10.000    
     3 'Normalizat'    .98889       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96009       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=   6650.906     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      247 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    269.66        .36285E-02** at limit **
   2  Index         3.4388        6.2311        .50000       -.17794E-06
   3  Normalizat    .98885        .27303E-01    .25138E-03   -.13030E-02
   4  Prefactor     .96010        .26734E-01    .24824E-03   -.13372E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 3.43882
  Normalizat = 0.988846
  Prefactor  = 0.960097
 **********
 **   18 **HESSE 
 **********

 FCN=   6650.906     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      276 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1027.8        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.4388        5.5259        .50000       -.31755    
   3  Normalizat    .98885        .66872E-01    .50277E-04   -.93405    
   4  Prefactor     .96010        .65495E-01    .49648E-04   -.94072    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.06385e-08
Minuit parameter uncertainties:
  1  4.93756e-05
  2  2490.09
  3  0.0668774
  4  0.0655003
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/589157': 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) = 6650.90600799
delta logL = 8.71419615578e-07

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  4.938e-05  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.439e+00  2.490e+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:  9.601e-01  6.550e-02  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.888e-01  6.688e-02  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/589157/cmap_HighResolution_250732801_250992001_4FGL_J2256.0-2740_daily_bin44.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.14e-03', job_status='DONE', photon_flux_upper_limit='8.91e-08', time_completed='2021-09-29 02:47:56.383022', job_id='589157', GAL2='0.96', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1632908876.38', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='8.71e-07', ts2='-0.00', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='44' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:47:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 589157: <4FGL_J2256.0-2740_daily_bin44> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin44> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:35:13 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:35:14 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 02:35:14 2021
Terminated at Wed Sep 29 02:47:57 2021
Results reported at Wed Sep 29 02:47:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin44 344.025 -27.6739 250732801 250992001 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 :                                   630.03 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             306.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            764 sec.

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

