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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin839
RA = 344.025, Dec = -27.6739
tmin = 456796801, tmax = 457056001
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='592406', job_status='RUN', time_executed='2021-09-29 02:48:51.550241', time_epoch_executed='1632908931.55' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='839'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592406

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592406/ft1_4FGL_J2256.0-2740_daily_bin839.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592406/ft2_4FGL_J2256.0-2740_daily_bin839.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592406/ft1_4FGL_J2256.0-2740_daily_bin839.fits outfile=/scratch/kocevski/592406/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin839.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=456796801.0 tmax=457056001.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 3.32
user 3.11
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/592406/ft2_4FGL_J2256.0-2740_daily_bin839.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/592406/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin839.fits evtable="EVENTS" outfile="/scratch/kocevski/592406/ft1_filtered_4FGL_J2256.0-2740_daily_bin839.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.53
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592406/ft1_filtered_4FGL_J2256.0-2740_daily_bin839.fits" evtable="EVENTS" scfile=/scratch/kocevski/592406/ft2_4FGL_J2256.0-2740_daily_bin839.fits sctable="SC_DATA" outfile=/scratch/kocevski/592406/ltcube_456796801_457056001_4FGL_J2256.0-2740_daily_bin839.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/592406/ft2_4FGL_J2256.0-2740_daily_bin839.fits
.....................!
real 11.72
user 11.33
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592406/ft1_filtered_4FGL_J2256.0-2740_daily_bin839.fits evtable="EVENTS" scfile=/scratch/kocevski/592406/ft2_4FGL_J2256.0-2740_daily_bin839.fits sctable="SC_DATA" expcube=/scratch/kocevski/592406/ltcube_456796801_457056001_4FGL_J2256.0-2740_daily_bin839.fits outfile=/scratch/kocevski/592406/expmap_456796801_457056001_4FGL_J2256.0-2740_daily_bin839.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/592406/ltcube_456796801_457056001_4FGL_J2256.0-2740_daily_bin839.fits
.....................!
real 190.48
user 185.65
sys 4.47

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/592406/ft1_filtered_4FGL_J2256.0-2740_daily_bin839.fits scfile=/scratch/kocevski/592406/ft2_4FGL_J2256.0-2740_daily_bin839.fits outfile=/scratch/kocevski/592406/cmap_456796801_457056001_4FGL_J2256.0-2740_daily_bin839.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592406/ft1_filtered_4FGL_J2256.0-2740_daily_bin839.fits scfile=/scratch/kocevski/592406/ft2_4FGL_J2256.0-2740_daily_bin839.fits outfile=/scratch/kocevski/592406/cmap_HighResolution_456796801_457056001_4FGL_J2256.0-2740_daily_bin839.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.57
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/592406/ft1_filtered_4FGL_J2256.0-2740_daily_bin839.fits evtable="EVENTS" scfile=/scratch/kocevski/592406/ft2_4FGL_J2256.0-2740_daily_bin839.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/592406/Model_4FGL_J2256.0-2740_daily_bin839.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/592406/ft1_filtered_4FGL_J2256.0-2740_daily_bin839.fits.....................!
real 54.30
user 52.71
sys 1.33

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.1808       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.2231       1.0000         .10000E-03   10000.    
     6 'norm      '    6.0747       1.0000         .10000E-03   10000.    
     7 'Prefactor '    27.102       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .17205       1.0000         .10000E-03   10000.    
    12 'norm      '    .50604       1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.134       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    17.714       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.7478       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .15674E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .90976       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .77687       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=   7158.074     FROM MIGRAD    STATUS=CONVERGED    521 CALLS     2490 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.2125       -.34863E-06** at limit **
   2  Prefactor     3.1818        3.7466        .35518E-08   -.14286E-03
   3  norm          .10000E-03    4.8576        .51383E-07** at limit **
   4  Prefactor     .10000E-03    13.455        .38747E-06** at limit **
   5  Prefactor     8.2267        9.3044        .21033E-06   -.34626E-04
   6  norm          6.0752        2.5353       -.48321E-06   -.20856E-02
   7  Prefactor     27.035        39.307        .26398E-05    .10389E-03
   8  Prefactor     .10000E-03    3.8722        .26281E-06** at limit **
   9  norm          .10000E-03    1.5000        .49374E-06** at limit **
  10  Prefactor     .10000E-03    8.9933       -.47432E-06** at limit **
  11  Prefactor     .29117        38.189        .13940E-04   -.27080E-04
  12  norm          .50141        .47767       -.75168E-07    .48846E-03
  13  Prefactor     21.072        54.581        .23981E-05    .81212E-04
  14  Prefactor     .10000E-03    2.8940       -.15381E-06** at limit **
  15  Prefactor     .10000E-03    3.6959       -.22145E-06** at limit **
  16  norm          17.716        7.7304        .59636E-07   -.60696E-04
  17  Prefactor     .10000E-03    28.753       -.11454E-05** at limit **
  18  norm          3.7515        2.7292        .49734E-06    .10809E-02
  19  Prefactor     .10005E-03    23.559        .46226E-05** at limit **
  20  Prefactor     .10000E-03    54.714       -.11051E-05** at limit **
  21  Normalizat    .90912        .16609       -.68094E-05    .38020E-03
  22  Prefactor     .77737        .15617        .73298E-05    .94876E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.18179
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.22672
  norm       = 6.07516
  Prefactor  = 27.0354
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.291173
  norm       = 0.501405
  Prefactor  = 21.0718
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 17.716
  Prefactor  = 0.000100001
  norm       = 3.75154
  Prefactor  = 0.000100048
  Prefactor  = 0.000100003
  Normalizat = 0.909121
  Prefactor  = 0.777369
 **********
 **   18 **HESSE 
 **********

 FCN=   7158.074     FROM HESSE     STATUS=OK           344 CALLS     2834 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.2325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.1818        3.7432        .17229E-03   -1.5351    
   3  norm          .10000E-03    4.8630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.2267        9.2918        .13981E-03   -1.5134    
   6  norm          6.0752        2.5829        .73460E-04   -1.5215    
   7  Prefactor     27.035        39.772        .76952E-04   -1.4668    
   8  Prefactor     .10000E-03    3.9022        .16268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.5428        .19269E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.1084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .29117        47.655        .24835E-02   -1.5600    
  12  norm          .50141        .52263        .43661E-03   -1.5566    
  13  Prefactor     21.072        54.772        .87126E-04   -1.4790    
  14  Prefactor     .10000E-03    2.8994        .14058E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.7365        .15871E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          17.716        7.7314        .95163E-04   -1.4866    
  17  Prefactor     .10000E-03    28.981        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.7515        2.6597        .11092E-03   -1.5321    
  19  Prefactor     .10005E-03    127.10        .69103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    54.907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .90912        .16862        .21482E-03   -.96140    
  22  Prefactor     .77737        .15789        .22896E-03   -1.0057    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18665e-08
