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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin95
RA = 344.025, Dec = -27.6739
tmin = 263952001, tmax = 264211201
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='589233', job_status='RUN', time_executed='2021-09-29 02:35:34.806016', time_epoch_executed='1632908134.81' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='95'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/589233

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/589233/ft1_4FGL_J2256.0-2740_daily_bin95.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/589233/ft2_4FGL_J2256.0-2740_daily_bin95.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/589233/ft1_4FGL_J2256.0-2740_daily_bin95.fits outfile=/scratch/kocevski/589233/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin95.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=263952001.0 tmax=264211201.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.70
user 1.52
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/589233/ft1_filtered_4FGL_J2256.0-2740_daily_bin95.fits" evtable="EVENTS" scfile=/scratch/kocevski/589233/ft2_4FGL_J2256.0-2740_daily_bin95.fits sctable="SC_DATA" outfile=/scratch/kocevski/589233/ltcube_263952001_264211201_4FGL_J2256.0-2740_daily_bin95.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/589233/ft2_4FGL_J2256.0-2740_daily_bin95.fits
.....................!
real 11.96
user 11.62
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/589233/ft1_filtered_4FGL_J2256.0-2740_daily_bin95.fits evtable="EVENTS" scfile=/scratch/kocevski/589233/ft2_4FGL_J2256.0-2740_daily_bin95.fits sctable="SC_DATA" expcube=/scratch/kocevski/589233/ltcube_263952001_264211201_4FGL_J2256.0-2740_daily_bin95.fits outfile=/scratch/kocevski/589233/expmap_263952001_264211201_4FGL_J2256.0-2740_daily_bin95.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/589233/ltcube_263952001_264211201_4FGL_J2256.0-2740_daily_bin95.fits
.....................!
real 189.64
user 184.83
sys 4.49

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/589233/ft1_filtered_4FGL_J2256.0-2740_daily_bin95.fits scfile=/scratch/kocevski/589233/ft2_4FGL_J2256.0-2740_daily_bin95.fits outfile=/scratch/kocevski/589233/cmap_263952001_264211201_4FGL_J2256.0-2740_daily_bin95.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/589233/ft1_filtered_4FGL_J2256.0-2740_daily_bin95.fits scfile=/scratch/kocevski/589233/ft2_4FGL_J2256.0-2740_daily_bin95.fits outfile=/scratch/kocevski/589233/cmap_HighResolution_263952001_264211201_4FGL_J2256.0-2740_daily_bin95.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/589233/ft1_filtered_4FGL_J2256.0-2740_daily_bin95.fits evtable="EVENTS" scfile=/scratch/kocevski/589233/ft2_4FGL_J2256.0-2740_daily_bin95.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/589233/Model_4FGL_J2256.0-2740_daily_bin95.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/589233/ft1_filtered_4FGL_J2256.0-2740_daily_bin95.fits.....................!
real 50.97
user 49.68
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.8996       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.603       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11022E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.2127       1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.914       1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.427       1.0000         .10000E-03   10000.    
     9 'norm      '    20.262       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.6219       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .95276       1.0000         .10000E-03   10000.    
    12 'norm      '    .79474       1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.244       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.7863       1.0000         .10000E-03   10000.    
    16 'norm      '    23.393       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.4326       1.0000         .10000E-03   10000.    
    18 'norm      '    6.8335       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    17.610       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .75779       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0405       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=   6856.217     FROM MIGRAD    STATUS=CONVERGED    476 CALLS     2070 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.8995        9.7695       -.48690E-06    .45708E-05
   2  Prefactor     13.602        8.6017        .21532E-05   -.41746E-05
   3  norm          .10000E-03    5.6194       -.39745E-09** at limit **
   4  Prefactor     .10000E-03    13.339       -.29930E-06** at limit **
   5  Prefactor     .10000E-03    10.005       -.11940E-05** at limit **
   6  norm          1.2121        1.0396       -.63647E-06    .10542E-02
   7  Prefactor     20.946        41.094        .32360E-04    .15229E-03
   8  Prefactor     19.430        12.569       -.77060E-06    .13792E-03
   9  norm          20.266        6.5167       -.23515E-05    .69986E-03
  10  Prefactor     1.6410        17.883        .11876E-04   -.13209E-03
  11  Prefactor     .92294        8.9125       -.16927E-05   -.62631E-03
  12  norm          .79558        .67404        .15232E-07    .76681E-03
  13  Prefactor     21.244        28.698        .60250E-06    .53776E-05
  14  Prefactor     .10000E-03    5.6157       -.52794E-07** at limit **
  15  Prefactor     3.7883        5.3496       -.28326E-05   -.20305E-04
  16  norm          23.392        8.7265        .10073E-09    .22850E-04
  17  Prefactor     9.4329        23.256        .75822E-06   -.29204E-05
  18  norm          6.8337        3.4335        .19340E-06   -.15627E-03
  19  Prefactor     .10000E-03    19.355       -.71330E-06** at limit **
  20  Prefactor     17.593        57.900       -.26019E-04    .11508E-05
  21  Normalizat    .75762        .17955       -.35541E-05    .41365E-03
  22  Prefactor     1.0407        .16617        .16168E-05    .98729E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.89947
  Prefactor  = 13.6024
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100003
  norm       = 1.2121
  Prefactor  = 20.9457
  Prefactor  = 19.4297
  norm       = 20.2662
  Prefactor  = 1.64096
  Prefactor  = 0.922938
  norm       = 0.79558
  Prefactor  = 21.2437
  Prefactor  = 0.0001
  Prefactor  = 3.78828
  norm       = 23.3924
  Prefactor  = 9.43287
  norm       = 6.83375
  Prefactor  = 0.0001
  Prefactor  = 17.5934
  Normalizat = 0.757616
  Prefactor  = 1.04067
 **********
 **   18 **HESSE 
 **********

 FCN=   6856.217     FROM HESSE     STATUS=OK           360 CALLS     2430 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.8995        9.7691        .13436E-03   -1.5111    
   2  Prefactor     13.602        8.5378        .10860E-03   -1.4970    
   3  norm          .10000E-03    5.6231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    156.64        .57526E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.2121        1.2065        .74089E-03   -1.5488    
   7  Prefactor     20.946        42.296        .87583E-04   -1.4792    
   8  Prefactor     19.430        12.573        .90871E-04   -1.4826    
   9  norm          20.266        6.4668        .88979E-04   -1.4807    
  10  Prefactor     1.6410        24.814        .33228E-03   -1.5452    
  11  Prefactor     .92294        71.323        .28686E-02   -1.5516    
  12  norm          .79558        .77490        .47573E-03   -1.5530    
  13  Prefactor     21.244        28.696        .86901E-04   -1.4786    
  14  Prefactor     .10000E-03    5.6698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.7883        5.3263        .20746E-03   -1.5319    
  16  norm          23.392        8.7261        .82819E-04   -1.4740    
  17  Prefactor     9.4329        23.246        .13049E-03   -1.5094    
  18  norm          6.8337        3.4331        .10360E-03   -1.5185    
  19  Prefactor     .10000E-03    19.435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     17.593        57.917        .95443E-04   -1.4869    
  21  Normalizat    .75762        .21197        .26603E-03   -1.0166    
  22  Prefactor     1.0407        .19739        .23115E-03   -.91386    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30201e-08
