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


Performing analysis on: 4FGL_J0956.7+2516_daily_bin1140
RA = 149.176, Dec = 25.2817
tmin = 534816001, tmax = 535075201
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='584665', job_status='RUN', time_executed='2021-09-01 06:15:33.951322', time_epoch_executed='1630502133.95' WHERE source_name='4FGL J0956.7+2516' and cadence='daily' and bin_id='1140'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/584665

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/584665/ft1_4FGL_J0956.7+2516_daily_bin1140.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/584665/ft2_4FGL_J0956.7+2516_daily_bin1140.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/584665/ft1_4FGL_J0956.7+2516_daily_bin1140.fits outfile=/scratch/kocevski/584665/ft1_filteredMKT_4FGL_J0956.7+2516_daily_bin1140.fits ra=149.176 dec=25.2817 rad=12.0 tmin=534816001.0 tmax=535075201.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 3.67
user 3.38
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/584665/ft2_4FGL_J0956.7+2516_daily_bin1140.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/584665/ft2_4FGL_J0956.7+2516_daily_bin1140.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/584665/ft1_filteredMKT_4FGL_J0956.7+2516_daily_bin1140.fits evtable="EVENTS" outfile="/scratch/kocevski/584665/ft1_filtered_4FGL_J0956.7+2516_daily_bin1140.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 2.59
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/584665/ft1_filtered_4FGL_J0956.7+2516_daily_bin1140.fits" evtable="EVENTS" scfile=/scratch/kocevski/584665/ft2_4FGL_J0956.7+2516_daily_bin1140.fits sctable="SC_DATA" outfile=/scratch/kocevski/584665/ltcube_534816001_535075201_4FGL_J0956.7+2516_daily_bin1140.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/584665/ft2_4FGL_J0956.7+2516_daily_bin1140.fits
.....................!
real 12.15
user 11.71
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/584665/ft1_filtered_4FGL_J0956.7+2516_daily_bin1140.fits evtable="EVENTS" scfile=/scratch/kocevski/584665/ft2_4FGL_J0956.7+2516_daily_bin1140.fits sctable="SC_DATA" expcube=/scratch/kocevski/584665/ltcube_534816001_535075201_4FGL_J0956.7+2516_daily_bin1140.fits outfile=/scratch/kocevski/584665/expmap_534816001_535075201_4FGL_J0956.7+2516_daily_bin1140.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/584665/ltcube_534816001_535075201_4FGL_J0956.7+2516_daily_bin1140.fits
.....................!
real 192.92
user 185.87
sys 5.23

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 172 point sources and 0 extended sources

Setting source of interest to:
4FGL J0956.7+2516 @ 149.176 25.2817

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/584665/ft1_filtered_4FGL_J0956.7+2516_daily_bin1140.fits scfile=/scratch/kocevski/584665/ft2_4FGL_J0956.7+2516_daily_bin1140.fits outfile=/scratch/kocevski/584665/cmap_534816001_535075201_4FGL_J0956.7+2516_daily_bin1140.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=149.176 yref=25.2817 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.65
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/584665/ft1_filtered_4FGL_J0956.7+2516_daily_bin1140.fits scfile=/scratch/kocevski/584665/ft2_4FGL_J0956.7+2516_daily_bin1140.fits outfile=/scratch/kocevski/584665/cmap_HighResolution_534816001_535075201_4FGL_J0956.7+2516_daily_bin1140.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=149.176 yref=25.2817 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.64
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/584665/ft1_filtered_4FGL_J0956.7+2516_daily_bin1140.fits evtable="EVENTS" scfile=/scratch/kocevski/584665/ft2_4FGL_J0956.7+2516_daily_bin1140.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/584665/Model_4FGL_J0956.7+2516_daily_bin1140.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/584665/ft1_filtered_4FGL_J0956.7+2516_daily_bin1140.fits.....................!
real 46.17
user 44.21
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/584665/ft1_filtered_4FGL_J0956.7+2516_daily_bin1140.fits', '/scratch/kocevski/584665/ft2_4FGL_J0956.7+2516_daily_bin1140.fits', expMap='/scratch/kocevski/584665/expmap_534816001_535075201_4FGL_J0956.7+2516_daily_bin1140.fits', expCube='/scratch/kocevski/584665/ltcube_534816001_535075201_4FGL_J0956.7+2516_daily_bin1140.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/584665/Model_4FGL_J0956.7+2516_daily_bin1140.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0956.7+2516'

