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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin724
RA = 344.025, Dec = -27.6739
tmin = 426988801, tmax = 427248001
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='591213', job_status='RUN', time_executed='2021-09-29 02:43:57.495171', time_epoch_executed='1632908637.5' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='724'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/591213

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/591213/ft1_4FGL_J2256.0-2740_daily_bin724.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/591213/ft2_4FGL_J2256.0-2740_daily_bin724.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/591213/ft1_4FGL_J2256.0-2740_daily_bin724.fits outfile=/scratch/kocevski/591213/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin724.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=426988801.0 tmax=427248001.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.76
user 5.50
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/591213/ft1_filtered_4FGL_J2256.0-2740_daily_bin724.fits" evtable="EVENTS" scfile=/scratch/kocevski/591213/ft2_4FGL_J2256.0-2740_daily_bin724.fits sctable="SC_DATA" outfile=/scratch/kocevski/591213/ltcube_426988801_427248001_4FGL_J2256.0-2740_daily_bin724.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/591213/ft2_4FGL_J2256.0-2740_daily_bin724.fits
.....................!
real 12.10
user 11.79
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/591213/ft1_filtered_4FGL_J2256.0-2740_daily_bin724.fits evtable="EVENTS" scfile=/scratch/kocevski/591213/ft2_4FGL_J2256.0-2740_daily_bin724.fits sctable="SC_DATA" expcube=/scratch/kocevski/591213/ltcube_426988801_427248001_4FGL_J2256.0-2740_daily_bin724.fits outfile=/scratch/kocevski/591213/expmap_426988801_427248001_4FGL_J2256.0-2740_daily_bin724.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/591213/ltcube_426988801_427248001_4FGL_J2256.0-2740_daily_bin724.fits
.....................!
real 190.02
user 185.69
sys 4.00

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/591213/ft1_filtered_4FGL_J2256.0-2740_daily_bin724.fits scfile=/scratch/kocevski/591213/ft2_4FGL_J2256.0-2740_daily_bin724.fits outfile=/scratch/kocevski/591213/cmap_426988801_427248001_4FGL_J2256.0-2740_daily_bin724.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/591213/ft1_filtered_4FGL_J2256.0-2740_daily_bin724.fits scfile=/scratch/kocevski/591213/ft2_4FGL_J2256.0-2740_daily_bin724.fits outfile=/scratch/kocevski/591213/cmap_HighResolution_426988801_427248001_4FGL_J2256.0-2740_daily_bin724.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/591213/ft1_filtered_4FGL_J2256.0-2740_daily_bin724.fits evtable="EVENTS" scfile=/scratch/kocevski/591213/ft2_4FGL_J2256.0-2740_daily_bin724.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/591213/Model_4FGL_J2256.0-2740_daily_bin724.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/591213/ft1_filtered_4FGL_J2256.0-2740_daily_bin724.fits......................!
real 27.11
user 25.90
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.0319       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10199E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10191E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10666E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    93.647       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .38844E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    38.782       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10071E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    134.17       1.0000         .10000E-03   10000.    
    18 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    112.90       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .65734       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .96657       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=   2107.762     FROM MIGRAD    STATUS=CONVERGED    463 CALLS     2305 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.0320        28.794        .10927E-05   -.10015E-04
   2  Prefactor     .10000E-03    5.6607       -.18136E-06** at limit **
   3  norm          .10000E-03    15.871        .50593E-06** at limit **
   4  Prefactor     .10000E-03    66.195       -.10742E-05** at limit **
   5  Prefactor     .10000E-03    17.105        .14174E-05** at limit **
   6  norm          .10000E-03    3.3856        .21372E-05** at limit **
   7  Prefactor     93.710        91.280       -.17484E-05   -.82178E-04
   8  Prefactor     .10000E-03    34.583       -.61466E-06** at limit **
   9  norm          .10003E-03    5.3361        .10041E-05** at limit **
  10  Prefactor     .10000E-03    16.583        .71705E-06** at limit **
  11  Prefactor     .10000E-03    5.8480        .51675E-06** at limit **
  12  norm          .10000E-03    .37816        .17977E-06** at limit **
  13  Prefactor     .10000E-03    42.122        .77884E-07** at limit **
  14  Prefactor     38.793        45.198        .51899E-06    .11304E-04
  15  Prefactor     .10000E-03    9.7107        .29098E-06** at limit **
  16  norm          .10000E-03    9.4694       -.67399E-07** at limit **
  17  Prefactor     134.16        135.31        .89612E-06   -.20694E-04
  18  norm          .10000E-03    4.5290       -.66768E-07** at limit **
  19  Prefactor     .10000E-03    21.229       -.10614E-06** at limit **
  20  Prefactor     112.93        168.44        .39457E-06    .57914E-05
  21  Normalizat    .65689        .29988       -.28628E-05   -.97888E-04
  22  Prefactor     .96703        .25976        .91303E-06   -.21507E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.03203
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 93.7101
  Prefactor  = 0.0001
  norm       = 0.00010003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 38.7926
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 134.155
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 112.926
  Normalizat = 0.656887
  Prefactor  = 0.967029
 **********
 **   18 **HESSE 
 **********

 FCN=   2107.762     FROM HESSE     STATUS=OK           334 CALLS     2639 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.0320        28.809        .14147E-03   -1.5141    
   2  Prefactor     .10000E-03    5.6836        .10660E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    15.894        .17870E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    66.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    17.213        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.4402        .82256E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     93.710        92.739        .20765E-03   -1.3769    
   8  Prefactor     .10000E-03    34.948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10003E-03    25.026        .19498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    16.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.8616        .10848E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .38302        .27526E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    42.117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     38.793        45.201        .64362E-04   -1.4461    
  15  Prefactor     .10000E-03    9.7291        .13973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    9.4841        .13797E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     134.16        136.40        .17383E-03   -1.3386    
  18  norm          .10000E-03    4.6249        .95401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    21.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     112.93        168.49        .18930E-03   -1.3579    
  21  Normalizat    .65689        .36088        .27037E-03   -1.0562    
  22  Prefactor     .96703        .31797        .20704E-03   -.93837    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40107e-09
