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


Performing analysis on: 4FGL_J0932.6+5306_daily_bin1350
RA = 143.159, Dec = 53.1008
tmin = 589248001, tmax = 589507201
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='353035', job_status='RUN', time_executed='2021-08-31 18:20:46.893641', time_epoch_executed='1630459246.89' WHERE source_name='4FGL J0932.6+5306' and cadence='daily' and bin_id='1350'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/353035

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/353035/ft1_4FGL_J0932.6+5306_daily_bin1350.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/353035/ft2_4FGL_J0932.6+5306_daily_bin1350.fits


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

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

Done.
real 3.21
user 3.00
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/353035/ft1_filtered_4FGL_J0932.6+5306_daily_bin1350.fits" evtable="EVENTS" scfile=/scratch/kocevski/353035/ft2_4FGL_J0932.6+5306_daily_bin1350.fits sctable="SC_DATA" outfile=/scratch/kocevski/353035/ltcube_589248001_589507201_4FGL_J0932.6+5306_daily_bin1350.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/353035/ft2_4FGL_J0932.6+5306_daily_bin1350.fits
.....................!
real 12.32
user 11.99
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/353035/ft1_filtered_4FGL_J0932.6+5306_daily_bin1350.fits evtable="EVENTS" scfile=/scratch/kocevski/353035/ft2_4FGL_J0932.6+5306_daily_bin1350.fits sctable="SC_DATA" expcube=/scratch/kocevski/353035/ltcube_589248001_589507201_4FGL_J0932.6+5306_daily_bin1350.fits outfile=/scratch/kocevski/353035/expmap_589248001_589507201_4FGL_J0932.6+5306_daily_bin1350.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/353035/ltcube_589248001_589507201_4FGL_J0932.6+5306_daily_bin1350.fits
.....................!
real 188.92
user 184.86
sys 3.72

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/353035/ft1_filtered_4FGL_J0932.6+5306_daily_bin1350.fits scfile=/scratch/kocevski/353035/ft2_4FGL_J0932.6+5306_daily_bin1350.fits outfile=/scratch/kocevski/353035/cmap_589248001_589507201_4FGL_J0932.6+5306_daily_bin1350.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/353035/ft1_filtered_4FGL_J0932.6+5306_daily_bin1350.fits scfile=/scratch/kocevski/353035/ft2_4FGL_J0932.6+5306_daily_bin1350.fits outfile=/scratch/kocevski/353035/cmap_HighResolution_589248001_589507201_4FGL_J0932.6+5306_daily_bin1350.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.53
user 0.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.041       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .35488E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    14.343       1.0000         .10000E-03   10000.    
     5 'norm      '    2.9629       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.7192       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.0109       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.9222       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.2234       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.3289       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.1488       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.3230       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10173E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    1.0133       1.0000         .10000E-03   10000.    
    26 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10678E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    128.95       1.0000         .10000E-03   10000.    
    32 'norm      '    .11802E-03   1.0000         .10000E-03   10000.    
    33 'norm      '    .10134E-03   1.0000         .10000E-03   10000.    
    34 'Normalizat'    .99940       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .73746       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=   3633.038     FROM MIGRAD    STATUS=CONVERGED    943 CALLS     5019 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.778        .48257E-05** at limit **
   2  Prefactor     17.042        7.5137       -.38068E-06   -.17910E-03
   3  Prefactor     .10000E-03    5.6931       -.47743E-06** at limit **
   4  norm          14.342        9.7027       -.92965E-07    .10212E-04
   5  norm          2.9647        8.4842       -.11925E-05   -.31312E-03
   6  Prefactor     2.7202        9.5165       -.10617E-05   -.18996E-03
   7  Prefactor     .10000E-03    4.8900       -.34963E-06** at limit **
   8  Prefactor     6.0102        4.4628       -.50523E-06   -.59107E-04
   9  Prefactor     9.9199        19.564       -.65809E-06    .72444E-05
  10  Prefactor     .10000E-03    42.885        .74689E-05** at limit **
  11  norm          .10000E-03    .39365        .32983E-07** at limit **
  12  norm          7.2232        1.4393       -.27989E-07    .18476E-03
  13  Prefactor     4.3277        5.1207       -.70520E-06   -.17613E-03
  14  Prefactor     .10000E-03    3.9637       -.14687E-06** at limit **
  15  Prefactor     8.1484        9.0964        .29847E-07    .55517E-04
  16  Prefactor     1.3217        5.0980       -.15122E-05   -.60999E-03
  17  Prefactor     .10000E-03    12.870       -.64682E-05** at limit **
  18  Prefactor     .10000E-03    7.8673        .91510E-06** at limit **
  19  norm          .10000E-03    22.914        .10977E-05** at limit **
  20  Prefactor     .10000E-03    34.729       -.10819E-04** at limit **
  21  Prefactor     .10000E-03    4.9027       -.81327E-06** at limit **
  22  Prefactor     .10000E-03    3.7194        .70204E-07** at limit **
  23  norm          .10000E-03    24.923       -.80884E-05** at limit **
  24  Prefactor     .10000E-03    47.465        .15680E-04** at limit **
  25  norm          1.0132        .80420        .47457E-07    .39621E-03
  26  norm          .10000E-03    21.782        .54975E-05** at limit **
  27  Prefactor     .10000E-03    5.2793        .94805E-06** at limit **
  28  norm          .10000E-03    10.069        .25601E-05** at limit **
  29  Prefactor     .10000E-03    65.025        .19289E-05** at limit **
  30  norm          .10000E-03    70.209       -.14265E-04** at limit **
  31  Prefactor     128.91        72.951       -.25736E-04   -.13287E-05
  32  norm          .10000E-03    4.4908        .11528E-05** at limit **
  33  norm          .10000E-03    7.7363       -.13810E-05** at limit **
  34  Normalizat    .99954        .26083        .59770E-05   -.60632E-04
  35  Prefactor     .73741        .21481       -.20447E-05    .15229E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 17.0417
  Prefactor  = 0.000100001
  norm       = 14.3416
  norm       = 2.96473
  Prefactor  = 2.72022
  Prefactor  = 0.0001
  Prefactor  = 6.01019
  Prefactor  = 9.91987
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 7.22319
  Prefactor  = 4.32768
  Prefactor  = 0.0001
  Prefactor  = 8.14843
  Prefactor  = 1.32171
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.0132
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 128.915
  norm       = 0.000100001
  norm       = 0.0001
  Normalizat = 0.999538
  Prefactor  = 0.737406
 **********
 **   18 **HESSE 
 **********

 FCN=   3633.038     FROM HESSE     STATUS=OK           766 CALLS     5785 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.042        7.5188        .97022E-04   -1.4882    
   3  Prefactor     .10000E-03    17.193        .27705E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          14.342        9.6350        .10576E-03   -1.4950    
   5  norm          2.9647        8.3889        .23590E-03   -1.5364    
   6  Prefactor     2.7202        9.4924        .24697E-03   -1.5378    
   7  Prefactor     .10000E-03    4.9994        .13007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.0102        4.4634        .10142E-03   -1.5218    
   9  Prefactor     9.9199        19.577        .12721E-03   -1.5078    
  10  Prefactor     .10000E-03    42.907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .39781        .72430E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.2232        1.4415        .30245E-04   -1.5170    
  13  Prefactor     4.3277        5.0715        .13341E-03   -1.5292    
  14  Prefactor     .10000E-03    3.9813        .11708E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.1484        9.0904        .14045E-03   -1.5137    
  16  Prefactor     1.3217        5.1192        .25082E-03   -1.5478    
  17  Prefactor     .10000E-03    12.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.8774        .16511E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    22.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    34.723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.9325        .13026E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    3.7225        .11350E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    25.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    47.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.0132        .81830        .46839E-04   -1.5507    
  26  norm          .10000E-03    21.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    5.2828        .13526E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    10.068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    65.046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    70.253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     128.91        72.895        .17727E-03   -1.3432    
  32  norm          .10000E-03    4.5149        .12496E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  norm          .10000E-03    7.7324        .16368E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    .99954        .30116        .26587E-03   -.93046    
  35  Prefactor     .73741        .24698        .27190E-03   -1.0208    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83412e-09
