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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1480
RA = 344.025, Dec = -27.6739
tmin = 622944001, tmax = 623203201
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='594321', job_status='RUN', time_executed='2021-09-29 02:52:07.501472', time_epoch_executed='1632909127.5' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1480'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/594321

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/594321/ft1_4FGL_J2256.0-2740_daily_bin1480.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/594321/ft2_4FGL_J2256.0-2740_daily_bin1480.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/594321/ft1_4FGL_J2256.0-2740_daily_bin1480.fits outfile=/scratch/kocevski/594321/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1480.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=622944001.0 tmax=623203201.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.00
user 2.81
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/594321/ft1_filtered_4FGL_J2256.0-2740_daily_bin1480.fits" evtable="EVENTS" scfile=/scratch/kocevski/594321/ft2_4FGL_J2256.0-2740_daily_bin1480.fits sctable="SC_DATA" outfile=/scratch/kocevski/594321/ltcube_622944001_623203201_4FGL_J2256.0-2740_daily_bin1480.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/594321/ft2_4FGL_J2256.0-2740_daily_bin1480.fits
.....................!
real 12.54
user 12.18
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/594321/ft1_filtered_4FGL_J2256.0-2740_daily_bin1480.fits evtable="EVENTS" scfile=/scratch/kocevski/594321/ft2_4FGL_J2256.0-2740_daily_bin1480.fits sctable="SC_DATA" expcube=/scratch/kocevski/594321/ltcube_622944001_623203201_4FGL_J2256.0-2740_daily_bin1480.fits outfile=/scratch/kocevski/594321/expmap_622944001_623203201_4FGL_J2256.0-2740_daily_bin1480.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/594321/ltcube_622944001_623203201_4FGL_J2256.0-2740_daily_bin1480.fits
.....................!
real 189.98
user 185.54
sys 4.07

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

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/594321/ft1_filtered_4FGL_J2256.0-2740_daily_bin1480.fits scfile=/scratch/kocevski/594321/ft2_4FGL_J2256.0-2740_daily_bin1480.fits outfile=/scratch/kocevski/594321/cmap_HighResolution_622944001_623203201_4FGL_J2256.0-2740_daily_bin1480.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.9207       1.0000         .10000E-03   10000.    
     3 'norm      '    .10055E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10303E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.5882       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10270E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    52.595       1.0000         .10000E-03   10000.    
    12 'norm      '    3.1897       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10440E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    16.101       1.0000         .10000E-03   10000.    
    17 'Prefactor '    57.107       1.0000         .10000E-03   10000.    
    18 'norm      '    10.726       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0670       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98409       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=   6011.411     FROM MIGRAD    STATUS=CONVERGED    453 CALLS     2363 TOTAL
                     EDM=   .51E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.677        .45929E-06** at limit **
   2  Prefactor     8.9230        7.7744       -.16143E-06    .99661E-05
   3  norm          .10000E-03    34.553        .15991E-05** at limit **
   4  Prefactor     .10000E-03    4.8819        .11235E-06** at limit **
   5  Prefactor     .10000E-03    9.8807        .88693E-06** at limit **
   6  norm          1.5879        1.6810        .73439E-07    .46467E-04
   7  Prefactor     .10000E-03    45.024        .95222E-06** at limit **
   8  Prefactor     .10000E-03    27.998        .16932E-05** at limit **
   9  norm          .10000E-03    1.6524        .14796E-06** at limit **
  10  Prefactor     .10000E-03    7.4611        .16270E-06** at limit **
  11  Prefactor     52.612        18.443       -.51055E-06   -.52852E-04
  12  norm          3.1892        1.2757        .67763E-07   -.15571E-03
  13  Prefactor     .10000E-03    14.500        .89353E-07** at limit **
  14  Prefactor     .10000E-03    24.990        .57744E-06** at limit **
  15  Prefactor     .10000E-03    13.870        .57876E-06** at limit **
  16  norm          16.104        8.7489       -.14852E-06   -.54354E-04
  17  Prefactor     56.987        57.764       -.10753E-05   -.50916E-04
  18  norm          10.727        5.5817       -.82188E-07   -.29991E-04
  19  Prefactor     .10000E-03    23.532        .21745E-06** at limit **
  20  Prefactor     .10000E-03    38.182       -.88884E-07** at limit **
  21  Normalizat    1.0664        .25311        .55884E-05   -.10237E-03
  22  Prefactor     .98469        .22586       -.52512E-05   -.47763E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 8.92296
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.58793
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 52.6117
  norm       = 3.18923
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 16.1041
  Prefactor  = 56.9867
  norm       = 10.7267
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.06642
  Prefactor  = 0.984694
 **********
 **   18 **HESSE 
 **********

 FCN=   6011.411     FROM HESSE     STATUS=OK           338 CALLS     2701 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.9230        7.7762        .13420E-03   -1.5110    
   3  norm          .10000E-03    35.450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.8851        .16733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.5879        1.6801        .10038E-03   -1.5456    
   7  Prefactor     .10000E-03    45.181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    29.283        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.6596        .97366E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.4695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     52.612        18.519        .55303E-04   -1.4256    
  12  norm          3.1892        1.2786        .22688E-04   -1.5351    
  13  Prefactor     .10000E-03    14.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    25.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    14.000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          16.104        8.7482        .99815E-04   -1.4905    
  17  Prefactor     56.987        57.931        .26543E-03   -1.4197    
  18  norm          10.727        5.5801        .12233E-03   -1.5053    
  19  Prefactor     .10000E-03    23.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    38.189        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0664        .25224        .27171E-03   -.90837    
  22  Prefactor     .98469        .22722        .26671E-03   -.93241    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03898e-10
