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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1210
RA = 344.025, Dec = -27.6739
tmin = 552960001, tmax = 553219201
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='593919', job_status='RUN', time_executed='2021-09-29 02:51:23.097519', time_epoch_executed='1632909083.1' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1210'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/593919

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/593919/ft1_4FGL_J2256.0-2740_daily_bin1210.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/593919/ft2_4FGL_J2256.0-2740_daily_bin1210.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/593919/ft1_4FGL_J2256.0-2740_daily_bin1210.fits outfile=/scratch/kocevski/593919/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1210.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=552960001.0 tmax=553219201.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 2.80
user 2.61
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/593919/ft1_filtered_4FGL_J2256.0-2740_daily_bin1210.fits" evtable="EVENTS" scfile=/scratch/kocevski/593919/ft2_4FGL_J2256.0-2740_daily_bin1210.fits sctable="SC_DATA" outfile=/scratch/kocevski/593919/ltcube_552960001_553219201_4FGL_J2256.0-2740_daily_bin1210.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/593919/ft2_4FGL_J2256.0-2740_daily_bin1210.fits
.....................!
real 12.42
user 12.09
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/593919/ft1_filtered_4FGL_J2256.0-2740_daily_bin1210.fits evtable="EVENTS" scfile=/scratch/kocevski/593919/ft2_4FGL_J2256.0-2740_daily_bin1210.fits sctable="SC_DATA" expcube=/scratch/kocevski/593919/ltcube_552960001_553219201_4FGL_J2256.0-2740_daily_bin1210.fits outfile=/scratch/kocevski/593919/expmap_552960001_553219201_4FGL_J2256.0-2740_daily_bin1210.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/593919/ltcube_552960001_553219201_4FGL_J2256.0-2740_daily_bin1210.fits
.....................!
real 189.61
user 185.26
sys 3.99

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/593919/ft1_filtered_4FGL_J2256.0-2740_daily_bin1210.fits scfile=/scratch/kocevski/593919/ft2_4FGL_J2256.0-2740_daily_bin1210.fits outfile=/scratch/kocevski/593919/cmap_552960001_553219201_4FGL_J2256.0-2740_daily_bin1210.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.36
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/593919/ft1_filtered_4FGL_J2256.0-2740_daily_bin1210.fits evtable="EVENTS" scfile=/scratch/kocevski/593919/ft2_4FGL_J2256.0-2740_daily_bin1210.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/593919/Model_4FGL_J2256.0-2740_daily_bin1210.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/593919/ft1_filtered_4FGL_J2256.0-2740_daily_bin1210.fits.....................!
real 39.15
user 37.81
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.027       1.0000         .10000E-03   10000.    
     3 'norm      '    10.323       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.211       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.640       1.0000         .10000E-03   10000.    
     6 'norm      '    3.2450       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    33.630       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    38.814       1.0000         .10000E-03   10000.    
    12 'norm      '    .31911       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.1623       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    8.1822       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.3202       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10202E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1727       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .91685       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=   4547.118     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     2454 TOTAL
                     EDM=   .68E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.435       -.31043E-07** at limit **
   2  Prefactor     14.025        18.677       -.87824E-07   -.85208E-05
   3  norm          10.317        43.394       -.13842E-05   -.85567E-05
   4  Prefactor     10.209        24.155       -.86552E-07   -.62784E-05
   5  Prefactor     10.639        17.689        .93585E-07   -.26024E-04
   6  norm          3.2449        2.9273        .53117E-07   -.33228E-04
   7  Prefactor     .10000E-03    26.162        .14839E-05** at limit **
   8  Prefactor     33.628        18.875        .33698E-07   -.20406E-04
   9  norm          .10000E-03    5.3083        .33830E-08** at limit **
  10  Prefactor     .10000E-03    23.601       -.45523E-06** at limit **
  11  Prefactor     38.812        23.187       -.23659E-05   -.22096E-03
  12  norm          .31915        1.3544        .15644E-05   -.40680E-03
  13  Prefactor     .10000E-03    113.95        .65137E-06** at limit **
  14  Prefactor     .10000E-03    8.4811       -.27158E-08** at limit **
  15  Prefactor     5.1622        9.9274       -.15915E-06   -.12168E-03
  16  norm          .10000E-03    2.2752        .10316E-07** at limit **
  17  Prefactor     .10000E-03    27.725       -.11286E-05** at limit **
  18  norm          8.1842        4.2433        .12086E-06    .31313E-03
  19  Prefactor     2.2951        126.04       -.82469E-05   -.12466E-04
  20  Prefactor     .10000E-03    66.005        .58054E-07** at limit **
  21  Normalizat    1.1727        .23615        .10244E-05   -.63151E-05
  22  Prefactor     .91690        .21513       -.53267E-06    .76656E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 14.0246
  norm       = 10.3173
  Prefactor  = 10.2091
  Prefactor  = 10.6385
  norm       = 3.24487
  Prefactor  = 0.0001
  Prefactor  = 33.6276
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 38.8121
  norm       = 0.319151
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.1622
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 8.18422
  Prefactor  = 2.29505
  Prefactor  = 0.0001
  Normalizat = 1.17271
  Prefactor  = 0.916899
 **********
 **   18 **HESSE 
 **********

 FCN=   4547.118     FROM HESSE     STATUS=OK           346 CALLS     2800 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.025        18.709        .10694E-03   -1.4959    
   3  norm          10.317        43.552        .12471E-03   -1.5065    
   4  Prefactor     10.209        24.141        .12539E-03   -1.5069    
   5  Prefactor     10.639        17.699        .12283E-03   -1.5056    
   6  norm          3.2449        2.9218        .10341E-03   -1.5348    
   7  Prefactor     .10000E-03    26.237        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     33.628        18.942        .69100E-04   -1.4548    
   9  norm          .10000E-03    5.3889        .15121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    23.659        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     38.812        23.497        .64335E-04   -1.4461    
  12  norm          .31915        1.4403        .93547E-04   -1.5595    
  13  Prefactor     .10000E-03    114.26        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.5087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.1622        9.9031        .17694E-03   -1.5254    
  16  norm          .10000E-03    2.2766        .99333E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    27.809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          8.1842        4.2443        .91884E-04   -1.5136    
  19  Prefactor     2.2951        134.41        .26930E-03   -1.5405    
  20  Prefactor     .10000E-03    66.063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1727        .27928        .25554E-03   -.87450    
  22  Prefactor     .91690        .25371        .27461E-03   -.95553    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43649e-10
