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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin1410
RA = 137.709, Dec = 38.9999
tmin = 604800001, tmax = 605059201
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='53464', job_status='RUN', time_executed='2021-08-31 02:58:01.803261', time_epoch_executed='1630403881.8' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='1410'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53464

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53464/ft1_4FGL_J0910.8+3859_daily_bin1410.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53464/ft2_4FGL_J0910.8+3859_daily_bin1410.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53464/ft1_4FGL_J0910.8+3859_daily_bin1410.fits outfile=/scratch/kocevski/53464/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1410.fits ra=137.709 dec=38.9999 rad=12.0 tmin=604800001.0 tmax=605059201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 6.37
user 4.97
sys 1.36

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53464/ft1_filtered_4FGL_J0910.8+3859_daily_bin1410.fits" evtable="EVENTS" scfile=/scratch/kocevski/53464/ft2_4FGL_J0910.8+3859_daily_bin1410.fits sctable="SC_DATA" outfile=/scratch/kocevski/53464/ltcube_604800001_605059201_4FGL_J0910.8+3859_daily_bin1410.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/53464/ft2_4FGL_J0910.8+3859_daily_bin1410.fits
.....................!
real 13.41
user 11.72
sys 1.64

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53464/ft1_filtered_4FGL_J0910.8+3859_daily_bin1410.fits evtable="EVENTS" scfile=/scratch/kocevski/53464/ft2_4FGL_J0910.8+3859_daily_bin1410.fits sctable="SC_DATA" expcube=/scratch/kocevski/53464/ltcube_604800001_605059201_4FGL_J0910.8+3859_daily_bin1410.fits outfile=/scratch/kocevski/53464/expmap_604800001_605059201_4FGL_J0910.8+3859_daily_bin1410.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/53464/ltcube_604800001_605059201_4FGL_J0910.8+3859_daily_bin1410.fits
.....................!
real 191.94
user 185.59
sys 5.73

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/53464/ft1_filtered_4FGL_J0910.8+3859_daily_bin1410.fits scfile=/scratch/kocevski/53464/ft2_4FGL_J0910.8+3859_daily_bin1410.fits outfile=/scratch/kocevski/53464/cmap_604800001_605059201_4FGL_J0910.8+3859_daily_bin1410.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 1.66
user 0.37
sys 1.25

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/53464/ft1_filtered_4FGL_J0910.8+3859_daily_bin1410.fits scfile=/scratch/kocevski/53464/ft2_4FGL_J0910.8+3859_daily_bin1410.fits outfile=/scratch/kocevski/53464/cmap_HighResolution_604800001_605059201_4FGL_J0910.8+3859_daily_bin1410.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 1.66
user 0.38
sys 1.27

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .71822E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.1134       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.9366       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.2775       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.6286       1.0000         .10000E-03   10000.    
     7 'norm      '    .87301       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.3544       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .32988E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    41.362       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    34.418       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.8702       1.0000         .10000E-03   10000.    
    14 'norm      '    1.0788       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11019E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .59607E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .36964E-01   1.0000         .10000E-03   10000.    
    23 'Prefactor '    11.305       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .99345E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1280       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .86700       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=   5398.133     FROM MIGRAD    STATUS=CONVERGED    742 CALLS     3137 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.4935       -.46039E-06** at limit **
   2  norm          1.1170        .59659       -.67689E-07    .57889E-03
   3  Prefactor     7.6538        15.365        .43226E-05   -.20283E-03
   4  Prefactor     .10000E-03    2.4359       -.98975E-06** at limit **
   5  Prefactor     4.8033        49.591       -.69940E-05   -.13955E-03
   6  Prefactor     7.7111        11.300        .10720E-05    .14989E-03
   7  norm          .86686        8.8376        .25830E-05   -.36987E-03
   8  Prefactor     1.3538        2.4898        .49249E-07   -.32576E-03
   9  Prefactor     .10000E-03    9.5956       -.18920E-06** at limit **
  10  Prefactor     40.846        76.368       -.11866E-05   -.36680E-04
  11  Prefactor     .10000E-03    3.1329        .28370E-07** at limit **
  12  Prefactor     33.414        35.072        .76466E-06    .10048E-03
  13  Prefactor     2.8738        2.4882       -.42177E-07   -.62340E-04
  14  norm          1.0784        1.0493        .73523E-08    .12652E-03
  15  Prefactor     .10000E-03    8.6081       -.42790E-07** at limit **
  16  norm          .10000E-03    .13112        .27011E-07** at limit **
  17  Prefactor     .10000E-03    .67583       -.59559E-08** at limit **
  18  norm          .13902        6.6740        .15210E-06   -.98593E-04
  19  Prefactor     .10000E-03    .99006        .78190E-07** at limit **
  20  Prefactor     .10000E-03    1.3519       -.14668E-07** at limit **
  21  Prefactor     .10000E-03    3.1066       -.14833E-08** at limit **
  22  norm          .10000E-03    73.166        .21660E-05** at limit **
  23  Prefactor     11.103        29.200        .39401E-05    .22032E-03
  24  Prefactor     .10000E-03    21.277        .30087E-06** at limit **
  25  Prefactor     .10000E-03    3.7886       -.30201E-07** at limit **
  26  Normalizat    1.1289        .18496       -.11530E-05    .11055E-03
  27  Prefactor     .86719        .18120        .15692E-06    .19993E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.11696
  Prefactor  = 7.65376
  Prefactor  = 0.0001
  Prefactor  = 4.80334
  Prefactor  = 7.71111
  norm       = 0.866862
  Prefactor  = 1.35377
  Prefactor  = 0.0001
  Prefactor  = 40.8463
  Prefactor  = 0.0001
  Prefactor  = 33.4143
  Prefactor  = 2.87383
  norm       = 1.07839
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.139015
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100004
  Prefactor  = 11.1032
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.1289
  Prefactor  = 0.867193
 **********
 **   18 **HESSE 
 **********

 FCN=   5398.133     FROM HESSE     STATUS=OK           494 CALLS     3631 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.8470        .41771E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1170        .59895        .38499E-04   -1.5497    
   3  Prefactor     7.6538        15.879        .71163E-03   -1.5155    
   4  Prefactor     .10000E-03    4.8410        .21007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.8033        52.508        .17496E-03   -1.5270    
   6  Prefactor     7.7111        11.391        .14519E-03   -1.5153    
   7  norm          .86686        9.2251        .41066E-02   -1.5522    
   8  Prefactor     1.3538        2.4300        .14452E-03   -1.5475    
   9  Prefactor     .10000E-03    9.6117        .21349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     40.846        75.999        .62329E-04   -1.4429    
  11  Prefactor     .10000E-03    3.2167        .25384E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     33.414        35.247        .68307E-04   -1.4551    
  13  Prefactor     2.8738        2.4711        .10293E-03   -1.5369    
  14  norm          1.0784        1.1048        .72368E-03   -1.5500    
  15  Prefactor     .10000E-03    8.6170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .14381        .51808E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    .68014        .58950E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .13902        82.882        .35719E-02   -1.5633    
  19  Prefactor     .10000E-03    1.6666        .13953E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.3575        .83420E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.1093        .12647E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    73.789        .36825E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     11.103        29.759        .11915E-03   -1.5041    
  24  Prefactor     .10000E-03    21.311        .20767E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    3.7948        .13967E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.1289        .20853        .22499E-03   -.88829    
  27  Prefactor     .86719        .20620        .25901E-03   -.97297    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51543e-09
