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


Performing analysis on: 4FGL_J0256.3+0334_daily_bin628
RA = 44.0964, Dec = 3.5698
tmin = 402105601, tmax = 402364801
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='959850', job_status='RUN', time_executed='2021-08-17 04:32:26.369296', time_epoch_executed='1629199946.37' WHERE source_name='4FGL J0256.3+0334' and cadence='daily' and bin_id='628'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/959850

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/959850/ft1_4FGL_J0256.3+0334_daily_bin628.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/959850/ft2_4FGL_J0256.3+0334_daily_bin628.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/959850/ft1_4FGL_J0256.3+0334_daily_bin628.fits outfile=/scratch/kocevski/959850/ft1_filteredMKT_4FGL_J0256.3+0334_daily_bin628.fits ra=44.0964 dec=3.5698 rad=12.0 tmin=402105601.0 tmax=402364801.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 6.41
user 3.26
sys 2.86

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/959850/ft2_4FGL_J0256.3+0334_daily_bin628.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/959850/ft2_4FGL_J0256.3+0334_daily_bin628.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/959850/ft1_filteredMKT_4FGL_J0256.3+0334_daily_bin628.fits evtable="EVENTS" outfile="/scratch/kocevski/959850/ft1_filtered_4FGL_J0256.3+0334_daily_bin628.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 3.14
user 0.34
sys 2.72

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/959850/ft1_filtered_4FGL_J0256.3+0334_daily_bin628.fits" evtable="EVENTS" scfile=/scratch/kocevski/959850/ft2_4FGL_J0256.3+0334_daily_bin628.fits sctable="SC_DATA" outfile=/scratch/kocevski/959850/ltcube_402105601_402364801_4FGL_J0256.3+0334_daily_bin628.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/959850/ft2_4FGL_J0256.3+0334_daily_bin628.fits
.....................!
real 16.37
user 12.79
sys 3.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/959850/ft1_filtered_4FGL_J0256.3+0334_daily_bin628.fits evtable="EVENTS" scfile=/scratch/kocevski/959850/ft2_4FGL_J0256.3+0334_daily_bin628.fits sctable="SC_DATA" expcube=/scratch/kocevski/959850/ltcube_402105601_402364801_4FGL_J0256.3+0334_daily_bin628.fits outfile=/scratch/kocevski/959850/expmap_402105601_402364801_4FGL_J0256.3+0334_daily_bin628.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/959850/ltcube_402105601_402364801_4FGL_J0256.3+0334_daily_bin628.fits
.....................!
real 197.78
user 186.95
sys 8.74

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 156 point sources and 0 extended sources

Setting source of interest to:
4FGL J0256.3+0334 @ 44.0964 3.5698

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/959850/ft1_filtered_4FGL_J0256.3+0334_daily_bin628.fits scfile=/scratch/kocevski/959850/ft2_4FGL_J0256.3+0334_daily_bin628.fits outfile=/scratch/kocevski/959850/cmap_402105601_402364801_4FGL_J0256.3+0334_daily_bin628.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=44.0964 yref=3.5698 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 3.28
user 0.38
sys 2.73

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/959850/ft1_filtered_4FGL_J0256.3+0334_daily_bin628.fits scfile=/scratch/kocevski/959850/ft2_4FGL_J0256.3+0334_daily_bin628.fits outfile=/scratch/kocevski/959850/cmap_HighResolution_402105601_402364801_4FGL_J0256.3+0334_daily_bin628.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=44.0964 yref=3.5698 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 3.11
user 0.39
sys 2.68

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/959850/ft1_filtered_4FGL_J0256.3+0334_daily_bin628.fits evtable="EVENTS" scfile=/scratch/kocevski/959850/ft2_4FGL_J0256.3+0334_daily_bin628.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/959850/Model_4FGL_J0256.3+0334_daily_bin628.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/959850/ft1_filtered_4FGL_J0256.3+0334_daily_bin628.fits.....................!
real 102.62
user 96.48
sys 4.65

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/959850/ft1_filtered_4FGL_J0256.3+0334_daily_bin628.fits', '/scratch/kocevski/959850/ft2_4FGL_J0256.3+0334_daily_bin628.fits', expMap='/scratch/kocevski/959850/expmap_402105601_402364801_4FGL_J0256.3+0334_daily_bin628.fits', expCube='/scratch/kocevski/959850/ltcube_402105601_402364801_4FGL_J0256.3+0334_daily_bin628.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/959850/Model_4FGL_J0256.3+0334_daily_bin628.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0256.3+0334'

4FGL J0256.3+0334
   Spectrum: PowerLaw
