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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin941
RA = 344.025, Dec = -27.6739
tmin = 483235201, tmax = 483494401
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='592558', job_status='RUN', time_executed='2021-09-29 02:47:58.472551', time_epoch_executed='1632908878.47' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='941'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592558

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592558/ft1_4FGL_J2256.0-2740_daily_bin941.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592558/ft2_4FGL_J2256.0-2740_daily_bin941.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592558/ft1_4FGL_J2256.0-2740_daily_bin941.fits outfile=/scratch/kocevski/592558/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin941.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=483235201.0 tmax=483494401.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.44
user 3.23
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592558/ft1_filtered_4FGL_J2256.0-2740_daily_bin941.fits" evtable="EVENTS" scfile=/scratch/kocevski/592558/ft2_4FGL_J2256.0-2740_daily_bin941.fits sctable="SC_DATA" outfile=/scratch/kocevski/592558/ltcube_483235201_483494401_4FGL_J2256.0-2740_daily_bin941.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/592558/ft2_4FGL_J2256.0-2740_daily_bin941.fits
.....................!
real 12.11
user 11.76
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592558/ft1_filtered_4FGL_J2256.0-2740_daily_bin941.fits evtable="EVENTS" scfile=/scratch/kocevski/592558/ft2_4FGL_J2256.0-2740_daily_bin941.fits sctable="SC_DATA" expcube=/scratch/kocevski/592558/ltcube_483235201_483494401_4FGL_J2256.0-2740_daily_bin941.fits outfile=/scratch/kocevski/592558/expmap_483235201_483494401_4FGL_J2256.0-2740_daily_bin941.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/592558/ltcube_483235201_483494401_4FGL_J2256.0-2740_daily_bin941.fits
.....................!
real 190.83
user 186.03
sys 4.44

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/592558/ft1_filtered_4FGL_J2256.0-2740_daily_bin941.fits scfile=/scratch/kocevski/592558/ft2_4FGL_J2256.0-2740_daily_bin941.fits outfile=/scratch/kocevski/592558/cmap_483235201_483494401_4FGL_J2256.0-2740_daily_bin941.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.56
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592558/ft1_filtered_4FGL_J2256.0-2740_daily_bin941.fits scfile=/scratch/kocevski/592558/ft2_4FGL_J2256.0-2740_daily_bin941.fits outfile=/scratch/kocevski/592558/cmap_HighResolution_483235201_483494401_4FGL_J2256.0-2740_daily_bin941.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=344.025 yref=-27.6739 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0347       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.9737       1.0000         .10000E-03   10000.    
     3 'norm      '    49.601       1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.100       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    52.360       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .64377       1.0000         .10000E-03   10000.    
     9 'norm      '    2.9391       1.0000         .10000E-03   10000.    
    10 'Prefactor '    30.327       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10342E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .73899       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.9028       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.3031       1.0000         .10000E-03   10000.    
    16 'norm      '    20.248       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11304E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10228E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .74160E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.5447       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0975       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .74690       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=   6530.345     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2430 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0359        10.472       -.15001E-05   -.30529E-03
   2  Prefactor     4.9742        5.5391        .26275E-05   -.11493E-02
   3  norm          49.603        23.746        .34995E-08    .44220E-05
   4  Prefactor     15.101        13.979        .79410E-07    .11201E-03
   5  Prefactor     .10000E-03    5.4283       -.29731E-07** at limit **
   6  norm          .10000E-03    .90324        .57376E-07** at limit **
   7  Prefactor     52.377        39.098        .79782E-06    .59717E-04
   8  Prefactor     .67568        7.7446       -.69200E-06    .83562E-04
   9  norm          2.9388        3.7118        .42855E-06   -.67346E-05
  10  Prefactor     30.319        16.489       -.14407E-05   -.56926E-03
  11  Prefactor     .10000E-03    10.983       -.50365E-06** at limit **
  12  norm          .73862        .59986        .20349E-06    .37527E-03
  13  Prefactor     .10000E-03    26.189       -.19477E-06** at limit **
  14  Prefactor     3.9028        6.0127        .15654E-05   -.50146E-03
  15  Prefactor     8.3025        8.9750       -.13515E-05   -.65552E-03
  16  norm          20.246        8.3284       -.11453E-05   -.12352E-02
  17  Prefactor     .10001E-03    110.34        .39201E-05** at limit **
  18  norm          .10000E-03    1.4260        .14839E-06** at limit **
  19  Prefactor     .10004E-03    21.098       -.34708E-06** at limit **
  20  Prefactor     7.5390        208.71        .20406E-06    .33460E-05
  21  Normalizat    1.0972        .17244        .34820E-06   -.10348E-04
  22  Prefactor     .74706        .16068       -.70297E-06    .38687E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.03587
  Prefactor  = 4.97422
  norm       = 49.6025
  Prefactor  = 15.1011
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 52.3771
  Prefactor  = 0.675678
  norm       = 2.93879
  Prefactor  = 30.319
  Prefactor  = 0.0001
  norm       = 0.73862
  Prefactor  = 0.0001
  Prefactor  = 3.90284
  Prefactor  = 8.30253
  norm       = 20.2462
  Prefactor  = 0.000100006
  norm       = 0.0001
  Prefactor  = 0.000100039
  Prefactor  = 7.53899
  Normalizat = 1.09721
  Prefactor  = 0.747062
 **********
 **   18 **HESSE 
 **********

 FCN=   6530.345     FROM HESSE     STATUS=OK           348 CALLS     2778 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0359        10.599        .17921E-03   -1.5259    
   2  Prefactor     4.9742        5.8802        .90164E-03   -1.5262    
   3  norm          49.603        23.739        .56940E-04   -1.4298    
   4  Prefactor     15.101        13.991        .10307E-03   -1.4931    
   5  Prefactor     .10000E-03    5.4544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .90737        .74628E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     52.377        38.990        .55427E-04   -1.4259    
   8  Prefactor     .67568        26.340        .41568E-02   -1.5544    
   9  norm          2.9388        3.6780        .15691E-03   -1.5365    
  10  Prefactor     30.319        16.761        .72756E-04   -1.4606    
  11  Prefactor     .10000E-03    11.153        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .73862        .58769        .47950E-04   -1.5536    
  13  Prefactor     .10000E-03    26.218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.9028        6.0926        .10211E-02   -1.5313    
  15  Prefactor     8.3025        9.1203        .13913E-03   -1.5132    
  16  norm          20.246        8.6242        .89011E-04   -1.4808    
  17  Prefactor     .10001E-03    113.20        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.3646        .18362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10004E-03    211.12        .69182E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.5390        206.85        .14600E-03   -1.5159    
  21  Normalizat    1.0972        .19909        .22235E-03   -.89842    
  22  Prefactor     .74706        .18685        .25889E-03   -1.0171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.27719e-09
