/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 152 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 = 7478
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2256.0-2740_daily_bin22
RA = 344.025, Dec = -27.6739
tmin = 245030401, tmax = 245289601
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='588051', job_status='RUN', time_executed='2021-09-29 02:33:28.866034', time_epoch_executed='1632908008.87' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='22'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/588051

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/588051/ft1_4FGL_J2256.0-2740_daily_bin22.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/588051/ft2_4FGL_J2256.0-2740_daily_bin22.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/588051/ft1_4FGL_J2256.0-2740_daily_bin22.fits outfile=/scratch/kocevski/588051/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin22.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=245030401.0 tmax=245289601.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 1.43
user 1.26
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/588051/ft2_4FGL_J2256.0-2740_daily_bin22.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/588051/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin22.fits evtable="EVENTS" outfile="/scratch/kocevski/588051/ft1_filtered_4FGL_J2256.0-2740_daily_bin22.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.50
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/588051/ft1_filtered_4FGL_J2256.0-2740_daily_bin22.fits" evtable="EVENTS" scfile=/scratch/kocevski/588051/ft2_4FGL_J2256.0-2740_daily_bin22.fits sctable="SC_DATA" outfile=/scratch/kocevski/588051/ltcube_245030401_245289601_4FGL_J2256.0-2740_daily_bin22.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/588051/ft2_4FGL_J2256.0-2740_daily_bin22.fits
.....................!
real 17.01
user 16.63
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/588051/ft1_filtered_4FGL_J2256.0-2740_daily_bin22.fits evtable="EVENTS" scfile=/scratch/kocevski/588051/ft2_4FGL_J2256.0-2740_daily_bin22.fits sctable="SC_DATA" expcube=/scratch/kocevski/588051/ltcube_245030401_245289601_4FGL_J2256.0-2740_daily_bin22.fits outfile=/scratch/kocevski/588051/expmap_245030401_245289601_4FGL_J2256.0-2740_daily_bin22.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/588051/ltcube_245030401_245289601_4FGL_J2256.0-2740_daily_bin22.fits
.....................!
real 190.85
user 185.86
sys 4.68

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/588051/ft1_filtered_4FGL_J2256.0-2740_daily_bin22.fits scfile=/scratch/kocevski/588051/ft2_4FGL_J2256.0-2740_daily_bin22.fits outfile=/scratch/kocevski/588051/cmap_245030401_245289601_4FGL_J2256.0-2740_daily_bin22.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/588051/ft1_filtered_4FGL_J2256.0-2740_daily_bin22.fits scfile=/scratch/kocevski/588051/ft2_4FGL_J2256.0-2740_daily_bin22.fits outfile=/scratch/kocevski/588051/cmap_HighResolution_245030401_245289601_4FGL_J2256.0-2740_daily_bin22.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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/588051/ft1_filtered_4FGL_J2256.0-2740_daily_bin22.fits evtable="EVENTS" scfile=/scratch/kocevski/588051/ft2_4FGL_J2256.0-2740_daily_bin22.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/588051/Model_4FGL_J2256.0-2740_daily_bin22.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/588051/ft1_filtered_4FGL_J2256.0-2740_daily_bin22.fits.....................!
real 48.92
user 47.61
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10097E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.120       1.0000         .10000E-03   10000.    
     6 'norm      '    .42394       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.4576       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.2477       1.0000         .10000E-03   10000.    
     9 'norm      '    2.6127       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.835       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.3861       1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.257       1.0000         .10000E-03   10000.    
    16 'norm      '    4.9759       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    7.6661       1.0000         .10000E-03   10000.    
    19 'Prefactor '    14.155       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .87986       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94949       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=   6478.866     FROM MIGRAD    STATUS=CONVERGED    488 CALLS     2763 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.9639       -.49577E-06** at limit **
   2  Prefactor     .10000E-03    5.8906        .67933E-06** at limit **
   3  norm          .10000E-03    13.418        .68709E-07** at limit **
   4  Prefactor     .10000E-03    28.965       -.12787E-05** at limit **
   5  Prefactor     20.125        13.772       -.37539E-06    .19711E-03
   6  norm          .42714        6.1408        .19831E-05   -.21434E-03
   7  Prefactor     8.3885        107.19        .62896E-05    .27200E-04
   8  Prefactor     5.2474        10.374       -.19131E-06    .15077E-03
   9  norm          2.6131        3.6774       -.12922E-06   -.19962E-03
  10  Prefactor     14.841        14.401       -.41030E-06   -.27328E-03
  11  Prefactor     .10000E-03    6.9614        .78944E-06** at limit **
  12  norm          .10000E-03    .16958        .35110E-06** at limit **
  13  Prefactor     .10000E-03    70.890        .68918E-06** at limit **
  14  Prefactor     1.3860        5.4928        .54057E-06   -.57569E-06
  15  Prefactor     17.259        11.040       -.42902E-06   -.35502E-03
  16  norm          4.9756        5.6696       -.67822E-07    .23135E-03
  17  Prefactor     .10000E-03    8.0371        .30564E-06** at limit **
  18  norm          7.6667        3.4413       -.51393E-08   -.23478E-04
  19  Prefactor     14.148        23.568        .28814E-06   -.21262E-04
  20  Prefactor     .10000E-03    24.235        .15060E-05** at limit **
  21  Normalizat    .87975        .16364        .26568E-06    .32902E-04
  22  Prefactor     .94962        .15728       -.53064E-06   -.62732E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 20.1246
  norm       = 0.42714
  Prefactor  = 8.38848
  Prefactor  = 5.24739
  norm       = 2.61313
  Prefactor  = 14.8406
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.38601
  Prefactor  = 17.2595
  norm       = 4.97562
  Prefactor  = 0.0001
  norm       = 7.6667
  Prefactor  = 14.1482
  Prefactor  = 0.0001
  Normalizat = 0.879747
  Prefactor  = 0.949616
 **********
 **   18 **HESSE 
 **********

 FCN=   6478.866     FROM HESSE     STATUS=OK           350 CALLS     3113 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.9659        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.0310        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    13.458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    29.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.125        13.800        .89293E-04   -1.4810    
   6  norm          .42714        7.5299        .19562E-02   -1.5577    
   7  Prefactor     8.3885        125.31        .13784E-03   -1.5129    
   8  Prefactor     5.2474        10.627        .87733E-03   -1.5250    
   9  norm          2.6131        3.6317        .15885E-03   -1.5385    
  10  Prefactor     14.841        14.329        .10399E-03   -1.4937    
  11  Prefactor     .10000E-03    7.0844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .18792        .63826E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    71.589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.3860        5.4551        .36644E-03   -1.5473    
  15  Prefactor     17.259        11.073        .96414E-04   -1.4877    
  16  norm          4.9756        5.7202        .90143E-03   -1.5262    
  17  Prefactor     .10000E-03    8.0357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.6667        3.4408        .92998E-04   -1.5154    
  19  Prefactor     14.148        23.558        .10646E-03   -1.4956    
  20  Prefactor     .10000E-03    24.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .87975        .19360        .24022E-03   -.97175    
  22  Prefactor     .94962        .18474        .23118E-03   -.94428    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.9677e-08
