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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1050
RA = 344.025, Dec = -27.6739
tmin = 511488001, tmax = 511747201
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='592722', job_status='RUN', time_executed='2021-09-29 02:46:23.759154', time_epoch_executed='1632908783.76' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1050'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592722

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592722/ft1_4FGL_J2256.0-2740_daily_bin1050.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592722/ft2_4FGL_J2256.0-2740_daily_bin1050.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592722/ft1_4FGL_J2256.0-2740_daily_bin1050.fits outfile=/scratch/kocevski/592722/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1050.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=511488001.0 tmax=511747201.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.50
user 3.29
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592722/ft1_filtered_4FGL_J2256.0-2740_daily_bin1050.fits" evtable="EVENTS" scfile=/scratch/kocevski/592722/ft2_4FGL_J2256.0-2740_daily_bin1050.fits sctable="SC_DATA" outfile=/scratch/kocevski/592722/ltcube_511488001_511747201_4FGL_J2256.0-2740_daily_bin1050.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/592722/ft2_4FGL_J2256.0-2740_daily_bin1050.fits
.....................!
real 11.90
user 11.52
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592722/ft1_filtered_4FGL_J2256.0-2740_daily_bin1050.fits evtable="EVENTS" scfile=/scratch/kocevski/592722/ft2_4FGL_J2256.0-2740_daily_bin1050.fits sctable="SC_DATA" expcube=/scratch/kocevski/592722/ltcube_511488001_511747201_4FGL_J2256.0-2740_daily_bin1050.fits outfile=/scratch/kocevski/592722/expmap_511488001_511747201_4FGL_J2256.0-2740_daily_bin1050.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/592722/ltcube_511488001_511747201_4FGL_J2256.0-2740_daily_bin1050.fits
.....................!
real 190.46
user 185.73
sys 4.41

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/592722/ft1_filtered_4FGL_J2256.0-2740_daily_bin1050.fits scfile=/scratch/kocevski/592722/ft2_4FGL_J2256.0-2740_daily_bin1050.fits outfile=/scratch/kocevski/592722/cmap_511488001_511747201_4FGL_J2256.0-2740_daily_bin1050.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=344.025 yref=-27.6739 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.35
sys 0.16

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

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/592722/ft1_filtered_4FGL_J2256.0-2740_daily_bin1050.fits evtable="EVENTS" scfile=/scratch/kocevski/592722/ft2_4FGL_J2256.0-2740_daily_bin1050.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/592722/Model_4FGL_J2256.0-2740_daily_bin1050.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/592722/ft1_filtered_4FGL_J2256.0-2740_daily_bin1050.fits.....................!
real 52.55
user 51.30
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31847E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.822       1.0000         .10000E-03   10000.    
     3 'norm      '    32.246       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.6078       1.0000         .10000E-03   10000.    
     6 'norm      '    .14049E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    23.275       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.4871       1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.136       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .24093E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.162       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    31.649       1.0000         .10000E-03   10000.    
    20 'Prefactor '    107.80       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .99540       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .74714       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=   7004.816     FROM MIGRAD    STATUS=CONVERGED    842 CALLS     3073 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    75.997        .42430E-02** at limit **
   2  Prefactor     18.823        8.1792        .92318E-04   -.70686E-04
   3  norm          32.237        17.563        .35281E-03   -.14177E-03
   4  Prefactor     .10000E-03    25.863        .18142E-02** at limit **
   5  Prefactor     3.6065        7.7269        .21272E-03   -.27497E-03
   6  norm          .10001E-03    2.7572        .16571E-02** at limit **
   7  Prefactor     23.195        30.714        .83027E-04   -.49450E-03
   8  Prefactor     .10000E-03    3.4917        .15227E-02** at limit **
   9  norm          3.4894        3.3953        .13926E-03    .56338E-03
  10  Prefactor     15.156        9.8756        .10295E-03    .10471E-02
  11  Prefactor     .10000E-03    27.634        .24830E-02** at limit **
  12  norm          .10000E-03    .28493        .63604E-03** at limit **
  13  Prefactor     .10000E-03    31.807        .18142E-02** at limit **
  14  Prefactor     17.161        11.823        .96681E-04    .10936E-04
  15  Prefactor     .10000E-03    3.8261        .15890E-02** at limit **
  16  norm          .10000E-03    1.3832        .96090E-03** at limit **
  17  Prefactor     .10000E-03    7.8379        .18142E-02** at limit **
  18  norm          .10000E-03    .62307        .64302E-03** at limit **
  19  Prefactor     31.640        21.510        .71223E-04    .15802E-04
  20  Prefactor     107.72        84.809        .19368E-03    .95855E-04
  21  Normalizat    .99550        .17124        .21450E-03    .50610E-03
  22  Prefactor     .74712        .16509        .24182E-03    .21381E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100021
  Prefactor  = 18.8225
  norm       = 32.2372
  Prefactor  = 0.000100001
  Prefactor  = 3.60654
  norm       = 0.000100006
  Prefactor  = 23.1951
  Prefactor  = 0.0001
  norm       = 3.48945
  Prefactor  = 15.1559
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.1606
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 31.6402
  Prefactor  = 107.718
  Normalizat = 0.995505
  Prefactor  = 0.747115
 **********
 **   18 **HESSE 
 **********

 FCN=   7004.816     FROM HESSE     STATUS=OK           320 CALLS     3393 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    78.367        .16972E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.823        8.1791        .36927E-05   -1.4840    
   3  norm          32.237        17.563        .70563E-04   -1.4572    
   4  Prefactor     .10000E-03    25.878        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.6065        7.7253        .85090E-05   -1.5328    
   6  norm          .10001E-03    2.7694        .33143E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     23.195        30.656        .16605E-04   -1.4744    
   8  Prefactor     .10000E-03    3.4923        .30454E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.4894        3.3943        .55704E-05   -1.5334    
  10  Prefactor     15.156        9.8533        .20590E-04   -1.4929    
  11  Prefactor     .10000E-03    27.939        .49660E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .28530        .12721E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    31.812        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.161        11.824        .38672E-05   -1.4879    
  15  Prefactor     .10000E-03    3.8274        .31779E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.3832        .19218E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.8380        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .62308        .12860E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     31.640        21.511        .28489E-05   -1.4582    
  20  Prefactor     107.72        84.803        .77472E-05   -1.3628    
  21  Normalizat    .99550        .17135        .42899E-04   -.93181    
  22  Prefactor     .74712        .16522        .96729E-05   -1.0171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.92079e-09
