/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 230 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7424
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2256.0-2740_daily_bin864
RA = 344.025, Dec = -27.6739
tmin = 463276801, tmax = 463536001
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='592443', job_status='RUN', time_executed='2021-09-29 02:49:27.368671', time_epoch_executed='1632908967.37' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='864'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592443

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592443/ft1_4FGL_J2256.0-2740_daily_bin864.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592443/ft2_4FGL_J2256.0-2740_daily_bin864.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592443/ft1_4FGL_J2256.0-2740_daily_bin864.fits outfile=/scratch/kocevski/592443/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin864.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=463276801.0 tmax=463536001.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.66
user 3.44
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592443/ft1_filtered_4FGL_J2256.0-2740_daily_bin864.fits" evtable="EVENTS" scfile=/scratch/kocevski/592443/ft2_4FGL_J2256.0-2740_daily_bin864.fits sctable="SC_DATA" outfile=/scratch/kocevski/592443/ltcube_463276801_463536001_4FGL_J2256.0-2740_daily_bin864.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/592443/ft2_4FGL_J2256.0-2740_daily_bin864.fits
.....................!
real 12.10
user 11.77
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592443/ft1_filtered_4FGL_J2256.0-2740_daily_bin864.fits evtable="EVENTS" scfile=/scratch/kocevski/592443/ft2_4FGL_J2256.0-2740_daily_bin864.fits sctable="SC_DATA" expcube=/scratch/kocevski/592443/ltcube_463276801_463536001_4FGL_J2256.0-2740_daily_bin864.fits outfile=/scratch/kocevski/592443/expmap_463276801_463536001_4FGL_J2256.0-2740_daily_bin864.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/592443/ltcube_463276801_463536001_4FGL_J2256.0-2740_daily_bin864.fits
.....................!
real 192.48
user 187.22
sys 4.91

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/592443/ft1_filtered_4FGL_J2256.0-2740_daily_bin864.fits scfile=/scratch/kocevski/592443/ft2_4FGL_J2256.0-2740_daily_bin864.fits outfile=/scratch/kocevski/592443/cmap_463276801_463536001_4FGL_J2256.0-2740_daily_bin864.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592443/ft1_filtered_4FGL_J2256.0-2740_daily_bin864.fits scfile=/scratch/kocevski/592443/ft2_4FGL_J2256.0-2740_daily_bin864.fits outfile=/scratch/kocevski/592443/cmap_HighResolution_463276801_463536001_4FGL_J2256.0-2740_daily_bin864.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10963E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .53188E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10875E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.893       1.0000         .10000E-03   10000.    
     6 'norm      '    1.6929       1.0000         .10000E-03   10000.    
     7 'Prefactor '    31.534       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .16590E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    72.337       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.7226       1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.422       1.0000         .10000E-03   10000.    
    16 'norm      '    .10077E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .82375E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    .10086E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10730E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10208E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5158       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .46874       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=   3702.079     FROM MIGRAD    STATUS=CONVERGED    517 CALLS     2460 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.5543        .81884E-07** at limit **
   2  Prefactor     .10000E-03    10.694        .27205E-06** at limit **
   3  norm          .10000E-03    305.50        .12604E-04** at limit **
   4  Prefactor     .10000E-03    15.018        .16744E-06** at limit **
   5  Prefactor     26.880        23.310       -.10595E-07    .68395E-04
   6  norm          1.6906        3.3244        .47087E-06    .24807E-03
   7  Prefactor     31.605        92.011       -.17640E-05   -.10789E-04
   8  Prefactor     .10000E-03    5.7171        .98401E-07** at limit **
   9  norm          .10000E-03    4.3742       -.96366E-06** at limit **
  10  Prefactor     .10000E-03    6.5782       -.10818E-06** at limit **
  11  Prefactor     .10000E-03    7.2098       -.56915E-06** at limit **
  12  norm          .10000E-03    .35357        .31349E-06** at limit **
  13  Prefactor     72.312        80.522       -.10391E-05    .20403E-04
  14  Prefactor     9.7132        19.373       -.72891E-06    .12656E-04
  15  Prefactor     16.409        14.997        .31973E-05   -.23555E-04
  16  norm          .10000E-03    3.5183        .10298E-06** at limit **
  17  Prefactor     .10001E-03    416.45        .19955E-05** at limit **
  18  norm          .10000E-03    3.7299       -.42771E-06** at limit **
  19  Prefactor     .10000E-03    33.866        .16113E-06** at limit **
  20  Prefactor     .10000E-03    110.37        .20053E-06** at limit **
  21  Normalizat    1.5161        .24007        .15270E-05    .27354E-03
  22  Prefactor     .46873        .21233       -.77069E-06    .21548E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 26.8795
  norm       = 1.69055
  Prefactor  = 31.6049
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 72.3118
  Prefactor  = 9.71321
  Prefactor  = 16.4087
  norm       = 0.0001
  Prefactor  = 0.00010001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.51606
  Prefactor  = 0.468725
 **********
 **   18 **HESSE 
 **********

 FCN=   3702.079     FROM HESSE     STATUS=OK           348 CALLS     2808 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.5611        .16333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    22.713        .93721E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     26.880        23.434        .77250E-04   -1.4671    
   6  norm          1.6906        3.3654        .11719E-03   -1.5448    
   7  Prefactor     31.605        93.651        .71353E-04   -1.4583    
   8  Prefactor     .10000E-03    5.7252        .14207E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    9.2266        .24541E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.5856        .15243E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.3195        .15995E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .36910        .65449E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     72.312        80.750        .47203E-04   -1.4005    
  14  Prefactor     9.7132        19.417        .12852E-03   -1.5085    
  15  Prefactor     16.409        15.061        .98835E-04   -1.4898    
  16  norm          .10000E-03    3.5209        .11146E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10001E-03    426.95        .36853E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    7.5769        .22686E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    33.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    110.40        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5161        .28125        .21003E-03   -.77328    
  22  Prefactor     .46873        .24463        .32180E-03   -1.1343    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.13545e-10