4FGL J0956.7+2516
   Spectrum: PowerLaw
235    Prefactor:  4.112e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        Index:  2.547e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
237        Scale:  5.839e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/584665/ft1_filtered_4FGL_J0956.7+2516_daily_bin1140.fits
Spacecraft file(s): /scratch/kocevski/584665/ft2_4FGL_J0956.7+2516_daily_bin1140.fits
Exposure map: /scratch/kocevski/584665/expmap_534816001_535075201_4FGL_J0956.7+2516_daily_bin1140.fits
Exposure cube: /scratch/kocevski/584665/ltcube_534816001_535075201_4FGL_J0956.7+2516_daily_bin1140.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/584665/Model_4FGL_J0956.7+2516_daily_bin1140.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) = 4896.98576339

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    54.896       1.0000         .10000E-03   10000.    
     2 'norm      '    .44970E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    1.2489       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10378E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.914       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.124       1.0000         .10000E-03   10000.    
     8 'Prefactor '    51.331       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .43720       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10237E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .99472       1.0000         .10000E-03   10000.    
    12 'norm      '    .10377E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.6245       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12507E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.4478       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.4784       1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.846       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0004       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96592       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4896.968     FROM MIGRAD    STATUS=CONVERGED    451 CALLS     2412 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     54.933        31.088        .42318E-05    .14876E-03
   2  norm          .11869E-03    35.129       -.79953E-05** at limit **
   3  norm          1.2497        1.4028       -.13587E-06   -.25931E-03
   4  Prefactor     .10000E-03    65.424        .11736E-07** at limit **
   5  Prefactor     .10000E-03    1.8510       -.31607E-06** at limit **
   6  Prefactor     14.902        17.433        .33930E-06   -.20311E-05
   7  Prefactor     10.129        112.56       -.13090E-05   -.55866E-05
   8  Prefactor     51.365        40.365        .20718E-05    .59479E-05
   9  Prefactor     .41578        3.3163       -.34502E-06    .59101E-04
  10  Prefactor     .10000E-03    3.8720        .70556E-07** at limit **
  11  Prefactor     .99432        1.1219        .24009E-07    .33246E-04
  12  norm          .10000E-03    3.8090        .10159E-06** at limit **
  13  Prefactor     7.6260        5.1738       -.12438E-05   -.10997E-04
  14  Prefactor     .10000E-03    28.090        .12612E-06** at limit **
  15  Prefactor     2.4446        5.8716        .58140E-05    .38276E-03
  16  Prefactor     4.4741        116.07       -.14960E-05   -.93460E-06
  17  Prefactor     10.849        8.2599       -.42430E-07   -.44361E-04
  18  Prefactor     .10000E-03    1.2494        .15816E-06** at limit **
  19  Normalizat    1.0001        .19012        .14461E-06    .19951E-03
  20  Prefactor     .96629        .18830       -.14841E-05    .64615E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 54.9334
  norm       = 0.00011869
  norm       = 1.2497
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.9025
  Prefactor  = 10.1287
  Prefactor  = 51.3649
  Prefactor  = 0.41578
  Prefactor  = 0.0001
  Prefactor  = 0.994321
  norm       = 0.0001
  Prefactor  = 7.62598
  Prefactor  = 0.0001
  Prefactor  = 2.4446
  Prefactor  = 4.47408
  Prefactor  = 10.8485
  Prefactor  = 0.0001
  Normalizat = 1.0001
  Prefactor  = 0.966288
 **********
 **   18 **HESSE 
 **********

 FCN=   4896.968     FROM HESSE     STATUS=OK           305 CALLS     2717 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     54.933        31.180        .54138E-04   -1.4224    
   2  norm          .11869E-03    30.511        .12313       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.2497        1.3844        .85347E-04   -1.5484    
   4  Prefactor     .10000E-03    65.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.8873        .92975E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.902        17.430        .10371E-03   -1.4936    
   7  Prefactor     10.129        112.25        .12593E-03   -1.5071    
   8  Prefactor     51.365        40.428        .55977E-04   -1.4273    
   9  Prefactor     .41578        12.317        .23962E-02   -1.5579    
  10  Prefactor     .10000E-03    3.8812        .13446E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .99432        1.1110        .76566E-04   -1.5509    
  12  norm          .10000E-03    3.8241        .13336E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.6260        5.1956        .11056E-03   -1.5156    
  14  Prefactor     .10000E-03    28.142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.4446        5.9382        .11265E-02   -1.5395    
  16  Prefactor     4.4741        116.00        .19027E-03   -1.5285    
  17  Prefactor     10.849        8.2609        .12165E-03   -1.5049    
  18  Prefactor     .10000E-03    1.2743        .76250E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0001        .22432        .22984E-03   -.93027    
  20  Prefactor     .96629        .22248        .24436E-03   -.93862    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08234e-09
