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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin929
RA = 344.025, Dec = -27.6739
tmin = 480124801, tmax = 480384001
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='592540', job_status='RUN', time_executed='2021-09-29 02:48:18.091347', time_epoch_executed='1632908898.09' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592540

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592540/ft1_4FGL_J2256.0-2740_daily_bin929.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592540/ft2_4FGL_J2256.0-2740_daily_bin929.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592540/ft1_4FGL_J2256.0-2740_daily_bin929.fits outfile=/scratch/kocevski/592540/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin929.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=480124801.0 tmax=480384001.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.54
user 3.33
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592540/ft1_filtered_4FGL_J2256.0-2740_daily_bin929.fits" evtable="EVENTS" scfile=/scratch/kocevski/592540/ft2_4FGL_J2256.0-2740_daily_bin929.fits sctable="SC_DATA" outfile=/scratch/kocevski/592540/ltcube_480124801_480384001_4FGL_J2256.0-2740_daily_bin929.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/592540/ft2_4FGL_J2256.0-2740_daily_bin929.fits
.....................!
real 11.64
user 11.30
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592540/ft1_filtered_4FGL_J2256.0-2740_daily_bin929.fits evtable="EVENTS" scfile=/scratch/kocevski/592540/ft2_4FGL_J2256.0-2740_daily_bin929.fits sctable="SC_DATA" expcube=/scratch/kocevski/592540/ltcube_480124801_480384001_4FGL_J2256.0-2740_daily_bin929.fits outfile=/scratch/kocevski/592540/expmap_480124801_480384001_4FGL_J2256.0-2740_daily_bin929.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/592540/ltcube_480124801_480384001_4FGL_J2256.0-2740_daily_bin929.fits
.....................!
real 191.14
user 185.20
sys 5.63

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/592540/ft1_filtered_4FGL_J2256.0-2740_daily_bin929.fits scfile=/scratch/kocevski/592540/ft2_4FGL_J2256.0-2740_daily_bin929.fits outfile=/scratch/kocevski/592540/cmap_480124801_480384001_4FGL_J2256.0-2740_daily_bin929.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592540/ft1_filtered_4FGL_J2256.0-2740_daily_bin929.fits scfile=/scratch/kocevski/592540/ft2_4FGL_J2256.0-2740_daily_bin929.fits outfile=/scratch/kocevski/592540/cmap_HighResolution_480124801_480384001_4FGL_J2256.0-2740_daily_bin929.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/592540/ft1_filtered_4FGL_J2256.0-2740_daily_bin929.fits evtable="EVENTS" scfile=/scratch/kocevski/592540/ft2_4FGL_J2256.0-2740_daily_bin929.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/592540/Model_4FGL_J2256.0-2740_daily_bin929.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/592540/ft1_filtered_4FGL_J2256.0-2740_daily_bin929.fits.....................!
real 48.25
user 46.97
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.687       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .71570E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    19.275       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10963E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10813E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    42.398       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.959       1.0000         .10000E-03   10000.    
     9 'norm      '    8.0780       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10455E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.1084       1.0000         .10000E-03   10000.    
    12 'norm      '    .68376       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11759E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    5.1704       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10326E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.4828       1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.317       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .91180       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97522       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6181.771     FROM MIGRAD    STATUS=CONVERGED    120 CALLS     2006 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.687        3.9689        .28038E-05    .31338E-02
   2  Prefactor     .10716E-02    6689.6       -.17859E-03** at limit **
   3  norm          19.274        1.6525        .23152E-06   -.31930E-03
   4  Prefactor     .10000E-03    6.0914       -.72209E-06** at limit **
   5  Prefactor     .10000E-03    12.567       -.59242E-05** at limit **
   6  norm          .10000E-03    1.0269       -.17006E-06** at limit **
   7  Prefactor     42.428        7.8338       -.27892E-06    .59475E-02
   8  Prefactor     13.962        1.4117        .52051E-06    .70889E-03
   9  norm          8.0761        5.5324       -.37287E-05   -.41946E-02
  10  Prefactor     .10011E-03    12.660       -.30803E-05** at limit **
  11  Prefactor     9.1046        9.1264        .67564E-05    .53039E-02
  12  norm          .68394        .62882       -.31723E-06    .15694E-03
  13  Prefactor     .10002E-03    34.694       -.56582E-05** at limit **
  14  Prefactor     .10000E-03    5.2145        .51008E-06** at limit **
  15  Prefactor     .10003E-03    14.421        .12583E-05** at limit **
  16  norm          5.1695        4.9217       -.33132E-05   -.11088E-02
  17  Prefactor     .10024E-03    8.1070        .84574E-05** at limit **
  18  norm          .10000E-03    1.7125        .95060E-07** at limit **
  19  Prefactor     5.4492        8.9333       -.52326E-07   -.20988E-02
  20  Prefactor     19.239        22.211       -.12411E-04    .86565E-02
  21  Normalizat    .91157        .19951       -.20621E-05   -.26127E-03
  22  Prefactor     .97565        .19596        .23639E-05   -.24198E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.6867
  Prefactor  = 0.00107164
  norm       = 19.2735
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 42.4282
  Prefactor  = 13.9618
  norm       = 8.07609
  Prefactor  = 0.000100109
  Prefactor  = 9.10461
  norm       = 0.683939
  Prefactor  = 0.000100018
  Prefactor  = 0.0001
  Prefactor  = 0.000100029
  norm       = 5.16955
  Prefactor  = 0.00010024
  norm       = 0.0001
  Prefactor  = 5.44922
  Prefactor  = 19.2391
  Normalizat = 0.911574
  Prefactor  = 0.975653
 **********
 **   18 **HESSE 
 **********

 FCN=   6181.771     FROM HESSE     STATUS=OK           396 CALLS     2402 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.687        10.648        .30640E-02   -1.5054    
   2  Prefactor     .10716E-02    5.1405        .56051E-01   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          19.274        16.081        .22807E-02   -1.4830    
   4  Prefactor     .10000E-03    6.1040        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    12.275        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.0221        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     42.428        39.524        .15391E-02   -1.4404    
   8  Prefactor     13.962        12.582        .26801E-02   -1.4960    
   9  norm          8.0761        5.8346        .35267E-02   -1.5140    
  10  Prefactor     .10011E-03    17.477        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.1046        11.108        .33200E-02   -1.5104    
  12  norm          .68394        .69635        .11185E-01   -1.5543    
  13  Prefactor     .10002E-03    36.258        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.2100        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10003E-03    15.050        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          5.1695        4.9655        .44199E-02   -1.5253    
  17  Prefactor     .10024E-03    16.753        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.6800        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.4492        45.577        .42899E-02   -1.5241    
  20  Prefactor     19.239        100.22        .22782E-02   -1.4830    
  21  Normalizat    .91157        .17561        .45052E-01   -.96055    
  22  Prefactor     .97565        .16458        .45957E-01   -.93546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.54399e-06