Minuit parameter uncertainties:
  1  3.25548e-05
  2  3.97483e-05
  3  3.95763e-06
  4  0.000272554
  5  13.802
  6  3.58693
  7  65.0058
  8  10.6309
  9  3.632
  10  14.3325
  11  4.19736e-05
  12  2.02138e-06
  13  1.57916e-05
  14  5.45703
  15  11.0745
  16  5.72078
  17  1.46245e-05
  18  3.44094
  19  23.5738
  20  0.000164427
  21  0.193749
  22  0.18486
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  4.197e-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:  9.496e-01  1.849e-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.797e-01  1.937e-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: 9.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/588051/likelihoodResults_245030401_245289601_4FGL_J2256.0-2740_daily_bin22.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) = 6478.86635124
delta logL = -0.00067335026506

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6478.86567793
delta logL = -4.0950908442e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0100       1.0000          .0000       10.000    
     3 'Normalizat'    .87979       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94961       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=   6478.866     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      250 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.924        .55556E-01** at limit **
   2  Index         2.6605        6.1128        .50000        .35561E-07
   3  Normalizat    .87975        .81079E-02    .24021E-03   -.31555E-03
   4  Prefactor     .94962        .81211E-02    .23118E-03   -.32693E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.66051
  Normalizat = 0.879746
  Prefactor  = 0.949616
 **********
 **   18 **HESSE 
 **********

 FCN=   6478.866     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      281 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    788.73        .31718E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6605        5.7057        .50000       -.48691    
   3  Normalizat    .87975        .44813E-01    .48043E-04   -.97176    
   4  Prefactor     .94962        .44846E-01    .46237E-04   -.94428    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.2039e-09
Minuit parameter uncertainties:
  1  0.00124047
  2  834.543
  3  0.0448149
  4  0.0448481
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/588051': 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) = 6478.86567712
delta logL = 7.67626261222e-07

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  1.240e-03  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.661e+00  8.345e+02  0.000e+00  1.000e+01 (-1.000e+00)
342        Scale:  2.384e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  9.496e-01  4.485e-02  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.797e-01  4.481e-02  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/588051/cmap_HighResolution_245030401_245289601_4FGL_J2256.0-2740_daily_bin22.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.54e-03', job_status='DONE', photon_flux_upper_limit='9.41e-08', time_completed='2021-09-29 02:44:26.884388', job_id='588051', GAL2='0.95', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1632908666.88', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='7.68e-07', ts2='-0.00', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='22' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:44:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 588051: <4FGL_J2256.0-2740_daily_bin22> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin22> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 02:30:47 2021
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:30:49 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:30:49 2021
Terminated at Wed Sep 29 02:44:27 2021
Results reported at Wed Sep 29 02:44:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin22 344.025 -27.6739 245030401 245289601 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 :                                   655.15 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             295.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            820 sec.

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

