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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin256
RA = 344.025, Dec = -27.6739
tmin = 305683201, tmax = 305942401
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='589475', job_status='RUN', time_executed='2021-09-29 02:37:47.077900', time_epoch_executed='1632908267.08' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='256'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/589475

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/589475/ft1_4FGL_J2256.0-2740_daily_bin256.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/589475/ft2_4FGL_J2256.0-2740_daily_bin256.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/589475/ft1_4FGL_J2256.0-2740_daily_bin256.fits outfile=/scratch/kocevski/589475/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin256.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=305683201.0 tmax=305942401.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.71
user 4.49
sys 0.21

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/589475/ft1_filtered_4FGL_J2256.0-2740_daily_bin256.fits" evtable="EVENTS" scfile=/scratch/kocevski/589475/ft2_4FGL_J2256.0-2740_daily_bin256.fits sctable="SC_DATA" outfile=/scratch/kocevski/589475/ltcube_305683201_305942401_4FGL_J2256.0-2740_daily_bin256.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/589475/ft2_4FGL_J2256.0-2740_daily_bin256.fits
.....................!
real 11.88
user 11.56
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/589475/ft1_filtered_4FGL_J2256.0-2740_daily_bin256.fits evtable="EVENTS" scfile=/scratch/kocevski/589475/ft2_4FGL_J2256.0-2740_daily_bin256.fits sctable="SC_DATA" expcube=/scratch/kocevski/589475/ltcube_305683201_305942401_4FGL_J2256.0-2740_daily_bin256.fits outfile=/scratch/kocevski/589475/expmap_305683201_305942401_4FGL_J2256.0-2740_daily_bin256.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/589475/ltcube_305683201_305942401_4FGL_J2256.0-2740_daily_bin256.fits
.....................!
real 189.86
user 185.45
sys 4.09

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/589475/ft1_filtered_4FGL_J2256.0-2740_daily_bin256.fits scfile=/scratch/kocevski/589475/ft2_4FGL_J2256.0-2740_daily_bin256.fits outfile=/scratch/kocevski/589475/cmap_305683201_305942401_4FGL_J2256.0-2740_daily_bin256.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.55
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/589475/ft1_filtered_4FGL_J2256.0-2740_daily_bin256.fits scfile=/scratch/kocevski/589475/ft2_4FGL_J2256.0-2740_daily_bin256.fits outfile=/scratch/kocevski/589475/cmap_HighResolution_305683201_305942401_4FGL_J2256.0-2740_daily_bin256.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    8.0251       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.5701       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    165.53       1.0000         .10000E-03   10000.    
     8 'Prefactor '    40.706       1.0000         .10000E-03   10000.    
     9 'norm      '    .10097E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .55909E-01   1.0000         .10000E-03   10000.    
    12 'norm      '    1.0827       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.4074       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.8807       1.0000         .10000E-03   10000.    
    16 'norm      '    20.140       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.5111       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.4583       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .55515       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2665       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=   6115.201     FROM MIGRAD    STATUS=CONVERGED    465 CALLS     2447 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.6711        .11769E-06** at limit **
   2  Prefactor     .10000E-03    1.8607        .29337E-07** at limit **
   3  norm          8.0243        22.585        .11658E-06    .20564E-04
   4  Prefactor     7.5699        14.374        .19327E-06    .68190E-05
   5  Prefactor     .10000E-03    7.1689       -.74290E-06** at limit **
   6  norm          .10000E-03    1.5209       -.10571E-05** at limit **
   7  Prefactor     165.51        53.615        .13351E-05    .15170E-03
   8  Prefactor     40.707        14.127        .61878E-07    .19311E-03
   9  norm          .10000E-03    1.1734       -.12737E-06** at limit **
  10  Prefactor     .10000E-03    6.8326        .16936E-06** at limit **
  11  Prefactor     .55665E-01    8.4301       -.14441E-05    .33930E-04
  12  norm          1.0826        .63792       -.87995E-07    .15794E-02
  13  Prefactor     .10000E-03    29.903       -.20675E-05** at limit **
  14  Prefactor     9.4072        8.9730        .12739E-07    .75218E-05
  15  Prefactor     2.8796        6.9644        .39511E-05   -.15835E-03
  16  norm          20.140        8.9234       -.47399E-08   -.26368E-04
  17  Prefactor     .10000E-03    32.062        .15026E-05** at limit **
  18  norm          3.5113        2.9848       -.29699E-07    .48757E-04
  19  Prefactor     5.4570        20.930        .33865E-06   -.11747E-05
  20  Prefactor     .10000E-03    31.765        .94098E-06** at limit **
  21  Normalizat    .55501        .18277        .70265E-06    .17345E-03
  22  Prefactor     1.2667        .17890       -.87725E-06    .16978E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.02429
  Prefactor  = 7.56993
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 165.511
  Prefactor  = 40.7072
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0556648
  norm       = 1.08256
  Prefactor  = 0.000100001
  Prefactor  = 9.40718
  Prefactor  = 2.87957
  norm       = 20.1402
  Prefactor  = 0.0001
  norm       = 3.51129
  Prefactor  = 5.45697
  Prefactor  = 0.0001
  Normalizat = 0.555007
  Prefactor  = 1.26668
 **********
 **   18 **HESSE 
 **********

 FCN=   6115.201     FROM HESSE     STATUS=OK           350 CALLS     2797 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.7066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.8658        .10417E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.0243        22.568        .14153E-03   -1.5141    
   4  Prefactor     7.5699        14.368        .14576E-03   -1.5158    
   5  Prefactor     .10000E-03    7.2726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.6452        .19228E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     165.51        54.761        .15675E-03   -1.3128    
   8  Prefactor     40.707        14.191        .62827E-04   -1.4431    
   9  norm          .10000E-03    1.9625        .16268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.8559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55665E-01    12.412        .49594E-01   -1.5661    
  12  norm          1.0826        .66484        .39417E-04   -1.5500    
  13  Prefactor     .10000E-03    29.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.4072        8.9761        .13066E-03   -1.5094    
  15  Prefactor     2.8796        7.0629        .11973E-02   -1.5369    
  16  norm          20.140        8.9246        .89249E-04   -1.4810    
  17  Prefactor     .10000E-03    32.068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.5113        2.9748        .11806E-03   -1.5333    
  19  Prefactor     5.4570        20.881        .17199E-03   -1.5241    
  20  Prefactor     .10000E-03    31.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .55501        .21762        .30663E-03   -1.0993    
  22  Prefactor     1.2667        .21425        .21491E-03   -.84303    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.18444e-10