Minuit parameter uncertainties:
  1  9.7709
  2  8.53858
  3  2.17576e-05
  4  0.00121246
  5  0.000371752
  6  1.20649
  7  42.3562
  8  12.5751
  9  6.46699
  10  12.7683
  11  16.246
  12  0.774909
  13  28.715
  14  1.06335e-07
  15  5.32699
  16  8.72657
  17  23.268
  18  3.43322
  19  8.8116e-05
  20  58.1028
  21  0.212198
  22  0.197527
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  9.229e-01  1.625e+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:  1.041e+00  1.975e-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.576e-01  2.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/589233/likelihoodResults_263952001_264211201_4FGL_J2256.0-2740_daily_bin95.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) = 6856.21705384
delta logL = 1.95013953999e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6856.21698072
delta logL = 9.26258917389e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92372       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9812       1.0000          .0000       10.000    
     3 'Normalizat'    .75776       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0406       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=   6856.217     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      229 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .93107        185.77        .90261E-01    .77115E-04
   2  Index         2.9816        5.5977        .50000       -.40464E-04
   3  Normalizat    .75771        .39772E-01    .43056E-01   -.10143E-03
   4  Prefactor     1.0406        .36201E-01    .40497E-01   -.10898E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.931071
  Index      = 2.9816
  Normalizat = 0.757714
  Prefactor  = 1.04058
 **********
 **   18 **HESSE 
 **********

 FCN=   6856.217     FROM HESSE     STATUS=OK            35 CALLS      264 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .93107        16.297        .28865E-02   -1.5515    
   2  Index         2.9816        2.7958        .21435E-01   -.41554    
   3  Normalizat    .75771        .19292        .26602E-03   -1.0166    
   4  Prefactor     1.0406        .19052        .23116E-03   -.91389    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.47521e-10
Minuit parameter uncertainties:
  1  7.79281
  2  3.00792
  3  0.193095
  4  0.190644
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/589233': 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) = 6856.21698022
delta logL = 9.31270387809e-05

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  9.311e-01  7.793e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.982e+00  3.008e+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:  1.041e+00  1.906e-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.577e-01  1.931e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/589233/cmap_HighResolution_263952001_264211201_4FGL_J2256.0-2740_daily_bin95.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.54e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2021-09-29 02:45:58.249294', job_id='589233', GAL2='1.04', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1632908758.25', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='9.31e-05', ts2='0.02', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='95' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:45:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 589233: <4FGL_J2256.0-2740_daily_bin95> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin95 344.025 -27.6739 263952001 264211201 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 :                                   621.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             383.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   649 sec.
    Turnaround time :                            640 sec.

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