Minuit parameter uncertainties:
  1  1.94151e-06
  2  18.7165
  3  42.4478
  4  24.1637
  5  17.708
  6  2.92197
  7  1.0019e-05
  8  18.9457
  9  1.05875e-05
  10  3.22998e-05
  11  23.5027
  12  1.35582
  13  0.000140261
  14  6.4146e-06
  15  9.90622
  16  1.58585e-06
  17  1.99913e-06
  18  4.24445
  19  35.2092
  20  0.000101147
  21  0.27963
  22  0.254041
Done.

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

Extracting fit parameters...

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

EG_v02
   Spectrum: FileFunction
557   Normalization:  1.173e+00  2.796e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.04
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 2.66e-07 +/- 1.61e-07
Energy Flux (Fixed Index): 5.24e-05 +/- 3.17e-05

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) = 4546.76331922
delta logL = 0.354609106503

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4546.75099154
delta logL = 0.366936784462

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.455       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6700       1.0000          .0000       10.000    
     3 'Normalizat'    1.2125       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88556       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=   4546.751     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      205 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.455        13.759        .16158E-02    .29844E-03
   2  Index         2.6700        .35530        .12399       -.44436E-04
   3  Normalizat    1.2126        .22343        .56990E-01    .26182E-05
   4  Prefactor     .88542        .21228        .44821E-01    .11023E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.4545
  Index      = 2.66997
  Normalizat = 1.21263
  Prefactor  = 0.885415
 **********
 **   18 **HESSE 
 **********

 FCN=   4546.751     FROM HESSE     STATUS=OK            31 CALLS      236 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.455        14.116        .64634E-04   -1.4467    
   2  Index         2.6700        .38235        .52247E-02   -.48477    
   3  Normalizat    1.2126        .26564        .25202E-03   -.86213    
   4  Prefactor     .88542        .25008        .27856E-03   -.96653    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19734e-11
Minuit parameter uncertainties:
  1  14.1172
  2  0.38283
  3  0.265934
  4  0.250405
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/593919': 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) = 4546.75099138
delta logL = 0.366936948294

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  3.845e+01  1.412e+01  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.670e+00  3.828e-01  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:  8.854e-01  2.504e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  1.213e+00  2.659e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.07
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 2.67 +/- 0.38
Photon Flux (Free Index): 2.34e-07 +/- 9.45e-08
Energy Flux (Free Index): 5.78e-05 +/- 2.20e-05

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/593919/cmap_HighResolution_552960001_553219201_4FGL_J2256.0-2740_daily_bin1210.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.66e-07', energy_flux2='5.78e-05', photon_flux_error='1.61e-07', dlogl='3.67e-01', energy_flux='5.24e-05', photon_flux2='2.34e-07', job_status='DONE', time_completed='2021-09-29 02:59:49.570854', photon_index_error2='0.38', photon_index2='2.67', ts='12.04', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.20e-05', EG='1.17', time_epoch_completed='1632909589.57', return_code='0', job_id='593919', GAL2='0.89', EG2='1.21', return_code2='0', energy_flux_error='3.17e-05', photon_flux_error2='9.45e-08', ts2='13.07', photon_index='3.02' WHERE bin_id='1210' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:59:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 593919: <4FGL_J2256.0-2740_daily_bin1210> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1210> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 02:50:18 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:50:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 02:50:20 2021
Terminated at Wed Sep 29 02:59:50 2021
Results reported at Wed Sep 29 02:59:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1210 344.025 -27.6739 552960001 553219201 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 :                                   500.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             331.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   569 sec.
    Turnaround time :                            572 sec.

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

