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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin648
RA = 137.709, Dec = 38.9999
tmin = 407289601, tmax = 407548801
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='48775', job_status='RUN', time_executed='2021-08-31 02:41:21.963876', time_epoch_executed='1630402881.96' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='648'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/48775

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/48775/ft1_4FGL_J0910.8+3859_daily_bin648.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/48775/ft2_4FGL_J0910.8+3859_daily_bin648.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/48775/ft1_4FGL_J0910.8+3859_daily_bin648.fits outfile=/scratch/kocevski/48775/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin648.fits ra=137.709 dec=38.9999 rad=12.0 tmin=407289601.0 tmax=407548801.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.96
user 3.32
sys 0.59

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/48775/ft2_4FGL_J0910.8+3859_daily_bin648.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/48775/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin648.fits evtable="EVENTS" outfile="/scratch/kocevski/48775/ft1_filtered_4FGL_J0910.8+3859_daily_bin648.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.98
user 0.34
sys 0.54

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/48775/ft1_filtered_4FGL_J0910.8+3859_daily_bin648.fits" evtable="EVENTS" scfile=/scratch/kocevski/48775/ft2_4FGL_J0910.8+3859_daily_bin648.fits sctable="SC_DATA" outfile=/scratch/kocevski/48775/ltcube_407289601_407548801_4FGL_J0910.8+3859_daily_bin648.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/48775/ft2_4FGL_J0910.8+3859_daily_bin648.fits
.....................!
real 12.56
user 11.71
sys 0.77

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/48775/ft1_filtered_4FGL_J0910.8+3859_daily_bin648.fits evtable="EVENTS" scfile=/scratch/kocevski/48775/ft2_4FGL_J0910.8+3859_daily_bin648.fits sctable="SC_DATA" expcube=/scratch/kocevski/48775/ltcube_407289601_407548801_4FGL_J0910.8+3859_daily_bin648.fits outfile=/scratch/kocevski/48775/expmap_407289601_407548801_4FGL_J0910.8+3859_daily_bin648.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/48775/ltcube_407289601_407548801_4FGL_J0910.8+3859_daily_bin648.fits
.....................!
real 190.82
user 185.18
sys 4.79

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/48775/ft1_filtered_4FGL_J0910.8+3859_daily_bin648.fits scfile=/scratch/kocevski/48775/ft2_4FGL_J0910.8+3859_daily_bin648.fits outfile=/scratch/kocevski/48775/cmap_407289601_407548801_4FGL_J0910.8+3859_daily_bin648.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.93
user 0.37
sys 0.55

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/48775/ft1_filtered_4FGL_J0910.8+3859_daily_bin648.fits scfile=/scratch/kocevski/48775/ft2_4FGL_J0910.8+3859_daily_bin648.fits outfile=/scratch/kocevski/48775/cmap_HighResolution_407289601_407548801_4FGL_J0910.8+3859_daily_bin648.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.94
user 0.37
sys 0.55

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/48775/ft1_filtered_4FGL_J0910.8+3859_daily_bin648.fits', '/scratch/kocevski/48775/ft2_4FGL_J0910.8+3859_daily_bin648.fits', expMap='/scratch/kocevski/48775/expmap_407289601_407548801_4FGL_J0910.8+3859_daily_bin648.fits', expCube='/scratch/kocevski/48775/ltcube_407289601_407548801_4FGL_J0910.8+3859_daily_bin648.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/48775/Model_4FGL_J0910.8+3859_daily_bin648.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/48775/ft1_filtered_4FGL_J0910.8+3859_daily_bin648.fits
Spacecraft file(s): /scratch/kocevski/48775/ft2_4FGL_J0910.8+3859_daily_bin648.fits
Exposure map: /scratch/kocevski/48775/expmap_407289601_407548801_4FGL_J0910.8+3859_daily_bin648.fits
Exposure cube: /scratch/kocevski/48775/ltcube_407289601_407548801_4FGL_J0910.8+3859_daily_bin648.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/48775/Model_4FGL_J0910.8+3859_daily_bin648.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) = 6287.88077124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .41130       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.4628       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .92940       1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.016       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.1256       1.0000         .10000E-03   10000.    
     7 'norm      '    11.341       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .76471       1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.584       1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.943       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .59654E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.2574       1.0000         .10000E-03   10000.    
    14 'norm      '    .56685       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.1738       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.2476       1.0000         .10000E-03   10000.    
    18 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12208       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.0551       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.9079       1.0000         .10000E-03   10000.    
    22 'norm      '    .10290E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    10.234       1.0000         .10000E-03   10000.    
    24 'Prefactor '    53.428       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .92261       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .96718       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=   6287.772     FROM MIGRAD    STATUS=CONVERGED    662 CALLS     3497 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.8476        .14839E-06** at limit **
   2  norm          .41107        .35469        .31867E-08   -.32682E-03
   3  Prefactor     2.4688        8.9517       -.14548E-06   -.10098E-03
   4  Prefactor     .92364        1.5591        .80740E-06    .72464E-03
   5  Prefactor     17.015        17.125       -.77572E-07   -.34298E-04
   6  Prefactor     4.1253        4.4343       -.35100E-07   -.84437E-05
   7  norm          11.340        6.0705       -.11012E-07   -.38885E-04
   8  Prefactor     .76385        1.6493        .32430E-06    .73499E-04
   9  Prefactor     23.572        21.772       -.56851E-07   -.37584E-04
  10  Prefactor     24.927        57.083       -.36859E-06   -.14886E-04
  11  Prefactor     .10236E-03    1.5262        .46856E-06** at limit **
  12  Prefactor     .10000E-03    12.004        .43994E-07** at limit **
  13  Prefactor     1.2571        1.7209        .10025E-06   -.17114E-03
  14  norm          .56624        1.1473        .30921E-06    .44374E-03
  15  Prefactor     3.1705        10.172        .66908E-06   -.58519E-04
  16  norm          .10000E-03    .18993        .16402E-07** at limit **
  17  Prefactor     2.2468        2.3967       -.64035E-07   -.20863E-03
  18  norm          .10000E-03    3.2944       -.42821E-08** at limit **
  19  Prefactor     .12296        1.1969        .96632E-07   -.23998E-03
  20  Prefactor     3.0543        2.9238        .32780E-07   -.91907E-04
  21  Prefactor     2.9028        10.141        .54326E-06   -.36337E-04
  22  norm          .10000E-03    12.665       -.18371E-05** at limit **
  23  Prefactor     10.157        32.081        .13541E-05   -.47135E-04
  24  Prefactor     53.455        47.144       -.10551E-05    .51543E-04
  25  Prefactor     .10000E-03    4.1250        .15567E-06** at limit **
  26  Normalizat    .92300        .16218        .32305E-06   -.25984E-03
  27  Prefactor     .96693        .16304       -.10007E-05   -.74778E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.41107
  Prefactor  = 2.46877
  Prefactor  = 0.923642
  Prefactor  = 17.0148
  Prefactor  = 4.12528
  norm       = 11.3398
  Prefactor  = 0.763845
  Prefactor  = 23.572
  Prefactor  = 24.9274
  Prefactor  = 0.000102361
  Prefactor  = 0.0001
  Prefactor  = 1.25711
  norm       = 0.566237
  Prefactor  = 3.17051
  norm       = 0.0001
  Prefactor  = 2.24676
  norm       = 0.0001
  Prefactor  = 0.122963
  Prefactor  = 3.05429
  Prefactor  = 2.90278
  norm       = 0.0001
  Prefactor  = 10.1566
  Prefactor  = 53.4547
  Prefactor  = 0.0001
  Normalizat = 0.923
  Prefactor  = 0.966935
 **********
 **   18 **HESSE 
 **********

 FCN=   6287.772     FROM HESSE     STATUS=OK           514 CALLS     4011 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.9674        .34028E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .41107        .35076        .41958E-04   -1.5580    
   3  Prefactor     2.4688        8.7031        .26059E-03   -1.5394    
   4  Prefactor     .92364        1.4506        .13622E-02   -1.5516    
   5  Prefactor     17.015        17.101        .97093E-04   -1.4883    
   6  Prefactor     4.1253        4.4344        .16834E-03   -1.5302    
   7  norm          11.340        6.0537        .11896E-03   -1.5034    
   8  Prefactor     .76385        1.4546        .14224E-02   -1.5533    
   9  Prefactor     23.572        21.778        .82483E-04   -1.4737    
  10  Prefactor     24.927        56.853        .80208E-04   -1.4709    
  11  Prefactor     .10236E-03    2.1636        .35166E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.2571        1.6770        .11583E-03   -1.5484    
  14  norm          .56624        .94083        .12047E-02   -1.5557    
  15  Prefactor     3.1705        10.109        .22748E-03   -1.5352    
  16  norm          .10000E-03    .25187        .60246E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.2468        2.1434        .10604E-03   -1.5408    
  18  norm          .10000E-03    3.3135        .14044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .12296        2.7070        .16203E-02   -1.5638    
  20  Prefactor     3.0543        2.9102        .12761E-03   -1.5358    
  21  Prefactor     2.9028        10.129        .23827E-03   -1.5367    
  22  norm          .10000E-03    12.241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     10.157        31.761        .12525E-03   -1.5070    
  24  Prefactor     53.455        46.710        .54873E-04   -1.4244    
  25  Prefactor     .10000E-03    4.1577        .15724E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .92300        .18728        .23103E-03   -.95657    
  27  Prefactor     .96693        .18603        .24161E-03   -.93840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14759e-08
