/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 230 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 = 7475
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2256.0-2740_daily_bin379
RA = 344.025, Dec = -27.6739
tmin = 337564801, tmax = 337824001
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='590690', job_status='RUN', time_executed='2021-09-29 02:44:21.251629', time_epoch_executed='1632908661.25' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='379'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/590690

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

Retrieving the FT1 file...

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

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

Retrieving 52 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/590690/ft1_4FGL_J2256.0-2740_daily_bin379.fits


Retrieving the FT1 file...

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

Retrieving 52 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/590690/ft2_4FGL_J2256.0-2740_daily_bin379.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/590690/ft1_4FGL_J2256.0-2740_daily_bin379.fits outfile=/scratch/kocevski/590690/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin379.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=337564801.0 tmax=337824001.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 6.20
user 5.94
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/590690/ft1_filtered_4FGL_J2256.0-2740_daily_bin379.fits" evtable="EVENTS" scfile=/scratch/kocevski/590690/ft2_4FGL_J2256.0-2740_daily_bin379.fits sctable="SC_DATA" outfile=/scratch/kocevski/590690/ltcube_337564801_337824001_4FGL_J2256.0-2740_daily_bin379.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/590690/ft2_4FGL_J2256.0-2740_daily_bin379.fits
.....................!
real 11.30
user 10.95
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/590690/ft1_filtered_4FGL_J2256.0-2740_daily_bin379.fits evtable="EVENTS" scfile=/scratch/kocevski/590690/ft2_4FGL_J2256.0-2740_daily_bin379.fits sctable="SC_DATA" expcube=/scratch/kocevski/590690/ltcube_337564801_337824001_4FGL_J2256.0-2740_daily_bin379.fits outfile=/scratch/kocevski/590690/expmap_337564801_337824001_4FGL_J2256.0-2740_daily_bin379.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/590690/ltcube_337564801_337824001_4FGL_J2256.0-2740_daily_bin379.fits
.....................!
real 189.74
user 184.61
sys 4.80

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/590690/ft1_filtered_4FGL_J2256.0-2740_daily_bin379.fits scfile=/scratch/kocevski/590690/ft2_4FGL_J2256.0-2740_daily_bin379.fits outfile=/scratch/kocevski/590690/cmap_337564801_337824001_4FGL_J2256.0-2740_daily_bin379.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/590690/ft1_filtered_4FGL_J2256.0-2740_daily_bin379.fits scfile=/scratch/kocevski/590690/ft2_4FGL_J2256.0-2740_daily_bin379.fits outfile=/scratch/kocevski/590690/cmap_HighResolution_337564801_337824001_4FGL_J2256.0-2740_daily_bin379.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.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1263       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .19240E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    25.235       1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.174       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .89699E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.1890       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.6485       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    12.473       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11610E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.073       1.0000         .10000E-03   10000.    
    12 'norm      '    .20014       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.282       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.9955       1.0000         .10000E-03   10000.    
    16 'norm      '    3.1603       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10211E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    14.351       1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.9386       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .96211       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .80127       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=   6801.388     FROM MIGRAD    STATUS=CONVERGED    491 CALLS     2080 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1261        9.7721       -.52170E-06    .10347E-04
   2  Prefactor     .10000E-03    3.9952        .15994E-06** at limit **
   3  norm          25.234        15.067       -.56674E-06    .93564E-04
   4  Prefactor     22.185        14.843       -.30201E-05   -.11911E-04
   5  Prefactor     .10009E-03    7.0584       -.28992E-05** at limit **
   6  norm          1.1877        1.6901       -.12378E-05   -.44787E-03
   7  Prefactor     3.7613        60.601        .22385E-04    .72352E-04
   8  Prefactor     .10000E-03    2.8897        .11221E-07** at limit **
   9  norm          12.473        4.3486        .46222E-08    .21318E-03
  10  Prefactor     .10000E-03    9.1906        .24894E-06** at limit **
  11  Prefactor     10.066        7.9587       -.38658E-06    .53228E-04
  12  norm          .20071        .47982       -.11655E-06   -.25056E-02
  13  Prefactor     10.307        25.870       -.37750E-05   -.93403E-05
  14  Prefactor     .10000E-03    3.2883        .23348E-07** at limit **
  15  Prefactor     5.9934        7.3378       -.11037E-06   -.55790E-04
  16  norm          3.1610        5.8523        .12152E-05   -.45533E-03
  17  Prefactor     .10000E-03    18.331        .51402E-06** at limit **
  18  norm          .10000E-03    1.3573        .33349E-06** at limit **
  19  Prefactor     14.381        20.348       -.20714E-04   -.37127E-04
  20  Prefactor     8.9730        59.185        .58376E-04    .42793E-05
  21  Normalizat    .96183        .15055        .16849E-06    .39898E-03
  22  Prefactor     .80150        .14561        .70134E-06    .31110E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.12608
  Prefactor  = 0.0001
  norm       = 25.2341
  Prefactor  = 22.1849
  Prefactor  = 0.000100088
  norm       = 1.1877
  Prefactor  = 3.76132
  Prefactor  = 0.0001
  norm       = 12.4729
  Prefactor  = 0.0001
  Prefactor  = 10.0659
  norm       = 0.200713
  Prefactor  = 10.3066
  Prefactor  = 0.0001
  Prefactor  = 5.99335
  norm       = 3.161
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 14.381
  Prefactor  = 8.973
  Normalizat = 0.961835
  Prefactor  = 0.801496
 **********
 **   18 **HESSE 
 **********

 FCN=   6801.388     FROM HESSE     STATUS=OK           348 CALLS     2428 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1261        9.7675        .15027E-03   -1.5174    
   2  Prefactor     .10000E-03    10.307        .31603E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          25.234        15.061        .79743E-04   -1.4703    
   4  Prefactor     22.185        14.808        .85061E-04   -1.4766    
   5  Prefactor     .10009E-03    42.001        .40912E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.1877        1.6398        .10433E-03   -1.5490    
   7  Prefactor     3.7613        57.959        .21149E-03   -1.5320    
   8  Prefactor     .10000E-03    2.9060        .13689E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          12.473        4.3335        .93890E-04   -1.5001    
  10  Prefactor     .10000E-03    9.2603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.066        7.3362        .12625E-03   -1.5073    
  12  norm          .20071        .35726        .68185E-03   -1.5618    
  13  Prefactor     10.307        25.871        .12496E-03   -1.5066    
  14  Prefactor     .10000E-03    3.2909        .14606E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.9934        7.2096        .16399E-03   -1.5218    
  16  norm          3.1610        5.8293        .22799E-03   -1.5352    
  17  Prefactor     .10000E-03    18.378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.4135        .18758E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     14.381        20.373        .10573E-03   -1.4949    
  20  Prefactor     8.9730        58.626        .13406E-03   -1.5109    
  21  Normalizat    .96183        .17746        .22038E-03   -.94320    
  22  Prefactor     .80150        .17228        .23781E-03   -.99673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.1196e-09
