aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 128 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7448
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0256.3+0334_daily_bin1774
RA = 44.0964, Dec = 3.5698
tmin = 699148801, tmax = 699408001
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='672571', job_status='RUN', time_executed='2023-03-02 00:07:43.177197', time_epoch_executed='1677744463.18' WHERE source_name='4FGL J0256.3+0334' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/672571

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/672571/ft1_4FGL_J0256.3+0334_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/672571/ft2_4FGL_J0256.3+0334_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/672571/ft1_4FGL_J0256.3+0334_daily_bin1774.fits outfile=/scratch/kocevski/672571/ft1_filteredMKT_4FGL_J0256.3+0334_daily_bin1774.fits ra=44.0964 dec=3.5698 rad=12.0 tmin=699148801.0 tmax=699408001.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 2.86
user 2.61
sys 0.20

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

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

Number of photons that the gtmktime cut: 1050

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/672571/ft1_filtered_4FGL_J0256.3+0334_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/672571/ft2_4FGL_J0256.3+0334_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/672571/ltcube_699148801_699408001_4FGL_J0256.3+0334_daily_bin1774.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/672571/ft2_4FGL_J0256.3+0334_daily_bin1774.fits
.....................!
real 13.78
user 13.43
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/672571/ft1_filtered_4FGL_J0256.3+0334_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/672571/ft2_4FGL_J0256.3+0334_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/672571/ltcube_699148801_699408001_4FGL_J0256.3+0334_daily_bin1774.fits outfile=/scratch/kocevski/672571/expmap_699148801_699408001_4FGL_J0256.3+0334_daily_bin1774.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/672571/ltcube_699148801_699408001_4FGL_J0256.3+0334_daily_bin1774.fits
.....................!
real 190.99
user 185.85
sys 4.83

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/672571/ft1_filtered_4FGL_J0256.3+0334_daily_bin1774.fits scfile=/scratch/kocevski/672571/ft2_4FGL_J0256.3+0334_daily_bin1774.fits outfile=/scratch/kocevski/672571/cmap_699148801_699408001_4FGL_J0256.3+0334_daily_bin1774.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 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/672571/ft1_filtered_4FGL_J0256.3+0334_daily_bin1774.fits scfile=/scratch/kocevski/672571/ft2_4FGL_J0256.3+0334_daily_bin1774.fits outfile=/scratch/kocevski/672571/cmap_HighResolution_699148801_699408001_4FGL_J0256.3+0334_daily_bin1774.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 0.54
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/672571/ft1_filtered_4FGL_J0256.3+0334_daily_bin1774.fits', '/scratch/kocevski/672571/ft2_4FGL_J0256.3+0334_daily_bin1774.fits', expMap='/scratch/kocevski/672571/expmap_699148801_699408001_4FGL_J0256.3+0334_daily_bin1774.fits', expCube='/scratch/kocevski/672571/ltcube_699148801_699408001_4FGL_J0256.3+0334_daily_bin1774.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/672571/Model_4FGL_J0256.3+0334_daily_bin1774.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  0.000e+00  1.000e+06 ( 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/672571/ft1_filtered_4FGL_J0256.3+0334_daily_bin1774.fits
Spacecraft file(s): /scratch/kocevski/672571/ft2_4FGL_J0256.3+0334_daily_bin1774.fits
Exposure map: /scratch/kocevski/672571/expmap_699148801_699408001_4FGL_J0256.3+0334_daily_bin1774.fits
Exposure cube: /scratch/kocevski/672571/ltcube_699148801_699408001_4FGL_J0256.3+0334_daily_bin1774.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/672571/Model_4FGL_J0256.3+0334_daily_bin1774.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) = 11162.0450657

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.3626       1.0000          .0000       .10000E+07
     2 'norm      '    1.1878       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.797       1.0000          .0000       .10000E+07
     4 'Prefactor '    72.031       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.3147       1.0000          .0000       .10000E+07
     6 'Prefactor '    .39169E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .83176E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    8.7127       1.0000          .0000       .10000E+07
     9 'norm      '    5.2550       1.0000          .0000       .10000E+07
    10 'Prefactor '    .37240E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .70776E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .68385E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .57201E-04   1.0000          .0000       .10000E+07
    14 'norm      '    16.054       1.0000          .0000       .10000E+07
    15 'norm      '    .49096E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.5838       1.0000          .0000       .10000E+07
    17 'norm      '    8.2918       1.0000          .0000       .10000E+07
    18 'Prefactor '    .43538E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .54843E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .13867E-06   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1723       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .86037       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11162.00     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     1437 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.3574        2.8949       -.42088E-07   -.22976E-02
   2  norm          1.1880        .68225        .42675E-08    .85178E-03
   3  Prefactor     13.566        19.965       -.27621E-07   -.10312E-01
   4  Prefactor     73.802        52.656        .11587E-06   -.25431E-02
   5  Prefactor     2.3033        7.1691       -.86362E-07   -.10233E-03
   6  Prefactor     .49960E-09    6.2480       -.12932E-06** at limit **
   7  Prefactor     .11102E-08    30.703        .22215E-06** at limit **
   8  Prefactor     8.6964        1.7941       -.70765E-08    .12449E-01
   9  norm          5.2575        7.7263       -.37202E-07   -.19012E-03
  10  Prefactor     .24319E-06    3.3383       -.41307E-07** at limit **
  11  Prefactor     .82712E-08    9.3377       -.53714E-07** at limit **
  12  Prefactor     .17764E-08    56.524       -.35818E-06** at limit **
  13  Prefactor     .22637E-06    4.9450       -.84083E-07** at limit **
  14  norm          16.071        9.7777       -.22548E-07   -.38233E-03
  15  norm           .0000        1.5135        .30899E-07** at limit **
  16  Prefactor     2.5889        2.6507       -.12774E-07   -.15985E-03
  17  norm          8.2744        6.2132       -.37850E-07   -.24873E-03
  18  Prefactor     .19651E-07    6.8438       -.41519E-07** at limit **
  19  Prefactor      .0000        1.3782       -.73518E-07** at limit **
  20  Prefactor     .29421E-08    5.2837       -.19367E-06** at limit **
  21  Normalizat    1.1722        .16537        .20251E-05    .31304E-05
  22  Prefactor     .86026        .78280E-01   -.10770E-05   -.68717E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.35741
  norm       = 1.18797
  Prefactor  = 13.5657
  Prefactor  = 73.8015
  Prefactor  = 2.3033
  Prefactor  = 4.996e-10
  Prefactor  = 1.11022e-09
  Prefactor  = 8.69641
  norm       = 5.25746
  Prefactor  = 2.43194e-07
  Prefactor  = 8.27116e-09
  Prefactor  = 1.77636e-09
  Prefactor  = 2.26374e-07
  norm       = 16.071
  norm       = 0
  Prefactor  = 2.58888
  norm       = 8.2744
  Prefactor  = 1.96509e-08
  Prefactor  = 0
  Prefactor  = 2.94209e-09
  Normalizat = 1.17225
  Prefactor  = 0.86026
 **********
 **   18 **HESSE 
 **********

 FCN=   11162.00     FROM HESSE     STATUS=OK           386 CALLS     1823 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.3574        2.9005        .32729E-03   -1.5647    
   2  norm          1.1880        .69541        .10457E-02   -1.5686    
   3  Prefactor     13.566        20.430        .26940E-03   -1.5634    
   4  Prefactor     73.802        52.705        .11783E-03   -1.5536    
   5  Prefactor     2.3033        7.1894        .67402E-03   -1.5678    
   6  Prefactor     .49960E-09    6.2900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-08    30.712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.6964        11.895        .33935E-03   -1.5649    
   9  norm          5.2575        7.7375        .43823E-03   -1.5662    
  10  Prefactor     .24319E-06    6.8228        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .82712E-08    9.4575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .17764E-08    56.502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .22637E-06    7.8381        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          16.071        9.7707        .24970E-03   -1.5628    
  15  norm           .0000        1.5086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.5889        2.6528        .63460E-03   -1.5676    
  17  norm          8.2744        6.1941        .34791E-03   -1.5650    
  18  Prefactor     .19651E-07    7.1113        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        1.3766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .29421E-08    5.3151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1722        .15212        .72088E-01   -.87465    
  22  Prefactor     .86026        .70509E-01    .44498E-01   -.97544    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.24238e-07
