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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin1336
RA = 137.709, Dec = 38.9999
tmin = 585619201, tmax = 585878401
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='53346', job_status='RUN', time_executed='2021-08-31 02:56:50.304949', time_epoch_executed='1630403810.3' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='1336'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53346

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53346/ft1_4FGL_J0910.8+3859_daily_bin1336.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53346/ft2_4FGL_J0910.8+3859_daily_bin1336.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53346/ft1_4FGL_J0910.8+3859_daily_bin1336.fits outfile=/scratch/kocevski/53346/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1336.fits ra=137.709 dec=38.9999 rad=12.0 tmin=585619201.0 tmax=585878401.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 7.03
user 2.50
sys 3.58

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/53346/ft2_4FGL_J0910.8+3859_daily_bin1336.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/53346/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1336.fits evtable="EVENTS" outfile="/scratch/kocevski/53346/ft1_filtered_4FGL_J0910.8+3859_daily_bin1336.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 5.56
user 0.33
sys 3.59

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53346/ft1_filtered_4FGL_J0910.8+3859_daily_bin1336.fits" evtable="EVENTS" scfile=/scratch/kocevski/53346/ft2_4FGL_J0910.8+3859_daily_bin1336.fits sctable="SC_DATA" outfile=/scratch/kocevski/53346/ltcube_585619201_585878401_4FGL_J0910.8+3859_daily_bin1336.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/53346/ft2_4FGL_J0910.8+3859_daily_bin1336.fits
.....................!
real 18.93
user 12.38
sys 4.12

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53346/ft1_filtered_4FGL_J0910.8+3859_daily_bin1336.fits evtable="EVENTS" scfile=/scratch/kocevski/53346/ft2_4FGL_J0910.8+3859_daily_bin1336.fits sctable="SC_DATA" expcube=/scratch/kocevski/53346/ltcube_585619201_585878401_4FGL_J0910.8+3859_daily_bin1336.fits outfile=/scratch/kocevski/53346/expmap_585619201_585878401_4FGL_J0910.8+3859_daily_bin1336.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/53346/ltcube_585619201_585878401_4FGL_J0910.8+3859_daily_bin1336.fits
.....................!
real 199.14
user 186.11
sys 8.78

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/53346/ft1_filtered_4FGL_J0910.8+3859_daily_bin1336.fits scfile=/scratch/kocevski/53346/ft2_4FGL_J0910.8+3859_daily_bin1336.fits outfile=/scratch/kocevski/53346/cmap_585619201_585878401_4FGL_J0910.8+3859_daily_bin1336.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 3.55
user 0.36
sys 3.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/53346/ft1_filtered_4FGL_J0910.8+3859_daily_bin1336.fits scfile=/scratch/kocevski/53346/ft2_4FGL_J0910.8+3859_daily_bin1336.fits outfile=/scratch/kocevski/53346/cmap_HighResolution_585619201_585878401_4FGL_J0910.8+3859_daily_bin1336.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 3.90
user 0.38
sys 3.49

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    51.596       1.0000         .10000E-03   10000.    
     2 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .90007E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.0644       1.0000         .10000E-03   10000.    
     5 'Prefactor '    36.659       1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.483       1.0000         .10000E-03   10000.    
     7 'norm      '    12.697       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.8753       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .14369E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.4183       1.0000         .10000E-03   10000.    
    12 'Prefactor '    62.156       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10073E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.4050       1.0000         .10000E-03   10000.    
    18 'norm      '    4.3831       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.9325       1.0000         .10000E-03   10000.    
    22 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    24.723       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    16.140       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .56494       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.4411       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=   2226.259     FROM MIGRAD    STATUS=CONVERGED   1168 CALLS     4280 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.630        59.864        .55834E-04    .14058E-03
   2  norm          .10000E-03    .98698        .45530E-03** at limit **
   3  Prefactor     .10010E-03    162.15        .12034    ** at limit **
   4  Prefactor     5.0729        12.826        .89337E-03    .10813E-03
   5  Prefactor     36.702        90.041        .66192E-04    .83420E-04
   6  Prefactor     22.478        23.286        .42238E-03    .48772E-04
   7  norm          12.698        10.780        .56206E-03   -.14604E-04
   8  Prefactor     1.8755        4.3934        .14176E-03    .19087E-04
   9  Prefactor     .10000E-03    130.60        .18142E-02** at limit **
  10  Prefactor     .10000E-03    34.303        .18142E-02** at limit **
  11  Prefactor     4.4185        8.4755        .90879E-03   -.18459E-03
  12  Prefactor     62.168        72.672        .50897E-04    .77263E-04
  13  Prefactor     .10000E-03    2.9509        .78951E-03** at limit **
  14  norm          .10000E-03    7.9525        .17510E-02** at limit **
  15  Prefactor     .10000E-03    22.281        .18142E-02** at limit **
  16  norm          .10000E-03    .35638        .53682E-03** at limit **
  17  Prefactor     6.4069        5.5039        .89742E-04   -.81520E-04
  18  norm          4.3859        11.800        .96188E-03    .29784E-04
  19  Prefactor     .10000E-03    16.003        .15370E-02** at limit **
  20  Prefactor     .10000E-03    5.2334        .10498E-02** at limit **
  21  Prefactor     9.9306        17.666        .12715E-03    .11579E-04
  22  norm          .10000E-03    10.100        .14645E-02** at limit **
  23  Prefactor     24.712        43.687        .80562E-04   -.10584E-04
  24  Prefactor     .10000E-03    33.107        .18142E-02** at limit **
  25  Prefactor     16.141        20.747        .99694E-04    .27939E-05
  26  Normalizat    .56479        .39503        .32323E-03    .87773E-04
  27  Prefactor     1.4414        .41400        .24564E-03   -.39580E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.6303
  norm       = 0.0001
  Prefactor  = 0.000100099
  Prefactor  = 5.07289
  Prefactor  = 36.7021
  Prefactor  = 22.4784
  norm       = 12.6976
  Prefactor  = 1.87553
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 4.41851
  Prefactor  = 62.1684
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.4069
  norm       = 4.38591
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 9.93057
  norm       = 0.0001
  Prefactor  = 24.7118
  Prefactor  = 0.0001
  Prefactor  = 16.1414
  Normalizat = 0.564788
  Prefactor  = 1.44136
 **********
 **   18 **HESSE 
 **********

 FCN=   2226.259     FROM HESSE     STATUS=OK           472 CALLS     4752 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.630        59.846        .11167E-04   -1.4270    
   2  norm          .10000E-03    .98698        .91061E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10010E-03    157.63        .12217       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.0729        12.802        .35735E-04   -1.5257    
   5  Prefactor     36.702        89.997        .13238E-04   -1.4496    
   6  Prefactor     22.478        23.285        .84475E-04   -1.4759    
   7  norm          12.698        10.780        .22483E-04   -1.4995    
   8  Prefactor     1.8755        4.3925        .56703E-05   -1.5434    
   9  Prefactor     .10000E-03    130.63        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    34.303        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.4185        8.4733        .36351E-04   -1.5288    
  12  Prefactor     62.168        72.665        .10179E-04   -1.4129    
  13  Prefactor     .10000E-03    2.9510        .15790E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    7.9903        .35019E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    22.281        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .35639        .10736E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.4069        5.5028        .35897E-05   -1.5202    
  18  norm          4.3859        11.790        .38475E-04   -1.5289    
  19  Prefactor     .10000E-03    16.103        .30740E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.2340        .20996E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.9306        17.665        .50858E-05   -1.5078    
  22  norm          .10000E-03    10.100        .29289E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     24.712        43.680        .32225E-05   -1.4713    
  24  Prefactor     .10000E-03    33.108        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     16.141        20.745        .39878E-05   -1.4904    
  26  Normalizat    .56479        .39518        .12929E-04   -1.0950    
  27  Prefactor     1.4414        .41430        .49129E-04   -.79196    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2571e-09
