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


Performing analysis on: 4FGL_J0912.2+4127_daily_bin1209
RA = 138.056, Dec = 41.4563
tmin = 552700801, tmax = 552960001
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='86799', job_status='RUN', time_executed='2021-08-31 04:44:17.529663', time_epoch_executed='1630410257.53' WHERE source_name='4FGL J0912.2+4127' and cadence='daily' and bin_id='1209'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/86799

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/86799/ft1_4FGL_J0912.2+4127_daily_bin1209.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/86799/ft2_4FGL_J0912.2+4127_daily_bin1209.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/86799/ft1_4FGL_J0912.2+4127_daily_bin1209.fits outfile=/scratch/kocevski/86799/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1209.fits ra=138.056 dec=41.4563 rad=12.0 tmin=552700801.0 tmax=552960001.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.51
user 2.70
sys 3.75

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/86799/ft2_4FGL_J0912.2+4127_daily_bin1209.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/86799/ft2_4FGL_J0912.2+4127_daily_bin1209.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/86799/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1209.fits evtable="EVENTS" outfile="/scratch/kocevski/86799/ft1_filtered_4FGL_J0912.2+4127_daily_bin1209.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 4.20
user 0.33
sys 3.83

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/86799/ft1_filtered_4FGL_J0912.2+4127_daily_bin1209.fits" evtable="EVENTS" scfile=/scratch/kocevski/86799/ft2_4FGL_J0912.2+4127_daily_bin1209.fits sctable="SC_DATA" outfile=/scratch/kocevski/86799/ltcube_552700801_552960001_4FGL_J0912.2+4127_daily_bin1209.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/86799/ft2_4FGL_J0912.2+4127_daily_bin1209.fits
.....................!
real 16.49
user 11.99
sys 4.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/86799/ft1_filtered_4FGL_J0912.2+4127_daily_bin1209.fits evtable="EVENTS" scfile=/scratch/kocevski/86799/ft2_4FGL_J0912.2+4127_daily_bin1209.fits sctable="SC_DATA" expcube=/scratch/kocevski/86799/ltcube_552700801_552960001_4FGL_J0912.2+4127_daily_bin1209.fits outfile=/scratch/kocevski/86799/expmap_552700801_552960001_4FGL_J0912.2+4127_daily_bin1209.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/86799/ltcube_552700801_552960001_4FGL_J0912.2+4127_daily_bin1209.fits
.....................!
real 194.78
user 185.12
sys 9.26

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