Minuit parameter uncertainties:
  1  31.1893
  2  0.0477839
  3  1.38448
  4  6.0166e-05
  5  1.84492e-05
  6  17.4364
  7  67.5989
  8  40.4497
  9  4.52653
  10  4.92327e-06
  11  1.11105
  12  1.07123e-05
  13  5.19587
  14  3.92185e-05
  15  5.93961
  16  45.6614
  17  8.26178
  18  7.61068e-06
  19  0.224536
  20  0.222692
Done.

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

Extracting fit parameters...

4FGL J0956.7+2516
   Spectrum: PowerLaw
235    Prefactor:  4.158e-01  4.527e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        Index:  2.547e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
237        Scale:  5.839e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  9.663e-01  2.227e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.000e+00  2.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 149.176 25.282
Photon Flux Upper Limit: 7.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.10e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/584665/likelihoodResults_534816001_535075201_4FGL_J0956.7+2516_daily_bin1140.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) = 4896.96795794
delta logL = 0.000342231325703

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4896.96774182
delta logL = 0.000558353151064

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41940       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6938       1.0000          .0000       10.000    
     3 'Normalizat'    .99950       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96658       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4896.968     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      224 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41634        14.451        .64036E-01    .27056E-03
   2  Index         2.6944        6.3387        .50000       -.70459E-04
   3  Normalizat    .99953        .10231E-01    .46161E-01   -.19163E-04
   4  Prefactor     .96662        .10763E-01    .45848E-01   -.18220E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.416338
  Index      = 2.69444
  Normalizat = 0.999532
  Prefactor  = 0.966617
 **********
 **   18 **HESSE 
 **********

 FCN=   4896.968     FROM HESSE     STATUS=OK            35 CALLS      259 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .41634        14.620        .22916E-02   -1.5579    
   2  Index         2.6944        6.3362        .30400E-01   -.47925    
   3  Normalizat    .99953        .20999        .22990E-03   -.93046    
   4  Prefactor     .96662        .21971        .24433E-03   -.93851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.8006e-09
Minuit parameter uncertainties:
  1  4.93511
  2  5.2603
  3  0.210166
  4  0.219914
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/584665': 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) = 4896.96774145
delta logL = 0.000558728885153

Extracting fit parameters...

4FGL J0956.7+2516
   Spectrum: PowerLaw
235    Prefactor:  4.163e-01  4.935e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        Index:  2.694e+00  5.260e+00  0.000e+00  1.000e+01 (-1.000e+00)
237        Scale:  5.839e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  9.666e-01  2.199e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  9.995e-01  2.102e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 149.176 25.282

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/584665/cmap_HighResolution_534816001_535075201_4FGL_J0956.7+2516_daily_bin1140.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.10e-03', job_status='DONE', photon_flux_upper_limit='7.82e-08', time_completed='2021-09-01 06:24:57.216196', job_id='584665', GAL2='0.97', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1630502697.22', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.59e-04', ts2='0.01', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1140' AND source_name='4FGL J0956.7+2516' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 06:24:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 584665: <4FGL_J0956.7+2516_daily_bin1140> in cluster <slac> Done

Job <4FGL_J0956.7+2516_daily_bin1140> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Wed Sep  1 06:15:24 2021
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 06:15:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 06:15:25 2021
Terminated at Wed Sep  1 06:24:58 2021
Results reported at Wed Sep  1 06:24:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0956.7+2516_daily_bin1140 149.176 25.2817 534816001 535075201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0956.7+2516 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   555.00 sec.
    Max Memory :                                 1014 MB
    Average Memory :                             296.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   572 sec.
    Turnaround time :                            574 sec.

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

