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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin686
RA = 344.025, Dec = -27.6739
tmin = 417139201, tmax = 417398401
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='591166', job_status='RUN', time_executed='2021-09-29 02:44:28.352784', time_epoch_executed='1632908668.35' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='686'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/591166

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/591166/ft1_4FGL_J2256.0-2740_daily_bin686.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/591166/ft2_4FGL_J2256.0-2740_daily_bin686.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/591166/ft1_4FGL_J2256.0-2740_daily_bin686.fits outfile=/scratch/kocevski/591166/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin686.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=417139201.0 tmax=417398401.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.47
user 5.21
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/591166/ft1_filtered_4FGL_J2256.0-2740_daily_bin686.fits" evtable="EVENTS" scfile=/scratch/kocevski/591166/ft2_4FGL_J2256.0-2740_daily_bin686.fits sctable="SC_DATA" outfile=/scratch/kocevski/591166/ltcube_417139201_417398401_4FGL_J2256.0-2740_daily_bin686.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/591166/ft2_4FGL_J2256.0-2740_daily_bin686.fits
.....................!
real 12.17
user 11.80
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/591166/ft1_filtered_4FGL_J2256.0-2740_daily_bin686.fits evtable="EVENTS" scfile=/scratch/kocevski/591166/ft2_4FGL_J2256.0-2740_daily_bin686.fits sctable="SC_DATA" expcube=/scratch/kocevski/591166/ltcube_417139201_417398401_4FGL_J2256.0-2740_daily_bin686.fits outfile=/scratch/kocevski/591166/expmap_417139201_417398401_4FGL_J2256.0-2740_daily_bin686.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/591166/ltcube_417139201_417398401_4FGL_J2256.0-2740_daily_bin686.fits
.....................!
real 189.80
user 185.08
sys 4.36

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/591166/ft1_filtered_4FGL_J2256.0-2740_daily_bin686.fits scfile=/scratch/kocevski/591166/ft2_4FGL_J2256.0-2740_daily_bin686.fits outfile=/scratch/kocevski/591166/cmap_417139201_417398401_4FGL_J2256.0-2740_daily_bin686.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/591166/ft1_filtered_4FGL_J2256.0-2740_daily_bin686.fits scfile=/scratch/kocevski/591166/ft2_4FGL_J2256.0-2740_daily_bin686.fits outfile=/scratch/kocevski/591166/cmap_HighResolution_417139201_417398401_4FGL_J2256.0-2740_daily_bin686.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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/591166/ft1_filtered_4FGL_J2256.0-2740_daily_bin686.fits evtable="EVENTS" scfile=/scratch/kocevski/591166/ft2_4FGL_J2256.0-2740_daily_bin686.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/591166/Model_4FGL_J2256.0-2740_daily_bin686.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/591166/ft1_filtered_4FGL_J2256.0-2740_daily_bin686.fits......................!
real 28.64
user 27.33
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7716       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.490       1.0000         .10000E-03   10000.    
     3 'norm      '    25.291       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    109.59       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10239E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.481       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    183.24       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10419E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.189       1.0000         .10000E-03   10000.    
    16 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    15.899       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11585E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    223.84       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .55115       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1209       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=   2365.251     FROM MIGRAD    STATUS=CONVERGED    460 CALLS     2362 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7533        18.137        .77666E-06   -.11947E-04
   2  Prefactor     10.489        13.817        .87924E-07   -.17337E-04
   3  norm          25.289        36.257        .67347E-06   -.34045E-04
   4  Prefactor     .10000E-03    13.335        .25008E-06** at limit **
   5  Prefactor     .10000E-03    38.529        .46923E-05** at limit **
   6  norm          .10000E-03    2.3361        .51732E-06** at limit **
   7  Prefactor     109.59        96.997       -.20272E-05   -.68640E-04
   8  Prefactor     .10000E-03    18.573        .11042E-05** at limit **
   9  norm          .10000E-03    3.8753        .19683E-06** at limit **
  10  Prefactor     13.471        20.200        .37924E-06   -.43823E-04
  11  Prefactor     .10000E-03    6.4328        .25704E-06** at limit **
  12  norm          .10000E-03    .46026        .10626E-06** at limit **
  13  Prefactor     183.24        150.83       -.21047E-05   -.20518E-05
  14  Prefactor     .10000E-03    38.732        .14777E-05** at limit **
  15  Prefactor     13.191        15.786       -.28181E-07   -.43316E-04
  16  norm          .10000E-03    17.406        .30386E-06** at limit **
  17  Prefactor     .10000E-03    86.723       -.42771E-06** at limit **
  18  norm          15.894        10.592       -.64852E-07    .47166E-04
  19  Prefactor     .10002E-03    119.12       -.21397E-04** at limit **
  20  Prefactor     222.60        287.00       -.45826E-05   -.23040E-04
  21  Normalizat    .55137        .33986        .14999E-04   -.11650E-03
  22  Prefactor     1.1209        .29920       -.10180E-04    .24646E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.75331
  Prefactor  = 10.4886
  norm       = 25.2894
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 109.593
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.4715
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 183.242
  Prefactor  = 0.0001
  Prefactor  = 13.191
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 15.8943
  Prefactor  = 0.000100023
  Prefactor  = 222.603
  Normalizat = 0.551369
  Prefactor  = 1.12087
 **********
 **   18 **HESSE 
 **********

 FCN=   2365.251     FROM HESSE     STATUS=OK           338 CALLS     2700 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7533        18.119        .15419E-03   -1.5188    
   2  Prefactor     10.489        13.815        .12371E-03   -1.5060    
   3  norm          25.289        36.251        .79654E-04   -1.4702    
   4  Prefactor     .10000E-03    13.337        .17349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    39.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.3570        .72458E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     109.59        96.922        .38421E-04   -1.3610    
   8  Prefactor     .10000E-03    18.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.8849        .93281E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.471        20.108        .10909E-03   -1.4974    
  11  Prefactor     .10000E-03    6.4397        .12042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .46576        .32035E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     183.24        151.00        .14912E-03   -1.2992    
  14  Prefactor     .10000E-03    39.123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.191        15.742        .11029E-03   -1.4981    
  16  norm          .10000E-03    17.489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    86.785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          15.894        10.588        .10045E-03   -1.4910    
  19  Prefactor     .10002E-03    125.80        .20663E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     222.60        287.48        .13520E-03   -1.2713    
  21  Normalizat    .55137        .35026        .32308E-03   -1.1009    
  22  Prefactor     1.1209        .30934        .21157E-03   -.88802    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.63265e-10