Minuit parameter uncertainties:
  1  4.16665e-05
  2  7.77706
  3  0.0003029
  4  6.5231e-06
  5  8.08342e-05
  6  1.68019
  7  0.000173624
  8  0.000190325
  9  6.50899e-06
  10  1.60142e-05
  11  18.5207
  12  1.27865
  13  1.05394e-05
  14  8.99936e-05
  15  7.65552e-05
  16  8.74892
  17  57.9885
  18  5.58039
  19  2.24275e-05
  20  1.26184e-05
  21  0.252526
  22  0.227438
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  5.261e+01  1.852e+01  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:  9.847e-01  2.274e-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.066e+00  2.525e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 18.00
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 3.60e-07 +/- 1.27e-07
Energy Flux (Fixed Index): 7.10e-05 +/- 2.50e-05

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) = 6009.9389865
delta logL = 1.47221256259

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6009.93812736
delta logL = 1.4730717084

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.813       1.0000         .10000E-03   10000.    
     2 'Index     '    3.9558       1.0000          .0000       10.000    
     3 'Normalizat'    .98735       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0522       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=   6009.938     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      270 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.795        138.98        .15881E-02    .73496E-04
   2  Index         3.9548        6.8961        .14088        .69108E-04
   3  Normalizat    .98777        .13224        .46008E-01    .20755E-04
   4  Prefactor     1.0519        .13689        .58769E-01    .17285E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.7953
  Index      = 3.95482
  Normalizat = 0.987775
  Prefactor  = 1.05191
 **********
 **   18 **HESSE 
 **********

 FCN=   6009.938     FROM HESSE     STATUS=OK            33 CALLS      303 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.795        18.713        .63526E-04   -1.4445    
   2  Index         3.9548        .73458        .60439E-02   -.21059    
   3  Normalizat    .98777        .24777        .28045E-03   -.93441    
   4  Prefactor     1.0519        .23021        .25987E-03   -.91019    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.01892e-12
Minuit parameter uncertainties:
  1  18.7158
  2  0.737375
  3  0.24806
  4  0.230425
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/594321': 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) = 6009.93811991
delta logL = 1.47307915548

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  3.980e+01  1.872e+01  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.955e+00  7.374e-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:  1.052e+00  2.304e-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.878e-01  2.481e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.52
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 3.95 +/- 0.74
Photon Flux (Free Index): 4.20e-07 +/- 1.13e-07
Energy Flux (Free Index): 6.33e-05 +/- 1.87e-05

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/594321/cmap_HighResolution_622944001_623203201_4FGL_J2256.0-2740_daily_bin1480.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.60e-07', energy_flux2='6.33e-05', photon_flux_error='1.27e-07', dlogl='1.47e+00', energy_flux='7.10e-05', photon_flux2='4.20e-07', job_status='DONE', time_completed='2021-09-29 03:03:03.937080', photon_index_error2='0.74', photon_index2='3.95', ts='18.00', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.87e-05', EG='1.07', time_epoch_completed='1632909783.94', return_code='0', job_id='594321', GAL2='1.05', EG2='0.99', return_code2='0', energy_flux_error='2.50e-05', photon_flux_error2='1.13e-07', ts2='23.52', photon_index='3.02' WHERE bin_id='1480' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:03:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 594321: <4FGL_J2256.0-2740_daily_bin1480> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1480 344.025 -27.6739 622944001 623203201 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 :                                   550.00 sec.
    Max Memory :                                 1078 MB
    Average Memory :                             256.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   735 sec.
    Turnaround time :                            736 sec.

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