Minuit parameter uncertainties:
  1  10.6025
  2  5.88092
  3  23.7438
  4  13.9943
  5  1.20047e-05
  6  9.10714e-07
  7  39.0094
  8  8.44078
  9  3.67829
  10  16.7633
  11  0.00013894
  12  0.587695
  13  3.73636e-05
  14  6.09354
  15  9.12183
  16  8.62469
  17  0.0016845
  18  6.60223e-06
  19  0.0057776
  20  79.2844
  21  0.199222
  22  0.187007
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  1.389e-04  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.471e-01  1.870e-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.097e+00  1.992e-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.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/592558/likelihoodResults_483235201_483494401_4FGL_J2256.0-2740_daily_bin941.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) = 6530.34568586
delta logL = -0.000428002518674

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6530.3452579
delta logL = -4.27698978456e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0042       1.0000          .0000       10.000    
     3 'Normalizat'    1.0973       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74703       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=   6530.345     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      256 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1539.0        .36285E-02** at limit **
   2  Index         2.5727        7.6451        .50000       -.49704E-07
   3  Normalizat    1.0972        .50070E-01    .22235E-03   -.16850E-03
   4  Prefactor     .74706        .49092E-01    .25889E-03   -.13916E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.57269
  Normalizat = 1.09721
  Prefactor  = 0.747061
 **********
 **   18 **HESSE 
 **********

 FCN=   6530.345     FROM HESSE     STATUS=OK            29 CALLS      285 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.988        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5727        7.7590        .50000       -.50689    
   3  Normalizat    1.0972        .18863        .44471E-04   -.89842    
   4  Prefactor     .74706        .18550        .10356E-04   -1.0171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40002e-11
Minuit parameter uncertainties:
  1  1.00547e-05
  2  96.8269
  3  0.188748
  4  0.185654
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592558': 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) = 6530.34525691
delta logL = 9.48473825702e-07

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  1.005e-05  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.573e+00  9.683e+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:  7.471e-01  1.857e-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.097e+00  1.887e-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/592558/cmap_HighResolution_483235201_483494401_4FGL_J2256.0-2740_daily_bin941.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.53e-03', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2021-09-29 02:59:05.685673', job_id='592558', GAL2='0.75', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1632909545.69', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='9.48e-07', ts2='-0.00', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='941' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:59:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 592558: <4FGL_J2256.0-2740_daily_bin941> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin941 344.025 -27.6739 483235201 483494401 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 :                                   642.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            811 sec.

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