Minuit parameter uncertainties:
  1  18.1336
  2  13.8187
  3  36.2828
  4  7.58242e-06
  5  0.000352974
  6  1.79372e-05
  7  97.0628
  8  2.73902e-05
  9  3.4038e-06
  10  20.1177
  11  2.42493e-08
  12  5.55997e-07
  13  151.322
  14  0.000200047
  15  15.7467
  16  1.36425e-05
  17  0.000136445
  18  10.5889
  19  0.00343201
  20  289.327
  21  0.351671
  22  0.309839
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  2.425e-08  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.023e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  2.384e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  1.121e+00  3.098e-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:  5.514e-01  3.517e-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.91e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.53e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/591166/likelihoodResults_417139201_417398401_4FGL_J2256.0-2740_daily_bin686.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) = 2365.25177366
delta logL = -0.000732178255475

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2365.25104148
delta logL = -2.29010765906e-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.0251       1.0000          .0000       10.000    
     3 'Normalizat'    .55136       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1209       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=   2365.251     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      246 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1248.8        .12044E-02** at limit **
   2  Index         3.4529        7.3888        .50000       -.32526E-07
   3  Normalizat    .55137        .15252        .32302E-03   -.15046E-03
   4  Prefactor     1.1209        .13971        .21158E-03   -.23211E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 3.4529
  Normalizat = 0.551374
  Prefactor  = 1.12087
 **********
 **   18 **HESSE 
 **********

 FCN=   2365.251     FROM HESSE     STATUS=OK            29 CALLS      275 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.2413        .24088E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.4529        7.6432        .50000       -.31458    
   3  Normalizat    .55137        .32933        .12921E-04   -1.1009    
   4  Prefactor     1.1209        .30217        .42316E-04   -.88802    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32828e-10
Minuit parameter uncertainties:
  1  5.87753e-05
  2  442.6
  3  0.330503
  4  0.302636
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/591166': 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) = 2365.25104132
delta logL = 1.58932380145e-07

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  5.878e-05  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.453e+00  4.426e+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:  1.121e+00  3.026e-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:  5.514e-01  3.305e-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/591166/cmap_HighResolution_417139201_417398401_4FGL_J2256.0-2740_daily_bin686.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.53e-02', job_status='DONE', photon_flux_upper_limit='1.91e-07', time_completed='2021-09-29 02:51:43.553087', job_id='591166', GAL2='1.12', fit_tolerance='1e-08', EG2='0.55', EG='0.55', time_epoch_completed='1632909103.55', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.59e-07', ts2='-0.00', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='686' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:51:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 591166: <4FGL_J2256.0-2740_daily_bin686> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin686> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 02:40:51 2021
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:40:53 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:53 2021
Terminated at Wed Sep 29 02:51:44 2021
Results reported at Wed Sep 29 02:51:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin686 344.025 -27.6739 417139201 417398401 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 :                                   433.13 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             228.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   650 sec.
    Turnaround time :                            653 sec.

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

