/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 72 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 = 7381
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0844.2+5312_daily_bin1404
RA = 131.051, Dec = 53.2141
tmin = 603244801, tmax = 603504001
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='705966', job_status='RUN', time_executed='2021-08-30 08:09:58.216278', time_epoch_executed='1630336198.22' WHERE source_name='4FGL J0844.2+5312' and cadence='daily' and bin_id='1404'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/705966

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/705966/ft1_4FGL_J0844.2+5312_daily_bin1404.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/705966/ft2_4FGL_J0844.2+5312_daily_bin1404.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/705966/ft1_4FGL_J0844.2+5312_daily_bin1404.fits outfile=/scratch/kocevski/705966/ft1_filteredMKT_4FGL_J0844.2+5312_daily_bin1404.fits ra=131.051 dec=53.2141 rad=12.0 tmin=603244801.0 tmax=603504001.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 6.29
user 2.71
sys 3.05

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/705966/ft2_4FGL_J0844.2+5312_daily_bin1404.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/705966/ft2_4FGL_J0844.2+5312_daily_bin1404.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/705966/ft1_filteredMKT_4FGL_J0844.2+5312_daily_bin1404.fits evtable="EVENTS" outfile="/scratch/kocevski/705966/ft1_filtered_4FGL_J0844.2+5312_daily_bin1404.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 3.35
user 0.32
sys 2.99

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/705966/ft1_filtered_4FGL_J0844.2+5312_daily_bin1404.fits" evtable="EVENTS" scfile=/scratch/kocevski/705966/ft2_4FGL_J0844.2+5312_daily_bin1404.fits sctable="SC_DATA" outfile=/scratch/kocevski/705966/ltcube_603244801_603504001_4FGL_J0844.2+5312_daily_bin1404.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/705966/ft2_4FGL_J0844.2+5312_daily_bin1404.fits
.....................!
real 16.94
user 12.05
sys 3.52

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/705966/ft1_filtered_4FGL_J0844.2+5312_daily_bin1404.fits evtable="EVENTS" scfile=/scratch/kocevski/705966/ft2_4FGL_J0844.2+5312_daily_bin1404.fits sctable="SC_DATA" expcube=/scratch/kocevski/705966/ltcube_603244801_603504001_4FGL_J0844.2+5312_daily_bin1404.fits outfile=/scratch/kocevski/705966/expmap_603244801_603504001_4FGL_J0844.2+5312_daily_bin1404.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/705966/ltcube_603244801_603504001_4FGL_J0844.2+5312_daily_bin1404.fits
.....................!
real 197.60
user 187.99
sys 8.05

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

Setting source of interest to:
4FGL J0844.2+5312 @ 131.051 53.2141

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/705966/ft1_filtered_4FGL_J0844.2+5312_daily_bin1404.fits scfile=/scratch/kocevski/705966/ft2_4FGL_J0844.2+5312_daily_bin1404.fits outfile=/scratch/kocevski/705966/cmap_603244801_603504001_4FGL_J0844.2+5312_daily_bin1404.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=131.051 yref=53.2141 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 3.42
user 0.40
sys 2.92

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/705966/ft1_filtered_4FGL_J0844.2+5312_daily_bin1404.fits scfile=/scratch/kocevski/705966/ft2_4FGL_J0844.2+5312_daily_bin1404.fits outfile=/scratch/kocevski/705966/cmap_HighResolution_603244801_603504001_4FGL_J0844.2+5312_daily_bin1404.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=131.051 yref=53.2141 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 3.41
user 0.39
sys 2.92

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/705966/ft1_filtered_4FGL_J0844.2+5312_daily_bin1404.fits evtable="EVENTS" scfile=/scratch/kocevski/705966/ft2_4FGL_J0844.2+5312_daily_bin1404.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/705966/Model_4FGL_J0844.2+5312_daily_bin1404.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/705966/ft1_filtered_4FGL_J0844.2+5312_daily_bin1404.fits......................!
real 28.94
user 23.54
sys 4.87

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/705966/ft1_filtered_4FGL_J0844.2+5312_daily_bin1404.fits', '/scratch/kocevski/705966/ft2_4FGL_J0844.2+5312_daily_bin1404.fits', expMap='/scratch/kocevski/705966/expmap_603244801_603504001_4FGL_J0844.2+5312_daily_bin1404.fits', expCube='/scratch/kocevski/705966/ltcube_603244801_603504001_4FGL_J0844.2+5312_daily_bin1404.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/705966/Model_4FGL_J0844.2+5312_daily_bin1404.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0844.2+5312'