Minuit parameter uncertainties:
  1  3.7982e-05
  2  3.74343
  3  7.24247e-06
  4  0.000114258
  5  9.29346
  6  2.58299
  7  39.8109
  8  4.74901e-05
  9  0.000100063
  10  6.82767e-05
  11  7.45485
  12  0.522634
  13  54.9028
  14  1.11188e-05
  15  8.32953e-06
  16  7.73187
  17  0.000315922
  18  2.65982
  19  0.00497482
  20  0.00079774
  21  0.168718
  22  0.157983
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  2.912e-01  7.455e+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

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  7.774e-01  1.580e-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.091e-01  1.687e-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.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/592406/likelihoodResults_456796801_457056001_4FGL_J2256.0-2740_daily_bin839.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) = 7158.07352963
delta logL = 2.94880910587e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7158.07278702
delta logL = 0.000772096151195

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32615       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7267       1.0000          .0000       10.000    
     3 'Normalizat'    .90932       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77703       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=   7158.073     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      265 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35607        161.94        .79032E-01    .33054E-03
   2  Index         2.7663        6.5730        .50000        .12350E-05
   3  Normalizat    .90909        .39506E-01    .45021E-01    .53325E-05
   4  Prefactor     .77723        .35678E-01    .43418E-01    .71398E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.356067
  Index      = 2.76627
  Normalizat = 0.909095
  Prefactor  = 0.777226
 **********
 **   18 **HESSE 
 **********

 FCN=   7158.073     FROM HESSE     STATUS=OK            35 CALLS      300 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35607        19.112        .24926E-02   -1.5589    
   2  Index         2.7663        6.3548        .27997E-01   -.46313    
   3  Normalizat    .90909        .15847        .21482E-03   -.96141    
   4  Prefactor     .77723        .15560        .22897E-03   -1.0057    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52773e-08
Minuit parameter uncertainties:
  1  5.21838
  2  5.62858
  3  0.158554
  4  0.155689
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592406': 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) = 7158.07274823
delta logL = 0.000810881773759

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  3.561e-01  5.218e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.766e+00  5.629e+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:  7.772e-01  1.557e-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.091e-01  1.586e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/592406/cmap_HighResolution_456796801_457056001_4FGL_J2256.0-2740_daily_bin839.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.59e-03', job_status='DONE', photon_flux_upper_limit='8.23e-08', time_completed='2021-09-29 03:00:20.619886', job_id='592406', GAL2='0.78', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1632909620.62', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='8.11e-04', ts2='0.01', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='839' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:00:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 592406: <4FGL_J2256.0-2740_daily_bin839> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin839> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:45:23 2021
Job was executed on host(s) <bullet0117>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:45:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 02:45:24 2021
Terminated at Wed Sep 29 03:00:20 2021
Results reported at Wed Sep 29 03:00:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin839 344.025 -27.6739 456796801 457056001 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 :                                   685.03 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             254.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   896 sec.
    Turnaround time :                            897 sec.

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

