/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 65 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 = 7501
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0256.3+0334_daily_bin809
RA = 44.0964, Dec = 3.5698
tmin = 449020801, tmax = 449280001
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='961472', job_status='RUN', time_executed='2021-08-17 04:39:13.582119', time_epoch_executed='1629200353.58' WHERE source_name='4FGL J0256.3+0334' and cadence='daily' and bin_id='809'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/961472

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/961472/ft1_4FGL_J0256.3+0334_daily_bin809.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/961472/ft2_4FGL_J0256.3+0334_daily_bin809.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/961472/ft1_4FGL_J0256.3+0334_daily_bin809.fits outfile=/scratch/kocevski/961472/ft1_filteredMKT_4FGL_J0256.3+0334_daily_bin809.fits ra=44.0964 dec=3.5698 rad=12.0 tmin=449020801.0 tmax=449280001.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 7.66
user 5.23
sys 1.53

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/961472/ft2_4FGL_J0256.3+0334_daily_bin809.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/961472/ft1_filteredMKT_4FGL_J0256.3+0334_daily_bin809.fits evtable="EVENTS" outfile="/scratch/kocevski/961472/ft1_filtered_4FGL_J0256.3+0334_daily_bin809.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 2.35
user 0.32
sys 1.36

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/961472/ft1_filtered_4FGL_J0256.3+0334_daily_bin809.fits" evtable="EVENTS" scfile=/scratch/kocevski/961472/ft2_4FGL_J0256.3+0334_daily_bin809.fits sctable="SC_DATA" outfile=/scratch/kocevski/961472/ltcube_449020801_449280001_4FGL_J0256.3+0334_daily_bin809.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/961472/ft2_4FGL_J0256.3+0334_daily_bin809.fits
.....................!
real 14.63
user 12.21
sys 1.79

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/961472/ft1_filtered_4FGL_J0256.3+0334_daily_bin809.fits evtable="EVENTS" scfile=/scratch/kocevski/961472/ft2_4FGL_J0256.3+0334_daily_bin809.fits sctable="SC_DATA" expcube=/scratch/kocevski/961472/ltcube_449020801_449280001_4FGL_J0256.3+0334_daily_bin809.fits outfile=/scratch/kocevski/961472/expmap_449020801_449280001_4FGL_J0256.3+0334_daily_bin809.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/961472/ltcube_449020801_449280001_4FGL_J0256.3+0334_daily_bin809.fits
.....................!
real 198.55
user 185.62
sys 7.07

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/961472/ft1_filtered_4FGL_J0256.3+0334_daily_bin809.fits scfile=/scratch/kocevski/961472/ft2_4FGL_J0256.3+0334_daily_bin809.fits outfile=/scratch/kocevski/961472/cmap_449020801_449280001_4FGL_J0256.3+0334_daily_bin809.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 1.96
user 0.37
sys 1.41

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/961472/ft1_filtered_4FGL_J0256.3+0334_daily_bin809.fits scfile=/scratch/kocevski/961472/ft2_4FGL_J0256.3+0334_daily_bin809.fits outfile=/scratch/kocevski/961472/cmap_HighResolution_449020801_449280001_4FGL_J0256.3+0334_daily_bin809.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 1.78
user 0.38
sys 1.31

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/961472/ft1_filtered_4FGL_J0256.3+0334_daily_bin809.fits', '/scratch/kocevski/961472/ft2_4FGL_J0256.3+0334_daily_bin809.fits', expMap='/scratch/kocevski/961472/expmap_449020801_449280001_4FGL_J0256.3+0334_daily_bin809.fits', expCube='/scratch/kocevski/961472/ltcube_449020801_449280001_4FGL_J0256.3+0334_daily_bin809.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/961472/Model_4FGL_J0256.3+0334_daily_bin809.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/961472/ft1_filtered_4FGL_J0256.3+0334_daily_bin809.fits
Spacecraft file(s): /scratch/kocevski/961472/ft2_4FGL_J0256.3+0334_daily_bin809.fits
Exposure map: /scratch/kocevski/961472/expmap_449020801_449280001_4FGL_J0256.3+0334_daily_bin809.fits
Exposure cube: /scratch/kocevski/961472/ltcube_449020801_449280001_4FGL_J0256.3+0334_daily_bin809.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/961472/Model_4FGL_J0256.3+0334_daily_bin809.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) = 4277.44059287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6367       1.0000         .10000E-03   10000.    
     2 'norm      '    .10203E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.6247       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .16815E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.4070       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.5448       1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.990       1.0000         .10000E-03   10000.    
     8 'Prefactor '    34.015       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.653       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.3424       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .69352E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    8.7220       1.0000         .10000E-03   10000.    
    16 'norm      '    5.9785       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.0482       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    6.0287       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11034E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    18.412       1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.5321       1.0000         .10000E-03   10000.    
    23 'Prefactor '    12.218       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .21516       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2532       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=   4277.438     FROM MIGRAD    STATUS=CONVERGED    567 CALLS     2929 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6368        4.0315        .24519E-06   -.28390E-04
   2  norm          .10000E-03    .77560        .34625E-06** at limit **
   3  Prefactor     8.5786        33.438        .20918E-05   -.85849E-04
   4  Prefactor     .10000E-03    77.163        .71225E-06** at limit **
   5  Prefactor     8.4096        14.384        .53183E-06   -.12482E-04
   6  Prefactor     2.5590        69.802        .15990E-05    .22912E-04
   7  Prefactor     14.978        17.137        .67841E-06   -.71050E-04
   8  Prefactor     34.026        48.430        .13787E-06    .38870E-04
   9  Prefactor     .10000E-03    13.606        .29254E-06** at limit **
  10  norm          .10000E-03    4.6440       -.82134E-07** at limit **
  11  Prefactor     24.629        18.085        .95326E-06   -.50670E-05
  12  Prefactor     5.2470        41.118        .10289E-06   -.43539E-04
  13  Prefactor     .10000E-03    106.18        .84461E-06** at limit **
  14  Prefactor     .10000E-03    3.1359        .94208E-07** at limit **
  15  norm          8.7255        11.740        .15800E-06    .83841E-04
  16  norm          5.9800        5.7176        .22388E-06   -.61363E-04
  17  Prefactor     5.0436        14.057        .12005E-05   -.25833E-04
  18  Prefactor     .10000E-03    2.6301       -.29503E-07** at limit **
  19  norm          6.0300        6.3252        .39018E-07    .63754E-04
  20  Prefactor     .10001E-03    66.197       -.22076E-05** at limit **
  21  Prefactor     18.375        29.329        .66986E-06    .19313E-03
  22  Prefactor     7.5360        6.7820        .31027E-07    .40862E-04
  23  Prefactor     12.213        18.347        .63345E-06    .43297E-04
  24  Normalizat    .21568        .25656       -.16226E-04    .24924E-05
  25  Prefactor     1.2529        .13080        .27673E-05    .86952E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.63678
  norm       = 0.0001
  Prefactor  = 8.57858
  Prefactor  = 0.000100001
  Prefactor  = 8.40963
  Prefactor  = 2.55898
  Prefactor  = 14.9777
  Prefactor  = 34.0261
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 24.6292
  Prefactor  = 5.24701
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.72552
  norm       = 5.98001
  Prefactor  = 5.04355
  Prefactor  = 0.0001
  norm       = 6.03003
  Prefactor  = 0.000100005
  Prefactor  = 18.375
  Prefactor  = 7.53599
  Prefactor  = 12.2135
  Normalizat = 0.215682
  Prefactor  = 1.25293
 **********
 **   18 **HESSE 
 **********

 FCN=   4277.438     FROM HESSE     STATUS=OK           431 CALLS     3360 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6368        4.0121        .12839E-03   -1.5327    
   2  norm          .10000E-03    1.4913        .11122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.5786        33.064        .13649E-03   -1.5122    
   4  Prefactor     .10000E-03    77.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.4096        14.383        .13826E-03   -1.5128    
   6  Prefactor     2.5590        67.362        .25598E-03   -1.5388    
   7  Prefactor     14.978        17.054        .10345E-03   -1.4934    
   8  Prefactor     34.026        48.394        .68709E-04   -1.4541    
   9  Prefactor     .10000E-03    13.650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    4.6459        .13762E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     24.629        18.096        .80678E-04   -1.4715    
  12  Prefactor     5.2470        41.180        .17388E-03   -1.5250    
  13  Prefactor     .10000E-03    106.61        .20985E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.1455        .11312E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          8.7255        11.736        .13573E-03   -1.5117    
  16  norm          5.9800        5.7270        .14620E-03   -1.5219    
  17  Prefactor     5.0436        14.072        .17896E-03   -1.5259    
  18  Prefactor     .10000E-03    2.6321        .10356E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.0300        6.3302        .16301E-03   -1.5217    
  20  Prefactor     .10001E-03    66.261        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     18.375        29.041        .93341E-04   -1.4850    
  22  Prefactor     7.5360        6.7963        .14613E-03   -1.5159    
  23  Prefactor     12.213        18.419        .11460E-03   -1.5009    
  24  Normalizat    .21568        .25947        .66833E-03   -1.2828    
  25  Prefactor     1.2529        .13193        .15104E-03   -.84718    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.76437e-10
