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


Performing analysis on: 4FGL_J0956.7+2516_daily_bin1521
RA = 149.176, Dec = 25.2817
tmin = 633571201, tmax = 633830401
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='586617', job_status='RUN', time_executed='2021-09-01 06:20:58.462474', time_epoch_executed='1630502458.46' WHERE source_name='4FGL J0956.7+2516' and cadence='daily' and bin_id='1521'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/586617

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/586617/ft1_4FGL_J0956.7+2516_daily_bin1521.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/586617/ft2_4FGL_J0956.7+2516_daily_bin1521.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/586617/ft1_4FGL_J0956.7+2516_daily_bin1521.fits outfile=/scratch/kocevski/586617/ft1_filteredMKT_4FGL_J0956.7+2516_daily_bin1521.fits ra=149.176 dec=25.2817 rad=12.0 tmin=633571201.0 tmax=633830401.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.70
user 3.36
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/586617/ft2_4FGL_J0956.7+2516_daily_bin1521.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/586617/ft1_filteredMKT_4FGL_J0956.7+2516_daily_bin1521.fits evtable="EVENTS" outfile="/scratch/kocevski/586617/ft1_filtered_4FGL_J0956.7+2516_daily_bin1521.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/586617/ft1_filtered_4FGL_J0956.7+2516_daily_bin1521.fits" evtable="EVENTS" scfile=/scratch/kocevski/586617/ft2_4FGL_J0956.7+2516_daily_bin1521.fits sctable="SC_DATA" outfile=/scratch/kocevski/586617/ltcube_633571201_633830401_4FGL_J0956.7+2516_daily_bin1521.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/586617/ft2_4FGL_J0956.7+2516_daily_bin1521.fits
.....................!
real 14.32
user 13.95
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/586617/ft1_filtered_4FGL_J0956.7+2516_daily_bin1521.fits evtable="EVENTS" scfile=/scratch/kocevski/586617/ft2_4FGL_J0956.7+2516_daily_bin1521.fits sctable="SC_DATA" expcube=/scratch/kocevski/586617/ltcube_633571201_633830401_4FGL_J0956.7+2516_daily_bin1521.fits outfile=/scratch/kocevski/586617/expmap_633571201_633830401_4FGL_J0956.7+2516_daily_bin1521.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/586617/ltcube_633571201_633830401_4FGL_J0956.7+2516_daily_bin1521.fits
.....................!
real 192.02
user 187.24
sys 4.03

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/586617/ft1_filtered_4FGL_J0956.7+2516_daily_bin1521.fits scfile=/scratch/kocevski/586617/ft2_4FGL_J0956.7+2516_daily_bin1521.fits outfile=/scratch/kocevski/586617/cmap_633571201_633830401_4FGL_J0956.7+2516_daily_bin1521.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.58
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/586617/ft1_filtered_4FGL_J0956.7+2516_daily_bin1521.fits scfile=/scratch/kocevski/586617/ft2_4FGL_J0956.7+2516_daily_bin1521.fits outfile=/scratch/kocevski/586617/cmap_HighResolution_633571201_633830401_4FGL_J0956.7+2516_daily_bin1521.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.65
user 0.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/586617/ft1_filtered_4FGL_J0956.7+2516_daily_bin1521.fits evtable="EVENTS" scfile=/scratch/kocevski/586617/ft2_4FGL_J0956.7+2516_daily_bin1521.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/586617/Model_4FGL_J0956.7+2516_daily_bin1521.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/586617/ft1_filtered_4FGL_J0956.7+2516_daily_bin1521.fits.....................!
real 58.57
user 56.48
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/586617/ft1_filtered_4FGL_J0956.7+2516_daily_bin1521.fits', '/scratch/kocevski/586617/ft2_4FGL_J0956.7+2516_daily_bin1521.fits', expMap='/scratch/kocevski/586617/expmap_633571201_633830401_4FGL_J0956.7+2516_daily_bin1521.fits', expCube='/scratch/kocevski/586617/ltcube_633571201_633830401_4FGL_J0956.7+2516_daily_bin1521.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/586617/Model_4FGL_J0956.7+2516_daily_bin1521.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/586617/ft1_filtered_4FGL_J0956.7+2516_daily_bin1521.fits
Spacecraft file(s): /scratch/kocevski/586617/ft2_4FGL_J0956.7+2516_daily_bin1521.fits
Exposure map: /scratch/kocevski/586617/expmap_633571201_633830401_4FGL_J0956.7+2516_daily_bin1521.fits
Exposure cube: /scratch/kocevski/586617/ltcube_633571201_633830401_4FGL_J0956.7+2516_daily_bin1521.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/586617/Model_4FGL_J0956.7+2516_daily_bin1521.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) = 6266.9766701

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    79.696       1.0000         .10000E-03   10000.    
     2 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .13767       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    203.29       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.8298       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.0380       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.6685       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    40.179       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0912       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0817       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=   6266.972     FROM MIGRAD    STATUS=CONVERGED    427 CALLS     2108 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     79.700        35.668        .15070E-05    .14945E-03
   2  norm          .10000E-03    49.043       -.52832E-05** at limit **
   3  norm          .13741        1.2293       -.88262E-07   -.30218E-03
   4  Prefactor     .10000E-03    19.622        .18326E-05** at limit **
   5  Prefactor     .10000E-03    1.6590       -.86813E-08** at limit **
   6  Prefactor     .10000E-03    7.8300       -.33372E-08** at limit **
   7  Prefactor     .10000E-03    34.030        .66204E-05** at limit **
   8  Prefactor     203.29        68.219        .50949E-06    .12778E-04
   9  Prefactor     5.8305        5.2236        .98122E-06   -.16562E-02
  10  Prefactor     .10000E-03    13.251       -.13151E-06** at limit **
  11  Prefactor     4.0384        2.4865       -.22203E-07   -.63038E-04
  12  norm          .10000E-03    1.9809        .24623E-07** at limit **
  13  Prefactor     .10000E-03    1.7587       -.52675E-07** at limit **
  14  Prefactor     .10000E-03    46.057        .23656E-05** at limit **
  15  Prefactor     6.6695        4.6036        .22543E-06   -.85875E-03
  16  Prefactor     .10000E-03    25.820       -.56283E-05** at limit **
  17  Prefactor     40.177        11.173        .43311E-07   -.14848E-04
  18  Prefactor     .10000E-03    1.8253        .16817E-07** at limit **
  19  Normalizat    1.0910        .18998       -.54972E-06    .20205E-04
  20  Prefactor     1.0818        .18464       -.17860E-06   -.37903E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 79.6996
  norm       = 0.000100002
  norm       = 0.137412
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 203.293
  Prefactor  = 5.83045
  Prefactor  = 0.0001
  Prefactor  = 4.03839
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.66949
  Prefactor  = 0.000100002
  Prefactor  = 40.1772
  Prefactor  = 0.0001
  Normalizat = 1.09099
  Prefactor  = 1.08184
 **********
 **   18 **HESSE 
 **********

 FCN=   6266.972     FROM HESSE     STATUS=OK           287 CALLS     2395 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     79.700        35.788        .44987E-04   -1.3920    
   2  norm          .10000E-03    49.633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .13741        3.2107        .17083E-02   -1.5634    
   4  Prefactor     .10000E-03    19.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.6727        .99494E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.8361        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    34.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     203.29        68.431        .28344E-04   -1.2847    
   9  Prefactor     5.8305        7.6544        .83166E-03   -1.5225    
  10  Prefactor     .10000E-03    13.670        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.0384        2.4887        .93916E-04   -1.5306    
  12  norm          .10000E-03    1.9833        .10881E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.7840        .10239E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    46.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.6695        4.7506        .70107E-03   -1.5191    
  16  Prefactor     .10000E-03    26.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     40.177        11.187        .63237E-04   -1.4439    
  18  Prefactor     .10000E-03    1.8998        .20857E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0910        .22938        .26356E-03   -.90041    
  20  Prefactor     1.0818        .22123        .26695E-03   -.90049    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95629e-08