Minuit parameter uncertainties:
  1  9.76967
  2  0.000126545
  3  15.0629
  4  14.8106
  5  0.00384088
  6  1.63986
  7  29.5636
  8  1.90326e-06
  9  4.33365
  10  2.84657e-05
  11  7.33686
  12  0.357259
  13  25.899
  14  6.78985e-07
  15  7.21065
  16  5.83037
  17  2.23614e-05
  18  3.92837e-05
  19  20.3829
  20  45.937
  21  0.177565
  22  0.172393
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.007e+01  7.337e+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

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  8.015e-01  1.724e-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.618e-01  1.776e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.89
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 6.89e-08 +/- 5.01e-08
Energy Flux (Fixed Index): 1.36e-05 +/- 9.90e-06

TS (Fixed Index): 3.89
Ra Dec: 344.025 -27.674
Photon Flux Upper Limit: 1.53e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.22e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/590690/likelihoodResults_337564801_337824001_4FGL_J2256.0-2740_daily_bin379.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) = 6801.38637232
delta logL = 0.00204059567113

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6801.38628326
delta logL = 0.00212965962965

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.067       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0832       1.0000          .0000       10.000    
     3 'Normalizat'    .95930       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80336       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=   6801.386     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      197 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.107        9.5940        .31572E-02    .41846E-02
   2  Index         3.0829        1.1865        .21923       -.39912E-04
   3  Normalizat    .95907        .14768        .45655E-01    .98885E-05
   4  Prefactor     .80346        .14561        .43761E-01    .15435E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.1073
  Index      = 3.08295
  Normalizat = 0.959075
  Prefactor  = 0.803463
 **********
 **   18 **HESSE 
 **********

 FCN=   6801.386     FROM HESSE     STATUS=OK            33 CALLS      230 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.107        6.2269        .63145E-03   -1.5072    
   2  Index         3.0829        .92241        .13174E-01   -.39349    
   3  Normalizat    .95907        .17898        .22065E-03   -.94414    
   4  Prefactor     .80346        .17378        .23756E-03   -.99601    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27504e-11
Minuit parameter uncertainties:
  1  6.22732
  2  0.928655
  3  0.179088
  4  0.173899
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/590690': 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) = 6801.38626214
delta logL = 0.00215077294524

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.011e+01  6.227e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.083e+00  9.287e-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:  8.035e-01  1.739e-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.591e-01  1.791e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.08
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 3.08 +/- 0.93
Photon Flux (Free Index): 7.08e-08 +/- 5.06e-08
Energy Flux (Free Index): 1.36e-05 +/- 8.39e-06

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/590690/cmap_HighResolution_337564801_337824001_4FGL_J2256.0-2740_daily_bin379.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-02', comment='SUCCESS', photon_flux='6.89e-08', energy_flux2='1.36e-05', photon_flux_error='5.01e-08', dlogl='2.15e-03', energy_flux='1.36e-05', photon_flux2='7.08e-08', job_status='DONE', time_completed='2021-09-29 02:55:05.373355', photon_index_error2='0.93', photon_index2='3.08', ts='3.89', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='1.53e-07', energy_flux_error2='8.39e-06', EG='0.96', time_epoch_completed='1632909305.37', return_code='0', job_id='590690', GAL2='0.80', EG2='0.96', return_code2='0', energy_flux_error='9.90e-06', photon_flux_error2='5.06e-08', ts2='4.08', photon_index='3.02' WHERE bin_id='379' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:55:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 590690: <4FGL_J2256.0-2740_daily_bin379> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin379 344.025 -27.6739 337564801 337824001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2256.0-2740 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   642.39 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             241.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   884 sec.
    Turnaround time :                            887 sec.

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

