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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin467
RA = 344.025, Dec = -27.6739
tmin = 360374401, tmax = 360633601
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='590823', job_status='RUN', time_executed='2021-09-29 02:44:24.454340', time_epoch_executed='1632908664.45' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='467'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/590823

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/590823/ft1_4FGL_J2256.0-2740_daily_bin467.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/590823/ft2_4FGL_J2256.0-2740_daily_bin467.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/590823/ft1_4FGL_J2256.0-2740_daily_bin467.fits outfile=/scratch/kocevski/590823/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin467.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=360374401.0 tmax=360633601.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.32
user 3.12
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/590823/ft2_4FGL_J2256.0-2740_daily_bin467.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/590823/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin467.fits evtable="EVENTS" outfile="/scratch/kocevski/590823/ft1_filtered_4FGL_J2256.0-2740_daily_bin467.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/590823/ft1_filtered_4FGL_J2256.0-2740_daily_bin467.fits" evtable="EVENTS" scfile=/scratch/kocevski/590823/ft2_4FGL_J2256.0-2740_daily_bin467.fits sctable="SC_DATA" outfile=/scratch/kocevski/590823/ltcube_360374401_360633601_4FGL_J2256.0-2740_daily_bin467.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/590823/ft2_4FGL_J2256.0-2740_daily_bin467.fits
.....................!
real 11.96
user 11.59
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/590823/ft1_filtered_4FGL_J2256.0-2740_daily_bin467.fits evtable="EVENTS" scfile=/scratch/kocevski/590823/ft2_4FGL_J2256.0-2740_daily_bin467.fits sctable="SC_DATA" expcube=/scratch/kocevski/590823/ltcube_360374401_360633601_4FGL_J2256.0-2740_daily_bin467.fits outfile=/scratch/kocevski/590823/expmap_360374401_360633601_4FGL_J2256.0-2740_daily_bin467.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/590823/ltcube_360374401_360633601_4FGL_J2256.0-2740_daily_bin467.fits
.....................!
real 190.94
user 185.10
sys 5.46

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/590823/ft1_filtered_4FGL_J2256.0-2740_daily_bin467.fits scfile=/scratch/kocevski/590823/ft2_4FGL_J2256.0-2740_daily_bin467.fits outfile=/scratch/kocevski/590823/cmap_360374401_360633601_4FGL_J2256.0-2740_daily_bin467.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/590823/ft1_filtered_4FGL_J2256.0-2740_daily_bin467.fits scfile=/scratch/kocevski/590823/ft2_4FGL_J2256.0-2740_daily_bin467.fits outfile=/scratch/kocevski/590823/cmap_HighResolution_360374401_360633601_4FGL_J2256.0-2740_daily_bin467.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/590823/ft1_filtered_4FGL_J2256.0-2740_daily_bin467.fits evtable="EVENTS" scfile=/scratch/kocevski/590823/ft2_4FGL_J2256.0-2740_daily_bin467.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/590823/Model_4FGL_J2256.0-2740_daily_bin467.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/590823/ft1_filtered_4FGL_J2256.0-2740_daily_bin467.fits.....................!
real 59.41
user 57.74
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.103       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    8.4503       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.3501       1.0000         .10000E-03   10000.    
     6 'norm      '    .86731       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.278       1.0000         .10000E-03   10000.    
     9 'norm      '    4.3799       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.5246       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.551       1.0000         .10000E-03   10000.    
    12 'norm      '    2.1649       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.028       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.7093       1.0000         .10000E-03   10000.    
    16 'norm      '    5.0124       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10394E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    72.220       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .20989E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .75285       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98787       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=   7818.842     FROM MIGRAD    STATUS=CONVERGED    478 CALLS     2406 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.103        12.059        .12909E-05    .50363E-04
   2  Prefactor     .10000E-03    3.1610       -.52137E-07** at limit **
   3  norm          8.4501        12.961        .20215E-05    .35254E-04
   4  Prefactor     .10000E-03    3.8296        .23656E-07** at limit **
   5  Prefactor     2.3487        5.0014        .34253E-06   -.21375E-02
   6  norm          .86731        .80743       -.36967E-07    .16018E-03
   7  Prefactor     .10000E-03    10.315       -.35521E-06** at limit **
   8  Prefactor     18.277        10.592        .23341E-05    .14175E-03
   9  norm          4.3797        3.4801        .26638E-06   -.13317E-02
  10  Prefactor     5.5247        18.495        .70479E-05    .68321E-04
  11  Prefactor     13.555        12.362       -.47091E-05   -.32439E-03
  12  norm          2.1648        .81749        .21283E-06   -.12821E-02
  13  Prefactor     .10000E-03    15.394       -.43094E-07** at limit **
  14  Prefactor     15.027        14.298        .50628E-05    .17059E-03
  15  Prefactor     3.7087        6.6604        .15980E-05   -.15552E-02
  16  norm          5.0122        4.6987        .38073E-06    .25271E-04
  17  Prefactor     .10000E-03    12.057        .53141E-06** at limit **
  18  norm          .10000E-03    .98302        .49208E-06** at limit **
  19  Prefactor     72.229        30.089       -.54657E-05   -.31216E-03
  20  Prefactor     .10000E-03    345.15       -.13795E-04** at limit **
  21  Normalizat    .75278        .15149        .14724E-05   -.21389E-03
  22  Prefactor     .98797        .14609       -.18418E-05    .53900E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.1029
  Prefactor  = 0.0001
  norm       = 8.45006
  Prefactor  = 0.0001
  Prefactor  = 2.34866
  norm       = 0.867309
  Prefactor  = 0.0001
  Prefactor  = 18.2766
  norm       = 4.3797
  Prefactor  = 5.52465
  Prefactor  = 13.5549
  norm       = 2.1648
  Prefactor  = 0.0001
  Prefactor  = 15.0274
  Prefactor  = 3.70872
  norm       = 5.01225
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 72.2295
  Prefactor  = 0.000100002
  Normalizat = 0.752782
  Prefactor  = 0.987966
 **********
 **   18 **HESSE 
 **********

 FCN=   7818.842     FROM HESSE     STATUS=OK           352 CALLS     2758 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.103        12.060        .10666E-03   -1.4957    
   2  Prefactor     .10000E-03    3.2370        .15348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.4501        12.955        .13790E-03   -1.5127    
   4  Prefactor     .10000E-03    3.8331        .16899E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.3487        8.0304        .13370E-02   -1.5401    
   6  norm          .86731        .86280        .74556E-03   -1.5522    
   7  Prefactor     .10000E-03    10.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     18.277        10.628        .93683E-04   -1.4853    
   9  norm          4.3797        3.5159        .67536E-03   -1.5289    
  10  Prefactor     5.5247        18.218        .17094E-03   -1.5238    
  11  Prefactor     13.555        12.418        .10881E-03   -1.4971    
  12  norm          2.1648        .83732        .37481E-04   -1.5414    
  13  Prefactor     .10000E-03    15.412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.027        14.273        .10332E-03   -1.4932    
  15  Prefactor     3.7087        7.3421        .10484E-02   -1.5323    
  16  norm          5.0122        4.7006        .17961E-03   -1.5260    
  17  Prefactor     .10000E-03    12.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.7797        .16969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     72.229        30.150        .47240E-04   -1.4006    
  20  Prefactor     .10000E-03    347.45        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75278        .17962        .25613E-03   -1.0184    
  22  Prefactor     .98797        .17205        .22714E-03   -.93132    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65549e-08
