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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1103
RA = 344.025, Dec = -27.6739
tmin = 525225601, tmax = 525484801
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='592802', job_status='RUN', time_executed='2021-09-29 02:47:10.234710', time_epoch_executed='1632908830.23' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1103'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592802

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592802/ft1_4FGL_J2256.0-2740_daily_bin1103.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592802/ft2_4FGL_J2256.0-2740_daily_bin1103.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592802/ft1_4FGL_J2256.0-2740_daily_bin1103.fits outfile=/scratch/kocevski/592802/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1103.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=525225601.0 tmax=525484801.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 4.15
user 3.90
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592802/ft1_filtered_4FGL_J2256.0-2740_daily_bin1103.fits" evtable="EVENTS" scfile=/scratch/kocevski/592802/ft2_4FGL_J2256.0-2740_daily_bin1103.fits sctable="SC_DATA" outfile=/scratch/kocevski/592802/ltcube_525225601_525484801_4FGL_J2256.0-2740_daily_bin1103.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/592802/ft2_4FGL_J2256.0-2740_daily_bin1103.fits
.....................!
real 12.32
user 11.96
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592802/ft1_filtered_4FGL_J2256.0-2740_daily_bin1103.fits evtable="EVENTS" scfile=/scratch/kocevski/592802/ft2_4FGL_J2256.0-2740_daily_bin1103.fits sctable="SC_DATA" expcube=/scratch/kocevski/592802/ltcube_525225601_525484801_4FGL_J2256.0-2740_daily_bin1103.fits outfile=/scratch/kocevski/592802/expmap_525225601_525484801_4FGL_J2256.0-2740_daily_bin1103.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/592802/ltcube_525225601_525484801_4FGL_J2256.0-2740_daily_bin1103.fits
.....................!
real 190.82
user 185.23
sys 4.83

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/592802/ft1_filtered_4FGL_J2256.0-2740_daily_bin1103.fits scfile=/scratch/kocevski/592802/ft2_4FGL_J2256.0-2740_daily_bin1103.fits outfile=/scratch/kocevski/592802/cmap_525225601_525484801_4FGL_J2256.0-2740_daily_bin1103.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592802/ft1_filtered_4FGL_J2256.0-2740_daily_bin1103.fits scfile=/scratch/kocevski/592802/ft2_4FGL_J2256.0-2740_daily_bin1103.fits outfile=/scratch/kocevski/592802/cmap_HighResolution_525225601_525484801_4FGL_J2256.0-2740_daily_bin1103.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/592802/ft1_filtered_4FGL_J2256.0-2740_daily_bin1103.fits evtable="EVENTS" scfile=/scratch/kocevski/592802/ft2_4FGL_J2256.0-2740_daily_bin1103.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/592802/Model_4FGL_J2256.0-2740_daily_bin1103.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/592802/ft1_filtered_4FGL_J2256.0-2740_daily_bin1103.fits.....................!
real 53.34
user 51.94
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2483       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.3667       1.0000         .10000E-03   10000.    
     3 'norm      '    19.138       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .11063E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    37.786       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.2334       1.0000         .10000E-03   10000.    
     9 'norm      '    .24480E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.5282       1.0000         .10000E-03   10000.    
    12 'norm      '    5.3926       1.0000         .10000E-03   10000.    
    13 'Prefactor '    29.475       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.5822       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    7.1799       1.0000         .10000E-03   10000.    
    19 'Prefactor '    23.492       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .74497       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94685       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=   7429.304     FROM MIGRAD    STATUS=CONVERGED    510 CALLS     2411 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2480        17.215       -.19858E-07    .71180E-04
   2  Prefactor     2.3663        3.2680       -.21368E-08   -.24049E-05
   3  norm          19.136        16.326       -.13345E-08    .83807E-04
   4  Prefactor     .10000E-03    7.7895        .65986E-10** at limit **
   5  Prefactor     .10000E-03    2.9410       -.15970E-09** at limit **
   6  norm          .10000E-03    1.0560       -.97568E-09** at limit **
   7  Prefactor     37.751        28.277        .21185E-07   -.51815E-03
   8  Prefactor     9.2335        8.8963        .72505E-09    .67071E-03
   9  norm          .12869E-01    1.7030        .16721E-07    .25385E-04
  10  Prefactor     .10000E-03    4.0521        .51126E-08** at limit **
  11  Prefactor     3.5313        .98434       -.17730E-06   -.15021E-03
  12  norm          5.3930        .84770        .92945E-08    .87752E-04
  13  Prefactor     29.473        35.879       -.22241E-07    .55233E-03
  14  Prefactor     .10000E-03    8.2793       -.43382E-09** at limit **
  15  Prefactor     .10000E-03    3.0140        .22847E-08** at limit **
  16  norm          1.5824        3.7093       -.62368E-08    .52637E-05
  17  Prefactor     .10000E-03    35.148        .47165E-09** at limit **
  18  norm          7.1798        2.7463       -.28911E-09    .13999E-04
  19  Prefactor     23.491        20.639       -.14065E-08   -.95205E-05
  20  Prefactor     .10000E-03    52.751        .10282E-09** at limit **
  21  Normalizat    .74504        .14671        .31237E-07    .19090E-04
  22  Prefactor     .94681        .14406       -.14238E-07    .17148E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.248
  Prefactor  = 2.36628
  norm       = 19.1365
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 37.7512
  Prefactor  = 9.2335
  norm       = 0.0128689
  Prefactor  = 0.0001
  Prefactor  = 3.53134
  norm       = 5.39301
  Prefactor  = 29.4732
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.5824
  Prefactor  = 0.0001
  norm       = 7.17976
  Prefactor  = 23.491
  Prefactor  = 0.0001
  Normalizat = 0.745045
  Prefactor  = 0.946809
 **********
 **   18 **HESSE 
 **********

 FCN=   7429.304     FROM HESSE     STATUS=OK           352 CALLS     2763 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2480        17.244        .27405E-03   -1.5408    
   2  Prefactor     2.3663        3.2531        .17800E-03   -1.5400    
   3  norm          19.136        16.323        .91553E-04   -1.4833    
   4  Prefactor     .10000E-03    7.8347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.9508        .14433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.0759        .17111E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     37.751        28.053        .65201E-04   -1.4478    
   8  Prefactor     9.2335        8.9282        .13189E-03   -1.5100    
   9  norm          .12869E-01    4.1443        .36352E-01   -1.5685    
  10  Prefactor     .10000E-03    4.0577        .16940E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.5313        9.2018        .10761E-02   -1.5332    
  12  norm          5.3930        1.0521        .29167E-04   -1.5243    
  13  Prefactor     29.473        35.883        .73797E-04   -1.4622    
  14  Prefactor     .10000E-03    8.4245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.0217        .14607E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.5824        3.6744        .24726E-03   -1.5456    
  17  Prefactor     .10000E-03    35.418        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.1798        2.7456        .84606E-04   -1.5172    
  19  Prefactor     23.491        20.651        .82643E-04   -1.4738    
  20  Prefactor     .10000E-03    52.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .74504        .17455        .25110E-03   -1.0214    
  22  Prefactor     .94681        .17071        .22695E-03   -.94524    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52897e-09
