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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin469
RA = 344.025, Dec = -27.6739
tmin = 360892801, tmax = 361152001
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='590826', job_status='RUN', time_executed='2021-09-29 02:42:44.088325', time_epoch_executed='1632908564.09' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='469'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/590826

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/590826/ft1_4FGL_J2256.0-2740_daily_bin469.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/590826/ft2_4FGL_J2256.0-2740_daily_bin469.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/590826/ft1_4FGL_J2256.0-2740_daily_bin469.fits outfile=/scratch/kocevski/590826/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin469.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=360892801.0 tmax=361152001.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.53
user 3.30
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/590826/ft1_filtered_4FGL_J2256.0-2740_daily_bin469.fits" evtable="EVENTS" scfile=/scratch/kocevski/590826/ft2_4FGL_J2256.0-2740_daily_bin469.fits sctable="SC_DATA" outfile=/scratch/kocevski/590826/ltcube_360892801_361152001_4FGL_J2256.0-2740_daily_bin469.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/590826/ft2_4FGL_J2256.0-2740_daily_bin469.fits
.....................!
real 11.92
user 11.56
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/590826/ft1_filtered_4FGL_J2256.0-2740_daily_bin469.fits evtable="EVENTS" scfile=/scratch/kocevski/590826/ft2_4FGL_J2256.0-2740_daily_bin469.fits sctable="SC_DATA" expcube=/scratch/kocevski/590826/ltcube_360892801_361152001_4FGL_J2256.0-2740_daily_bin469.fits outfile=/scratch/kocevski/590826/expmap_360892801_361152001_4FGL_J2256.0-2740_daily_bin469.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/590826/ltcube_360892801_361152001_4FGL_J2256.0-2740_daily_bin469.fits
.....................!
real 191.03
user 185.98
sys 4.67

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/590826/ft1_filtered_4FGL_J2256.0-2740_daily_bin469.fits scfile=/scratch/kocevski/590826/ft2_4FGL_J2256.0-2740_daily_bin469.fits outfile=/scratch/kocevski/590826/cmap_360892801_361152001_4FGL_J2256.0-2740_daily_bin469.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/590826/ft1_filtered_4FGL_J2256.0-2740_daily_bin469.fits scfile=/scratch/kocevski/590826/ft2_4FGL_J2256.0-2740_daily_bin469.fits outfile=/scratch/kocevski/590826/cmap_HighResolution_360892801_361152001_4FGL_J2256.0-2740_daily_bin469.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/590826/ft1_filtered_4FGL_J2256.0-2740_daily_bin469.fits evtable="EVENTS" scfile=/scratch/kocevski/590826/ft2_4FGL_J2256.0-2740_daily_bin469.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/590826/Model_4FGL_J2256.0-2740_daily_bin469.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/590826/ft1_filtered_4FGL_J2256.0-2740_daily_bin469.fits.....................!
real 55.20
user 53.78
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.469       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10087E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.649       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.5616       1.0000         .10000E-03   10000.    
     6 'norm      '    1.4936       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10597E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    20.305       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12249E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.9032       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .16046E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .45246E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .11731E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.9808       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .91259       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0784       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=   7422.659     FROM MIGRAD    STATUS=CONVERGED    483 CALLS     2033 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.470        11.534        .30959E-02   -.63662E-04
   2  Prefactor     .10000E-03    1.7005        .90712E-02** at limit **
   3  norm          .10002E-03    19.044        .90712E-02** at limit **
   4  Prefactor     10.647        10.977        .30694E-02    .91152E-05
   5  Prefactor     8.5639        9.4717        .34250E-02    .84757E-04
   6  norm          1.4943        1.5904        .87664E-02    .66543E-03
   7  Prefactor     .10001E-03    35.816        .90712E-02** at limit **
   8  Prefactor     .10000E-03    4.3375        .90712E-02** at limit **
   9  norm          20.307        5.8747        .22222E-02   -.35838E-03
  10  Prefactor     .10001E-03    17.501        .90712E-02** at limit **
  11  Prefactor     .10000E-03    10.953        .90712E-02** at limit **
  12  norm          3.9048        .92847        .51055E-02   -.72507E-03
  13  Prefactor     .10042E-03    116.71        .10208E-01** at limit **
  14  Prefactor     .10000E-03    4.4212        .90712E-02** at limit **
  15  Prefactor     .10007E-03    6.9906        .76719E-01** at limit **
  16  norm          .10000E-03    2.7323        .90712E-02** at limit **
  17  Prefactor     .10002E-03    19.684        .90712E-02** at limit **
  18  norm          .10000E-03    1.2169        .36736E-01** at limit **
  19  Prefactor     1.9317        42.987        .73623E-02   -.78012E-03
  20  Prefactor     .10002E-03    21.396        .90712E-02** at limit **
  21  Normalizat    .91249        .16479        .45062E-01    .49467E-04
  22  Prefactor     1.0784        .16345        .38472E-01    .27895E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.4696
  Prefactor  = 0.0001
  norm       = 0.000100022
  Prefactor  = 10.6471
  Prefactor  = 8.56387
  norm       = 1.4943
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  norm       = 20.3069
  Prefactor  = 0.000100013
  Prefactor  = 0.000100001
  norm       = 3.90478
  Prefactor  = 0.000100416
  Prefactor  = 0.0001
  Prefactor  = 0.000100074
  norm       = 0.0001
  Prefactor  = 0.000100017
  norm       = 0.0001
  Prefactor  = 1.93171
  Prefactor  = 0.000100022
  Normalizat = 0.912493
  Prefactor  = 1.0784
 **********
 **   18 **HESSE 
 **********

 FCN=   7422.659     FROM HESSE     STATUS=OK           342 CALLS     2375 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.470        11.530        .12383E-03   -1.5061    
   2  Prefactor     .10000E-03    1.7178        .10971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10002E-03    19.117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.647        10.977        .12278E-03   -1.5055    
   5  Prefactor     8.5639        9.4650        .13700E-03   -1.5123    
   6  norm          1.4943        1.5757        .10823E-03   -1.5463    
   7  Prefactor     .10001E-03    35.961        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.3708        .17519E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          20.307        5.8907        .88886E-04   -1.4806    
  10  Prefactor     .10001E-03    17.617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.095        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.9048        .88164        .34843E-04   -1.5313    
  13  Prefactor     .10042E-03    119.15        .20417E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.4282        .17692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10007E-03    54.389        .41227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.7454        .13907E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10002E-03    19.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.9909        .18244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.9317        42.301        .29449E-03   -1.5430    
  20  Prefactor     .10002E-03    21.398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .91249        .19158        .25713E-03   -.96023    
  22  Prefactor     1.0784        .19092        .23974E-03   -.90160    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16873e-08
