/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 66 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 = 7496
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0932.6+5306_daily_bin5
RA = 143.159, Dec = 53.1008
tmin = 240624001, tmax = 240883201
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='337467', job_status='RUN', time_executed='2021-08-31 17:31:51.355369', time_epoch_executed='1630456311.36' WHERE source_name='4FGL J0932.6+5306' and cadence='daily' and bin_id='5'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/337467

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/337467/ft1_4FGL_J0932.6+5306_daily_bin5.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/337467/ft2_4FGL_J0932.6+5306_daily_bin5.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/337467/ft1_4FGL_J0932.6+5306_daily_bin5.fits outfile=/scratch/kocevski/337467/ft1_filteredMKT_4FGL_J0932.6+5306_daily_bin5.fits ra=143.159 dec=53.1008 rad=12.0 tmin=240624001.0 tmax=240883201.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 1.37
user 1.19
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/337467/ft2_4FGL_J0932.6+5306_daily_bin5.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/337467/ft1_filteredMKT_4FGL_J0932.6+5306_daily_bin5.fits evtable="EVENTS" outfile="/scratch/kocevski/337467/ft1_filtered_4FGL_J0932.6+5306_daily_bin5.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/337467/ft1_filtered_4FGL_J0932.6+5306_daily_bin5.fits" evtable="EVENTS" scfile=/scratch/kocevski/337467/ft2_4FGL_J0932.6+5306_daily_bin5.fits sctable="SC_DATA" outfile=/scratch/kocevski/337467/ltcube_240624001_240883201_4FGL_J0932.6+5306_daily_bin5.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/337467/ft2_4FGL_J0932.6+5306_daily_bin5.fits
.....................!
real 13.62
user 13.09
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/337467/ft1_filtered_4FGL_J0932.6+5306_daily_bin5.fits evtable="EVENTS" scfile=/scratch/kocevski/337467/ft2_4FGL_J0932.6+5306_daily_bin5.fits sctable="SC_DATA" expcube=/scratch/kocevski/337467/ltcube_240624001_240883201_4FGL_J0932.6+5306_daily_bin5.fits outfile=/scratch/kocevski/337467/expmap_240624001_240883201_4FGL_J0932.6+5306_daily_bin5.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/337467/ltcube_240624001_240883201_4FGL_J0932.6+5306_daily_bin5.fits
.....................!
real 190.90
user 185.69
sys 4.71

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/337467/ft1_filtered_4FGL_J0932.6+5306_daily_bin5.fits scfile=/scratch/kocevski/337467/ft2_4FGL_J0932.6+5306_daily_bin5.fits outfile=/scratch/kocevski/337467/cmap_240624001_240883201_4FGL_J0932.6+5306_daily_bin5.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.79
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/337467/ft1_filtered_4FGL_J0932.6+5306_daily_bin5.fits scfile=/scratch/kocevski/337467/ft2_4FGL_J0932.6+5306_daily_bin5.fits outfile=/scratch/kocevski/337467/cmap_HighResolution_240624001_240883201_4FGL_J0932.6+5306_daily_bin5.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.62
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.6777       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.145       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.2475       1.0000         .10000E-03   10000.    
     5 'norm      '    .84276       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.330       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.8812       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.7945       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .88816       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10258E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.3670       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.5058       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.4320       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    52.400       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.1798       1.0000         .10000E-03   10000.    
    23 'norm      '    .10098E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10195E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    3.7025       1.0000         .10000E-03   10000.    
    26 'norm      '    10.137       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .12258E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    8.9047       1.0000         .10000E-03   10000.    
    29 'Prefactor '    19.761       1.0000         .10000E-03   10000.    
    30 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    2.7008       1.0000         .10000E-03   10000.    
    33 'norm      '    1.1359       1.0000         .10000E-03   10000.    
    34 'Normalizat'    .64639       1.0000         .10000E-01   10.000    
    35 'Prefactor '    1.0723       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=   4053.565     FROM MIGRAD    STATUS=CONVERGED    981 CALLS     5103 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.6790        16.982       -.42049E-07    .11654E-04
   2  Prefactor     12.146        11.096        .25231E-06   -.24449E-06
   3  Prefactor     .10000E-03    3.4871        .33712E-08** at limit **
   4  norm          2.2467        7.6627       -.14983E-06   -.51319E-03
   5  norm          .84013        9.7319        .25264E-06   -.35154E-04
   6  Prefactor     11.327        13.337        .15728E-06   -.17215E-04
   7  Prefactor     2.8848        18.376       -.19880E-06   -.13248E-03
   8  Prefactor     1.7951        3.8129        .38731E-06    .16481E-03
   9  Prefactor     1.0330        117.11        .18529E-04   -.31980E-04
  10  Prefactor     .10000E-03    31.297       -.12323E-05** at limit **
  11  norm          .10000E-03    .27503       -.58212E-06** at limit **
  12  norm          1.3665        1.6516        .86985E-07    .12509E-03
  13  Prefactor     3.5027        3.4452        .11317E-05    .14019E-02
  14  Prefactor     4.4328        4.1460        .57339E-06    .17321E-03
  15  Prefactor     .10000E-03    5.3057        .27216E-06** at limit **
  16  Prefactor     .10000E-03    5.9169        .79631E-06** at limit **
  17  Prefactor     52.389        31.004        .75364E-06   -.19696E-03
  18  Prefactor     .10000E-03    6.7485       -.60167E-06** at limit **
  19  norm          .10000E-03    8.7897        .26850E-06** at limit **
  20  Prefactor     .10000E-03    11.434        .43586E-06** at limit **
  21  Prefactor     .10000E-03    5.4737        .21625E-07** at limit **
  22  Prefactor     1.1900        11.398        .27796E-05   -.65295E-03
  23  norm          .10000E-03    24.240        .20202E-05** at limit **
  24  Prefactor     .10000E-03    48.283       -.43447E-05** at limit **
  25  norm          3.7023        1.1604       -.87933E-07   -.50428E-03
  26  norm          10.144        18.711       -.58202E-06   -.13803E-04
  27  Prefactor     .10005E-03    11.195       -.33555E-05** at limit **
  28  norm          8.9056        4.2950        .17601E-06   -.23018E-03
  29  Prefactor     19.739        49.704        .43137E-05   -.76444E-04
  30  norm          .10000E-03    12.475       -.35728E-06** at limit **
  31  Prefactor     .10000E-03    15.466       -.74369E-06** at limit **
  32  norm          2.7019        2.5185       -.52106E-07    .69424E-04
  33  norm          1.1357        1.6586        .61992E-06    .35510E-03
  34  Normalizat    .64631        .22952       -.31839E-05    .14695E-03
  35  Prefactor     1.0721        .21989        .11392E-05   -.71108E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.679
  Prefactor  = 12.1465
  Prefactor  = 0.0001
  norm       = 2.24669
  norm       = 0.840129
  Prefactor  = 11.327
  Prefactor  = 2.88484
  Prefactor  = 1.79506
  Prefactor  = 1.03299
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.36651
  Prefactor  = 3.50269
  Prefactor  = 4.43275
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 52.3888
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.18999
  norm       = 0.000100001
  Prefactor  = 0.000100001
  norm       = 3.7023
  norm       = 10.1439
  Prefactor  = 0.000100051
  norm       = 8.90562
  Prefactor  = 19.7391
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.70194
  norm       = 1.13574
  Normalizat = 0.64631
  Prefactor  = 1.07212
 **********
 **   18 **HESSE 
 **********

 FCN=   4053.565     FROM HESSE     STATUS=OK           780 CALLS     5883 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.6790        16.997        .12882E-03   -1.5086    
   2  Prefactor     12.146        11.090        .11495E-03   -1.5011    
   3  Prefactor     .10000E-03    3.4892        .11610E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.2467        8.2059        .13705E-02   -1.5408    
   5  norm          .84013        9.4771        .36479E-03   -1.5525    
   6  Prefactor     11.327        13.323        .11902E-03   -1.5035    
   7  Prefactor     2.8848        18.750        .11972E-02   -1.5368    
   8  Prefactor     1.7951        3.7421        .16069E-03   -1.5440    
   9  Prefactor     1.0330        137.67        .54581E-02   -1.5505    
  10  Prefactor     .10000E-03    31.290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .36210        .63512E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.3665        1.6095        .79223E-04   -1.5474    
  13  Prefactor     3.5027        3.4668        .10642E-03   -1.5334    
  14  Prefactor     4.4328        4.1304        .11796E-03   -1.5287    
  15  Prefactor     .10000E-03    5.3045        .14311E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.9953        .29988E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     52.389        31.725        .55406E-04   -1.4259    
  18  Prefactor     .10000E-03    6.7442        .16145E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    8.7879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    11.431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.4832        .14540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.1900        37.013        .21051E-02   -1.5490    
  23  norm          .10000E-03    25.138        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    48.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          3.7023        1.1689        .35193E-04   -1.5323    
  26  norm          10.144        18.704        .12585E-03   -1.5071    
  27  Prefactor     .10005E-03    26.692        .33752E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          8.9056        4.2861        .87790E-04   -1.5111    
  29  Prefactor     19.739        49.407        .90101E-04   -1.4819    
  30  norm          .10000E-03    12.473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    15.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          2.7019        2.5196        .94377E-04   -1.5379    
  33  norm          1.1357        1.5041        .97025E-03   -1.5495    
  34  Normalizat    .64631        .25683        .28977E-03   -1.0605    
  35  Prefactor     1.0721        .24989        .24679E-03   -.90363    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47295e-08
