/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 125 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 = 7653
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0910.8+3859_daily_bin35
RA = 137.709, Dec = 38.9999
tmin = 248400001, tmax = 248659201
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='45437', job_status='RUN', time_executed='2021-08-31 02:33:46.033037', time_epoch_executed='1630402426.03' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='35'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/45437

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/45437/ft1_4FGL_J0910.8+3859_daily_bin35.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/45437/ft2_4FGL_J0910.8+3859_daily_bin35.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/45437/ft1_4FGL_J0910.8+3859_daily_bin35.fits outfile=/scratch/kocevski/45437/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin35.fits ra=137.709 dec=38.9999 rad=12.0 tmin=248400001.0 tmax=248659201.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 1.11
user 0.92
sys 0.15

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/45437/ft2_4FGL_J0910.8+3859_daily_bin35.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/45437/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin35.fits evtable="EVENTS" outfile="/scratch/kocevski/45437/ft1_filtered_4FGL_J0910.8+3859_daily_bin35.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.27
sys 0.12

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/45437/ft1_filtered_4FGL_J0910.8+3859_daily_bin35.fits" evtable="EVENTS" scfile=/scratch/kocevski/45437/ft2_4FGL_J0910.8+3859_daily_bin35.fits sctable="SC_DATA" outfile=/scratch/kocevski/45437/ltcube_248400001_248659201_4FGL_J0910.8+3859_daily_bin35.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/45437/ft2_4FGL_J0910.8+3859_daily_bin35.fits
.....................!
real 9.18
user 8.90
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/45437/ft1_filtered_4FGL_J0910.8+3859_daily_bin35.fits evtable="EVENTS" scfile=/scratch/kocevski/45437/ft2_4FGL_J0910.8+3859_daily_bin35.fits sctable="SC_DATA" expcube=/scratch/kocevski/45437/ltcube_248400001_248659201_4FGL_J0910.8+3859_daily_bin35.fits outfile=/scratch/kocevski/45437/expmap_248400001_248659201_4FGL_J0910.8+3859_daily_bin35.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/45437/ltcube_248400001_248659201_4FGL_J0910.8+3859_daily_bin35.fits
.....................!
real 139.89
user 136.77
sys 2.87

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/45437/ft1_filtered_4FGL_J0910.8+3859_daily_bin35.fits scfile=/scratch/kocevski/45437/ft2_4FGL_J0910.8+3859_daily_bin35.fits outfile=/scratch/kocevski/45437/cmap_248400001_248659201_4FGL_J0910.8+3859_daily_bin35.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.49
user 0.28
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/45437/ft1_filtered_4FGL_J0910.8+3859_daily_bin35.fits scfile=/scratch/kocevski/45437/ft2_4FGL_J0910.8+3859_daily_bin35.fits outfile=/scratch/kocevski/45437/cmap_HighResolution_248400001_248659201_4FGL_J0910.8+3859_daily_bin35.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.47
user 0.30
sys 0.13

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/45437/ft1_filtered_4FGL_J0910.8+3859_daily_bin35.fits', '/scratch/kocevski/45437/ft2_4FGL_J0910.8+3859_daily_bin35.fits', expMap='/scratch/kocevski/45437/expmap_248400001_248659201_4FGL_J0910.8+3859_daily_bin35.fits', expCube='/scratch/kocevski/45437/ltcube_248400001_248659201_4FGL_J0910.8+3859_daily_bin35.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/45437/Model_4FGL_J0910.8+3859_daily_bin35.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/45437/ft1_filtered_4FGL_J0910.8+3859_daily_bin35.fits
Spacecraft file(s): /scratch/kocevski/45437/ft2_4FGL_J0910.8+3859_daily_bin35.fits
Exposure map: /scratch/kocevski/45437/expmap_248400001_248659201_4FGL_J0910.8+3859_daily_bin35.fits
Exposure cube: /scratch/kocevski/45437/ltcube_248400001_248659201_4FGL_J0910.8+3859_daily_bin35.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/45437/Model_4FGL_J0910.8+3859_daily_bin35.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 7374.30434663

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0871       1.0000         .10000E-03   10000.    
     2 'norm      '    .80326       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.797       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.006       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.5693       1.0000         .10000E-03   10000.    
     7 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .63787       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10453E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.3961       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .41535       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .35062E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .60745       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10567E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.9107       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .26640       1.0000         .10000E-03   10000.    
    18 'norm      '    .11020E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.6918       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .42479       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    15.150       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .14388E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    50.239       1.0000         .10000E-03   10000.    
    25 'Prefactor '    9.9458       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .98908       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0292       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=   7374.147     FROM MIGRAD    STATUS=CONVERGED    681 CALLS     2955 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0870        5.9228       -.25806E-07   -.83157E-04
   2  norm          .80312        .53604       -.23376E-07   -.32558E-03
   3  Prefactor     11.797        9.8865       -.59171E-07   -.34760E-04
   4  Prefactor     .10000E-03    .93545        .30760E-07** at limit **
   5  Prefactor     20.005        23.140       -.25374E-05   -.50007E-04
   6  Prefactor     4.5674        8.5977        .67266E-05   -.13438E-03
   7  norm          .10000E-03    1.6675       -.31465E-06** at limit **
   8  Prefactor     .63620        2.3903        .44427E-07    .10365E-03
   9  Prefactor     .10000E-03    33.474        .32991E-06** at limit **
  10  Prefactor     9.2893        161.85       -.19356E-04   -.10231E-03
  11  Prefactor     .10000E-03    .97390        .69736E-07** at limit **
  12  Prefactor     .31496        13.993       -.34184E-06    .34593E-04
  13  Prefactor     .10000E-03    1.3749       -.74620E-07** at limit **
  14  norm          .60701        .93791       -.74336E-07   -.43163E-03
  15  Prefactor     .10000E-03    11.219        .13260E-06** at limit **
  16  norm          1.9114        .79782        .87669E-07    .19625E-03
  17  Prefactor     .26232        2.3768       -.42177E-07   -.28235E-03
  18  norm          .10000E-03    3.0132        .16626E-06** at limit **
  19  Prefactor     1.6954        2.6112        .39855E-06    .72739E-05
  20  Prefactor     .42485        2.6975        .47550E-06   -.26364E-03
  21  Prefactor     .10000E-03    13.373       -.11175E-05** at limit **
  22  norm          15.135        18.134        .95694E-06    .11178E-03
  23  Prefactor     .10000E-03    23.875        .76875E-06** at limit **
  24  Prefactor     50.220        32.407       -.32242E-06   -.16366E-04
  25  Prefactor     9.9439        8.6548        .31479E-07    .18887E-05
  26  Normalizat    .98927        .16564        .87309E-06   -.12890E-03
  27  Prefactor     1.0291        .16326       -.13150E-05    .94396E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.08702
  norm       = 0.803117
  Prefactor  = 11.7968
  Prefactor  = 0.0001
  Prefactor  = 20.0054
  Prefactor  = 4.56745
  norm       = 0.0001
  Prefactor  = 0.636202
  Prefactor  = 0.0001
  Prefactor  = 9.28926
  Prefactor  = 0.0001
  Prefactor  = 0.314964
  Prefactor  = 0.000100001
  norm       = 0.607013
  Prefactor  = 0.0001
  norm       = 1.91136
  Prefactor  = 0.26232
  norm       = 0.0001
  Prefactor  = 1.69539
  Prefactor  = 0.424845
  Prefactor  = 0.0001
  norm       = 15.1351
  Prefactor  = 0.0001
  Prefactor  = 50.2201
  Prefactor  = 9.94386
  Normalizat = 0.989274
  Prefactor  = 1.0291
 **********
 **   18 **HESSE 
 **********

 FCN=   7374.147     FROM HESSE     STATUS=OK           512 CALLS     3467 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0870        5.9024        .16273E-03   -1.5214    
   2  norm          .80312        .53011        .48017E-04   -1.5529    
   3  Prefactor     11.797        9.8499        .11663E-03   -1.5021    
   4  Prefactor     .10000E-03    .94924        .80944E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.005        23.119        .89548E-04   -1.4813    
   6  Prefactor     4.5674        8.6859        .94158E-03   -1.5281    
   7  norm          .10000E-03    1.6702        .10824E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .63620        2.3535        .22930E-03   -1.5548    
   9  Prefactor     .10000E-03    34.352        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.2893        175.48        .13074E-03   -1.5098    
  11  Prefactor     .10000E-03    .97961        .82740E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .31496        19.542        .12246       -1.5596    
  13  Prefactor     .10000E-03    5.2604        .18550E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .60701        .74796        .99260E-03   -1.5552    
  15  Prefactor     .10000E-03    11.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.9114        1.3488        .35644E-04   -1.5431    
  17  Prefactor     .26232        57.489        .17877E-02   -1.5606    
  18  norm          .10000E-03    6.4136        .28736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.6954        2.4941        .15219E-03   -1.5448    
  20  Prefactor     .42485        5.5186        .26124E-02   -1.5578    
  21  Prefactor     .10000E-03    13.639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          15.135        18.140        .10290E-03   -1.4930    
  23  Prefactor     .10000E-03    23.949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     50.220        32.459        .56579E-04   -1.4289    
  25  Prefactor     9.9439        8.6661        .12706E-03   -1.5077    
  26  Normalizat    .98927        .19681        .24471E-03   -.93391    
  27  Prefactor     1.0291        .19370        .25163E-03   -.91766    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.13901e-08