Minuit parameter uncertainties:
  1  4.01237
  2  3.87364e-06
  3  33.1347
  4  0.000653309
  5  14.3889
  6  26.2909
  7  17.0596
  8  48.4503
  9  1.09044e-05
  10  1.23274e-05
  11  18.1005
  12  29.4263
  13  0.000205934
  14  4.4035e-07
  15  11.7391
  16  5.72752
  17  14.0812
  18  7.22241e-06
  19  6.33086
  20  0.00118914
  21  29.0638
  22  6.797
  23  18.4277
  24  0.260935
  25  0.131963
Done.

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

Extracting fit parameters...

4FGL J0256.3+0334
   Spectrum: PowerLaw
272    Prefactor:  1.000e-04  4.404e-07  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:  1.253e+00  1.320e-01  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:  2.157e-01  2.609e-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.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.48e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/961472/likelihoodResults_449020801_449280001_4FGL_J0256.3+0334_daily_bin809.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) = 4277.43999672
delta logL = -0.00149740851793

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4277.4384994
delta logL = -8.87139322003e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10237E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0650       1.0000          .0000       10.000    
     3 'Normalizat'    .21572       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2529       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   4277.438     FROM MIGRAD    STATUS=FAILED        86 CALLS      237 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10192E-03    52.061        .11524E-02** at limit **
   2  Index         1.9924        5.8784        .50000        .45834E-04
   3  Normalizat    .21568        .26515E-01    .66829E-03    .52498E-04
   4  Prefactor     1.2529        .13920E-01    .15104E-03    .91754E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4277.438     FROM SIMPLEX   STATUS=UNCHANGED    131 CALLS      368 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10192E-03    52.061        .32814E-03** at limit **
   2  Index         1.9924        5.8784        .52782E-03    .45834E-04
   3  Normalizat    .21568        .26515E-01    .10969E-04    .52498E-04
   4  Prefactor     1.2529        .13920E-01    .25072E-05    .91754E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4277.438     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      417 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    64.401        .23049E-02** at limit **
   2  Index         1.5523        5.2758        .50000       -.43678E-07
   3  Normalizat    .21568        .27006E-01    .26732E-04   -.42138E-03
   4  Prefactor     1.2529        .14179E-01    .60415E-05   -.17508E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.5523
  Normalizat = 0.215678
  Prefactor  = 1.25293
 **********
 **   18 **HESSE 
 **********

 FCN=   4277.438     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      446 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    294.57        .46097E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5523        8.5997        .50000       -.76085    
   3  Normalizat    .21568        .62310E-01    .53463E-05   -1.2828    
   4  Prefactor     1.2529        .32711E-01    .12083E-05   -.84718    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.32524e-10