Minuit parameter uncertainties:
  1  35.798
  2  0.000548571
  3  1.32804
  4  0.00011761
  5  2.32841e-06
  6  9.30975e-08
  7  0.000570506
  8  68.4574
  9  7.65564
  10  3.58044e-06
  11  2.48876
  12  7.85355e-07
  13  2.96485e-07
  14  0.00024101
  15  4.75083
  16  0.000417893
  17  11.1871
  18  1.46582e-06
  19  0.229587
  20  0.221418
Done.

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

Extracting fit parameters...

4FGL J0956.7+2516
   Spectrum: PowerLaw
235    Prefactor:  5.830e+00  7.656e+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:  1.082e+00  2.214e-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.091e+00  2.296e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.71
Ra Dec: 149.176 25.282
Photon Flux Upper Limit: 1.28e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.00e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/586617/likelihoodResults_633571201_633830401_4FGL_J0956.7+2516_daily_bin1521.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) = 6266.95016001
delta logL = 0.0220982797673

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6266.94608778
delta logL = 0.0261705090152

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.1511       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7550       1.0000          .0000       10.000    
     3 'Normalizat'    1.0854       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0861       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6266.946     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      247 TOTAL
                     EDM=   .85E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1513        8.1876        .17713E-03   -.21995E-03
   2  Index         2.7550        .99251        .10331E-01   -.35197E-04
   3  Normalizat    1.0854        .22014        .26414E-03    .12589E-03
   4  Prefactor     1.0861        .22078        .26649E-03    .12636E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.15133
  Index      = 2.75505
  Normalizat = 1.08542
  Prefactor  = 1.08606
 **********
 **   18 **HESSE 
 **********

 FCN=   6266.946     FROM HESSE     STATUS=OK            25 CALLS      272 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.1513        7.7276        .70854E-05   -1.5254    
   2  Index         2.7550        .93733        .41323E-03   -.46564    
   3  Normalizat    1.0854        .22041        .10566E-04   -.90221    
   4  Prefactor     1.0861        .22090        .10660E-04   -.89913    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0602e-10
Minuit parameter uncertainties:
  1  7.72907
  2  0.944343
  3  0.220598
  4  0.221088
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/586617': 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) = 6266.94608776
delta logL = 0.0261705224339

Extracting fit parameters...

4FGL J0956.7+2516
   Spectrum: PowerLaw
235    Prefactor:  5.151e+00  7.729e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        Index:  2.755e+00  9.443e-01  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:  1.086e+00  2.211e-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.085e+00  2.206e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.71
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/586617/cmap_HighResolution_633571201_633830401_4FGL_J0956.7+2516_daily_bin1521.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.00e-02', job_status='DONE', photon_flux_upper_limit='1.28e-07', time_completed='2021-09-01 06:33:20.938076', job_id='586617', GAL2='1.09', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1630503200.94', return_code2='0', ts='0.71', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='2.62e-02', ts2='0.76', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1521' AND source_name='4FGL J0956.7+2516' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 06:33:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 586617: <4FGL_J0956.7+2516_daily_bin1521> in cluster <slac> Done

Job <4FGL_J0956.7+2516_daily_bin1521> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  1 06:20:26 2021
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 06:20:28 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:20:28 2021
Terminated at Wed Sep  1 06:33:21 2021
Results reported at Wed Sep  1 06:33:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0956.7+2516_daily_bin1521 149.176 25.2817 633571201 633830401 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 :                                   599.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            775 sec.

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

