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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin876
RA = 344.025, Dec = -27.6739
tmin = 466387201, tmax = 466646401
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='592462', job_status='RUN', time_executed='2021-09-29 02:47:27.259024', time_epoch_executed='1632908847.26' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='876'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592462

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592462/ft1_4FGL_J2256.0-2740_daily_bin876.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592462/ft2_4FGL_J2256.0-2740_daily_bin876.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592462/ft1_4FGL_J2256.0-2740_daily_bin876.fits outfile=/scratch/kocevski/592462/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin876.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=466387201.0 tmax=466646401.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.62
user 3.40
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592462/ft1_filtered_4FGL_J2256.0-2740_daily_bin876.fits" evtable="EVENTS" scfile=/scratch/kocevski/592462/ft2_4FGL_J2256.0-2740_daily_bin876.fits sctable="SC_DATA" outfile=/scratch/kocevski/592462/ltcube_466387201_466646401_4FGL_J2256.0-2740_daily_bin876.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/592462/ft2_4FGL_J2256.0-2740_daily_bin876.fits
.....................!
real 12.28
user 11.92
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592462/ft1_filtered_4FGL_J2256.0-2740_daily_bin876.fits evtable="EVENTS" scfile=/scratch/kocevski/592462/ft2_4FGL_J2256.0-2740_daily_bin876.fits sctable="SC_DATA" expcube=/scratch/kocevski/592462/ltcube_466387201_466646401_4FGL_J2256.0-2740_daily_bin876.fits outfile=/scratch/kocevski/592462/expmap_466387201_466646401_4FGL_J2256.0-2740_daily_bin876.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/592462/ltcube_466387201_466646401_4FGL_J2256.0-2740_daily_bin876.fits
.....................!
real 190.63
user 184.67
sys 5.58

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/592462/ft1_filtered_4FGL_J2256.0-2740_daily_bin876.fits scfile=/scratch/kocevski/592462/ft2_4FGL_J2256.0-2740_daily_bin876.fits outfile=/scratch/kocevski/592462/cmap_466387201_466646401_4FGL_J2256.0-2740_daily_bin876.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.36
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/592462/ft1_filtered_4FGL_J2256.0-2740_daily_bin876.fits evtable="EVENTS" scfile=/scratch/kocevski/592462/ft2_4FGL_J2256.0-2740_daily_bin876.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/592462/Model_4FGL_J2256.0-2740_daily_bin876.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/592462/ft1_filtered_4FGL_J2256.0-2740_daily_bin876.fits.....................!
real 47.58
user 46.28
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .21779       1.0000         .10000E-03   10000.    
     3 'norm      '    40.254       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .20353       1.0000         .10000E-03   10000.    
     6 'norm      '    2.2191       1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.845       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.1298       1.0000         .10000E-03   10000.    
     9 'norm      '    3.4019       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10572E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.4787       1.0000         .10000E-03   10000.    
    16 'norm      '    20.785       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    32.235       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .74916       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0640       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=   6152.542     FROM MIGRAD    STATUS=CONVERGED    517 CALLS     2432 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.0679        .48724E-06** at limit **
   2  Prefactor     .22497        26.715        .81499E-05   -.18646E-03
   3  norm          40.255        23.045        .44874E-07    .44876E-04
   4  Prefactor     .10000E-03    8.0716        .28545E-06** at limit **
   5  Prefactor     .12175        7.8646       -.27267E-06   -.95033E-05
   6  norm          2.2180        2.2396       -.20594E-06   -.49947E-04
   7  Prefactor     22.936        43.354        .25771E-05    .97637E-05
   8  Prefactor     6.1271        8.7899       -.14507E-05   -.45369E-03
   9  norm          3.4020        3.1972       -.43882E-06   -.42999E-03
  10  Prefactor     .10000E-03    7.1427        .49073E-06** at limit **
  11  Prefactor     .10000E-03    2.9755        .64744E-06** at limit **
  12  norm          .10000E-03    .18024        .25115E-06** at limit **
  13  Prefactor     .10000E-03    40.731        .47977E-06** at limit **
  14  Prefactor     .10000E-03    3.7747        .12520E-06** at limit **
  15  Prefactor     3.4784        4.8628       -.36916E-06   -.24166E-03
  16  norm          20.784        8.0727        .23920E-07   -.27994E-04
  17  Prefactor     .10000E-03    15.944        .38769E-06** at limit **
  18  norm          .10000E-03    .63547        .15078E-06** at limit **
  19  Prefactor     .10000E-03    8.1989        .40717E-06** at limit **
  20  Prefactor     32.186        67.643       -.66791E-06    .23954E-04
  21  Normalizat    .74905        .18509        .34135E-06   -.28833E-03
  22  Prefactor     1.0643        .18312       -.11701E-05    .15117E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.224972
  norm       = 40.2554
  Prefactor  = 0.0001
  Prefactor  = 0.121755
  norm       = 2.218
  Prefactor  = 22.9357
  Prefactor  = 6.12712
  norm       = 3.40204
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.4784
  norm       = 20.7836
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.1865
  Normalizat = 0.749053
  Prefactor  = 1.06433
 **********
 **   18 **HESSE 
 **********

 FCN=   6152.542     FROM HESSE     STATUS=OK           354 CALLS     2786 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.1153        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .22497        28.486        .26107E-02   -1.5613    
   3  norm          40.255        23.030        .63178E-04   -1.4438    
   4  Prefactor     .10000E-03    8.0941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .12175        10.910        .61459E-01   -1.5638    
   6  norm          2.2180        2.2345        .10148E-03   -1.5410    
   7  Prefactor     22.936        44.135        .83805E-04   -1.4750    
   8  Prefactor     6.1271        8.9250        .81078E-03   -1.5213    
   9  norm          3.4020        3.1656        .12919E-03   -1.5339    
  10  Prefactor     .10000E-03    7.2236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.4958        .23980E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .41603        .60987E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    40.829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.7796        .14885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.4784        4.8213        .19615E-03   -1.5335    
  16  norm          20.784        8.0754        .87854E-04   -1.4796    
  17  Prefactor     .10000E-03    15.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .64065        .61109E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.2153        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     32.186        67.673        .70575E-04   -1.4573    
  21  Normalizat    .74905        .20516        .24494E-03   -1.0199    
  22  Prefactor     1.0643        .20192        .21369E-03   -.90615    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17086e-09