4FGL J0844.2+5312
   Spectrum: PowerLaw
340    Prefactor:  2.666e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
341        Index:  2.035e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  1.737e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/705966/ft1_filtered_4FGL_J0844.2+5312_daily_bin1404.fits
Spacecraft file(s): /scratch/kocevski/705966/ft2_4FGL_J0844.2+5312_daily_bin1404.fits
Exposure map: /scratch/kocevski/705966/expmap_603244801_603504001_4FGL_J0844.2+5312_daily_bin1404.fits
Exposure cube: /scratch/kocevski/705966/ltcube_603244801_603504001_4FGL_J0844.2+5312_daily_bin1404.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/705966/Model_4FGL_J0844.2+5312_daily_bin1404.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) = 1118.12642352

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    60.343       1.0000         .10000E-03   10000.    
     2 'Prefactor '    135.43       1.0000         .10000E-03   10000.    
     3 'norm      '    2.0758       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.5454       1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10956E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.2334       1.0000         .10000E-03   10000.    
     8 'Prefactor '    39.867       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10156E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.1318       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.4101       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.123       1.0000         .10000E-03   10000.    
    14 'norm      '    2.8448       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10433E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10688E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .11135E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    5086.1       1.0000         .10000E-03   10000.    
    24 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    25 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    26 'norm      '    10000.       1.0000         .10000E-03   10000.    
    27 'norm      '    6.6376       1.0000         .10000E-03   10000.    
    28 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    29 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .80437E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10296E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    34 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    35 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    36 'Prefactor '    .10598E-03   1.0000         .10000E-03   10000.    
    37 'norm      '    1.7996       1.0000         .10000E-03   10000.    
    38 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
    39 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    40 'Prefactor '    .26133       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1117.779     FROM MIGRAD    STATUS=CONVERGED   1227 CALLS     8604 TOTAL
                     EDM=   .66E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     60.342        42.304       -.11091E-07    .52987E-04
   2  Prefactor     135.42        73.689        .19804E-05    .64409E-04
   3  norm          2.0762        1.7409       -.58947E-07    .31927E-03
   4  Prefactor     6.5461        31.909       -.76935E-05   -.10831E-04
   5  norm          .10000E-03    2.9010       -.79245E-07** at limit **
   6  Prefactor     .10000E-03    123.77       -.37691E-05** at limit **
   7  norm          6.2347        4.3725       -.25812E-06    .23100E-03
   8  Prefactor     39.839        96.769       -.47213E-05   -.63781E-05
   9  Prefactor     .10000E-03    72.322       -.54527E-06** at limit **
  10  norm          .10000E-03    10.834        .29773E-06** at limit **
  11  norm          2.1299        4.6370        .23249E-06    .61187E-04
  12  Prefactor     1.4100        1.0436        .22202E-08    .96701E-04
  13  Prefactor     12.109        23.964        .10915E-05    .33261E-04
  14  norm          2.8447        2.8352        .11128E-07    .30841E-07
  15  Prefactor     .10000E-03    54.654        .14956E-05** at limit **
  16  Prefactor     .10000E-03    170.99        .57725E-06** at limit **
  17  Prefactor     .10000E-03    58.805        .10636E-06** at limit **
  18  Prefactor     .10000E-03    47.615       -.66792E-06** at limit **
  19  norm          .10000E-03    62.796       -.46814E-06** at limit **
  20  norm          .10000E-03    79.070       -.10266E-05** at limit **
  21  Prefactor     .10000E-03    199.55       -.88119E-06** at limit **
  22  Prefactor     .10000E-03    25.984       -.39957E-07** at limit **
  23  Prefactor     5088.9        3467.9       -.94243E-06    .28772E-05
  24  Prefactor    10000.0        1293.1       -.90583E-05** at limit **
  25  Prefactor    10000.0        9691.8       -.23287E-04** at limit **
  26  norm         10000.0        281.28        .34635E-05** at limit **
  27  norm          6.6386        4.4600        .11323E-08    .92725E-04
  28  Prefactor    10000.0        983.51       -.57657E-05** at limit **
  29  Prefactor    10000.0        6384.8       -.42750E-05** at limit **
  30  Prefactor     .10000E-03    903.79       -.20906E-06** at limit **
  31  Prefactor     .10002E-03    8473.5        .22492E-04** at limit **
  32  Prefactor     .10000E-03    11.759       -.50604E-09** at limit **
  33  Prefactor     .10000E-03    6.8401        .15297E-08** at limit **
  34  Prefactor     .10000E-03    192.39       -.35704E-06** at limit **
  35  norm          .10000E-03    31.132        .12808E-07** at limit **
  36  Prefactor     .10000E-03    54.397        .37908E-06** at limit **
  37  norm          1.7996        1.7858        .13508E-07    .33028E-05
  38  Prefactor     .10000E-03    50.757        .16650E-06** at limit **
  39  Normalizat    .10000E-01    .12456       -.15458E-05** at limit **
  40  Prefactor     .26145        .16606       -.74925E-06    .80419E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 60.3424
  Prefactor  = 135.415
  norm       = 2.07616
  Prefactor  = 6.54608
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.23472
  Prefactor  = 39.8394
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.12988
  Prefactor  = 1.41004
  Prefactor  = 12.1089
  norm       = 2.84472
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5088.87
  Prefactor  = 10000
  Prefactor  = 10000
  norm       = 10000
  norm       = 6.63858
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 0.0001
  Prefactor  = 0.000100024
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.79955
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.261447
 **********
 **   18 **HESSE 
 **********

 FCN=   1117.779     FROM HESSE     STATUS=OK           963 CALLS     9567 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     60.342        42.384        .51651E-04   -1.4153    
   2  Prefactor     135.42        73.965        .34607E-04   -1.3375    
   3  norm          2.0762        1.7410        .34896E-04   -1.5420    
   4  Prefactor     6.5461        32.548        .78431E-03   -1.5196    
   5  norm          .10000E-03    2.9057        .55563E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    122.61        .33125E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.2347        4.3929        .50313E-04   -1.5209    
   8  Prefactor     39.839        92.405        .63483E-04   -1.4445    
   9  Prefactor     .10000E-03    72.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    10.885        .10658E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.1299        4.5746        .99175E-04   -1.5416    
  12  Prefactor     1.4100        1.0485        .28398E-04   -1.5470    
  13  Prefactor     12.109        23.833        .11505E-03   -1.5012    
  14  norm          2.8447        2.8459        .54759E-04   -1.5371    
  15  Prefactor     .10000E-03    55.399        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    171.01        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    58.807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    47.632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    62.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    79.087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    199.57        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    26.031        .16644E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     5088.9        3466.8        .40006E-04    .17775E-01
  24  Prefactor    10000.0        1298.5        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor    10000.0        9695.6        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm         10000.0        281.88        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          6.6386        4.4594        .55775E-04   -1.5193    
  28  Prefactor    10000.0        985.73        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor    10000.0        6385.4        .20801E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    903.78        .20899E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10002E-03    8481.1        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    11.759        .11201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    6.8403        .85418E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     .10000E-03    192.40        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  norm          .10000E-03    31.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  36  Prefactor     .10000E-03    54.406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  37  norm          1.7996        1.8051        .43479E-04   -1.5440    
  38  Prefactor     .10000E-03    50.758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  39  Normalizat    .10000E-01    .13484        .69114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  40  Prefactor     .26145        .16656        .24829E-03   -1.2460    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67557e-10
