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


Performing analysis on: 4FGL_J0256.3+0334_daily_bin529
RA = 44.0964, Dec = 3.5698
tmin = 376444801, tmax = 376704001
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='958648', job_status='RUN', time_executed='2021-08-17 04:29:15.156301', time_epoch_executed='1629199755.16' WHERE source_name='4FGL J0256.3+0334' and cadence='daily' and bin_id='529'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/958648

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/958648/ft1_4FGL_J0256.3+0334_daily_bin529.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/958648/ft2_4FGL_J0256.3+0334_daily_bin529.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/958648/ft1_4FGL_J0256.3+0334_daily_bin529.fits outfile=/scratch/kocevski/958648/ft1_filteredMKT_4FGL_J0256.3+0334_daily_bin529.fits ra=44.0964 dec=3.5698 rad=12.0 tmin=376444801.0 tmax=376704001.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.01
user 4.25
sys 1.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/958648/ft1_filtered_4FGL_J0256.3+0334_daily_bin529.fits" evtable="EVENTS" scfile=/scratch/kocevski/958648/ft2_4FGL_J0256.3+0334_daily_bin529.fits sctable="SC_DATA" outfile=/scratch/kocevski/958648/ltcube_376444801_376704001_4FGL_J0256.3+0334_daily_bin529.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/958648/ft2_4FGL_J0256.3+0334_daily_bin529.fits
.....................!
real 14.69
user 12.85
sys 1.49

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/958648/ft1_filtered_4FGL_J0256.3+0334_daily_bin529.fits evtable="EVENTS" scfile=/scratch/kocevski/958648/ft2_4FGL_J0256.3+0334_daily_bin529.fits sctable="SC_DATA" expcube=/scratch/kocevski/958648/ltcube_376444801_376704001_4FGL_J0256.3+0334_daily_bin529.fits outfile=/scratch/kocevski/958648/expmap_376444801_376704001_4FGL_J0256.3+0334_daily_bin529.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/958648/ltcube_376444801_376704001_4FGL_J0256.3+0334_daily_bin529.fits
.....................!
real 194.83
user 186.20
sys 5.97

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/958648/ft1_filtered_4FGL_J0256.3+0334_daily_bin529.fits scfile=/scratch/kocevski/958648/ft2_4FGL_J0256.3+0334_daily_bin529.fits outfile=/scratch/kocevski/958648/cmap_376444801_376704001_4FGL_J0256.3+0334_daily_bin529.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.66
user 0.37
sys 1.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/958648/ft1_filtered_4FGL_J0256.3+0334_daily_bin529.fits scfile=/scratch/kocevski/958648/ft2_4FGL_J0256.3+0334_daily_bin529.fits outfile=/scratch/kocevski/958648/cmap_HighResolution_376444801_376704001_4FGL_J0256.3+0334_daily_bin529.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.71
user 0.38
sys 1.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3369       1.0000         .10000E-03   10000.    
     2 'norm      '    .32473       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.136       1.0000         .10000E-03   10000.    
     4 'Prefactor '    69.571       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.6676       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .44798       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.3889       1.0000         .10000E-03   10000.    
     8 'Prefactor '    20.395       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.5117       1.0000         .10000E-03   10000.    
    10 'norm      '    7.0752       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.2309       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10254E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    7.4862       1.0000         .10000E-03   10000.    
    16 'norm      '    3.6037       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .78238       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    53.936       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .48362       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0066       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=   6111.740     FROM MIGRAD    STATUS=CONVERGED    581 CALLS     3417 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3366        2.5867        .26513E-07    .13534E-03
   2  norm          .32479        .72172       -.14389E-07   -.31604E-04
   3  Prefactor     13.135        21.996        .12566E-06    .61017E-04
   4  Prefactor     69.600        59.218       -.95325E-06    .58068E-04
   5  Prefactor     8.6818        11.903       -.81084E-06    .83184E-04
   6  Prefactor     .40907        12.187       -.31572E-05    .49115E-03
   7  Prefactor     6.3896        7.8123        .60631E-07    .10440E-03
   8  Prefactor     20.296        60.150        .10453E-04    .17734E-04
   9  Prefactor     4.5121        16.488        .19994E-07    .46796E-04
  10  norm          7.0809        9.3144        .26833E-06    .10104E-03
  11  Prefactor     .10000E-03    5.8574       -.81327E-07** at limit **
  12  Prefactor     2.2535        186.52       -.17747E-04   -.46079E-04
  13  Prefactor     .10000E-03    73.652       -.64908E-06** at limit **
  14  Prefactor     .10000E-03    9.2624       -.67329E-07** at limit **
  15  norm          7.4859        14.532        .11511E-07    .54060E-04
  16  norm          3.6045        5.8636        .19061E-05    .31360E-03
  17  Prefactor     .10000E-03    9.9596       -.51423E-07** at limit **
  18  Prefactor     .78109        9.1942        .70843E-06    .21265E-04
  19  norm          .10000E-03    6.9399        .18782E-06** at limit **
  20  Prefactor     .10000E-03    12.090       -.24452E-06** at limit **
  21  Prefactor     53.932        33.509       -.88984E-08    .27120E-04
  22  Prefactor     .10000E-03    1.4369        .22102E-07** at limit **
  23  Prefactor     .10000E-03    10.021        .23865E-07** at limit **
  24  Normalizat    .48364        .20343        .14184E-05    .12660E-03
  25  Prefactor     1.0067        .94795E-01   -.58718E-06    .29641E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33664
  norm       = 0.324788
  Prefactor  = 13.1353
  Prefactor  = 69.6005
  Prefactor  = 8.68176
  Prefactor  = 0.409067
  Prefactor  = 6.3896
  Prefactor  = 20.2956
  Prefactor  = 4.51207
  norm       = 7.08093
  Prefactor  = 0.0001
  Prefactor  = 2.25353
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.48591
  norm       = 3.60454
  Prefactor  = 0.0001
  Prefactor  = 0.781087
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 53.9318
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.48364
  Prefactor  = 1.00665
 **********
 **   18 **HESSE 
 **********

 FCN=   6111.740     FROM HESSE     STATUS=OK           433 CALLS     3850 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3366        2.5822        .10529E-03   -1.5343    
   2  norm          .32479        .70104        .93902E-04   -1.5594    
   3  Prefactor     13.135        21.904        .11052E-03   -1.4983    
   4  Prefactor     69.600        59.082        .24063E-03   -1.4037    
   5  Prefactor     8.6818        11.816        .13615E-03   -1.5119    
   6  Prefactor     .40907        64.740        .44730E-02   -1.5580    
   7  Prefactor     6.3896        7.7922        .15879E-03   -1.5202    
   8  Prefactor     20.296        60.468        .88691E-04   -1.4807    
   9  Prefactor     4.5121        16.411        .18954E-03   -1.5283    
  10  norm          7.0809        9.2796        .15081E-03   -1.5176    
  11  Prefactor     .10000E-03    5.8805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.2535        187.51        .27524E-03   -1.5408    
  13  Prefactor     .10000E-03    74.380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.4756        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.4859        14.501        .73289E-03   -1.5161    
  16  norm          3.6045        5.9185        .10643E-02   -1.5328    
  17  Prefactor     .10000E-03    10.023        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .78109        8.9915        .43407E-03   -1.5531    
  19  norm          .10000E-03    7.0684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    12.112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     53.932        32.848        .54615E-04   -1.4238    
  22  Prefactor     .10000E-03    1.4390        .91509E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    10.061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .48364        .20692        .42842E-03   -1.1318    
  25  Prefactor     1.0067        .99074E-01    .14906E-03   -.92508    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.63943e-09
