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


Performing analysis on: 4FGL_J0932.6+5306_daily_bin1403
RA = 143.159, Dec = 53.1008
tmin = 602985601, tmax = 603244801
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='353121', job_status='RUN', time_executed='2021-08-31 18:24:43.140790', time_epoch_executed='1630459483.14' WHERE source_name='4FGL J0932.6+5306' and cadence='daily' and bin_id='1403'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/353121

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/353121/ft1_4FGL_J0932.6+5306_daily_bin1403.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/353121/ft2_4FGL_J0932.6+5306_daily_bin1403.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/353121/ft1_4FGL_J0932.6+5306_daily_bin1403.fits outfile=/scratch/kocevski/353121/ft1_filteredMKT_4FGL_J0932.6+5306_daily_bin1403.fits ra=143.159 dec=53.1008 rad=12.0 tmin=602985601.0 tmax=603244801.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.06
user 2.82
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/353121/ft2_4FGL_J0932.6+5306_daily_bin1403.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/353121/ft2_4FGL_J0932.6+5306_daily_bin1403.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/353121/ft1_filteredMKT_4FGL_J0932.6+5306_daily_bin1403.fits evtable="EVENTS" outfile="/scratch/kocevski/353121/ft1_filtered_4FGL_J0932.6+5306_daily_bin1403.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.49
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/353121/ft1_filtered_4FGL_J0932.6+5306_daily_bin1403.fits" evtable="EVENTS" scfile=/scratch/kocevski/353121/ft2_4FGL_J0932.6+5306_daily_bin1403.fits sctable="SC_DATA" outfile=/scratch/kocevski/353121/ltcube_602985601_603244801_4FGL_J0932.6+5306_daily_bin1403.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/353121/ft2_4FGL_J0932.6+5306_daily_bin1403.fits
.....................!
real 13.10
user 12.68
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/353121/ft1_filtered_4FGL_J0932.6+5306_daily_bin1403.fits evtable="EVENTS" scfile=/scratch/kocevski/353121/ft2_4FGL_J0932.6+5306_daily_bin1403.fits sctable="SC_DATA" expcube=/scratch/kocevski/353121/ltcube_602985601_603244801_4FGL_J0932.6+5306_daily_bin1403.fits outfile=/scratch/kocevski/353121/expmap_602985601_603244801_4FGL_J0932.6+5306_daily_bin1403.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/353121/ltcube_602985601_603244801_4FGL_J0932.6+5306_daily_bin1403.fits
.....................!
real 191.25
user 186.01
sys 4.73

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

