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


Performing analysis on: 4FGL_J0932.6+5306_daily_bin1282
RA = 143.159, Dec = 53.1008
tmin = 571622401, tmax = 571881601
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='352901', job_status='RUN', time_executed='2021-08-31 18:20:35.729024', time_epoch_executed='1630459235.73' WHERE source_name='4FGL J0932.6+5306' and cadence='daily' and bin_id='1282'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/352901

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/352901/ft1_4FGL_J0932.6+5306_daily_bin1282.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/352901/ft2_4FGL_J0932.6+5306_daily_bin1282.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/352901/ft1_4FGL_J0932.6+5306_daily_bin1282.fits outfile=/scratch/kocevski/352901/ft1_filteredMKT_4FGL_J0932.6+5306_daily_bin1282.fits ra=143.159 dec=53.1008 rad=12.0 tmin=571622401.0 tmax=571881601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.70
user 2.51
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/352901/ft2_4FGL_J0932.6+5306_daily_bin1282.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/352901/ft1_filteredMKT_4FGL_J0932.6+5306_daily_bin1282.fits evtable="EVENTS" outfile="/scratch/kocevski/352901/ft1_filtered_4FGL_J0932.6+5306_daily_bin1282.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/352901/ft1_filtered_4FGL_J0932.6+5306_daily_bin1282.fits" evtable="EVENTS" scfile=/scratch/kocevski/352901/ft2_4FGL_J0932.6+5306_daily_bin1282.fits sctable="SC_DATA" outfile=/scratch/kocevski/352901/ltcube_571622401_571881601_4FGL_J0932.6+5306_daily_bin1282.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/352901/ft2_4FGL_J0932.6+5306_daily_bin1282.fits
.....................!
real 12.91
user 12.60
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/352901/ft1_filtered_4FGL_J0932.6+5306_daily_bin1282.fits evtable="EVENTS" scfile=/scratch/kocevski/352901/ft2_4FGL_J0932.6+5306_daily_bin1282.fits sctable="SC_DATA" expcube=/scratch/kocevski/352901/ltcube_571622401_571881601_4FGL_J0932.6+5306_daily_bin1282.fits outfile=/scratch/kocevski/352901/expmap_571622401_571881601_4FGL_J0932.6+5306_daily_bin1282.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/352901/ltcube_571622401_571881601_4FGL_J0932.6+5306_daily_bin1282.fits
.....................!
real 192.79
user 188.24
sys 4.14

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/352901/ft1_filtered_4FGL_J0932.6+5306_daily_bin1282.fits scfile=/scratch/kocevski/352901/ft2_4FGL_J0932.6+5306_daily_bin1282.fits outfile=/scratch/kocevski/352901/cmap_571622401_571881601_4FGL_J0932.6+5306_daily_bin1282.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/352901/ft1_filtered_4FGL_J0932.6+5306_daily_bin1282.fits scfile=/scratch/kocevski/352901/ft2_4FGL_J0932.6+5306_daily_bin1282.fits outfile=/scratch/kocevski/352901/cmap_HighResolution_571622401_571881601_4FGL_J0932.6+5306_daily_bin1282.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/352901/ft1_filtered_4FGL_J0932.6+5306_daily_bin1282.fits evtable="EVENTS" scfile=/scratch/kocevski/352901/ft2_4FGL_J0932.6+5306_daily_bin1282.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/352901/Model_4FGL_J0932.6+5306_daily_bin1282.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/352901/ft1_filtered_4FGL_J0932.6+5306_daily_bin1282.fits......................!
real 22.56
user 21.25
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/352901/ft1_filtered_4FGL_J0932.6+5306_daily_bin1282.fits', '/scratch/kocevski/352901/ft2_4FGL_J0932.6+5306_daily_bin1282.fits', expMap='/scratch/kocevski/352901/expmap_571622401_571881601_4FGL_J0932.6+5306_daily_bin1282.fits', expCube='/scratch/kocevski/352901/ltcube_571622401_571881601_4FGL_J0932.6+5306_daily_bin1282.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/352901/Model_4FGL_J0932.6+5306_daily_bin1282.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/352901/ft1_filtered_4FGL_J0932.6+5306_daily_bin1282.fits
Spacecraft file(s): /scratch/kocevski/352901/ft2_4FGL_J0932.6+5306_daily_bin1282.fits
Exposure map: /scratch/kocevski/352901/expmap_571622401_571881601_4FGL_J0932.6+5306_daily_bin1282.fits
Exposure cube: /scratch/kocevski/352901/ltcube_571622401_571881601_4FGL_J0932.6+5306_daily_bin1282.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/352901/Model_4FGL_J0932.6+5306_daily_bin1282.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) = 963.985753963

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
     3 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     4 'norm      '    10000.       1.0000         .10000E-03   10000.    
     5 'norm      '    10000.       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.9695       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10463E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10149E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .32861E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2854.4       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .99022E-01   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    1.2369       1.0000         .10000E-03   10000.    
    26 'norm      '    .10074E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    29.452       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    9.1256       1.0000         .10000E-03   10000.    
    33 'norm      '    7.7701       1.0000         .10000E-03   10000.    
    34 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    35 'Prefactor '    1.2622       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=   963.1988     FROM MIGRAD    STATUS=CONVERGED    992 CALLS     5386 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor    10000.0        1148.3       -.12382E-05** at limit **
   2  Prefactor    10000.0        547.67        .37815E-05** at limit **
   3  Prefactor    10000.0        8956.3       -.60137E-05** at limit **
   4  norm         10000.0        6762.0       -.15758E-04** at limit **
   5  norm         10000.0        1459.1       -.44123E-05** at limit **
   6  Prefactor     .10000E-03    278.81        .31695E-05** at limit **
   7  Prefactor     2.9661        33.774       -.69181E-06    .21837E-06
   8  Prefactor    10000.0        1576.5       -.54885E-05** at limit **
   9  Prefactor     .10000E-03    546.23       -.38345E-05** at limit **
  10  Prefactor     .10000E-03    7308.0        .18398E-04** at limit **
  11  norm          .10000E-03    466.17       -.29713E-05** at limit **
  12  norm          .10089E-03    37.313       -.94311E-05** at limit **
  13  Prefactor    10000.0        6240.6       -.31089E-05** at limit **
  14  Prefactor    10000.0        7470.8       -.19003E-04** at limit **
  15  Prefactor     .10000E-03    68.951       -.33870E-06** at limit **
  16  Prefactor     .10000E-03    10.860        .39251E-08** at limit **
  17  Prefactor     .10000E-03    91.280        .32351E-06** at limit **
  18  Prefactor     .10000E-03    14.157        .66326E-07** at limit **
  19  norm          .10000E-03    1236.4        .21041E-05** at limit **
  20  Prefactor     2854.0        2998.6        .26922E-05   -.87011E-06
  21  Prefactor     .10000E-03    16.364        .16566E-06** at limit **
  22  Prefactor     .10000E-03    16.071       -.10279E-08** at limit **
  23  norm          .10891E-03    848.80       -.45711E-04** at limit **
  24  Prefactor     .10000E-03    95.601       -.40637E-06** at limit **
  25  norm          1.2377        1.1220       -.66355E-08   -.42586E-03
  26  norm          .10000E-03    134.12       -.22591E-06** at limit **
  27  Prefactor     .10000E-03    10.358        .12228E-07** at limit **
  28  norm          .10000E-03    4.3918        .22844E-07** at limit **
  29  Prefactor     .10000E-03    34.034        .16356E-07** at limit **
  30  norm          29.448        39.193        .14746E-06   -.20827E-04
  31  Prefactor     .10000E-03    22.980        .15689E-07** at limit **
  32  norm          9.1250        5.2188        .65622E-07   -.16361E-03
  33  norm          7.7689        4.6507        .94970E-07   -.17229E-03
  34  Normalizat    .10000E-01    .12606        .48856E-05** at limit **
  35  Prefactor     1.2631        .33599       -.35248E-05   -.93649E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  norm       = 10000
  norm       = 10000
  Prefactor  = 0.0001
  Prefactor  = 2.96615
  Prefactor  = 10000
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100893
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2853.96
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000108906
  Prefactor  = 0.0001
  norm       = 1.23765
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 29.4479
  Prefactor  = 0.0001
  norm       = 9.12495
  norm       = 7.76889
  Normalizat = 0.01
  Prefactor  = 1.26311
 **********
 **   18 **HESSE 
 **********

 FCN=   963.1988     FROM HESSE     STATUS=OK           752 CALLS     6138 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor    10000.0        1148.3        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor    10000.0        546.08        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor    10000.0        8955.7        .20954E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm         10000.0        6751.6        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm         10000.0        1457.2        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    277.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.9661        33.893        .11781E-02   -1.5364    
   8  Prefactor    10000.0        1573.6        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    544.62        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7295.4        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    465.06        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10089E-03    84.232        .80844E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor    10000.0        6240.2        .20584E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor    10000.0        7457.9        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    68.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.860        .99923E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    91.270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    14.159        .11408E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1236.0        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2854.0        2997.7        .44285E-04   -.44362    
  21  Prefactor     .10000E-03    16.424        .12255E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    16.071        .12157E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10891E-03    102.11        .70733E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    95.604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.2377        1.1225        .30068E-04   -1.5485    
  26  norm          .10000E-03    134.22        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    10.361        .97584E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    4.3966        .63533E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    34.038        .17695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          29.448        39.204        .73826E-04   -1.4622    
  31  Prefactor     .10000E-03    23.012        .14530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          9.1250        5.2146        .51045E-04   -1.5104    
  33  norm          7.7689        4.6473        .49109E-04   -1.5150    
  34  Normalizat    .10000E-01    .12927        .66816E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Prefactor     1.2631        .33189        .27153E-03   -.84411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07668e-08