Minuit parameter uncertainties:
  1  5.90297
  2  0.530117
  3  9.85128
  4  3.23019e-07
  5  23.1293
  6  8.6883
  7  3.89405e-06
  8  2.35389
  9  5.63746e-05
  10  81.024
  11  2.2484e-07
  12  4.96274
  13  0.000131767
  14  0.747974
  15  3.13956e-06
  16  1.34887
  17  7.77279
  18  9.27296e-05
  19  2.49429
  20  3.06238
  21  5.81187e-05
  22  18.147
  23  2.19424e-05
  24  32.4708
  25  8.66718
  26  0.196952
  27  0.193827
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  3.150e-01  4.963e+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

GAL_V02
   Spectrum: PowerLaw
636    Prefactor:  1.029e+00  1.938e-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.893e-01  1.970e-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: 4.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/45437/likelihoodResults_248400001_248659201_4FGL_J0910.8+3859_daily_bin35.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) = 7374.14299487
delta logL = 0.00369575416789

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7374.13716284
delta logL = 0.00952778760802

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3537       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3995       1.0000          .0000       10.000    
     3 'Normalizat'    .98825       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0287       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7374.137     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      300 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3322        33.697        .18791E-02    .34669E-03
   2  Index         2.4011        2.5679        .36836E-02   -.16265E-05
   3  Normalizat    .98808        .17368        .24485E-03   -.28788E-05
   4  Prefactor     1.0289        .18243        .25165E-03   -.28009E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.33221
  Index      = 2.40109
  Normalizat = 0.988084
  Prefactor  = 1.02889
 **********
 **   18 **HESSE 
 **********

 FCN=   7374.137     FROM HESSE     STATUS=OK            25 CALLS      325 TOTAL
                     EDM=   .88E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3322        26.267        .37582E-03   -1.5477    
   2  Index         2.4011        2.3036        .14734E-03   -.54660    
   3  Normalizat    .98808        .17384        .97938E-05   -.93431    
   4  Prefactor     1.0289        .18259        .10066E-04   -.91772    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.80034e-13
Minuit parameter uncertainties:
  1  11.8365
  2  2.43301
  3  0.173942
  4  0.182704
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/45437': 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) = 7374.13716052
delta logL = 0.00953010164631

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.332e+00  1.184e+01  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  2.401e+00  2.433e+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.029e+00  1.827e-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.881e-01  1.739e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/45437/cmap_HighResolution_248400001_248659201_4FGL_J0910.8+3859_daily_bin35.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.01e-03', job_status='DONE', photon_flux_upper_limit='4.02e-08', time_completed='2021-08-31 02:44:27.627592', job_id='45437', GAL2='1.03', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1630403067.63', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='9.53e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='35' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:44:27 PDT 2021


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

Job <4FGL_J0910.8+3859_daily_bin35> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 02:31:22 2021
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:31:23 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:31:23 2021
Terminated at Tue Aug 31 02:44:28 2021
Results reported at Tue Aug 31 02:44:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin35 137.709 38.9999 248400001 248659201 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 :                                   639.24 sec.
    Max Memory :                                 1031 MB
    Average Memory :                             285.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   784 sec.
    Turnaround time :                            786 sec.

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