Minuit parameter uncertainties:
  1  6.16254e-05
  2  7.51919
  3  0.000295688
  4  9.63601
  5  8.39222
  6  9.49767
  7  9.862e-06
  8  4.46366
  9  19.5894
  10  3.92593e-06
  11  1.94375e-06
  12  1.44151
  13  5.07203
  14  1.25636e-06
  15  9.09198
  16  5.12085
  17  2.81068e-07
  18  4.98723e-06
  19  8.95294e-07
  20  8.29683e-06
  21  1.42547e-05
  22  3.50832e-06
  23  5.47117e-05
  24  0.000124535
  25  0.818307
  26  1.65149e-05
  27  9.14755e-07
  28  1.32882e-06
  29  0.000156303
  30  0.000422293
  31  72.9457
  32  0.000143921
  33  5.73408e-05
  34  0.301677
  35  0.247346
Done.

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

Extracting fit parameters...

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  1.322e+00  5.121e+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:  7.374e-01  2.473e-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:  9.995e-01  3.017e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/353035/likelihoodResults_589248001_589507201_4FGL_J0932.6+5306_daily_bin1350.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) = 3633.02172398
delta logL = 0.0167118396785

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3633.02065472
delta logL = 0.0177810959785

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1712       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7868       1.0000          .0000       10.000    
     3 'Normalizat'    .99364       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74056       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=   3633.021     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      251 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1714        4.9846        .19449E-03   -.13065E-03
   2  Index         2.7865        1.9610        .13932E-01   -.12678E-04
   3  Normalizat    .99366        .27265        .26659E-03   -.83391E-04
   4  Prefactor     .74054        .23945        .27139E-03   -.28360E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.1714
  Index      = 2.78647
  Normalizat = 0.993664
  Prefactor  = 0.740545
 **********
 **   18 **HESSE 
 **********

 FCN=   3633.021     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1714        4.3557        .77795E-05   -1.5492    
   2  Index         2.7865        1.7792        .55728E-03   -.45861    
   3  Normalizat    .99366        .27306        .10664E-04   -.93243    
   4  Prefactor     .74054        .23970        .10856E-04   -1.0196    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.72586e-11
Minuit parameter uncertainties:
  1  4.35692
  2  1.82952
  3  0.273445
  4  0.240037
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/353035': 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) = 3633.02065471
delta logL = 0.0177811109411

Extracting fit parameters...

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  1.171e+00  4.357e+00  1.000e-04  1.000e+04 ( 1.000e-12)
372        Index:  2.786e+00  1.830e+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:  7.405e-01  2.400e-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:  9.937e-01  2.734e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
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/353035/cmap_HighResolution_589248001_589507201_4FGL_J0932.6+5306_daily_bin1350.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', job_status='DONE', photon_flux_upper_limit='1.33e-07', time_completed='2021-08-31 18:35:38.150698', job_id='353035', GAL2='0.74', fit_tolerance='1e-08', EG2='0.99', EG='1.00', time_epoch_completed='1630460138.15', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='1.78e-02', ts2='0.11', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1350' AND source_name='4FGL J0932.6+5306' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 18:35:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 353035: <4FGL_J0932.6+5306_daily_bin1350> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0932.6+5306_daily_bin1350 143.159 53.1008 589248001 589507201 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 :                                   860.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             321.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   907 sec.
    Turnaround time :                            909 sec.

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