Minuit parameter uncertainties:
  1  59.9155
  2  2.56722e-05
  3  0.00793023
  4  12.8092
  5  90.3322
  6  23.2945
  7  10.7814
  8  4.3933
  9  0.00104927
  10  2.83647e-05
  11  8.47563
  12  72.7685
  13  2.64892e-05
  14  1.62581e-05
  15  0.000206887
  16  5.05607e-07
  17  5.50325
  18  11.7961
  19  0.00050827
  20  4.03065e-06
  21  17.6746
  22  5.65064e-05
  23  43.7368
  24  9.52791e-05
  25  20.7538
  26  0.397174
  27  0.41527
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  6.217e+01  7.277e+01  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:  1.441e+00  4.153e-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:  5.648e-01  3.972e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.51
Ra Dec: 137.709 39.000
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 3.66e-08 +/- 4.28e-08
Energy Flux (Fixed Index): 2.55e-05 +/- 2.99e-05

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

Saving results to:
/scratch/kocevski/53346/likelihoodResults_585619201_585878401_4FGL_J0910.8+3859_daily_bin1336.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) = 2225.99517873
delta logL = 0.263881709282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2225.97995003
delta logL = 0.279110408501

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.343       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7564       1.0000          .0000       10.000    
     3 'Normalizat'    .51448       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4727       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=   2225.980     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      304 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.362        67.718        .84739E-04    .20837E-03
   2  Index         2.7562        1.4040        .35988E-02    .93241E-04
   3  Normalizat    .51301        .36271        .33818E-03   -.35723E-03
   4  Prefactor     1.4745        .41211        .24318E-03   -.19579E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.3623
  Index      = 2.7562
  Normalizat = 0.513006
  Prefactor  = 1.47445
 **********
 **   18 **HESSE 
 **********

 FCN=   2225.980     FROM HESSE     STATUS=OK            25 CALLS      329 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.362        51.036        .16948E-04   -1.4762    
   2  Index         2.7562        1.0629        .14395E-03   -.46538    
   3  Normalizat    .51301        .35743        .67635E-04   -1.1182    
   4  Prefactor     1.4745        .40888        .48637E-04   -.78258    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85459e-09