Minuit parameter uncertainties:
  1  6.31092e-06
  2  3.28113e-05
  3  0.000500327
  4  7.75987e-06
  5  23.4421
  6  3.36574
  7  94.0907
  8  8.3592e-06
  9  0.000245074
  10  2.21518e-05
  11  8.79354e-05
  12  1.36005e-05
  13  80.8732
  14  19.4291
  15  15.0649
  16  2.07771e-07
  17  0.00409052
  18  2.38228e-05
  19  4.1325e-05
  20  6.98911e-05
  21  0.281544
  22  0.245183
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  8.794e-05  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:  4.687e-01  2.452e-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:  1.516e+00  2.815e-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: 1.41e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.13e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/592443/likelihoodResults_463276801_463536001_4FGL_J2256.0-2740_daily_bin864.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) = 3702.07962831
delta logL = -0.000650279575439

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3702.07897762
delta logL = 4.10896518588e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10482E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.3469       1.0000          .0000       10.000    
     3 'Normalizat'    1.5159       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .46891       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=   3702.061     FROM MIGRAD    STATUS=FAILED       129 CALLS      326 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13314E-01    4.1503        .65298E-02    .40683E-02
   2  Index        10.0000        7.1650        .50000    ** at limit **
   3  Normalizat    1.5072        .46541E-01    .21003E-03   -.62660E-04
   4  Prefactor     .47435        .41358E-01    .32180E-03   -.80407E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   3702.061     FROM SIMPLEX   STATUS=UNCHANGED    119 CALLS      445 TOTAL
                     EDM=   .79E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13314E-01    4.1503        .67079E-05    .40683E-02
   2  Index        10.0000        7.1650        .57648E-01** at limit **
   3  Normalizat    1.5072        .46541E-01    .32845E-06   -.62660E-04
   4  Prefactor     .47435        .41358E-01    .17851E-06   -.80407E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3702.061     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      496 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13314E-01    .21269         .0000        .16961E-01
   2  Index        10.0000        9.1160         .0000    ** at limit **
   3  Normalizat    1.5072        .27360         .0000       -.62574E-04
   4  Prefactor     .47435        .24507         .0000       -.80372E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0133144
  Index      = 10
  Normalizat = 1.50724
  Prefactor  = 0.474355
 **********
 **   18 **HESSE 
 **********

 FCN=   3702.061     FROM HESSE     STATUS=OK            31 CALLS      527 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13314E-01    .14603        .64128E-04   -1.5685    
   2  Index        10.0000        5.7897        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.5072        .27367        .84011E-05   -.77575    
   4  Prefactor     .47435        .24510        .25744E-05   -1.1317    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.03982e-11
Minuit parameter uncertainties:
  1  0.0878584
  2  0.00177535
  3  0.273941
  4  0.245649
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592443': 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) = 3702.06149286
delta logL = 0.0174851735464

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.331e-02  8.786e-02  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  1.000e+01  1.775e-03  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:  4.744e-01  2.456e-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:  1.507e+00  2.739e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/592443/cmap_HighResolution_463276801_463536001_4FGL_J2256.0-2740_daily_bin864.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', job_status='DONE', photon_flux_upper_limit='1.41e-07', time_completed='2021-09-29 02:57:57.326589', job_id='592443', GAL2='0.47', fit_tolerance='1e-08', EG2='1.51', EG='1.52', time_epoch_completed='1632909477.33', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.47', dlogl='1.75e-02', ts2='0.04', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='864' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:57:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 592443: <4FGL_J2256.0-2740_daily_bin864> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin864 344.025 -27.6739 463276801 463536001 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 :                                   509.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             265.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            751 sec.

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