Minuit parameter uncertainties:
  1  17.0056
  2  11.0921
  3  1.49809e-06
  4  8.21
  5  5.64419
  6  13.3263
  7  14.7156
  8  3.74254
  9  23.9061
  10  8.58139e-05
  11  6.06161e-06
  12  1.60952
  13  3.46702
  14  4.13063
  15  4.21756e-05
  16  9.62624e-05
  17  31.7351
  18  2.35693e-05
  19  1.69673e-05
  20  3.29168e-05
  21  2.59689e-06
  22  13.2817
  23  0.000267302
  24  0.000370967
  25  1.16894
  26  18.715
  27  0.00232449
  28  4.28625
  29  49.5094
  30  2.01376e-05
  31  3.82917e-05
  32  2.51968
  33  1.50419
  34  0.257308
  35  0.250167
Done.

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

Extracting fit parameters...

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  1.000e-04  9.626e-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:  1.072e+00  2.502e-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.463e-01  2.573e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/337467/likelihoodResults_240624001_240883201_4FGL_J0932.6+5306_daily_bin5.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) = 4053.56580643
delta logL = -0.000795520291376

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4053.56501133
delta logL = -4.22687662649e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12193E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5090       1.0000          .0000       10.000    
     3 'Normalizat'    .64631       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0722       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=   4053.565     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      228 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    6.5318        .57912E-01** at limit **
   2  Index         2.5830        6.0694        .50000       -.10708E-03
   3  Normalizat    .64631        .75857E-02    .65485E-01    .11892E-03
   4  Prefactor     1.0721        .81944E-02    .55817E-01    .85631E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100026
  Index      = 2.58302
  Normalizat = 0.646307
  Prefactor  = 1.07212
 **********
 **   18 **HESSE 
 **********

 FCN=   4053.565     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      261 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    521.68        .21332E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5830        6.1885        .50000       -.50453    
   3  Normalizat    .64631        .41465E-01    .28976E-03   -1.0605    
   4  Prefactor     1.0721        .44814E-01    .24679E-03   -.90363    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.49642e-06