Minuit parameter uncertainties:
  1  10.65
  2  0.141359
  3  16.0844
  4  2.42854e-05
  5  4.84532e-05
  6  1.01813e-06
  7  39.5481
  8  12.5842
  9  5.83498
  10  0.00276257
  11  11.1103
  12  0.696357
  13  0.00163021
  14  1.63268e-05
  15  0.00132446
  16  4.96587
  17  0.0040131
  18  1.00046e-06
  19  31.5511
  20  88.0526
  21  0.17572
  22  0.164667
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  9.105e+00  1.111e+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.757e-01  1.647e-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.116e-01  1.757e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.42
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 6.23e-08 +/- 7.59e-08
Energy Flux (Fixed Index): 1.23e-05 +/- 1.50e-05

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

Saving results to:
/scratch/kocevski/592540/likelihoodResults_480124801_480384001_4FGL_J2256.0-2740_daily_bin929.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) = 6181.72226988
delta logL = 0.0490239372148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6181.70862454
delta logL = 0.0626692815022

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.6377       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6138       1.0000          .0000       10.000    
     3 'Normalizat'    .89870       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98727       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=   6181.709     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      270 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.6391        11.523        .14511E-03   -.26011E-04
   2  Index         3.6108        2.2656        .16347E-01    .14843E-03
   3  Normalizat    .89843        .20101        .24050E-03    .89206E-03
   4  Prefactor     .98746        .19762        .23095E-03    .82894E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.63912
  Index      = 3.61075
  Normalizat = 0.898434
  Prefactor  = 0.987462
 **********
 **   18 **HESSE 
 **********

 FCN=   6181.709     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.6391        10.221        .58042E-05   -1.5155    
   2  Index         3.6108        2.0254        .32694E-02   -.28155    
   3  Normalizat    .89843        .20132        .48100E-04   -.96515    
   4  Prefactor     .98746        .19762        .46190E-04   -.93149    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.88764e-10
Minuit parameter uncertainties:
  1  10.2231
  2  2.09081
  3  0.201485
  4  0.197765
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592540': 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) = 6181.70862022
delta logL = 0.0626736011245

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  7.639e+00  1.022e+01  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.611e+00  2.091e+00  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:  9.875e-01  1.978e-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:  8.984e-01  2.015e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.68
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 3.61 +/- 2.09
Photon Flux (Free Index): 6.76e-08 +/- 5.93e-08
Energy Flux (Free Index): 1.09e-05 +/- 1.10e-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/592540/cmap_HighResolution_480124801_480384001_4FGL_J2256.0-2740_daily_bin929.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.35e-02', comment='SUCCESS', photon_flux='6.23e-08', energy_flux2='1.09e-05', photon_flux_error='7.59e-08', dlogl='6.27e-02', energy_flux='1.23e-05', photon_flux2='6.76e-08', job_status='DONE', time_completed='2021-09-29 02:58:39.500763', photon_index_error2='2.09', photon_index2='3.61', ts='1.42', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.69e-07', energy_flux_error2='1.10e-05', EG='0.91', time_epoch_completed='1632909519.5', return_code='0', job_id='592540', GAL2='0.99', EG2='0.90', return_code2='0', energy_flux_error='1.50e-05', photon_flux_error2='5.93e-08', ts2='1.68', photon_index='3.02' WHERE bin_id='929' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:58:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 592540: <4FGL_J2256.0-2740_daily_bin929> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin929 344.025 -27.6739 480124801 480384001 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 :                                   606.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   784 sec.
    Turnaround time :                            787 sec.

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

