/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 170 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 = 7548
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0256.3+0334_daily_bin149
RA = 44.0964, Dec = 3.5698
tmin = 277948801, tmax = 278208001
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='957035', job_status='RUN', time_executed='2021-08-17 04:24:30.825261', time_epoch_executed='1629199470.83' WHERE source_name='4FGL J0256.3+0334' and cadence='daily' and bin_id='149'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/957035

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/957035/ft1_4FGL_J0256.3+0334_daily_bin149.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/957035/ft2_4FGL_J0256.3+0334_daily_bin149.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/957035/ft1_4FGL_J0256.3+0334_daily_bin149.fits outfile=/scratch/kocevski/957035/ft1_filteredMKT_4FGL_J0256.3+0334_daily_bin149.fits ra=44.0964 dec=3.5698 rad=12.0 tmin=277948801.0 tmax=278208001.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 4.84
user 4.03
sys 0.73

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/957035/ft1_filtered_4FGL_J0256.3+0334_daily_bin149.fits" evtable="EVENTS" scfile=/scratch/kocevski/957035/ft2_4FGL_J0256.3+0334_daily_bin149.fits sctable="SC_DATA" outfile=/scratch/kocevski/957035/ltcube_277948801_278208001_4FGL_J0256.3+0334_daily_bin149.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/957035/ft2_4FGL_J0256.3+0334_daily_bin149.fits
.....................!
real 14.23
user 13.31
sys 0.84

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/957035/ft1_filtered_4FGL_J0256.3+0334_daily_bin149.fits evtable="EVENTS" scfile=/scratch/kocevski/957035/ft2_4FGL_J0256.3+0334_daily_bin149.fits sctable="SC_DATA" expcube=/scratch/kocevski/957035/ltcube_277948801_278208001_4FGL_J0256.3+0334_daily_bin149.fits outfile=/scratch/kocevski/957035/expmap_277948801_278208001_4FGL_J0256.3+0334_daily_bin149.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/957035/ltcube_277948801_278208001_4FGL_J0256.3+0334_daily_bin149.fits
.....................!
real 194.29
user 187.79
sys 5.52

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/957035/ft1_filtered_4FGL_J0256.3+0334_daily_bin149.fits scfile=/scratch/kocevski/957035/ft2_4FGL_J0256.3+0334_daily_bin149.fits outfile=/scratch/kocevski/957035/cmap_277948801_278208001_4FGL_J0256.3+0334_daily_bin149.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.58
user 0.38
sys 0.68

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/957035/ft1_filtered_4FGL_J0256.3+0334_daily_bin149.fits scfile=/scratch/kocevski/957035/ft2_4FGL_J0256.3+0334_daily_bin149.fits outfile=/scratch/kocevski/957035/cmap_HighResolution_277948801_278208001_4FGL_J0256.3+0334_daily_bin149.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.18
user 0.37
sys 0.63

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7149       1.0000         .10000E-03   10000.    
     2 'norm      '    2.3705       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10358E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    73.733       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10875E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .14526E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.7121       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.5254       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .32456       1.0000         .10000E-03   10000.    
    13 'Prefactor '    43.342       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10318E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.0534       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.5748       1.0000         .10000E-03   10000.    
    19 'norm      '    .10403E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.6358       1.0000         .10000E-03   10000.    
    21 'Prefactor '    20.556       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.8608       1.0000         .10000E-03   10000.    
    23 'Prefactor '    15.597       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1138       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .85709       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=   6413.423     FROM MIGRAD    STATUS=CONVERGED    603 CALLS     2930 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7118        2.3585        .26877E-06   -.47771E-03
   2  norm          2.3704        1.0267        .73679E-07   -.11630E-03
   3  Prefactor     .10000E-03    9.6800        .23177E-05** at limit **
   4  Prefactor     73.885        73.739       -.53446E-05   -.98722E-05
   5  Prefactor     .10000E-03    3.3703        .25066E-06** at limit **
   6  Prefactor     .10000E-03    6.0932        .12337E-06** at limit **
   7  Prefactor     .10000E-03    2.3866        .90441E-07** at limit **
   8  Prefactor     .10000E-03    38.574        .14754E-05** at limit **
   9  Prefactor     .10000E-03    13.992        .38954E-06** at limit **
  10  norm          1.7283        8.8135        .12465E-04   -.25753E-03
  11  Prefactor     7.5362        14.734        .76481E-05   -.79526E-04
  12  Prefactor     .14694        45.505       -.60689E-05    .20566E-03
  13  Prefactor     43.303        57.467        .18749E-04   -.15361E-04
  14  Prefactor     .10000E-03    3.7645        .32706E-06** at limit **
  15  norm          .10000E-03    4.1847        .10822E-06** at limit **
  16  norm          2.0505        3.9316       -.15897E-06   -.72426E-03
  17  Prefactor     .10000E-03    7.5302       -.94107E-07** at limit **
  18  Prefactor     4.5810        8.2455        .95823E-05   -.13426E-03
  19  norm          .10000E-03    8.4623       -.66828E-06** at limit **
  20  Prefactor     9.6241        25.133        .20079E-04    .76639E-05
  21  Prefactor     20.563        43.179       -.33678E-04   -.15635E-03
  22  Prefactor     2.8608        2.9411        .17721E-06    .16634E-03
  23  Prefactor     15.584        18.950        .10046E-04   -.42224E-04
  24  Normalizat    1.1140        .21213       -.34941E-05    .69361E-04
  25  Prefactor     .85717        .93418E-01   -.12889E-05    .17234E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.71183
  norm       = 2.37036
  Prefactor  = 0.0001
  Prefactor  = 73.8847
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.7283
  Prefactor  = 7.53616
  Prefactor  = 0.146939
  Prefactor  = 43.3033
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.05052
  Prefactor  = 0.0001
  Prefactor  = 4.58096
  norm       = 0.0001
  Prefactor  = 9.62406
  Prefactor  = 20.5629
  Prefactor  = 2.86078
  Prefactor  = 15.5839
  Normalizat = 1.11398
  Prefactor  = 0.857167
 **********
 **   18 **HESSE 
 **********

 FCN=   6413.423     FROM HESSE     STATUS=OK           431 CALLS     3361 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7118        2.3325        .13848E-03   -1.5446    
   2  norm          2.3704        1.0291        .26612E-04   -1.5400    
   3  Prefactor     .10000E-03    9.6935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     73.885        73.652        .46757E-04   -1.3987    
   5  Prefactor     .10000E-03    3.3827        .14356E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.1014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.3879        .12082E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    38.671        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    14.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.7283        8.4151        .32123E-03   -1.5445    
  11  Prefactor     7.5362        14.807        .14619E-03   -1.5159    
  12  Prefactor     .14694        47.090        .13061       -1.5631    
  13  Prefactor     43.303        57.453        .60895E-04   -1.4391    
  14  Prefactor     .10000E-03    3.7990        .15169E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    4.1887        .15998E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.0505        3.9150        .20973E-03   -1.5422    
  17  Prefactor     .10000E-03    7.5532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.5810        8.1756        .18820E-03   -1.5280    
  19  norm          .10000E-03    8.7012        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.6241        24.925        .12910E-03   -1.5087    
  21  Prefactor     20.563        43.036        .88343E-04   -1.4801    
  22  Prefactor     2.8608        2.9482        .13547E-03   -1.5370    
  23  Prefactor     15.584        18.938        .10142E-03   -1.4918    
  24  Normalizat    1.1140        .23655        .32975E-03   -.89304    
  25  Prefactor     .85717        .10434        .16959E-03   -.97654    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46573e-09