Minuit parameter uncertainties:
  1  11.5328
  2  1.87059e-05
  3  0.00129496
  4  10.9786
  5  9.46668
  6  1.57576
  7  0.000932376
  8  6.55947e-06
  9  5.89082
  10  0.000944097
  11  0.000211119
  12  0.881642
  13  0.0141115
  14  1.30353e-06
  15  0.00402606
  16  2.28573e-05
  17  0.00116081
  18  4.48197e-06
  19  18.0932
  20  0.00138607
  21  0.19172
  22  0.191036
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  2.111e-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:  1.078e+00  1.910e-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.125e-01  1.917e-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.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.18e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/590826/likelihoodResults_360892801_361152001_4FGL_J2256.0-2740_daily_bin469.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) = 7422.65899214
delta logL = -0.000430075164331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7422.65856245
delta logL = -3.81281097361e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11421E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9775       1.0000          .0000       10.000    
     3 'Normalizat'    .91261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0783       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=   7422.659     FROM MIGRAD    STATUS=CONVERGED    131 CALLS      285 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1129.7        .36285E-02** at limit **
   2  Index         2.4808        6.2227        .50000       -.32940E-06
   3  Normalizat    .91249        .26120E-01    .25713E-03    .97847E-04
   4  Prefactor     1.0784        .26376E-01    .23974E-03    .10651E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.48077
  Normalizat = 0.912493
  Prefactor  = 1.0784
 **********
 **   18 **HESSE 
 **********

 FCN=   7422.659     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      314 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6922.4        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4808        6.6145        .50000       -.52804    
   3  Normalizat    .91249        .63065E-01    .10285E-04   -.96023    
   4  Prefactor     1.0784        .63692E-01    .95896E-05   -.90160    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.27012e-09
Minuit parameter uncertainties:
  1  2.62556e-05
  2  744.599
  3  0.0630697
  4  0.0636963
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/590826': 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): 102
logL (Free Index) = 7422.65855928
delta logL = 2.79369942291e-06

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  2.626e-05  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.481e+00  7.446e+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.078e+00  6.370e-02  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.125e-01  6.307e-02  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/590826/cmap_HighResolution_360892801_361152001_4FGL_J2256.0-2740_daily_bin469.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.18e-03', job_status='DONE', photon_flux_upper_limit='1.15e-07', time_completed='2021-09-29 02:53:50.032827', job_id='590826', GAL2='1.08', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1632909230.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='2.79e-06', ts2='-0.00', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='469' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:53:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 590826: <4FGL_J2256.0-2740_daily_bin469> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin469 344.025 -27.6739 360892801 361152001 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 :                                   662.45 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             297.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            802 sec.

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