Minuit parameter uncertainties:
  1  2.58226
  2  0.701055
  3  21.9173
  4  59.1323
  5  11.8195
  6  10.3024
  7  7.79346
  8  60.6519
  9  16.4269
  10  9.28149
  11  8.08192e-06
  12  41.2456
  13  2.28464e-05
  14  6.48841e-06
  15  14.5082
  16  5.91948
  17  2.30893e-05
  18  5.30091
  19  9.49167e-06
  20  1.60775e-05
  21  32.8593
  22  2.5023e-07
  23  1.34489e-05
  24  0.207251
  25  0.0990915
Done.

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

Extracting fit parameters...

4FGL J0256.3+0334
   Spectrum: PowerLaw
272    Prefactor:  1.000e-04  6.488e-06  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.007e+00  9.909e-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:  4.836e-01  2.073e-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: 9.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/958648/likelihoodResults_376444801_376704001_4FGL_J0256.3+0334_daily_bin529.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): 0
logL (Free Index) = 6111.74025441
delta logL = -0.000503576184201

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6111.73975391
delta logL = -3.07285790768e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22401E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1857       1.0000          .0000       10.000    
     3 'Normalizat'    .48408       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0065       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=   6109.890     FROM MIGRAD    STATUS=CONVERGED    163 CALLS      330 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17002E-03    .29523E-02    .21158E-03** at limit **
   2  Index         6.4461        1.5983        .72507E-01   -.11855E-03
   3  Normalizat    .35782        .53004E-01    .11123        .22054E-03
   4  Prefactor     1.0379        .26032E-01    .33224E-01    .66150E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000170017
  Index      = 6.44611
  Normalizat = 0.357822
  Prefactor  = 1.03794
 **********
 **   18 **HESSE 
 **********

 FCN=   6109.890     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      363 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17002E-03    .78510E-02    .92926E-06   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.4461        2.7739        .29131E-02    .29341    
   3  Normalizat    .35782        .18163        .49315E-03   -1.1954    
   4  Prefactor     1.0379        .87920E-01    .14683E-03   -.91475    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.04033e-10