Setting source of interest to:
4FGL J0912.2+4127 @ 138.056 41.4563

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/86799/ft1_filtered_4FGL_J0912.2+4127_daily_bin1209.fits scfile=/scratch/kocevski/86799/ft2_4FGL_J0912.2+4127_daily_bin1209.fits outfile=/scratch/kocevski/86799/cmap_552700801_552960001_4FGL_J0912.2+4127_daily_bin1209.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=138.056 yref=41.4563 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 4.01
user 0.37
sys 3.61

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/86799/ft1_filtered_4FGL_J0912.2+4127_daily_bin1209.fits scfile=/scratch/kocevski/86799/ft2_4FGL_J0912.2+4127_daily_bin1209.fits outfile=/scratch/kocevski/86799/cmap_HighResolution_552700801_552960001_4FGL_J0912.2+4127_daily_bin1209.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=138.056 yref=41.4563 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 4.02
user 0.38
sys 3.61

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/86799/ft1_filtered_4FGL_J0912.2+4127_daily_bin1209.fits evtable="EVENTS" scfile=/scratch/kocevski/86799/ft2_4FGL_J0912.2+4127_daily_bin1209.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/86799/Model_4FGL_J0912.2+4127_daily_bin1209.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/86799/ft1_filtered_4FGL_J0912.2+4127_daily_bin1209.fits..............................!
real 22.83
user 16.28
sys 5.73

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/86799/ft1_filtered_4FGL_J0912.2+4127_daily_bin1209.fits', '/scratch/kocevski/86799/ft2_4FGL_J0912.2+4127_daily_bin1209.fits', expMap='/scratch/kocevski/86799/expmap_552700801_552960001_4FGL_J0912.2+4127_daily_bin1209.fits', expCube='/scratch/kocevski/86799/ltcube_552700801_552960001_4FGL_J0912.2+4127_daily_bin1209.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/86799/Model_4FGL_J0912.2+4127_daily_bin1209.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0912.2+4127'

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  1.422e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
330        Index:  2.461e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
331        Scale:  7.992e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/86799/ft1_filtered_4FGL_J0912.2+4127_daily_bin1209.fits
Spacecraft file(s): /scratch/kocevski/86799/ft2_4FGL_J0912.2+4127_daily_bin1209.fits
Exposure map: /scratch/kocevski/86799/expmap_552700801_552960001_4FGL_J0912.2+4127_daily_bin1209.fits
Exposure cube: /scratch/kocevski/86799/ltcube_552700801_552960001_4FGL_J0912.2+4127_daily_bin1209.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/86799/Model_4FGL_J0912.2+4127_daily_bin1209.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) = 612.803358593

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     2 'norm      '    10000.       1.0000         .10000E-03   10000.    
     3 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6125.1       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .15906E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     7 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     8 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .23436E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .21423E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10515E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .35624       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-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 '    .10009E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    46.045       1.0000         .10000E-03   10000.    
    28 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    31 'Prefactor '    .87785       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   612.4266     FROM MIGRAD    STATUS=CONVERGED    795 CALLS     4854 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor    10000.0        6632.3        .93518E-05** at limit **
   2  norm         10000.0        422.77       -.30441E-05** at limit **
   3  Prefactor    10000.0        6784.4        .11701E-04** at limit **
   4  Prefactor     6133.3        7932.2        .13248E-05    .32203E-05
   5  Prefactor     .10041E-03    6578.7       -.11873E-04** at limit **
   6  Prefactor    10000.0        7062.5        .19826E-04** at limit **
   7  norm         10000.0        1283.6        .12026E-05** at limit **
   8  norm         10000.0        1844.0        .18155E-05** at limit **
   9  Prefactor     .10000E-03    9.6191       -.75533E-08** at limit **
  10  Prefactor     .10000E-03    684.75       -.53916E-06** at limit **
  11  Prefactor     .10001E-03    773.51       -.14814E-05** at limit **
  12  Prefactor     .10000E-03    4.0367        .27615E-06** at limit **
  13  Prefactor     .10000E-03    58.348        .15734E-06** at limit **
  14  Prefactor     .10000E-03    3.2553       -.19759E-06** at limit **
  15  norm          .10000E-03    2.4910        .47926E-07** at limit **
  16  Prefactor     .10000E-03    16.348        .56960E-07** at limit **
  17  norm          .10000E-03    .78191       -.44725E-07** at limit **
  18  Prefactor     .10000E-03    2.3961        .27989E-07** at limit **
  19  norm          .10000E-03    5.8004        .14339E-06** at limit **
  20  Prefactor     .35691        7.0399        .13004E-04   -.30448E-03
  21  Prefactor     .10000E-03    13.896        .12742E-07** at limit **
  22  Prefactor     .10000E-03    13.812        .89674E-08** at limit **
  23  norm          .10000E-03    11.349        .42733E-07** at limit **
  24  Prefactor     .10000E-03    12.503        .48881E-07** at limit **
  25  Prefactor     .10000E-03    8.3938        .12304E-07** at limit **
  26  Prefactor     .10000E-03    15.434        .13285E-06** at limit **
  27  Prefactor     46.075        25.434        .54295E-06    .58797E-04
  28  norm          .10000E-03    9.1639        .24672E-07** at limit **
  29  Prefactor     .10000E-03    18.746        .30409E-07** at limit **
  30  Normalizat    .10000E-01    .57108E-01    .47241E-05** at limit **
  31  Prefactor     .87772        .23691       -.48431E-05   -.80065E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10000
  norm       = 10000
  Prefactor  = 10000
  Prefactor  = 6133.34
  Prefactor  = 0.000100406
  Prefactor  = 10000
  norm       = 10000
  norm       = 10000
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.356909
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 46.0746
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.877724
 **********
 **   18 **HESSE 
 **********

 FCN=   612.4266     FROM HESSE     STATUS=OK           596 CALLS     5450 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor    10000.0        6632.5        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm         10000.0        422.83        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor    10000.0        6784.6        .18200E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6133.3        7933.9        .41053E-04    .22866    
   5  Prefactor     .10041E-03    6578.4        .18205E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor    10000.0        7042.2        .18348E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm         10000.0        1283.7        .20289E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm         10000.0        1844.1        .20576E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.6190        .74997E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    684.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    773.50        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.0383        .48580E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    58.347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.2572        .43632E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.4914        .38160E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.347        .97780E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .85344        .42737E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.3986        .37424E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    5.8005        .58231E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .35691        7.0215        .62012E-03   -1.5588    
  21  Prefactor     .10000E-03    13.896        .90146E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    13.812        .89875E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    11.349        .81463E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    12.503        .85507E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    8.3937        .70056E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    15.434        .95006E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     46.075        25.455        .29544E-03   -1.4349    
  28  norm          .10000E-03    9.1734        .73198E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    18.751        .10471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .10000E-01    .57476E-01    .18223E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .87772        .23717        .19341E-03   -.96924    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.85355e-10