Minuit parameter uncertainties:
  1  51.1354
  2  1.07315
  3  0.359041
  4  0.409794
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53346': 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) = 2225.97994001
delta logL = 0.279120433033

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  2.236e+01  5.114e+01  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  2.756e+00  1.073e+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:  1.474e+00  4.098e-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:  5.130e-01  3.590e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.08
Ra Dec: 137.709 39.000
Photon Index (Free Index): 2.76 +/- 1.07
Photon Flux (Free Index): 8.47e-08 +/- 1.02e-07
Energy Flux (Free Index): 1.95e-05 +/- 1.87e-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/53346/cmap_HighResolution_585619201_585878401_4FGL_J0910.8+3859_daily_bin1336.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.19e-02', comment='SUCCESS', photon_flux='3.66e-08', energy_flux2='1.95e-05', photon_flux_error='4.28e-08', dlogl='2.79e-01', energy_flux='2.55e-05', photon_flux2='8.47e-08', job_status='DONE', time_completed='2021-08-31 03:06:36.387235', photon_index_error2='1.07', photon_index2='2.76', ts='1.51', fit_tolerance='1e-08', GAL='1.44', photon_index_error='0.00', photon_flux_upper_limit='1.58e-07', energy_flux_error2='1.87e-05', EG='0.56', time_epoch_completed='1630404396.39', return_code='0', job_id='53346', GAL2='1.47', EG2='0.51', return_code2='0', energy_flux_error='2.99e-05', photon_flux_error2='1.02e-07', ts2='2.08', photon_index='2.00' WHERE bin_id='1336' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 03:06:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 53346: <4FGL_J0910.8+3859_daily_bin1336> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin1336 137.709 38.9999 585619201 585878401 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 :                                   628.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             291.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   662 sec.
    Turnaround time :                            664 sec.

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

