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


Performing analysis on: 4FGL_J0932.6+5306_daily_bin653
RA = 143.159, Dec = 53.1008
tmin = 408585601, tmax = 408844801
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='346077', job_status='RUN', time_executed='2021-08-31 18:03:27.019518', time_epoch_executed='1630458207.02' WHERE source_name='4FGL J0932.6+5306' and cadence='daily' and bin_id='653'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/346077

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/346077/ft1_4FGL_J0932.6+5306_daily_bin653.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/346077/ft2_4FGL_J0932.6+5306_daily_bin653.fits


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

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

Done.
real 4.29
user 4.06
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/346077/ft2_4FGL_J0932.6+5306_daily_bin653.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/346077/ft1_filteredMKT_4FGL_J0932.6+5306_daily_bin653.fits evtable="EVENTS" outfile="/scratch/kocevski/346077/ft1_filtered_4FGL_J0932.6+5306_daily_bin653.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/346077/ft1_filtered_4FGL_J0932.6+5306_daily_bin653.fits" evtable="EVENTS" scfile=/scratch/kocevski/346077/ft2_4FGL_J0932.6+5306_daily_bin653.fits sctable="SC_DATA" outfile=/scratch/kocevski/346077/ltcube_408585601_408844801_4FGL_J0932.6+5306_daily_bin653.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/346077/ft2_4FGL_J0932.6+5306_daily_bin653.fits
.....................!
real 12.73
user 12.36
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/346077/ft1_filtered_4FGL_J0932.6+5306_daily_bin653.fits evtable="EVENTS" scfile=/scratch/kocevski/346077/ft2_4FGL_J0932.6+5306_daily_bin653.fits sctable="SC_DATA" expcube=/scratch/kocevski/346077/ltcube_408585601_408844801_4FGL_J0932.6+5306_daily_bin653.fits outfile=/scratch/kocevski/346077/expmap_408585601_408844801_4FGL_J0932.6+5306_daily_bin653.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/346077/ltcube_408585601_408844801_4FGL_J0932.6+5306_daily_bin653.fits
.....................!
real 192.37
user 187.65
sys 4.28

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/346077/ft1_filtered_4FGL_J0932.6+5306_daily_bin653.fits scfile=/scratch/kocevski/346077/ft2_4FGL_J0932.6+5306_daily_bin653.fits outfile=/scratch/kocevski/346077/cmap_408585601_408844801_4FGL_J0932.6+5306_daily_bin653.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/346077/ft1_filtered_4FGL_J0932.6+5306_daily_bin653.fits scfile=/scratch/kocevski/346077/ft2_4FGL_J0932.6+5306_daily_bin653.fits outfile=/scratch/kocevski/346077/cmap_HighResolution_408585601_408844801_4FGL_J0932.6+5306_daily_bin653.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.476       1.0000         .10000E-03   10000.    
     4 'norm      '    9.2306       1.0000         .10000E-03   10000.    
     5 'norm      '    .10106E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.7578       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.3679       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.8301       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    9.2118       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .38985E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.4776       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    4.9962       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .13226E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    1.1781       1.0000         .10000E-03   10000.    
    26 'norm      '    22.851       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    14.438       1.0000         .10000E-03   10000.    
    29 'Prefactor '    31.195       1.0000         .10000E-03   10000.    
    30 'norm      '    .10173E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    23.937       1.0000         .10000E-03   10000.    
    32 'norm      '    7.1406       1.0000         .10000E-03   10000.    
    33 'norm      '    2.4112       1.0000         .10000E-03   10000.    
    34 'Normalizat'    .69030       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .95403       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=   1852.747     FROM MIGRAD    STATUS=CONVERGED    993 CALLS     5805 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.2488       -.62540E-07** at limit **
   2  Prefactor     .10000E-03    8.1607        .15893E-06** at limit **
   3  Prefactor     13.482        22.552        .20314E-06   -.18189E-04
   4  norm          9.2299        13.203       -.17857E-06   -.13521E-03
   5  norm          .10000E-03    20.689        .12182E-05** at limit **
   6  Prefactor     .10000E-03    23.259       -.67642E-06** at limit **
   7  Prefactor     .10000E-03    9.9314        .21385E-07** at limit **
   8  Prefactor     2.7576        3.0233        .29135E-07    .33541E-05
   9  Prefactor     .10000E-03    23.231       -.64431E-06** at limit **
  10  Prefactor     .10000E-03    91.486        .92600E-05** at limit **
  11  norm          .10000E-03    .44547        .17553E-06** at limit **
  12  norm          .10000E-03    .46480       -.21412E-07** at limit **
  13  Prefactor     5.3629        5.1174       -.73549E-06    .21489E-03
  14  Prefactor     .10000E-03    3.7496        .21619E-06** at limit **
  15  Prefactor     .10000E-03    7.1848        .90869E-07** at limit **
  16  Prefactor     4.8255        6.9968        .95272E-07    .33434E-05
  17  Prefactor     .10000E-03    13.671        .51279E-06** at limit **
  18  Prefactor     .10000E-03    14.837       -.78681E-06** at limit **
  19  norm          9.0958        58.113       -.22279E-04    .20087E-03
  20  Prefactor     .11436E-03    110.33        .14905E-04** at limit **
  21  Prefactor     1.4270        64.404       -.54417E-06   -.40345E-04
  22  Prefactor     .10000E-03    4.2431        .30685E-07** at limit **
  23  norm          5.0040        16.668        .40671E-06    .62108E-04
  24  Prefactor     .10000E-03    78.232       -.98134E-05** at limit **
  25  norm          1.1783        .87600        .82592E-07    .42092E-03
  26  norm          22.854        27.322       -.86562E-06    .61504E-04
  27  Prefactor     .10000E-03    4.3873       -.14143E-07** at limit **
  28  norm          14.434        7.3597        .65276E-07    .58707E-04
  29  Prefactor     31.122        69.051       -.10214E-04   -.22516E-04
  30  norm          .10000E-03    51.998        .20792E-05** at limit **
  31  Prefactor     23.965        70.575        .56559E-05    .37597E-04
  32  norm          7.1398        10.361       -.10168E-05    .10893E-03
  33  norm          2.4113        3.2207        .10294E-06    .84634E-05
  34  Normalizat    .69144        .32724       -.11517E-06    .14571E-03
  35  Prefactor     .95320        .29361       -.79339E-06    .23010E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.4816
  norm       = 9.22992
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.75756
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 5.36295
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.82552
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.09582
  Prefactor  = 0.000114356
  Prefactor  = 1.42696
  Prefactor  = 0.0001
  norm       = 5.00397
  Prefactor  = 0.0001
  norm       = 1.17834
  norm       = 22.8537
  Prefactor  = 0.0001
  norm       = 14.4341
  Prefactor  = 31.1224
  norm       = 0.0001
  Prefactor  = 23.9648
  norm       = 7.13977
  norm       = 2.41132
  Normalizat = 0.691438
  Prefactor  = 0.9532
 **********
 **   18 **HESSE 
 **********

 FCN=   1852.747     FROM HESSE     STATUS=OK           768 CALLS     6573 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.2500        .11320E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.2490        .12002E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     13.482        22.531        .10911E-03   -1.4973    
   4  norm          9.2299        13.180        .13191E-03   -1.5100    
   5  norm          .10000E-03    20.902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    23.291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.9872        .13248E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.7576        3.0232        .75777E-04   -1.5376    
   9  Prefactor     .10000E-03    23.257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    91.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .45635        .55107E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .46539        .28628E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.3629        5.0853        .85535E-04   -1.5245    
  14  Prefactor     .10000E-03    3.7929        .81267E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.1926        .11269E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.8255        7.0219        .12844E-03   -1.5269    
  17  Prefactor     .10000E-03    13.682        .15547E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    14.829        .16187E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          9.0958        59.964        .13205E-03   -1.5105    
  20  Prefactor     .11436E-03    673.64        .76838E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.4270        63.735        .35323E-03   -1.5469    
  22  Prefactor     .10000E-03    4.2456        .86593E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          5.0040        16.652        .17991E-03   -1.5261    
  24  Prefactor     .10000E-03    77.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.1783        .87544        .33398E-04   -1.5491    
  26  norm          22.854        27.366        .83793E-04   -1.4751    
  27  Prefactor     .10000E-03    4.3945        .88043E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          14.434        7.3642        .80378E-04   -1.4948    
  29  Prefactor     31.122        69.206        .71738E-04   -1.4592    
  30  norm          .10000E-03    52.014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     23.965        72.263        .81873E-04   -1.4728    
  32  norm          7.1398        10.571        .10770E-03   -1.5173    
  33  norm          2.4113        3.2040        .86004E-04   -1.5397    
  34  Normalizat    .69144        .36892        .26216E-03   -1.0423    
  35  Prefactor     .95320        .33322        .23856E-03   -.94306    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03277e-08