Minuit parameter uncertainties:
  1  0.00148285
  2  2.95882
  3  0.181933
  4  0.0879326
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/958648': 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) = 6109.89035125
delta logL = 1.84939958583

Extracting fit parameters...

4FGL J0256.3+0334
   Spectrum: PowerLaw
272    Prefactor:  1.700e-04  1.483e-03  1.000e-04  1.000e+04 ( 1.000e-13)
273        Index:  6.446e+00  2.959e+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:  1.038e+00  8.793e-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:  3.578e-01  1.819e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.10
Ra Dec: 44.096 3.570
Photon Index (Free Index): 6.45 +/- 2.96
Photon Flux (Free Index): 1.39e-07 +/- 8.52e-08
Energy Flux (Free Index): 1.69e-05 +/- 1.10e-05

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/958648/cmap_HighResolution_376444801_376704001_4FGL_J0256.3+0334_daily_bin529.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.38e-03', comment='SUCCESS', energy_flux2='1.69e-05', dlogl='1.85e+00', photon_flux2='1.39e-07', job_status='DONE', time_completed='2021-08-17 04:41:38.156152', photon_index_error2='2.96', photon_index2='6.45', ts='-0.00', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='9.78e-08', energy_flux_error2='1.10e-05', EG='0.48', time_epoch_completed='1629200498.16', return_code='0', job_id='958648', GAL2='1.04', EG2='0.36', return_code2='102', photon_flux_error2='8.52e-08', ts2='4.10', photon_index='2.09' WHERE bin_id='529' AND source_name='4FGL J0256.3+0334' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 17 04:41:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0028>
Subject: Job 958648: <4FGL_J0256.3+0334_daily_bin529> in cluster <slac> Done

Job <4FGL_J0256.3+0334_daily_bin529> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 17 04:25:40 2021
Job was executed on host(s) <bullet0028>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 17 04:26:59 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:26:59 2021
Terminated at Tue Aug 17 04:41:39 2021
Results reported at Tue Aug 17 04:41:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0256.3+0334_daily_bin529 44.0964 3.5698 376444801 376704001 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 :                                   747.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             260.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   881 sec.
    Turnaround time :                            959 sec.

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