Minuit parameter uncertainties:
  1  42.4049
  2  74.0158
  3  1.74101
  4  29.2184
  5  1.59928e-05
  6  0.000121533
  7  4.39309
  8  92.7395
  9  2.07772e-05
  10  1.2524e-05
  11  4.57536
  12  1.04848
  13  23.8519
  14  2.84603
  15  0.000129234
  16  0.000110983
  17  1.83232e-05
  18  5.30143e-05
  19  2.38419e-05
  20  8.5249e-05
  21  0.000146832
  22  1.27879e-05
  23  3830.92
  24  0.0047262
  25  0.0428946
  26  0.000720527
  27  4.45965
  28  0.00259921
  29  0.00339455
  30  0.000135157
  31  0.0307318
  32  1.25591e-08
  33  1.89405e-07
  34  6.11967e-05
  35  1.13918e-06
  36  3.84143e-05
  37  1.80511
  38  1.64385e-05
  39  2.52279e-06
  40  0.166861
Done.

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

Extracting fit parameters...

4FGL J0844.2+5312
   Spectrum: PowerLaw
340    Prefactor:  1.000e-04  5.301e-05  1.000e-04  1.000e+04 ( 1.000e-13)
341        Index:  2.035e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  1.737e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
702    Prefactor:  2.614e-01  1.669e-01  0.000e+00  1.000e+01 ( 1.000e+00)
703        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
704        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
701   Normalization:  1.000e-02  2.523e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 131.051 53.214
Photon Flux Upper Limit: 8.66e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.51e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/705966/likelihoodResults_603244801_603504001_4FGL_J0844.2+5312_daily_bin1404.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) = 1117.77895038
delta logL = -9.9680529047e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1117.77885125
delta logL = -5.47074705537e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10515E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3929       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .26144       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7050E+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=   1117.779     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      278 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10266E-03    26.053        .18142E-01** at limit **
   2  Index         2.3194        7.1842        .50000        .69630E-05
   3  Normalizat    .10000E-01    .19601E-03    .69112E-02** at limit **
   4  Prefactor     .26145        .46029E-02    .24829E-03    .12363E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102662
  Index      = 2.31938
  Normalizat = 0.01
  Prefactor  = 0.261446
 **********
 **   18 **HESSE 
 **********

 FCN=   1117.779     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      307 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10266E-03    241.66        .19601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3194        8.7560        .50000       -.56584    
   3  Normalizat    .10000E-01    .18537E-02    .13822E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .26145        .14153E-01    .99316E-05   -1.2460    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.61848e-09