Minuit parameter uncertainties:
  1  2.22701e-06
  2  1.41544e-05
  3  22.5455
  4  13.1843
  5  0.000115921
  6  2.38547e-05
  7  9.22643e-07
  8  3.02339
  9  3.42897e-05
  10  0.000485427
  11  6.26407e-06
  12  1.72154e-06
  13  5.08574
  14  2.20357e-05
  15  2.17477e-07
  16  7.02305
  17  1.18719e-05
  18  1.67558e-05
  19  46.7764
  20  0.198957
  21  19.0943
  22  4.46886e-06
  23  16.667
  24  0.000279877
  25  0.875446
  26  27.381
  27  7.26311e-06
  28  7.36463
  29  69.3852
  30  0.000101528
  31  72.5284
  32  10.5741
  33  3.20419
  34  0.370248
  35  0.333942
Done.

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

Extracting fit parameters...

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  4.826e+00  7.023e+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

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  9.532e-01  3.339e-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:  6.914e-01  3.702e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/346077/likelihoodResults_408585601_408844801_4FGL_J0932.6+5306_daily_bin653.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) = 1852.58593669
delta logL = 0.160600040087

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1852.58031089
delta logL = 0.166225839966

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4945       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1677       1.0000          .0000       10.000    
     3 'Normalizat'    .67011       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96717       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=   1852.580     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      270 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4948        6.5061        .77755E-04   -.30558E-04
   2  Index         3.1681        1.5695        .55999E-02    .13217E-03
   3  Normalizat    .67009        .30521        .26619E-03    .41012E-04
   4  Prefactor     .96716        .31828        .23702E-03    .28695E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.49483
  Index      = 3.1681
  Normalizat = 0.670086
  Prefactor  = 0.967162
 **********
 **   18 **HESSE 
 **********

 FCN=   1852.580     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .99E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4948        5.6907        .31102E-05   -1.5392    
   2  Index         3.1681        1.3786        .11200E-02   -.37512    
   3  Normalizat    .67009        .30550        .10647E-04   -1.0509    
   4  Prefactor     .96716        .31848        .94807E-05   -.93832    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.88469e-12