Minuit parameter uncertainties:
  1  2.90055
  2  0.695413
  3  20.4302
  4  52.7057
  5  7.18939
  6  0.000110867
  7  0.000372195
  8  11.8954
  9  7.73747
  10  0.00257624
  11  0.000560076
  12  0.000629251
  13  0.00266418
  14  9.77074
  15  7.9806e-06
  16  2.65277
  17  6.19407
  18  0.000748078
  19  1.12293e-05
  20  0.000250405
  21  0.152176
  22  0.0705169
Done.

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

Extracting fit parameters...

4FGL J0256.3+0334
   Spectrum: PowerLaw
272    Prefactor:  2.264e-07  2.664e-03  0.000e+00  1.000e+06 ( 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.603e-01  7.052e-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.172e+00  1.522e-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: 5.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/672571/likelihoodResults_699148801_699408001_4FGL_J0256.3+0334_daily_bin1774.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) = 11162.0809882
delta logL = -0.0848704905475

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11161.996119
delta logL = -1.31992055685e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11162.00     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      196 TOTAL
                     EDM=   .55E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    8.2808       -.89615E-06** at limit **
   2  Index         2.2895        1.5430        .29930E-04    .42180E-10
   3  Normalizat    1.1722        .16065       -.22724E-04    .20007E-03
   4  Prefactor     .86026        .75401E-01    .12466E-04    .61374E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Index      = 2.2895
  Normalizat = 1.17225
  Prefactor  = 0.86026
 **********
 **   18 **HESSE 
 **********

 FCN=   11162.00     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      235 TOTAL
                     EDM=   .94E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    .38193E-02    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2895        8.0702        .50000       -.57293    
   3  Normalizat    1.1722        .96810E-04    .72088E-01   -.87465    
   4  Prefactor     .86026        .45586E-04    .44496E-01   -.97544    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.36787e-15
