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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin1200
RA = 137.709, Dec = 38.9999
tmin = 550368001, tmax = 550627201
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='51910', job_status='RUN', time_executed='2021-08-31 02:50:52.582457', time_epoch_executed='1630403452.58' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='1200'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/51910

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/51910/ft1_4FGL_J0910.8+3859_daily_bin1200.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/51910/ft2_4FGL_J0910.8+3859_daily_bin1200.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/51910/ft1_4FGL_J0910.8+3859_daily_bin1200.fits outfile=/scratch/kocevski/51910/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1200.fits ra=137.709 dec=38.9999 rad=12.0 tmin=550368001.0 tmax=550627201.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.11
user 2.89
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/51910/ft2_4FGL_J0910.8+3859_daily_bin1200.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/51910/ft2_4FGL_J0910.8+3859_daily_bin1200.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/51910/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1200.fits evtable="EVENTS" outfile="/scratch/kocevski/51910/ft1_filtered_4FGL_J0910.8+3859_daily_bin1200.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.41
user 0.26
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/51910/ft1_filtered_4FGL_J0910.8+3859_daily_bin1200.fits" evtable="EVENTS" scfile=/scratch/kocevski/51910/ft2_4FGL_J0910.8+3859_daily_bin1200.fits sctable="SC_DATA" outfile=/scratch/kocevski/51910/ltcube_550368001_550627201_4FGL_J0910.8+3859_daily_bin1200.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/51910/ft2_4FGL_J0910.8+3859_daily_bin1200.fits
.....................!
real 9.01
user 8.74
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/51910/ft1_filtered_4FGL_J0910.8+3859_daily_bin1200.fits evtable="EVENTS" scfile=/scratch/kocevski/51910/ft2_4FGL_J0910.8+3859_daily_bin1200.fits sctable="SC_DATA" expcube=/scratch/kocevski/51910/ltcube_550368001_550627201_4FGL_J0910.8+3859_daily_bin1200.fits outfile=/scratch/kocevski/51910/expmap_550368001_550627201_4FGL_J0910.8+3859_daily_bin1200.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/51910/ltcube_550368001_550627201_4FGL_J0910.8+3859_daily_bin1200.fits
.....................!
real 144.44
user 141.15
sys 3.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 203 point sources and 0 extended sources