Minuit parameter uncertainties:
  1  5.01203e-05
  2  5.06438
  3  23.0355
  4  1.70744e-05
  5  2.30452
  6  2.23462
  7  44.1976
  8  8.92692
  9  3.16578
  10  8.30745e-05
  11  0.000308858
  12  7.36394e-06
  13  0.000155108
  14  6.52204e-06
  15  4.8218
  16  8.07583
  17  3.33628e-05
  18  3.28123e-06
  19  2.63948e-05
  20  67.8354
  21  0.205368
  22  0.202066
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  3.089e-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:  1.064e+00  2.021e-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.491e-01  2.054e-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: 6.27e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/592462/likelihoodResults_466387201_466646401_4FGL_J2256.0-2740_daily_bin876.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) = 6152.54238304
delta logL = -0.000866131457769

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6152.54151585
delta logL = 1.05851268017e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10476E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9598       1.0000          .0000       10.000    
     3 'Normalizat'    .74908       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0643       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=   6152.536     FROM MIGRAD    STATUS=CONVERGED    211 CALLS      379 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24454        11.038        .25563E-02    .19034E-03
   2  Index         2.1997        1.0835        .50000       -.11655E-04
   3  Normalizat    .74903        .19412        .24494E-03   -.37131E-05
   4  Prefactor     1.0634        .20026        .21369E-03   -.32986E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.244537
  Index      = 2.19967
  Normalizat = 0.749027
  Prefactor  = 1.06342
 **********
 **   18 **HESSE 
 **********

 FCN=   6152.536     FROM HESSE     STATUS=OK            29 CALLS      408 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24454        6.3386        .10225E-03   -1.5609    
   2  Index         2.1997        2.3320        .15325E-01   -.59447    
   3  Normalizat    .74903        .19440        .97977E-05   -1.0199    
   4  Prefactor     1.0634        .20032        .85475E-05   -.90644    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50781e-12
Minuit parameter uncertainties:
  1  2.48978
  2  2.47706
  3  0.194584
  4  0.200462
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592462': 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) = 6152.53637419
delta logL = 0.00514271846077

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  2.445e-01  2.490e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.200e+00  2.477e+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:  1.063e+00  2.005e-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.490e-01  1.946e-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/592462/cmap_HighResolution_466387201_466646401_4FGL_J2256.0-2740_daily_bin876.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.02e-03', job_status='DONE', photon_flux_upper_limit='6.27e-08', time_completed='2021-09-29 02:58:08.737837', job_id='592462', GAL2='1.06', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1632909488.74', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='5.14e-03', ts2='0.01', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='876' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:58:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 592462: <4FGL_J2256.0-2740_daily_bin876> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin876> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:45:27 2021
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:45:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 02:45:29 2021
Terminated at Wed Sep 29 02:58:09 2021
Results reported at Wed Sep 29 02:58:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin876 344.025 -27.6739 466387201 466646401 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 :                                   637.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             262.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            762 sec.

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

