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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin130
RA = 344.025, Dec = -27.6739
tmin = 273024001, tmax = 273283201
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='589286', job_status='RUN', time_executed='2021-09-29 02:38:52.156860', time_epoch_executed='1632908332.16' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='130'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/589286

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/589286/ft1_4FGL_J2256.0-2740_daily_bin130.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/589286/ft2_4FGL_J2256.0-2740_daily_bin130.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/589286/ft1_4FGL_J2256.0-2740_daily_bin130.fits outfile=/scratch/kocevski/589286/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin130.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=273024001.0 tmax=273283201.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 2.90
user 2.70
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/589286/ft2_4FGL_J2256.0-2740_daily_bin130.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/589286/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin130.fits evtable="EVENTS" outfile="/scratch/kocevski/589286/ft1_filtered_4FGL_J2256.0-2740_daily_bin130.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/589286/ft1_filtered_4FGL_J2256.0-2740_daily_bin130.fits" evtable="EVENTS" scfile=/scratch/kocevski/589286/ft2_4FGL_J2256.0-2740_daily_bin130.fits sctable="SC_DATA" outfile=/scratch/kocevski/589286/ltcube_273024001_273283201_4FGL_J2256.0-2740_daily_bin130.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/589286/ft2_4FGL_J2256.0-2740_daily_bin130.fits
.....................!
real 12.18
user 11.82
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/589286/ft1_filtered_4FGL_J2256.0-2740_daily_bin130.fits evtable="EVENTS" scfile=/scratch/kocevski/589286/ft2_4FGL_J2256.0-2740_daily_bin130.fits sctable="SC_DATA" expcube=/scratch/kocevski/589286/ltcube_273024001_273283201_4FGL_J2256.0-2740_daily_bin130.fits outfile=/scratch/kocevski/589286/expmap_273024001_273283201_4FGL_J2256.0-2740_daily_bin130.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/589286/ltcube_273024001_273283201_4FGL_J2256.0-2740_daily_bin130.fits
.....................!
real 191.16
user 185.82
sys 4.98

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/589286/ft1_filtered_4FGL_J2256.0-2740_daily_bin130.fits scfile=/scratch/kocevski/589286/ft2_4FGL_J2256.0-2740_daily_bin130.fits outfile=/scratch/kocevski/589286/cmap_273024001_273283201_4FGL_J2256.0-2740_daily_bin130.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.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .54578E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.916       1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.839       1.0000         .10000E-03   10000.    
     6 'norm      '    4.0986       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17200E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .11825E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.4563       1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.011       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.0529       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .21459       1.0000         .10000E-03   10000.    
    16 'norm      '    27.017       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .13743E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    104.28       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .90302       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .82706       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=   7449.594     FROM MIGRAD    STATUS=CONVERGED    835 CALLS     2737 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.652        .18142E-02** at limit **
   2  Prefactor     .10000E-03    9.0541        .32512E-02** at limit **
   3  norm          .10000E-03    9.1372        .18142E-02** at limit **
   4  Prefactor     10.924        13.814        .12126E-03    .30751E-04
   5  Prefactor     23.839        11.096        .82040E-04    .14356E-03
   6  norm          4.0987        1.8187        .75011E-04    .31343E-03
   7  Prefactor     .10000E-03    17.123        .18142E-02** at limit **
   8  Prefactor     .10001E-03    17.054        .31664E-02** at limit **
   9  norm          .10001E-03    5.4116        .20004E-02** at limit **
  10  Prefactor     .10000E-03    5.3104        .18142E-02** at limit **
  11  Prefactor     .10000E-03    5.9554        .36285E-03** at limit **
  12  norm          3.4571        .74570        .29707E-04    .71708E-02
  13  Prefactor     22.999        41.180        .83503E-04   -.42206E-04
  14  Prefactor     5.0525        9.4686        .89440E-03   -.21736E-03
  15  Prefactor     .17487        72.669        .38255E-02    .85404E-04
  16  norm          27.010        8.9381        .77073E-04   -.22757E-03
  17  Prefactor     .10001E-03    80.312        .18142E-02** at limit **
  18  norm          .10000E-03    .55835        .62778E-03** at limit **
  19  Prefactor     .10000E-03    17.295        .18142E-02** at limit **
  20  Prefactor     104.25        78.426        .19689E-03   -.78241E-04
  21  Normalizat    .90312        .16708        .23133E-03    .50296E-03
  22  Prefactor     .82699        .15962        .23747E-03    .53576E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.9245
  Prefactor  = 23.8395
  norm       = 4.09865
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  norm       = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 3.45707
  Prefactor  = 22.9987
  Prefactor  = 5.05251
  Prefactor  = 0.174871
  norm       = 27.0102
  Prefactor  = 0.000100008
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 104.252
  Normalizat = 0.903121
  Prefactor  = 0.82699
 **********
 **   18 **HESSE 
 **********

 FCN=   7449.594     FROM HESSE     STATUS=OK           322 CALLS     3059 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.655        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.1113        .65023E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    9.1389        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.924        13.813        .48505E-05   -1.5047    
   5  Prefactor     23.839        11.096        .32816E-05   -1.4731    
   6  norm          4.0987        1.8186        .30004E-05   -1.5303    
   7  Prefactor     .10000E-03    17.124        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    17.160        .63328E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10001E-03    5.4438        .40008E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.3110        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.9555        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.4571        .72001        .59415E-05   -1.5336    
  13  Prefactor     22.999        41.182        .33401E-05   -1.4748    
  14  Prefactor     5.0525        9.4673        .35776E-04   -1.5258    
  15  Prefactor     .17487        70.177        .15302E-03   -1.5624    
  16  norm          27.010        8.9377        .15415E-04   -1.4668    
  17  Prefactor     .10001E-03    80.347        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .55836        .12556E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    17.298        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     104.25        78.426        .78755E-05   -1.3662    
  21  Normalizat    .90312        .16704        .46265E-04   -.96351    
  22  Prefactor     .82699        .15975        .47494E-04   -.98741    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.14672e-09