Minuit parameter uncertainties:
  1  12.4568
  2  3.25331
  3  16.3272
  4  9.34993e-06
  5  1.08574e-06
  6  8.4101e-07
  7  28.0628
  8  8.92953
  9  0.460114
  10  5.85965e-07
  11  9.20552
  12  1.05211
  13  35.9096
  14  3.15563e-06
  15  1.48528e-06
  16  3.67489
  17  5.72231e-05
  18  2.74566
  19  20.6571
  20  4.82797e-05
  21  0.174683
  22  0.17081
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  3.531e+00  9.206e+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:  9.468e-01  1.708e-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.450e-01  1.747e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/592802/likelihoodResults_525225601_525484801_4FGL_J2256.0-2740_daily_bin1103.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) = 7428.53668234
delta logL = 0.76695845996

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7428.30065601
delta logL = 1.00298478453

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .82047       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4441       1.0000          .0000       10.000    
     3 'Normalizat'    .76182       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93648       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=   7428.301     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      219 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .82061        1.0126        .12516E-01   -.27341E-03
   2  Index         1.4442        .31754        .20442       -.10095E-03
   3  Normalizat    .76189        .14120        .43110E-01    .21965E-04
   4  Prefactor     .93643        .14312        .45468E-01    .10661E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.820612
  Index      = 1.44421
  Normalizat = 0.76189
  Prefactor  = 0.936432
 **********
 **   18 **HESSE 
 **********

 FCN=   7428.301     FROM HESSE     STATUS=OK            33 CALLS      252 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .82061        1.7107        .88523E-04   -1.5527    
   2  Index         1.4442        .68494        .71662E-02   -.79114    
   3  Normalizat    .76189        .16581        .24879E-03   -1.0150    
   4  Prefactor     .93643        .16808        .22812E-03   -.94879    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0881e-11
Minuit parameter uncertainties:
  1  1.71077
  2  0.689347
  3  0.165921
  4  0.168175
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592802': 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) = 7428.30065589
delta logL = 1.00298491091

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  8.206e-01  1.711e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  1.444e+00  6.893e-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.364e-01  1.682e-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.619e-01  1.659e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.28
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 1.44 +/- 0.69
Photon Flux (Free Index): 6.18e-09 +/- 9.48e-09
Energy Flux (Free Index): 2.36e-05 +/- 4.06e-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/592802/cmap_HighResolution_525225601_525484801_4FGL_J2256.0-2740_daily_bin1103.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', comment='SUCCESS', energy_flux2='2.36e-05', dlogl='1.00e+00', photon_flux2='6.18e-09', job_status='DONE', time_completed='2021-09-29 02:58:49.286689', photon_index_error2='0.69', photon_index2='1.44', ts='0.26', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.26e-07', energy_flux_error2='4.06e-05', EG='0.75', time_epoch_completed='1632909529.29', return_code='0', job_id='592802', GAL2='0.94', EG2='0.76', return_code2='0', photon_flux_error2='9.48e-09', ts2='2.28', photon_index='3.02' WHERE bin_id='1103' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:58:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 592802: <4FGL_J2256.0-2740_daily_bin1103> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1103 344.025 -27.6739 525225601 525484801 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 :                                   695.00 sec.
    Max Memory :                                 1049 MB
    Average Memory :                             266.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            778 sec.

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