Minuit parameter uncertainties:
  1  12.0621
  2  4.41715e-06
  3  12.9597
  4  2.38693e-06
  5  8.03403
  6  0.862813
  7  1.23737e-05
  8  10.6294
  9  3.5161
  10  18.2362
  11  12.4207
  12  0.837321
  13  6.31489e-06
  14  14.2763
  15  7.34393
  16  4.70094
  17  1.06273e-05
  18  7.64298e-05
  19  30.1564
  20  0.00175083
  21  0.179757
  22  0.172149
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.355e+01  1.242e+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.880e-01  1.721e-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:  7.528e-01  1.798e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.34
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 9.27e-08 +/- 8.48e-08
Energy Flux (Fixed Index): 1.83e-05 +/- 1.68e-05

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

Saving results to:
/scratch/kocevski/590823/likelihoodResults_360374401_360633601_4FGL_J2256.0-2740_daily_bin467.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) = 7818.84064909
delta logL = 0.000930935732868

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7818.84047125
delta logL = 0.00110877584666

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.432       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0650       1.0000          .0000       10.000    
     3 'Normalizat'    .75124       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98929       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=   7818.840     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      265 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.433        8.5325        .10929E-03    .14459E-04
   2  Index         3.0650        .92552        .12755E-01    .99558E-05
   3  Normalizat    .75134        .17311        .25635E-03    .11265E-03
   4  Prefactor     .98920        .17034        .22703E-03    .25038E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.4327
  Index      = 3.06497
  Normalizat = 0.751337
  Prefactor  = 0.989197
 **********
 **   18 **HESSE 
 **********

 FCN=   7818.840     FROM HESSE     STATUS=OK            25 CALLS      290 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.433        8.3681        .43717E-05   -1.4975    
   2  Index         3.0650        .90763        .51021E-03   -.39738    
   3  Normalizat    .75134        .17344        .10254E-04   -1.0190    
   4  Prefactor     .98920        .17055        .90812E-05   -.93090    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.85186e-11
Minuit parameter uncertainties:
  1  8.36878
  2  0.913601
  3  0.173569
  4  0.170644
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/590823': 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) = 7818.84047105
delta logL = 0.00110897429477

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.343e+01  8.369e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.065e+00  9.136e-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:  9.892e-01  1.706e-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:  7.513e-01  1.736e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.81
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 3.06 +/- 0.91
Photon Flux (Free Index): 9.34e-08 +/- 5.60e-08
Energy Flux (Free Index): 1.81e-05 +/- 1.17e-05

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/590823/cmap_HighResolution_360374401_360633601_4FGL_J2256.0-2740_daily_bin467.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.52e-02', comment='SUCCESS', photon_flux='9.27e-08', energy_flux2='1.81e-05', photon_flux_error='8.48e-08', dlogl='1.11e-03', energy_flux='1.83e-05', photon_flux2='9.34e-08', job_status='DONE', time_completed='2021-09-29 02:56:20.894576', photon_index_error2='0.91', photon_index2='3.06', ts='3.34', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.90e-07', energy_flux_error2='1.17e-05', EG='0.75', time_epoch_completed='1632909380.89', return_code='0', job_id='590823', GAL2='0.99', EG2='0.75', return_code2='0', energy_flux_error='1.68e-05', photon_flux_error2='5.60e-08', ts2='3.81', photon_index='3.02' WHERE bin_id='467' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:56:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 590823: <4FGL_J2256.0-2740_daily_bin467> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin467> 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) <bullet0215>, 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:56:21 2021
Results reported at Wed Sep 29 02:56:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin467 344.025 -27.6739 360374401 360633601 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 :                                   715.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   952 sec.
    Turnaround time :                            953 sec.

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