Minuit parameter uncertainties:
  1  7.35568e-05
  2  927.042
  3  0.0623304
  4  0.0327115
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/961472': 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) = 4277.43849574
delta logL = 3.57811495633e-06

Extracting fit parameters...

4FGL J0256.3+0334
   Spectrum: PowerLaw
272    Prefactor:  1.000e-04  7.356e-05  1.000e-04  1.000e+04 ( 1.000e-13)
273        Index:  1.552e+00  9.270e+02  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:  1.253e+00  3.271e-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:  2.157e-01  6.233e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/961472/cmap_HighResolution_449020801_449280001_4FGL_J0256.3+0334_daily_bin809.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.48e-03', job_status='DONE', photon_flux_upper_limit='8.58e-08', time_completed='2021-08-17 04:49:32.798786', job_id='961472', GAL2='1.25', fit_tolerance='1e-08', EG2='0.22', EG='0.22', time_epoch_completed='1629200972.8', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='3.58e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='809' AND source_name='4FGL J0256.3+0334' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 17 04:49:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 961472: <4FGL_J0256.3+0334_daily_bin809> in cluster <slac> Done

Job <4FGL_J0256.3+0334_daily_bin809> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 17 04:35:36 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 17 04:36:23 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:36:23 2021
Terminated at Tue Aug 17 04:49:34 2021
Results reported at Tue Aug 17 04:49:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0256.3+0334_daily_bin809 44.0964 3.5698 449020801 449280001 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 :                                   624.42 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             291.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            838 sec.

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