272    Prefactor:  1.009e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
273        Index:  2.086e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  2.192e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/959850/ft1_filtered_4FGL_J0256.3+0334_daily_bin628.fits
Spacecraft file(s): /scratch/kocevski/959850/ft2_4FGL_J0256.3+0334_daily_bin628.fits
Exposure map: /scratch/kocevski/959850/expmap_402105601_402364801_4FGL_J0256.3+0334_daily_bin628.fits
Exposure cube: /scratch/kocevski/959850/ltcube_402105601_402364801_4FGL_J0256.3+0334_daily_bin628.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/959850/Model_4FGL_J0256.3+0334_daily_bin628.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) = 7593.47648886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4005       1.0000         .10000E-03   10000.    
     2 'norm      '    1.1378       1.0000         .10000E-03   10000.    
     3 'Prefactor '    36.598       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.1816       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.469       1.0000         .10000E-03   10000.    
     8 'Prefactor '    26.953       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10485E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    11.174       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10766E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    41.800       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10886E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.3914       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .30334E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.2956       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.1525       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.4459       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1983       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .80842       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7593.172     FROM MIGRAD    STATUS=CONVERGED    596 CALLS     2976 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4007        2.5450        .32552E-06   -.16107E-03
   2  norm          1.1380        .83948        .45505E-07   -.12897E-03
   3  Prefactor     36.587        30.295        .20765E-05    .26134E-03
   4  Prefactor     .10000E-03    39.129       -.38687E-06** at limit **
   5  Prefactor     6.1685        10.214        .35363E-05   -.28555E-03
   6  Prefactor     .10000E-03    20.357        .27235E-06** at limit **
   7  Prefactor     17.488        14.093       -.10638E-05   -.23983E-03
   8  Prefactor     27.075        50.661        .36050E-06    .92090E-04
   9  Prefactor     .10000E-03    14.319       -.85236E-07** at limit **
  10  norm          11.167        10.452        .16200E-06    .31036E-04
  11  Prefactor     .10000E-03    6.9487        .68818E-07** at limit **
  12  Prefactor     .10000E-03    10.106        .93374E-07** at limit **
  13  Prefactor     41.763        42.275        .21528E-05    .13648E-03
  14  Prefactor     .10000E-03    3.8185        .15999E-06** at limit **
  15  norm          .10000E-03    3.0694       -.14663E-07** at limit **
  16  norm          3.3895        4.7463        .53332E-06   -.14509E-03
  17  Prefactor     .10000E-03    5.2523       -.22160E-08** at limit **
  18  Prefactor     .10000E-03    2.3478       -.19484E-07** at limit **
  19  norm          .10001E-03    5.8040        .54243E-06** at limit **
  20  Prefactor     3.2959        11.517        .45056E-06   -.37088E-04
  21  Prefactor     9.1509        17.023        .32000E-06    .70067E-06
  22  Prefactor     .10000E-03    3.3558       -.23198E-07** at limit **
  23  Prefactor     1.4489        15.792        .20851E-05   -.41046E-04
  24  Normalizat    1.1982        .18455       -.11197E-05   -.93050E-04
  25  Prefactor     .80833        .83506E-01   -.10367E-06   -.27280E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.40065
  norm       = 1.13798
  Prefactor  = 36.5865
  Prefactor  = 0.0001
  Prefactor  = 6.16845
  Prefactor  = 0.0001
  Prefactor  = 17.4875
  Prefactor  = 27.0745
  Prefactor  = 0.0001
  norm       = 11.1668
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 41.763
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.38952
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100006
  Prefactor  = 3.29588
  Prefactor  = 9.15093
  Prefactor  = 0.0001
  Prefactor  = 1.44886
  Normalizat = 1.19817
  Prefactor  = 0.808334
 **********
 **   18 **HESSE 
 **********

 FCN=   7593.172     FROM HESSE     STATUS=OK           425 CALLS     3401 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4007        2.5165        .17584E-03   -1.5471    
   2  norm          1.1380        .83965        .65484E-04   -1.5495    
   3  Prefactor     36.587        31.191        .66247E-04   -1.4497    
   4  Prefactor     .10000E-03    39.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.1685        10.505        .80733E-03   -1.5211    
   6  Prefactor     .10000E-03    20.448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.488        14.201        .95827E-04   -1.4871    
   8  Prefactor     27.075        51.874        .77164E-04   -1.4667    
   9  Prefactor     .10000E-03    14.378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.167        10.449        .11985E-03   -1.5040    
  11  Prefactor     .10000E-03    6.9898        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     41.763        42.807        .62003E-04   -1.4415    
  14  Prefactor     .10000E-03    12.804        .32705E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.0708        .14908E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.3895        4.7360        .21133E-03   -1.5340    
  17  Prefactor     .10000E-03    5.2781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.3771        .13035E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10001E-03    26.417        .39557E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.2959        11.438        .22302E-03   -1.5345    
  21  Prefactor     9.1509        16.923        .13248E-03   -1.5103    
  22  Prefactor     .10000E-03    3.3923        .15576E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     1.4489        15.922        .35851E-03   -1.5467    
  24  Normalizat    1.1982        .20177        .31484E-03   -.86659    
  25  Prefactor     .80833        .90887E-01    .17238E-03   -.99422    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.31039e-10