Minuit parameter uncertainties:
  1  8.50676e-05
  2  0.000111431
  3  0.00135126
  4  0.00140567
  5  0.000251372
  6  7.90383e-05
  7  20.067
  8  0.000323422
  9  0.000124008
  10  0.00192241
  11  6.63141e-05
  12  0.0173709
  13  0.000301017
  14  0.00208169
  15  3.39825e-06
  16  9.89313e-08
  17  5.4607e-06
  18  8.60976e-06
  19  0.000113898
  20  3278.12
  21  2.18997e-05
  22  4.52916e-07
  23  0.0604136
  24  3.87655e-05
  25  1.12255
  26  2.99663e-05
  27  1.27233e-06
  28  1.28605e-06
  29  4.43499e-06
  30  39.2383
  31  8.50706e-06
  32  5.21488
  33  4.64754
  34  1.18102e-06
  35  0.332443
Done.

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

Extracting fit parameters...

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  1.000e-04  9.893e-08  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:  1.263e+00  3.324e-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  1.181e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 143.159 53.101
Photon Flux Upper Limit: 5.84e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.53e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/352901/likelihoodResults_571622401_571881601_4FGL_J0932.6+5306_daily_bin1282.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) = 963.199217543
delta logL = -0.000430061369116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 963.198787486
delta logL = -4.16878265241e-09

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   963.1988     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      260 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    113.52        .10085E-01** at limit **
   2  Index         1.8771        8.1120        .50000        .80084E-07
   3  Normalizat    .10000E-01    .22642E-02    .66817E-02** at limit **
   4  Prefactor     1.2631        .39276E-01    .27153E-03    .54377E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.87715
  Normalizat = 0.01
  Prefactor  = 1.26311
 **********
 **   18 **HESSE 
 **********

 FCN=   963.1988     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      289 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    886.13        .11045E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8771        8.2310        .50000       -.67458    
   3  Normalizat    .10000E-01    .20673E-01    .13363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2631        .11869        .10861E-04   -.84411    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.30009e-10