Minuit parameter uncertainties:
  1  1.71955e-05
  2  0.350759
  3  8.7076
  4  1.45068
  5  17.1056
  6  4.43478
  7  6.05403
  8  1.45468
  9  21.7852
  10  56.9773
  11  0.00452072
  12  9.80877e-06
  13  1.67707
  14  0.940856
  15  10.1141
  16  1.52076e-07
  17  2.14351
  18  2.4665e-06
  19  1.15348
  20  2.91032
  21  10.1349
  22  0.000103587
  23  31.8141
  24  46.7425
  25  3.79628e-06
  26  0.187416
  27  0.186152
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  9.809e-06  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:  9.669e-01  1.862e-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.230e-01  1.874e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 137.709 39.000
Photon Flux Upper Limit: 3.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/48775/likelihoodResults_407289601_407548801_4FGL_J0910.8+3859_daily_bin648.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) = 6287.77219629
delta logL = -0.000396470278247

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6287.771803
delta logL = -3.18617912853e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13451E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9749       1.0000          .0000       10.000    
     3 'Normalizat'    .92327       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96659       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.

 FCN=   6287.772     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      203 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    661.98        .90712E-02** at limit **
   2  Index         1.9554        5.9236        .50000        .12423E-04
   3  Normalizat    .92300        .30267E-01    .45198E-01    .72594E-05
   4  Prefactor     .96693        .32494E-01    .45848E-01    .21127E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.95536
  Normalizat = 0.923002
  Prefactor  = 0.966933
 **********
 **   18 **HESSE 
 **********

 FCN=   6287.772     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.092        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9554        5.9328        .50000       -.65471    
   3  Normalizat    .92300        .16769        .23103E-03   -.95657    
   4  Prefactor     .96693        .18004        .24162E-03   -.93840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.61075e-10
Minuit parameter uncertainties:
  1  0.000109677
  2  4.38619
  3  0.167784
  4  0.180154
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/48775': 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) = 6287.77179968
delta logL = 1.34151378006e-07

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  1.097e-04  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  1.955e+00  4.386e+00  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:  9.669e-01  1.802e-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.230e-01  1.678e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 137.709 39.000

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/48775/cmap_HighResolution_407289601_407548801_4FGL_J0910.8+3859_daily_bin648.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.61e-03', job_status='DONE', photon_flux_upper_limit='3.49e-08', time_completed='2021-08-31 02:55:29.385284', job_id='48775', GAL2='0.97', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1630403729.39', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.34e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='648' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:55:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 48775: <4FGL_J0910.8+3859_daily_bin648> in cluster <slac> Done

Job <4FGL_J0910.8+3859_daily_bin648> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Aug 31 02:41:03 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:41:04 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:41:04 2021
Terminated at Tue Aug 31 02:55:30 2021
Results reported at Tue Aug 31 02:55:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin648 137.709 38.9999 407289601 407548801 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 :                                   851.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             330.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   865 sec.
    Turnaround time :                            867 sec.

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

