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


Performing analysis on: 4FGL_J0256.3+0334_daily_bin1740
RA = 44.0964, Dec = 3.5698
tmin = 690336001, tmax = 690595201
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='823012', job_status='RUN', time_executed='2022-11-20 00:14:21.213340', time_epoch_executed='1668932061.21' WHERE source_name='4FGL J0256.3+0334' and cadence='daily' and bin_id='1740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/823012

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/823012/ft1_4FGL_J0256.3+0334_daily_bin1740.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/823012/ft2_4FGL_J0256.3+0334_daily_bin1740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/823012/ft1_4FGL_J0256.3+0334_daily_bin1740.fits outfile=/scratch/kocevski/823012/ft1_filteredMKT_4FGL_J0256.3+0334_daily_bin1740.fits ra=44.0964 dec=3.5698 rad=12.0 tmin=690336001.0 tmax=690595201.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.92
user 2.74
sys 0.17

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

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

Number of photons that the gtmktime cut: 173

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/823012/ft1_filtered_4FGL_J0256.3+0334_daily_bin1740.fits" evtable="EVENTS" scfile=/scratch/kocevski/823012/ft2_4FGL_J0256.3+0334_daily_bin1740.fits sctable="SC_DATA" outfile=/scratch/kocevski/823012/ltcube_690336001_690595201_4FGL_J0256.3+0334_daily_bin1740.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/823012/ft2_4FGL_J0256.3+0334_daily_bin1740.fits
.....................!
real 14.14
user 13.74
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/823012/ft1_filtered_4FGL_J0256.3+0334_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/823012/ft2_4FGL_J0256.3+0334_daily_bin1740.fits sctable="SC_DATA" expcube=/scratch/kocevski/823012/ltcube_690336001_690595201_4FGL_J0256.3+0334_daily_bin1740.fits outfile=/scratch/kocevski/823012/expmap_690336001_690595201_4FGL_J0256.3+0334_daily_bin1740.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/823012/ltcube_690336001_690595201_4FGL_J0256.3+0334_daily_bin1740.fits
.....................!
real 193.58
user 185.70
sys 5.49

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/823012/ft1_filtered_4FGL_J0256.3+0334_daily_bin1740.fits scfile=/scratch/kocevski/823012/ft2_4FGL_J0256.3+0334_daily_bin1740.fits outfile=/scratch/kocevski/823012/cmap_690336001_690595201_4FGL_J0256.3+0334_daily_bin1740.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/823012/ft1_filtered_4FGL_J0256.3+0334_daily_bin1740.fits scfile=/scratch/kocevski/823012/ft2_4FGL_J0256.3+0334_daily_bin1740.fits outfile=/scratch/kocevski/823012/cmap_HighResolution_690336001_690595201_4FGL_J0256.3+0334_daily_bin1740.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.56
user 0.42
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 2120.92968995

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.105       1.0000          .0000       .10000E+07
     2 'norm      '    .10240       1.0000          .0000       .10000E+07
     3 'Prefactor '    .77020E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    170.10       1.0000          .0000       .10000E+07
     5 'Prefactor '    .54735E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .20632E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .96636E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .73975E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .24165E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .17956E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    9.3538       1.0000          .0000       .10000E+07
    12 'Prefactor '    152.09       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.8340       1.0000          .0000       .10000E+07
    14 'norm      '    40.235       1.0000          .0000       .10000E+07
    15 'norm      '    6.0218       1.0000          .0000       .10000E+07
    16 'Prefactor '    .15498E-05   1.0000          .0000       .10000E+07
    17 'norm      '    46.675       1.0000          .0000       .10000E+07
    18 'Prefactor '    .32087E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.4676       1.0000          .0000       .10000E+07
    20 'Prefactor '    .17852E-01   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1722       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .66793       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=   2120.890     FROM MIGRAD    STATUS=CONVERGED    303 CALLS     1967 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.864        7.6003       -.49889E-07   -.50137E-03
   2  norm          .11666        3.8095        .73446E-06** at limit **
   3  Prefactor     .22204E-09    109.50        .48387E-05** at limit **
   4  Prefactor     216.75        199.77        .70680E-06   -.13216E-01
   5  Prefactor     .79292E-06    62.378        .32397E-08** at limit **
   6  Prefactor     .18874E-08    22.881       -.27946E-06** at limit **
   7  Prefactor     .22116E-04    264.68        .23297E-06** at limit **
   8  Prefactor      .0000        11.879       -.17231E-06** at limit **
   9  norm          .16431E-07    28.603       -.32497E-06** at limit **
  10  Prefactor      .0000        49.880        .77435E-07** at limit **
  11  Prefactor     32.012        362.71       -.30552E-05    .10314E-01
  12  Prefactor     158.69        108.78        .16980E-06   -.11672E-01
  13  Prefactor     4.1415        15.263        .76170E-07    .80846E-02
  14  norm          39.957        12.682       -.16373E-06   -.25690    
  15  norm          6.1809        17.115        .47275E-07    .13291E-01
  16  Prefactor      .0000        8.9053        .15082E-06** at limit **
  17  norm          43.563        49.911       -.38784E-07    .59160E-02
  18  Prefactor     .32752E-08    24.500        .52031E-06** at limit **
  19  Prefactor     2.6020        112.40        .54033E-06   -.10046E-02
  20  Prefactor     .22204E-09    111.63       -.39418E-06** at limit **
  21  Normalizat    1.1703        .37169        .12283E-06    .31436E-04
  22  Prefactor     .66039        .23141        .83909E-06    .22481E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.8642
  norm       = 0.116656
  Prefactor  = 2.22045e-10
  Prefactor  = 216.747
  Prefactor  = 7.92921e-07
  Prefactor  = 1.88738e-09
  Prefactor  = 2.21163e-05
  Prefactor  = 0
  norm       = 1.64313e-08
  Prefactor  = 0
  Prefactor  = 32.0122
  Prefactor  = 158.695
  Prefactor  = 4.14153
  norm       = 39.9567
  norm       = 6.18094
  Prefactor  = 0
  norm       = 43.563
  Prefactor  = 3.27516e-09
  Prefactor  = 2.60196
  Prefactor  = 2.22045e-10
  Normalizat = 1.17028
  Prefactor  = 0.660393
 **********
 **   18 **HESSE 
 **********

 FCN=   2120.890     FROM HESSE     STATUS=OK           392 CALLS     2359 TOTAL
                     EDM=   .31E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.864        7.6041        .27644E-03   -1.5636    
   2  norm          .11666        1.4307        .19802E-02   -1.5715    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .22204E-09    107.73        .14593E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     216.75        201.14        .76681E-04   -1.5414    
   5  Prefactor     .79292E-06    62.201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .18874E-08    22.724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .22116E-04    273.49        .14020E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        11.848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .16431E-07    28.583        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        17.028        .98127E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     32.012        387.97        .32744E-03   -1.5595    
  12  Prefactor     158.69        108.70        .81095E-04   -1.5456    
  13  Prefactor     4.1415        15.745        .51519E-03   -1.5667    
  14  norm          39.957        39.749        .15767E-03   -1.5582    
  15  norm          6.1809        17.803        .40893E-03   -1.5658    
  16  Prefactor      .0000        8.9562        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          43.563        50.649        .14638E-03   -1.5576    
  18  Prefactor     .32752E-08    24.359        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.6020        113.66        .88704E-03   -1.5676    
  20  Prefactor     .22204E-09    108.73        .17182E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1703        .32737        .63844E-01   -.87526    
  22  Prefactor     .66039        .20491        .41973E-01   -1.0510    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11256e-06