Minuit parameter uncertainties:
  1  1.74955e-06
  2  390.405
  3  9.68103e-05
  4  4.55855e-05
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/672571': 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) = 11161.9961177
delta logL = 1.40953488881e-08

Extracting fit parameters...

4FGL J0256.3+0334
   Spectrum: PowerLaw
272    Prefactor:  2.220e-10  1.750e-06  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.289e+00  3.904e+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:  8.603e-01  4.559e-05  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.172e+00  9.681e-05  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/672571/cmap_HighResolution_699148801_699408001_4FGL_J0256.3+0334_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.15e-03', job_status='DONE', photon_flux_upper_limit='5.49e-08', time_completed='2023-03-02 00:20:04.408715', job_id='672571', GAL2='0.86', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1677745204.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.41e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1774' AND source_name='4FGL J0256.3+0334' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 00:20:04 PST 2023

UCCESS', return_code='0', GAL='0.86', dlogl='1.41e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1774' AND source_name='4FGL J0256.3+0334' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 00:19:20 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 672609: <4FGL_J0256.3+0334_daily_bin1774> in cluster <slac> Done

Job <4FGL_J0256.3+0334_daily_bin1774> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Mar  2 00:05:17 2023
Job was executed on host(s) <bullet0125>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 00:05:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 00:05:28 2023
Terminated at Thu Mar  2 00:19:21 2023
Results reported at Thu Mar  2 00:19:21 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0256.3+0334_daily_bin1774 44.0964 3.5698 699148801 699408001 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 :                                   746.00 sec.
    Max Memory :                                 617 MB
    Average Memory :                             306.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   832 sec.
    Turnaround time :                            844 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 672571: <4FGL_J0256.3+0334_daily_bin1774> in cluster <slac> Done

Job <4FGL_J0256.3+0334_daily_bin1774> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Mar  2 00:05:15 2023
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 00:05:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 00:05:24 2023
Terminated at Thu Mar  2 00:20:05 2023
Results reported at Thu Mar  2 00:20:05 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0256.3+0334_daily_bin1774 44.0964 3.5698 699148801 699408001 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 :                                   743.07 sec.
    Max Memory :                                 1092 MB
    Average Memory :                             340.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   880 sec.
    Turnaround time :                            890 sec.

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