Setting source of interest to:
4FGL J0910.8+3859 @ 137.709 38.9999

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/51910/ft1_filtered_4FGL_J0910.8+3859_daily_bin1200.fits scfile=/scratch/kocevski/51910/ft2_4FGL_J0910.8+3859_daily_bin1200.fits outfile=/scratch/kocevski/51910/cmap_550368001_550627201_4FGL_J0910.8+3859_daily_bin1200.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=137.709 yref=38.9999 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.45
user 0.29
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/51910/ft1_filtered_4FGL_J0910.8+3859_daily_bin1200.fits scfile=/scratch/kocevski/51910/ft2_4FGL_J0910.8+3859_daily_bin1200.fits outfile=/scratch/kocevski/51910/cmap_HighResolution_550368001_550627201_4FGL_J0910.8+3859_daily_bin1200.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=137.709 yref=38.9999 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.45
user 0.31
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/51910/ft1_filtered_4FGL_J0910.8+3859_daily_bin1200.fits evtable="EVENTS" scfile=/scratch/kocevski/51910/ft2_4FGL_J0910.8+3859_daily_bin1200.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/51910/Model_4FGL_J0910.8+3859_daily_bin1200.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/51910/ft1_filtered_4FGL_J0910.8+3859_daily_bin1200.fits.......................!
real 19.55
user 18.57
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/51910/ft1_filtered_4FGL_J0910.8+3859_daily_bin1200.fits', '/scratch/kocevski/51910/ft2_4FGL_J0910.8+3859_daily_bin1200.fits', expMap='/scratch/kocevski/51910/expmap_550368001_550627201_4FGL_J0910.8+3859_daily_bin1200.fits', expCube='/scratch/kocevski/51910/ltcube_550368001_550627201_4FGL_J0910.8+3859_daily_bin1200.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/51910/Model_4FGL_J0910.8+3859_daily_bin1200.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0910.8+3859'

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  5.960e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  1.996e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
320        Scale:  2.436e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/51910/ft1_filtered_4FGL_J0910.8+3859_daily_bin1200.fits
Spacecraft file(s): /scratch/kocevski/51910/ft2_4FGL_J0910.8+3859_daily_bin1200.fits
Exposure map: /scratch/kocevski/51910/expmap_550368001_550627201_4FGL_J0910.8+3859_daily_bin1200.fits
Exposure cube: /scratch/kocevski/51910/ltcube_550368001_550627201_4FGL_J0910.8+3859_daily_bin1200.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/51910/Model_4FGL_J0910.8+3859_daily_bin1200.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) = 1709.19309107

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10924E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    29.585       1.0000         .10000E-03   10000.    
     7 'norm      '    53.689       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    49.403       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .27215E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.9234       1.0000         .10000E-03   10000.    
    12 'Prefactor '    90.196       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .38185       1.0000         .10000E-03   10000.    
    15 'Prefactor '    48.091       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    4.1405       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    15.179       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .90930       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .67023       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1709.121     FROM MIGRAD    STATUS=CONVERGED    627 CALLS     3717 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.845        .22138E-05** at limit **
   2  norm          .10000E-03    .78326        .55605E-07** at limit **
   3  Prefactor     .10000E-03    65.942        .20384E-04** at limit **
   4  Prefactor     .10000E-03    16.199        .50581E-05** at limit **
   5  Prefactor     .10000E-03    32.888       -.21091E-04** at limit **
   6  Prefactor     29.585        34.935        .15517E-06   -.13225E-04
   7  norm          53.706        65.014        .19088E-04    .60602E-05
   8  Prefactor     .10000E-03    5.6757        .57511E-05** at limit **
   9  Prefactor     49.406        35.319        .18889E-05    .91577E-04
  10  Prefactor     .10000E-03    685.64       -.17752E-03** at limit **
  11  Prefactor     1.9239        5.6955        .67703E-06   -.16555E-03
  12  Prefactor     90.236        224.92        .42794E-04    .11798E-04
  13  Prefactor     .10000E-03    8.9551       -.16696E-05** at limit **
  14  norm          .38168        2.3442       -.40960E-07   -.11878E-03
  15  Prefactor     48.066        98.455       -.32321E-04    .20458E-04
  16  norm          .10000E-03    .86425        .16823E-07** at limit **
  17  Prefactor     .10000E-03    6.7783       -.31140E-06** at limit **
  18  norm          .10000E-03    12.346       -.48651E-05** at limit **
  19  Prefactor     .10000E-03    4.9477        .44916E-06** at limit **
  20  Prefactor     .10000E-03    5.5172       -.54852E-05** at limit **
  21  Prefactor     .10000E-03    82.509       -.45794E-04** at limit **
  22  norm          4.1502        236.91        .36837E-04   -.26463E-04
  23  Prefactor     .10000E-03    49.770        .32473E-04** at limit **
  24  Prefactor     15.178        80.711       -.58913E-05   -.53595E-04
  25  Prefactor     .10000E-03    9.6191        .43047E-05** at limit **
  26  Normalizat    .90935        .29652        .18068E-05   -.53566E-04
  27  Prefactor     .67016        .28549       -.33289E-05    .73152E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.5846
  norm       = 53.7061
  Prefactor  = 0.0001
  Prefactor  = 49.4061
  Prefactor  = 0.0001
  Prefactor  = 1.92394
  Prefactor  = 90.2364
  Prefactor  = 0.0001
  norm       = 0.381675
  Prefactor  = 48.066
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.15023
  Prefactor  = 0.000100001
  Prefactor  = 15.1776
  Prefactor  = 0.0001
  Normalizat = 0.909352
  Prefactor  = 0.670164
 **********
 **   18 **HESSE 
 **********

 FCN=   1709.121     FROM HESSE     STATUS=OK           472 CALLS     4189 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.876        .17532E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .78456        .35732E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    66.473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    16.837        .32426E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    32.910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     29.585        34.932        .73660E-04   -1.4620    
   7  norm          53.706        65.050        .27370E-03   -1.4241    
   8  Prefactor     .10000E-03    5.6760        .96205E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     49.406        35.260        .57054E-04   -1.4301    
  10  Prefactor     .10000E-03    687.04        .21430E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.9239        5.6545        .15845E-03   -1.5431    
  12  Prefactor     90.236        224.76        .42310E-04   -1.3805    
  13  Prefactor     .10000E-03    9.0247        .12055E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .38168        3.6252        .11373E-02   -1.5584    
  15  Prefactor     48.066        98.256        .57823E-04   -1.4320    
  16  norm          .10000E-03    .87752        .37491E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.8023        .10511E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    12.328        .14156E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.9765        .89567E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.6469        .18884E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    82.588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.1502        221.54        .19809E-03   -1.5300    
  23  Prefactor     .10000E-03    49.611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     15.178        76.181        .10280E-03   -1.4929    
  25  Prefactor     .10000E-03    9.6433        .12522E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .90935        .34864        .22542E-03   -.96132    
  27  Prefactor     .67016        .33465        .24833E-03   -1.0471    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.28271e-10