Setting source of interest to:
4FGL J0932.6+5306 @ 143.159 53.1008

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/353121/ft1_filtered_4FGL_J0932.6+5306_daily_bin1403.fits scfile=/scratch/kocevski/353121/ft2_4FGL_J0932.6+5306_daily_bin1403.fits outfile=/scratch/kocevski/353121/cmap_602985601_603244801_4FGL_J0932.6+5306_daily_bin1403.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=143.159 yref=53.1008 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/353121/ft1_filtered_4FGL_J0932.6+5306_daily_bin1403.fits scfile=/scratch/kocevski/353121/ft2_4FGL_J0932.6+5306_daily_bin1403.fits outfile=/scratch/kocevski/353121/cmap_HighResolution_602985601_603244801_4FGL_J0932.6+5306_daily_bin1403.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=143.159 yref=53.1008 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/353121/ft1_filtered_4FGL_J0932.6+5306_daily_bin1403.fits evtable="EVENTS" scfile=/scratch/kocevski/353121/ft2_4FGL_J0932.6+5306_daily_bin1403.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/353121/Model_4FGL_J0932.6+5306_daily_bin1403.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/353121/ft1_filtered_4FGL_J0932.6+5306_daily_bin1403.fits.....................!
real 22.40
user 21.12
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/353121/ft1_filtered_4FGL_J0932.6+5306_daily_bin1403.fits', '/scratch/kocevski/353121/ft2_4FGL_J0932.6+5306_daily_bin1403.fits', expMap='/scratch/kocevski/353121/expmap_602985601_603244801_4FGL_J0932.6+5306_daily_bin1403.fits', expCube='/scratch/kocevski/353121/ltcube_602985601_603244801_4FGL_J0932.6+5306_daily_bin1403.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/353121/Model_4FGL_J0932.6+5306_daily_bin1403.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0932.6+5306'

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  1.653e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
372        Index:  2.453e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
373        Scale:  7.321e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/353121/ft1_filtered_4FGL_J0932.6+5306_daily_bin1403.fits
Spacecraft file(s): /scratch/kocevski/353121/ft2_4FGL_J0932.6+5306_daily_bin1403.fits
Exposure map: /scratch/kocevski/353121/expmap_602985601_603244801_4FGL_J0932.6+5306_daily_bin1403.fits
Exposure cube: /scratch/kocevski/353121/ltcube_602985601_603244801_4FGL_J0932.6+5306_daily_bin1403.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/353121/Model_4FGL_J0932.6+5306_daily_bin1403.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) = 877.352252466

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    30.753       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10401E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    30.777       1.0000         .10000E-03   10000.    
     5 'norm      '    .10378E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10251E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .34279E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.3885       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .61996E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11024E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    19 'norm      '   10000.0       1.0000         .10000E-03   10000.    
    20 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10572E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2553.6       1.0000         .10000E-03   10000.    
    23 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    1665.1       1.0000         .10000E-03   10000.    
    26 'norm      '   10000.0       1.0000         .10000E-03   10000.    
    27 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    28 'norm      '    .10256E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .12928E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    69.139       1.0000         .10000E-03   10000.    
    31 'Prefactor '    29.891       1.0000         .10000E-03   10000.    
    32 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
    33 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    34 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    35 'Prefactor '    .33270       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   867.4439     FROM MIGRAD    STATUS=CONVERGED    959 CALLS     6077 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.743       -.15199E-06** at limit **
   2  Prefactor     30.763        14.990        .13119E-06    .81154E-04
   3  Prefactor     .10000E-03    17.488       -.49432E-06** at limit **
   4  norm          30.785        28.002        .20130E-06    .19841E-04
   5  norm          .10000E-03    19.550       -.29597E-06** at limit **
   6  Prefactor     .10000E-03    12.730       -.29491E-06** at limit **
   7  Prefactor     .10000E-03    6.1468       -.68994E-06** at limit **
   8  Prefactor     .10000E-03    18.465       -.14752E-06** at limit **
   9  Prefactor     .10000E-03    61.874       -.26571E-06** at limit **
  10  Prefactor     .10000E-03    253.70       -.16357E-06** at limit **
  11  norm          .10000E-03    22.084       -.27644E-06** at limit **
  12  norm          2.3892        2.0906       -.24116E-06    .22734E-03
  13  Prefactor     .10000E-03    190.20       -.37681E-06** at limit **
  14  Prefactor     .10000E-03    6930.8       -.48669E-05** at limit **
  15  Prefactor     .10000E-03    181.92       -.12229E-06** at limit **
  16  Prefactor     .10000E-03    62.312       -.50266E-06** at limit **
  17  Prefactor     .10003E-03    5798.0       -.76482E-04** at limit **
  18  Prefactor     .10000E-03    24.719       -.53574E-06** at limit **
  19  norm         10000.0        6700.4        .35010E-05** at limit **
  20  Prefactor    10000.0        9975.4        .33386E-05** at limit **
  21  Prefactor     .10000E-03    11.811       -.76928E-06** at limit **
  22  Prefactor     2549.3        6080.0       -.37558E-04   -.22421E-05
  23  norm          .10000E-03    138.18       -.85634E-06** at limit **
  24  Prefactor     .10000E-03    588.81       -.14962E-05** at limit **
  25  norm          1664.8        546.56        .54250E-05    .47481E-04
  26  norm         10000.0        6945.6        .21565E-05** at limit **
  27  Prefactor    10000.0        711.89        .15593E-05** at limit **
  28  norm          .10000E-03    97.074       -.98546E-07** at limit **
  29  Prefactor     .10000E-03    564.54       -.30394E-06** at limit **
  30  norm          69.170        71.407        .20307E-07    .77651E-05
  31  Prefactor     29.887        32.276        .53181E-05    .18097E-03
  32  norm          .10003E-03    9.4061       -.23772E-05** at limit **
  33  norm          .10041E-03    12.930       -.35294E-05** at limit **
  34  Normalizat    .10000E-01    .61357E-01   -.58206E-05** at limit **
  35  Prefactor     .33267        .17476        .74159E-07    .64534E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 30.7635
  Prefactor  = 0.0001
  norm       = 30.7852
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.3892
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100026
  Prefactor  = 0.0001
  norm       = 10000
  Prefactor  = 10000
  Prefactor  = 0.0001
  Prefactor  = 2549.34
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1664.77
  norm       = 10000
  Prefactor  = 10000
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 69.1696
  Prefactor  = 29.8873
  norm       = 0.000100034
  norm       = 0.000100407
  Normalizat = 0.01
  Prefactor  = 0.332675
 **********
 **   18 **HESSE 
 **********

 FCN=   867.4439     FROM HESSE     STATUS=OK           744 CALLS     6821 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.756        .94264E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     30.763        15.002        .72250E-04   -1.4598    
   3  Prefactor     .10000E-03    17.553        .12026E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          30.785        27.993        .72223E-04   -1.4598    
   5  norm          .10000E-03    19.586        .12719E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.727        .10265E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.1391        .71160E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    18.464        .12364E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    61.875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    253.71        .21333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    22.078        .13523E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.3892        2.0850        .36264E-04   -1.5399    
  13  Prefactor     .10000E-03    190.23        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6931.1        .21047E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    181.93        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    62.308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10003E-03    5768.5        .18156E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    24.717        .14306E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm         10000.0        6701.8        .18608E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor    10000.0        9975.5        .20720E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    11.792        .98770E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2549.3        6095.1        .45865E-04   -.51224    
  23  norm          .10000E-03    138.15        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    588.91        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1664.8        535.57        .53686E-04   -.73024    
  26  norm         10000.0        6945.0        .21033E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor    10000.0        711.68        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    97.076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    564.60        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          69.170        71.408        .48274E-04   -1.4043    
  31  Prefactor     29.887        32.959        .73282E-04   -1.4614    
  32  norm          .10003E-03    17.336        .17531E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  norm          .10041E-03    49.031        .18583E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    .10000E-01    .59906E-01    .22123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Prefactor     .33267        .17432        .24630E-03   -1.2040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03992e-08