Minuit parameter uncertainties:
  1  4.98521e-05
  2  4.8648e-05
  3  1.51541e-05
  4  13.8169
  5  11.0968
  6  1.81865
  7  5.82766e-05
  8  0.000801018
  9  0.000388704
  10  3.16912e-05
  11  0.000121134
  12  0.720009
  13  41.2326
  14  9.47015
  15  7.01255
  16  8.93813
  17  0.00164953
  18  1.57246e-06
  19  0.000123533
  20  78.5039
  21  0.167134
  22  0.159837
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  1.211e-04  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.270e-01  1.598e-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.031e-01  1.671e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 344.025 -27.674
Photon Flux Upper Limit: 8.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/589286/likelihoodResults_273024001_273283201_4FGL_J2256.0-2740_daily_bin130.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) = 7449.59513907
delta logL = -0.000801248488642

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7449.59433788
delta logL = -5.24305505678e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0312       1.0000          .0000       10.000    
     3 'Normalizat'    .90317       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82697       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7449.304     FROM MIGRAD    STATUS=FAILED       132 CALLS      285 TOTAL
                     EDM=   .47E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41166E-01    2.2889        .36285E-02    .61821E-02
   2  Index         9.9414        7.4484        .50000        .11356E-03
   3  Normalizat    .87444        .44953E-01    .23133E-03    .32682E-04
   4  Prefactor     .84556        .44283E-01    .23747E-03    .67838E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7449.304     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      369 TOTAL
                     EDM=   .98E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41166E-01    2.2889        .40716E-04    .61821E-02
   2  Index         9.9414        7.4484        .37702E-01    .11356E-03
   3  Normalizat    .87444        .44953E-01    .20836E-04    .32682E-04
   4  Prefactor     .84556        .44283E-01    .41982E-04    .67838E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7449.304     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      421 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41166E-01    .74424E-01     .0000       -.23602E-03
   2  Index         9.9414        8.6082         .0000        .11336E-03
   3  Normalizat    .87444        .16822         .0000        .34893E-04
   4  Prefactor     .84556        .16299         .0000        .67982E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0411659
  Index      = 9.9414
  Normalizat = 0.874441
  Prefactor  = 0.845562
 **********
 **   18 **HESSE 
 **********

 FCN=   7449.304     FROM HESSE     STATUS=OK            29 CALLS      450 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .41166E-01    .73494E-01    .95182E-06   -1.5667    
   2  Index         9.9414        8.5471        .50000        1.7240    
   3  Normalizat    .87444        .16803        .18506E-05   -.97364    
   4  Prefactor     .84556        .16279        .18997E-05   -.98070    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.01363e-08
Minuit parameter uncertainties:
  1  0.0734939
  2  1.65561
  3  0.168133
  4  0.162881
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/589286': 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) = 7449.30386564
delta logL = 0.290472187494

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  4.117e-02  7.349e-02  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  9.941e+00  1.656e+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:  8.456e-01  1.629e-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.744e-01  1.681e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 344.025 -27.674

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/589286/cmap_HighResolution_273024001_273283201_4FGL_J2256.0-2740_daily_bin130.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.67e-03', job_status='DONE', photon_flux_upper_limit='8.33e-08', time_completed='2021-09-29 02:51:39.772233', job_id='589286', GAL2='0.85', fit_tolerance='1e-08', EG2='0.87', EG='0.90', time_epoch_completed='1632909099.77', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='2.90e-01', ts2='0.60', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='130' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:51:39 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin130 344.025 -27.6739 273024001 273283201 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 :                                   768.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             268.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   977 sec.
    Turnaround time :                            978 sec.

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