Minuit parameter uncertainties:
  1  0.00743754
  2  33.4297
  3  0.0414675
  4  0.0448152
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/337467': 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) = 4053.56500802
delta logL = 2.88508135782e-06

Extracting fit parameters...

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  1.000e-04  7.438e-03  1.000e-04  1.000e+04 ( 1.000e-12)
372        Index:  2.583e+00  3.343e+01  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.072e+00  4.482e-02  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.463e-01  4.147e-02  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/337467/cmap_HighResolution_240624001_240883201_4FGL_J0932.6+5306_daily_bin5.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.69e-03', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2021-08-31 17:46:46.231792', job_id='337467', GAL2='1.07', fit_tolerance='1e-08', EG2='0.65', EG='0.65', time_epoch_completed='1630457206.23', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.89e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='5' AND source_name='4FGL J0932.6+5306' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 17:46:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0011>
Subject: Job 337467: <4FGL_J0932.6+5306_daily_bin5> in cluster <slac> Done

Job <4FGL_J0932.6+5306_daily_bin5> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 31 17:30:35 2021
Job was executed on host(s) <bullet0011>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 17:30:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 17:30:37 2021
Terminated at Tue Aug 31 17:46:47 2021
Results reported at Tue Aug 31 17:46:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0932.6+5306_daily_bin5 143.159 53.1008 240624001 240883201 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 :                                   892.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             309.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   969 sec.
    Turnaround time :                            972 sec.

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