Minuit parameter uncertainties:
  1  4.61107e-05
  2  0.598952
  3  15.8878
  4  2.87791e-06
  5  31.7977
  6  11.3943
  7  5.65654
  8  2.43013
  9  2.29443e-05
  10  76.1802
  11  7.32252e-06
  12  35.2685
  13  2.47122
  14  1.10478
  15  1.02496e-05
  16  1.02579e-07
  17  1.72953e-06
  18  6.79578
  19  2.85703e-05
  20  8.92128e-08
  21  5.74104e-07
  22  0.00108386
  23  29.7986
  24  3.49456e-05
  25  1.99475e-06
  26  0.208688
  27  0.206389
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  3.341e+01  3.527e+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:  8.672e-01  2.064e-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:  1.129e+00  2.087e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.19
Ra Dec: 137.709 39.000
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 1.97e-08 +/- 2.08e-08
Energy Flux (Fixed Index): 1.37e-05 +/- 1.45e-05

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

Saving results to:
/scratch/kocevski/53464/likelihoodResults_604800001_605059201_4FGL_J0910.8+3859_daily_bin1410.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) = 5398.13259105
delta logL = 0.000814824433292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5398.1321538
delta logL = 0.00125208005829

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.236       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0449       1.0000          .0000       10.000    
     3 'Normalizat'    1.1273       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86772       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=   5398.132     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      270 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.201        44.687        .35287E-03   -.49583E-04
   2  Index         2.0414        .95138        .92548E-02    .31430E-03
   3  Normalizat    1.1273        .20201        .22513E-03    .82616E-04
   4  Prefactor     .86804        .20495        .25890E-03   -.11904E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.2008
  Index      = 2.04144
  Normalizat = 1.12735
  Prefactor  = 0.868036
 **********
 **   18 **HESSE 
 **********

 FCN=   5398.132     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.201        42.149        .14115E-04   -1.4572    
   2  Index         2.0414        .89766        .18510E-02   -.63318    
   3  Normalizat    1.1273        .20172        .90051E-05   -.88879    
   4  Prefactor     .86804        .20494        .10356E-04   -.97267    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95072e-10
Minuit parameter uncertainties:
  1  42.1884
  2  0.905254
  3  0.20186
  4  0.205125
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53464': 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) = 5398.13213388
delta logL = 0.00127199263898

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  3.220e+01  4.219e+01  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  2.041e+00  9.053e-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:  8.680e-01  2.051e-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:  1.127e+00  2.019e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.19
Ra Dec: 137.709 39.000
Photon Index (Free Index): 2.04 +/- 0.91
Photon Flux (Free Index): 2.09e-08 +/- 3.35e-08
Energy Flux (Free Index): 1.31e-05 +/- 1.79e-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/53464/cmap_HighResolution_604800001_605059201_4FGL_J0910.8+3859_daily_bin1410.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.71e-03', comment='SUCCESS', photon_flux='1.97e-08', energy_flux2='1.31e-05', photon_flux_error='2.08e-08', dlogl='1.27e-03', energy_flux='1.37e-05', photon_flux2='2.09e-08', job_status='DONE', time_completed='2021-08-31 03:10:52.858854', photon_index_error2='0.91', photon_index2='2.04', ts='2.19', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='7.61e-08', energy_flux_error2='1.79e-05', EG='1.13', time_epoch_completed='1630404652.86', return_code='0', job_id='53464', GAL2='0.87', EG2='1.13', return_code2='0', energy_flux_error='1.45e-05', photon_flux_error2='3.35e-08', ts2='2.19', photon_index='2.00' WHERE bin_id='1410' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 03:10:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 53464: <4FGL_J0910.8+3859_daily_bin1410> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin1410 137.709 38.9999 604800001 605059201 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 :                                   781.53 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             287.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            910 sec.

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