Minuit parameter uncertainties:
  1  2.33266
  2  1.02916
  3  2.37612e-05
  4  73.7431
  5  5.64415e-06
  6  1.15089e-05
  7  3.83629e-07
  8  6.5274e-05
  9  5.02669e-05
  10  7.6288
  11  14.8143
  12  5.26332
  13  57.527
  14  8.35726e-06
  15  2.63738e-08
  16  3.91548
  17  3.66843e-06
  18  8.17756
  19  7.44919e-05
  20  24.9522
  21  43.1007
  22  2.94834
  23  18.9449
  24  0.236779
  25  0.104363
Done.

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

Extracting fit parameters...

4FGL J0256.3+0334
   Spectrum: PowerLaw
272    Prefactor:  1.000e-04  8.357e-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:  8.572e-01  1.044e-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.114e+00  2.368e-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: 7.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/957035/likelihoodResults_277948801_278208001_4FGL_J0256.3+0334_daily_bin149.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) = 6413.42411251
delta logL = -0.00125506031691

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6413.42285739
delta logL = 5.99720806349e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0977       1.0000          .0000       10.000    
     3 'Normalizat'    1.1140       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85717       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=   6413.423     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      207 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.246        .90712E-02** at limit **
   2  Index         2.1091        5.7748        .50000       -.25845E-04
   3  Normalizat    1.1140        .13355E-01    .74511E-01    .19149E-04
   4  Prefactor     .85717        .61433E-02    .44457E-01   -.11155E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.1091
  Normalizat = 1.11398
  Prefactor  = 0.857167
 **********
 **   18 **HESSE 
 **********

 FCN=   6413.423     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      240 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    836.09        .15242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1091        6.1697        .50000       -.61650    
   3  Normalizat    1.1140        .15565        .32975E-03   -.89304    
   4  Prefactor     .85717        .71556E-01    .16959E-03   -.97654    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.60087e-07
Minuit parameter uncertainties:
  1  9.93802e-05
  2  61.1154
  3  0.155712
  4  0.0715642
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/957035': 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) = 6413.42285731
delta logL = 1.39732037496e-07

Extracting fit parameters...

4FGL J0256.3+0334
   Spectrum: PowerLaw
272    Prefactor:  1.000e-04  9.938e-05  1.000e-04  1.000e+04 ( 1.000e-13)
273        Index:  2.109e+00  6.112e+01  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.572e-01  7.156e-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.114e+00  1.557e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/957035/cmap_HighResolution_277948801_278208001_4FGL_J0256.3+0334_daily_bin149.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.76e-03', job_status='DONE', photon_flux_upper_limit='7.62e-08', time_completed='2021-08-17 04:36:31.864118', job_id='957035', GAL2='0.86', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1629200191.86', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.40e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='149' AND source_name='4FGL J0256.3+0334' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 17 04:36:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 957035: <4FGL_J0256.3+0334_daily_bin149> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0256.3+0334_daily_bin149 44.0964 3.5698 277948801 278208001 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 :                                   717.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             285.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   913 sec.
    Turnaround time :                            960 sec.

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