Minuit parameter uncertainties:
  1  7.60407
  2  0.817077
  3  0.00031767
  4  201.148
  5  0.0140459
  6  0.000415423
  7  0.155552
  8  4.35417e-06
  9  0.00136965
  10  5.88912e-06
  11  222.907
  12  108.701
  13  15.7448
  14  39.7491
  15  17.8031
  16  2.27144e-05
  17  50.649
  18  0.000565366
  19  34.3952
  20  0.000314473
  21  0.32794
  22  0.205141
Done.

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

Extracting fit parameters...

4FGL J0256.3+0334
   Spectrum: PowerLaw
272    Prefactor:  4.142e+00  1.574e+01  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:  6.604e-01  2.051e-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:  1.170e+00  3.279e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 44.096 3.570
Photon Flux Upper Limit: 2.58e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.95e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/823012/likelihoodResults_690336001_690595201_4FGL_J0256.3+0334_daily_bin1740.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) = 2120.88897821
delta logL = 0.00100197255688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2120.88885588
delta logL = 0.00112429983028

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9300       1.0000          .0000       .10000E+07
     2 'Index     '    2.1479       1.0000          .0000       10.000    
     3 'Normalizat'    1.1699       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66017       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.

 FCN=   2120.889     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      237 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8959        17.634        .10173E-03   -.22202E-02
   2  Index         2.1426        1.2498        .94166E-02   -.66707E-04
   3  Normalizat    1.1699        .33672        .28243E-03   -.23196E-03
   4  Prefactor     .66030        .20590        .21779E-03   -.37087E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.8959
  Index      = 2.14259
  Normalizat = 1.16993
  Prefactor  = 0.660303
 **********
 **   18 **HESSE 
 **********

 FCN=   2120.889     FROM HESSE     STATUS=OK            25 CALLS      262 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8959        15.464        .40691E-05   -1.5668    
   2  Index         2.1426        1.1694        .37667E-03   -.60831    
   3  Normalizat    1.1699        .33676        .56486E-04   -.87537    
   4  Prefactor     .66030        .20580        .43558E-04   -1.0510    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.18942e-10
Minuit parameter uncertainties:
  1  15.4641
  2  1.18579
  3  0.337389
  4  0.206038
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/823012': 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): 0
logL (Free Index) = 2120.88883592
delta logL = 0.00114425835091

Extracting fit parameters...

4FGL J0256.3+0334
   Spectrum: PowerLaw
272    Prefactor:  3.896e+00  1.546e+01  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.143e+00  1.186e+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:  6.603e-01  2.060e-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:  1.170e+00  3.374e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
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/823012/cmap_HighResolution_690336001_690595201_4FGL_J0256.3+0334_daily_bin1740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.95e-02', job_status='DONE', photon_flux_upper_limit='2.58e-07', time_completed='2022-11-20 00:21:08.715552', job_id='823012', GAL2='0.66', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1668932468.72', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='1.14e-03', ts2='0.09', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1740' AND source_name='4FGL J0256.3+0334' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Nov 20 00:21:08 PST 2022

-----------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 823011: <4FGL_J0256.3+0334_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0256.3+0334_daily_bin1740> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:24 2022
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:11:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:11:33 2022
Terminated at Sun Nov 20 00:19:56 2022
Results reported at Sun Nov 20 00:19:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0256.3+0334_daily_bin1740 44.0964 3.5698 690336001 690595201 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 :                                   411.11 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             346.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   503 sec.
    Turnaround time :                            872 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 823012: <4FGL_J0256.3+0334_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0256.3+0334_daily_bin1740> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:24 2022
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:11:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:11:33 2022
Terminated at Sun Nov 20 00:21:09 2022
Results reported at Sun Nov 20 00:21:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0256.3+0334_daily_bin1740 44.0964 3.5698 690336001 690595201 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 :                                   406.44 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             273.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   576 sec.
    Turnaround time :                            945 sec.

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