Minuit parameter uncertainties:
  1  0.000478656
  2  1999.81
  3  2.88257e-08
  4  0.118713
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/352901': 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) = 963.198786646
delta logL = 8.3542295215e-07

Extracting fit parameters...

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  1.000e-04  4.787e-04  1.000e-04  1.000e+04 ( 1.000e-12)
372        Index:  1.877e+00  2.000e+03  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:  1.263e+00  1.187e-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.883e-08  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/352901/cmap_HighResolution_571622401_571881601_4FGL_J0932.6+5306_daily_bin1282.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.53e-02', job_status='DONE', photon_flux_upper_limit='5.84e-07', time_completed='2021-08-31 18:28:45.273758', job_id='352901', GAL2='1.26', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630459725.27', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.26', dlogl='8.35e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1282' AND source_name='4FGL J0932.6+5306' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 18:28:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 352901: <4FGL_J0932.6+5306_daily_bin1282> in cluster <slac> Done

Job <4FGL_J0932.6+5306_daily_bin1282> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 18:20:23 2021
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 18:20:25 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:25 2021
Terminated at Tue Aug 31 18:28:45 2021
Results reported at Tue Aug 31 18:28:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0932.6+5306_daily_bin1282 143.159 53.1008 571622401 571881601 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 :                                   481.35 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             324.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   500 sec.
    Turnaround time :                            502 sec.

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