Minuit parameter uncertainties:
  1  28.8585
  2  8.56821e-06
  3  9.52088e-06
  4  2.12161e-05
  5  6.67183e-05
  6  1.31187e-05
  7  92.8832
  8  3.2003e-05
  9  0.00174739
  10  1.15023e-05
  11  5.20297e-06
  12  2.94502e-09
  13  0.000131167
  14  45.2405
  15  2.52441e-05
  16  2.93232e-05
  17  136.718
  18  2.09666e-06
  19  4.42481e-05
  20  169.213
  21  0.36219
  22  0.318588
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  5.203e-06  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.670e-01  3.186e-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:  6.569e-01  3.622e-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.85e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.48e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/591213/likelihoodResults_426988801_427248001_4FGL_J2256.0-2740_daily_bin724.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2107.7630172
delta logL = -0.000807685908512

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2107.76220952
delta logL = -2.47837306233e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0204       1.0000          .0000       10.000    
     3 'Normalizat'    .65689       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96704       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=   2107.762     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      248 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1103.0        .10850E-02** at limit **
   2  Index         2.8348        7.0084        .50000       -.64279E-07
   3  Normalizat    .65688        .14253        .27038E-03   -.12803E-04
   4  Prefactor     .96703        .13140        .20704E-03   -.14634E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.83476
  Normalizat = 0.656884
  Prefactor  = 0.967033
 **********
 **   18 **HESSE 
 **********

 FCN=   2107.762     FROM HESSE     STATUS=OK            29 CALLS      277 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.5796        .21700E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8348        6.7512        .50000       -.44787    
   3  Normalizat    .65688        .33797        .10815E-04   -1.0562    
   4  Prefactor     .96703        .31192        .82817E-05   -.93837    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.69619e-11
Minuit parameter uncertainties:
  1  6.38578e-05
  2  194.983
  3  0.339048
  4  0.312501
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/591213': 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) = 2107.76220944
delta logL = 7.99968802312e-08

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  6.386e-05  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.835e+00  1.950e+02  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.670e-01  3.125e-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:  6.569e-01  3.390e-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/591213/cmap_HighResolution_426988801_427248001_4FGL_J2256.0-2740_daily_bin724.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.48e-02', job_status='DONE', photon_flux_upper_limit='1.85e-07', time_completed='2021-09-29 02:50:59.459147', job_id='591213', GAL2='0.97', fit_tolerance='1e-08', EG2='0.66', EG='0.66', time_epoch_completed='1632909059.46', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='8.00e-08', ts2='-0.00', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='724' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:50:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 591213: <4FGL_J2256.0-2740_daily_bin724> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin724> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 02:40:55 2021
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:40:56 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 02:40:56 2021
Terminated at Wed Sep 29 02:51:00 2021
Results reported at Wed Sep 29 02:51:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin724 344.025 -27.6739 426988801 427248001 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 :                                   421.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             240.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   603 sec.
    Turnaround time :                            605 sec.

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