Minuit parameter uncertainties:
  1  2.53544e-05
  2  1.3627e-06
  3  0.000252684
  4  0.000139517
  5  9.67104e-06
  6  34.9562
  7  65.1365
  8  4.20642e-06
  9  35.2753
  10  0.000507487
  11  5.65611
  12  226.935
  13  0.000106154
  14  2.35244
  15  98.5895
  16  3.43922e-08
  17  1.36709e-06
  18  0.000188682
  19  8.8099e-05
  20  4.10404e-05
  21  9.54264e-06
  22  60.8831
  23  0.00039352
  24  68.1458
  25  4.04425e-06
  26  0.349507
  27  0.335661
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  9.024e+01  2.269e+02  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  1.996e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
320        Scale:  2.436e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
636    Prefactor:  6.702e-01  3.357e-01  0.000e+00  1.000e+01 ( 1.000e+00)
637        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
638        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
635   Normalization:  9.094e-01  3.495e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.43
Ra Dec: 137.709 39.000
Photon Flux Upper Limit: 2.52e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.89e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/51910/likelihoodResults_550368001_550627201_4FGL_J0910.8+3859_daily_bin1200.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) = 1708.78979837
delta logL = 0.330825823696

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1708.78303481
delta logL = 0.337589381309

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.789       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6239       1.0000          .0000       10.000    
     3 'Normalizat'    .86626       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68716       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6390E+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=   1708.783     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      280 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.806        106.05        .58004E-04   -.94422E-04
   2  Index         2.6231        .89631        .33260E-02   -.72732E-04
   3  Normalizat    .86583        .34183        .22989E-03    .44240E-03
   4  Prefactor     .68759        .32506        .24492E-03    .47464E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.8061
  Index      = 2.6231
  Normalizat = 0.865828
  Prefactor  = 0.687593
 **********
 **   18 **HESSE 
 **********

 FCN=   1708.783     FROM HESSE     STATUS=OK            25 CALLS      305 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.806        93.112        .11601E-04   -1.4324    
   2  Index         2.6231        .78672        .13304E-03   -.49539    
   3  Normalizat    .86583        .34180        .45978E-04   -.97672    
   4  Prefactor     .68759        .32477        .48985E-04   -1.0402    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07204e-09
Minuit parameter uncertainties:
  1  93.3968
  2  0.790974
  3  0.342656
  4  0.325669
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/51910': 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) = 1708.78303233
delta logL = 0.337591864917

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  4.781e+01  9.340e+01  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  2.623e+00  7.910e-01  0.000e+00  1.000e+01 (-1.000e+00)
320        Scale:  2.436e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
636    Prefactor:  6.876e-01  3.257e-01  0.000e+00  1.000e+01 ( 1.000e+00)
637        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
638        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
635   Normalization:  8.658e-01  3.427e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.12
Ra Dec: 137.709 39.000
Photon Index (Free Index): 2.62 +/- 0.79
Photon Flux (Free Index): 1.28e-07 +/- 1.47e-07
Energy Flux (Free Index): 3.29e-05 +/- 3.66e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/51910/cmap_HighResolution_550368001_550627201_4FGL_J0910.8+3859_daily_bin1200.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.89e-02', comment='SUCCESS', energy_flux2='3.29e-05', dlogl='3.38e-01', photon_flux2='1.28e-07', job_status='DONE', time_completed='2021-08-31 02:56:40.375163', photon_index_error2='0.79', photon_index2='2.62', ts='0.43', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', photon_flux_upper_limit='2.52e-07', energy_flux_error2='3.66e-05', EG='0.91', time_epoch_completed='1630403800.38', return_code='0', job_id='51910', GAL2='0.69', EG2='0.87', return_code2='0', photon_flux_error2='1.47e-07', ts2='1.12', photon_index='2.00' WHERE bin_id='1200' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:56:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 51910: <4FGL_J0910.8+3859_daily_bin1200> in cluster <slac> Done

Job <4FGL_J0910.8+3859_daily_bin1200> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 02:50:37 2021
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:50:39 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 02:50:39 2021
Terminated at Tue Aug 31 02:56:41 2021
Results reported at Tue Aug 31 02:56:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin1200 137.709 38.9999 550368001 550627201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0910.8+3859 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   344.16 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             331.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   361 sec.
    Turnaround time :                            364 sec.

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