Minuit parameter uncertainties:
  1  0.0509349
  2  442.911
  3  7.42817e-10
  4  0.014153
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/705966': 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) = 1117.77885108
delta logL = -3.76422349291e-07

Extracting fit parameters...

4FGL J0844.2+5312
   Spectrum: PowerLaw
340    Prefactor:  1.027e-04  5.093e-02  1.000e-04  1.000e+04 ( 1.000e-13)
341        Index:  2.319e+00  4.429e+02  0.000e+00  1.000e+01 (-1.000e+00)
342        Scale:  1.737e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
702    Prefactor:  2.614e-01  1.415e-02  0.000e+00  1.000e+01 ( 1.000e+00)
703        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
704        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
701   Normalization:  1.000e-02  7.428e-10  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 131.051 53.214

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/705966/cmap_HighResolution_603244801_603504001_4FGL_J0844.2+5312_daily_bin1404.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.51e-02', job_status='DONE', photon_flux_upper_limit='8.66e-07', time_completed='2021-08-30 08:20:45.041535', job_id='705966', GAL2='0.26', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630336845.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.26', dlogl='-3.76e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1404' AND source_name='4FGL J0844.2+5312' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 08:20:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 705966: <4FGL_J0844.2+5312_daily_bin1404> in cluster <slac> Done

Job <4FGL_J0844.2+5312_daily_bin1404> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Mon Aug 30 08:06:39 2021
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 08:06:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 30 08:06:41 2021
Terminated at Mon Aug 30 08:20:46 2021
Results reported at Mon Aug 30 08:20:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0844.2+5312_daily_bin1404 131.051 53.2141 603244801 603504001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0844.2+5312 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   671.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             283.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   844 sec.
    Turnaround time :                            847 sec.

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