Minuit parameter uncertainties:
  1  2.51668
  2  0.839661
  3  31.2048
  4  8.83236e-05
  5  10.508
  6  2.01886e-05
  7  14.204
  8  51.9608
  9  1.63155e-05
  10  10.4505
  11  1.88611e-06
  12  1.21746e-05
  13  42.8381
  14  2.70637e-05
  15  7.76212e-07
  16  4.73654
  17  4.31067e-06
  18  4.98803e-09
  19  0.000771101
  20  11.4456
  21  16.9321
  22  8.09153e-07
  23  9.60889
  24  0.201899
  25  0.0909042
Done.

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

Extracting fit parameters...

4FGL J0256.3+0334
   Spectrum: PowerLaw
272    Prefactor:  1.000e-04  2.706e-05  1.000e-04  1.000e+04 ( 1.000e-13)
273        Index:  2.086e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  2.192e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  8.083e-01  9.090e-02  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  1.198e+00  2.019e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 44.096 3.570
Photon Flux Upper Limit: 8.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/959850/likelihoodResults_402105601_402364801_4FGL_J0256.3+0334_daily_bin628.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) = 7593.1723766
delta logL = -0.000369743978808

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7593.17200748
delta logL = -6.27916961093e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12891E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1895       1.0000          .0000       10.000    
     3 'Normalizat'    1.1985       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80820       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7593.022     FROM MIGRAD    STATUS=CONVERGED    126 CALLS      300 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14406E-01    .33757        .42723E-02    .93268E-02
   2  Index         4.4261        2.5176        .92731E-01    .22823E-03
   3  Normalizat    1.1654        .30318E-01    .72012E-01    .70438E-04
   4  Prefactor     .81481        .13991E-01    .43824E-01    .19997E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0144063
  Index      = 4.42605
  Normalizat = 1.16545
  Prefactor  = 0.81481
 **********
 **   18 **HESSE 
 **********

 FCN=   7593.022     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      333 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14406E-01    2.3472        .18036E-03   -1.5684    
   2  Index         4.4261        7.0602        .82509E-02   -.11504    
   3  Normalizat    1.1654        .13007        .31865E-03   -.87677    
   4  Prefactor     .81481        .59157E-01    .17176E-03   -.99185    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.55842e-07
Minuit parameter uncertainties:
  1  0.366513
  2  8.97659
  3  0.130105
  4  0.0591614
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/959850': 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) = 7593.02166766
delta logL = 0.150339193097

Extracting fit parameters...

4FGL J0256.3+0334
   Spectrum: PowerLaw
272    Prefactor:  1.441e-02  3.665e-01  1.000e-04  1.000e+04 ( 1.000e-13)
273        Index:  4.426e+00  8.977e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  2.192e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  8.148e-01  5.916e-02  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  1.165e+00  1.301e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 44.096 3.570

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/959850/cmap_HighResolution_402105601_402364801_4FGL_J0256.3+0334_daily_bin628.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.06e-03', job_status='DONE', photon_flux_upper_limit='8.02e-08', time_completed='2021-08-17 04:46:15.250164', job_id='959850', GAL2='0.81', fit_tolerance='1e-08', EG2='1.17', EG='1.20', time_epoch_completed='1629200775.25', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='1.50e-01', ts2='0.32', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='628' AND source_name='4FGL J0256.3+0334' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 17 04:46:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0022>
Subject: Job 959850: <4FGL_J0256.3+0334_daily_bin628> in cluster <slac> Done

Job <4FGL_J0256.3+0334_daily_bin628> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Aug 17 04:30:35 2021
Job was executed on host(s) <bullet0022>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 17 04:31:12 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 17 04:31:12 2021
Terminated at Tue Aug 17 04:46:16 2021
Results reported at Tue Aug 17 04:46:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0256.3+0334_daily_bin628 44.0964 3.5698 402105601 402364801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0256.3+0334 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   858.15 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             287.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   903 sec.
    Turnaround time :                            941 sec.

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