Minuit parameter uncertainties:
  1  5.69193
  2  1.39961
  3  0.306277
  4  0.319101
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/346077': 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) = 1852.58031064
delta logL = 0.166226089531

Extracting fit parameters...

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  2.495e+00  5.692e+00  1.000e-04  1.000e+04 ( 1.000e-12)
372        Index:  3.168e+00  1.400e+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:  9.672e-01  3.191e-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:  6.701e-01  3.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.02
Ra Dec: 143.159 53.101
Photon Index (Free Index): 3.17 +/- 1.40
Photon Flux (Free Index): 6.32e-08 +/- 7.75e-08
Energy Flux (Free Index): 1.17e-05 +/- 1.47e-05

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/346077/cmap_HighResolution_408585601_408844801_4FGL_J0932.6+5306_daily_bin653.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.58e-02', comment='SUCCESS', energy_flux2='1.17e-05', dlogl='1.66e-01', photon_flux2='6.32e-08', job_status='DONE', time_completed='2021-08-31 18:13:53.636168', photon_index_error2='1.40', photon_index2='3.17', ts='0.67', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='2.03e-07', energy_flux_error2='1.47e-05', EG='0.69', time_epoch_completed='1630458833.64', return_code='0', job_id='346077', GAL2='0.97', EG2='0.67', return_code2='0', photon_flux_error2='7.75e-08', ts2='1.02', photon_index='2.45' WHERE bin_id='653' AND source_name='4FGL J0932.6+5306' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 18:13:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 346077: <4FGL_J0932.6+5306_daily_bin653> in cluster <slac> Done

Job <4FGL_J0932.6+5306_daily_bin653> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 31 18:00:19 2021
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 18:00:20 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:00:20 2021
Terminated at Tue Aug 31 18:13:54 2021
Results reported at Tue Aug 31 18:13:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0932.6+5306_daily_bin653 143.159 53.1008 408585601 408844801 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 :                                   622.24 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             290.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            815 sec.

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