Minuit parameter uncertainties:
  1  0.0610583
  2  0.00461172
  3  0.0840552
  4  7168.83
  5  0.0760392
  6  0.582443
  7  0.00591139
  8  0.00956103
  9  1.14116e-05
  10  0.00165239
  11  0.00431322
  12  1.46443e-06
  13  2.33844e-05
  14  2.40608e-05
  15  7.09664e-07
  16  3.00585e-05
  17  2.77777e-06
  18  7.8368e-07
  19  1.01892e-05
  20  3.16608
  21  2.13518e-06
  22  1.08496e-07
  23  1.20347e-05
  24  1.42191e-05
  25  1.65455e-07
  26  1.65622e-05
  27  25.4609
  28  1.42912e-05
  29  8.78884e-06
  30  1.71149e-07
  31  0.237445
Done.

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

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  1.000e-04  2.406e-05  1.000e-04  1.000e+04 ( 1.000e-12)
330        Index:  2.461e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
331        Scale:  7.992e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
665    Prefactor:  8.777e-01  2.374e-01  0.000e+00  1.000e+01 ( 1.000e+00)
666        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
667        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
664   Normalization:  1.000e-02  1.711e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 138.056 41.456
Photon Flux Upper Limit: 2.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.68e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/86799/likelihoodResults_552700801_552960001_4FGL_J0912.2+4127_daily_bin1209.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) = 612.428015271
delta logL = -0.00141680626905

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 612.426599432
delta logL = -9.67192477219e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11028E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4315       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87773       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6680E+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=   612.4266     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      243 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    83.891        .45304E-02** at limit **
   2  Index         1.6007        8.3332        .50000        .17145E-06
   3  Normalizat    .10000E-01    .14923E-02    .18222E-02** at limit **
   4  Prefactor     .87772        .36435E-01    .19341E-03   -.30644E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 1.60071
  Normalizat = 0.01
  Prefactor  = 0.87772
 **********
 **   18 **HESSE 
 **********

 FCN=   612.4266     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    517.18        .62349E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6007        5.0662        .50000       -.74757    
   3  Normalizat    .10000E-01    .10803E-01    .36445E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .87772        .98026E-01    .38682E-04   -.96924    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.33483e-08
Minuit parameter uncertainties:
  1  0.00266159
  2  1065.68
  3  2.90643e-06
  4  0.0980457
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/86799': 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) = 612.426590635
delta logL = 7.82974927915e-06

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  1.000e-04  2.662e-03  1.000e-04  1.000e+04 ( 1.000e-12)
330        Index:  1.601e+00  1.066e+03  0.000e+00  1.000e+01 (-1.000e+00)
331        Scale:  7.992e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
665    Prefactor:  8.777e-01  9.805e-02  0.000e+00  1.000e+01 ( 1.000e+00)
666        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
667        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
664   Normalization:  1.000e-02  2.906e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 138.056 41.456

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/86799/cmap_HighResolution_552700801_552960001_4FGL_J0912.2+4127_daily_bin1209.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.68e-02', job_status='DONE', photon_flux_upper_limit='2.17e-07', time_completed='2021-08-31 04:53:01.004055', job_id='86799', GAL2='0.88', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630410781.0', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='7.83e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1209' AND source_name='4FGL J0912.2+4127' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 04:53:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 86799: <4FGL_J0912.2+4127_daily_bin1209> in cluster <slac> Done

Job <4FGL_J0912.2+4127_daily_bin1209> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 04:42:11 2021
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 04:42:13 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 04:42:13 2021
Terminated at Tue Aug 31 04:53:02 2021
Results reported at Tue Aug 31 04:53:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0912.2+4127_daily_bin1209 138.056 41.4563 552700801 552960001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0912.2+4127 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   515.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             241.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   648 sec.
    Turnaround time :                            651 sec.

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