Minuit parameter uncertainties:
  1  7.57588e-06
  2  15.0043
  3  1.16335e-05
  4  28.0045
  5  6.7128e-05
  6  1.69241e-05
  7  2.26397e-05
  8  1.5299e-05
  9  6.04839e-05
  10  8.82149e-05
  11  1.41152e-05
  12  2.08502
  13  0.000462613
  14  0.00503359
  15  0.00023429
  16  9.7397e-05
  17  0.0878887
  18  4.60038e-05
  19  0.192215
  20  0.0384342
  21  2.95553e-05
  22  6275.42
  23  0.000247686
  24  0.000490362
  25  537.434
  26  0.00850051
  27  0.00150577
  28  1.3648e-05
  29  0.000487233
  30  71.4965
  31  32.9791
  32  0.00152782
  33  0.00893839
  34  6.0265e-07
  35  0.174593
Done.

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

Extracting fit parameters...

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  1.000e-04  9.740e-05  1.000e-04  1.000e+04 ( 1.000e-12)
372        Index:  2.453e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
373        Scale:  7.321e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  3.327e-01  1.746e-01  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  1.000e-02  6.026e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 143.159 53.101
Photon Flux Upper Limit: 3.31e-06 ph cm-2 s-1
Energy Flux Upper Limit: 2.56e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/353121/likelihoodResults_602985601_603244801_4FGL_J0932.6+5306_daily_bin1403.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) = 867.44393956
delta logL = -7.62640662515e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 867.443864204
delta logL = -9.08412744138e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   867.4439     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      239 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6935.2        .90712E-02** at limit **
   2  Index         3.8322        5.6687        .50000        .43620E-05
   3  Normalizat    .10000E-01    .24990E-01    .10084    ** at limit **
   4  Prefactor     .33267        .10067        .55664E-01    .32536E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 3.83223
  Normalizat = 0.01
  Prefactor  = 0.332674
 **********
 **   18 **HESSE 
 **********

 FCN=   867.4439     FROM HESSE     STATUS=OK            31 CALLS      270 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    37.545        .15804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.8322        6.8599        .50000       -.23573    
   3  Normalizat    .10000E-01    .58503E-01    .22124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .33267        .15246        .24629E-03   -1.2040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1427e-11
Minuit parameter uncertainties:
  1  4.08409e-05
  2  5.45786
  3  2.09033e-10
  4  0.15264
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/353121': 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) = 867.443864151
delta logL = -8.55395796862e-07

Extracting fit parameters...

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  1.000e-04  4.084e-05  1.000e-04  1.000e+04 ( 1.000e-12)
372        Index:  3.832e+00  5.458e+00  0.000e+00  1.000e+01 (-1.000e+00)
373        Scale:  7.321e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  3.327e-01  1.526e-01  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  1.000e-02  2.090e-10  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 143.159 53.101

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/353121/cmap_HighResolution_602985601_603244801_4FGL_J0932.6+5306_daily_bin1403.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.56e-01', job_status='DONE', photon_flux_upper_limit='3.31e-06', time_completed='2021-08-31 18:32:53.412064', job_id='353121', GAL2='0.33', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630459973.41', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.33', dlogl='-8.55e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1403' AND source_name='4FGL J0932.6+5306' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 18:32:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 353121: <4FGL_J0932.6+5306_daily_bin1403> in cluster <slac> Done

Job <4FGL_J0932.6+5306_daily_bin1403> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 18:20:35 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 18:20:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 18:20:36 2021
Terminated at Tue Aug 31 18:32:54 2021
Results reported at Tue Aug 31 18:32:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0932.6+5306_daily_bin1403 143.159 53.1008 602985601 603244801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0932.6+5306 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   482.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             232.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   737 sec.
    Turnaround time :                            739 sec.

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