Minuit parameter uncertainties:
  1  0.00255671
  2  8.17959
  3  17.5658
  4  0.000307803
  5  7.72742
  6  0.000260618
  7  30.6765
  8  1.92138e-05
  9  3.39447
  10  9.85438
  11  0.000564178
  12  2.0336e-06
  13  9.66388e-05
  14  11.8254
  15  1.23077e-05
  16  1.97665e-06
  17  3.68214e-07
  18  3.6192e-06
  19  21.5162
  20  84.899
  21  0.171447
  22  0.165325
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  5.642e-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.653e-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.955e-01  1.714e-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: 7.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/592722/likelihoodResults_511488001_511747201_4FGL_J2256.0-2740_daily_bin1050.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) = 7004.81623092
delta logL = -0.000172377710442

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7004.78526984
delta logL = 0.0307887015315

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12987       1.0000         .10000E-03   10000.    
     2 'Index     '    6.9718       1.0000          .0000       10.000    
     3 'Normalizat'    .98308       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75512       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=   7004.785     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      321 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12933        89.653        .89161E-03   -.38930E-02
   2  Index         6.9749        8.2436        .65374E-01   -.49955E-04
   3  Normalizat    .98314        .76313E-01    .21567E-03   -.85588E-03
   4  Prefactor     .75508        .73086E-01    .24067E-03   -.48618E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.129332
  Index      = 6.97486
  Normalizat = 0.983141
  Prefactor  = 0.755084
 **********
 **   18 **HESSE 
 **********

 FCN=   7004.785     FROM HESSE     STATUS=OK            27 CALLS      348 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12933        4.8409        .35664E-04   -1.5636    
   2  Index         6.9749        6.6910        .26149E-02    .40604    
   3  Normalizat    .98314        .17278        .43134E-04   -.93597    
   4  Prefactor     .75508        .16759        .48134E-04   -1.0141    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95605e-09
Minuit parameter uncertainties:
  1  1.58203
  2  14.9855
  3  0.172875
  4  0.167699
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592722': 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) = 7004.78526968
delta logL = 0.0307888662819

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.293e-01  1.582e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  6.975e+00  1.499e+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.551e-01  1.677e-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.831e-01  1.729e-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/592722/cmap_HighResolution_511488001_511747201_4FGL_J2256.0-2740_daily_bin1050.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.17e-03', job_status='DONE', photon_flux_upper_limit='7.70e-08', time_completed='2021-09-29 02:58:30.734217', job_id='592722', GAL2='0.76', fit_tolerance='1e-08', EG2='0.98', EG='1.00', time_epoch_completed='1632909510.73', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='3.08e-02', ts2='0.07', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='1050' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:58:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 592722: <4FGL_J2256.0-2740_daily_bin1050> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1050> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:45:46 2021
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:45:47 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:47 2021
Terminated at Wed Sep 29 02:58:31 2021
Results reported at Wed Sep 29 02:58:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1050 344.025 -27.6739 511488001 511747201 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 :                                   723.22 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             308.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   763 sec.
    Turnaround time :                            765 sec.

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