Minuit parameter uncertainties:
  1  8.62064e-06
  2  1.54887e-06
  3  22.5917
  4  14.3744
  5  5.54366e-05
  6  6.10112e-05
  7  54.7781
  8  14.1927
  9  2.79661e-07
  10  2.03408e-06
  11  1.66125
  12  0.664842
  13  0.000399318
  14  8.97737
  15  7.0649
  16  8.92517
  17  0.00022452
  18  2.97493
  19  20.9091
  20  0.000144548
  21  0.21796
  22  0.214398
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  5.566e-02  1.661e+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:  1.267e+00  2.144e-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:  5.550e-01  2.180e-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.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/589475/likelihoodResults_305683201_305942401_4FGL_J2256.0-2740_daily_bin256.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): 102
logL (Free Index) = 6115.20110209
delta logL = 3.60557078238e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6114.78816612
delta logL = 0.412972029335

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15246       1.0000         .10000E-03   10000.    
     2 'Index     '    8.6750       1.0000          .0000       10.000    
     3 'Normalizat'    .50831       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2996       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=   6114.788     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      270 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15097        4.1361        .80041E-02   -.33834E-02
   2  Index         8.6861        6.0066        .50000       -.23691E-04
   3  Normalizat    .50843        .37511E-01    .72092E-01   -.99582E-04
   4  Prefactor     1.2995        .38258E-01    .48057E-01   -.14801E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.150974
  Index      = 8.68614
  Normalizat = 0.508428
  Prefactor  = 1.29949
 **********
 **   18 **HESSE 
 **********

 FCN=   6114.788     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      303 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15097        11.318        .37135E-03   -1.5630    
   2  Index         8.6861        5.1183        .39376E-01    .82896    
   3  Normalizat    .50843        .13432        .31916E-03   -1.1203    
   4  Prefactor     1.2995        .13388        .21244E-03   -.83322    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.92466e-10
Minuit parameter uncertainties:
  1  2.614
  2  21.4543
  3  0.134406
  4  0.133919
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/589475': 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): 102
logL (Free Index) = 6114.78816408
delta logL = 0.412974064348

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.510e-01  2.614e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  8.686e+00  2.145e+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:  1.299e+00  1.339e-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:  5.084e-01  1.344e-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/589475/cmap_HighResolution_305683201_305942401_4FGL_J2256.0-2740_daily_bin256.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.35e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2021-09-29 02:48:25.407375', job_id='589475', GAL2='1.30', fit_tolerance='1e-08', EG2='0.51', EG='0.56', time_epoch_completed='1632908905.41', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.27', dlogl='4.13e-01', ts2='0.88', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='256' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:48:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 589475: <4FGL_J2256.0-2740_daily_bin256> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin256 344.025 -27.6739 305683201 305942401 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 :                                   632.44 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             320.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   769 sec.
    Turnaround time :                            771 sec.

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

