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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin1523
RA = 137.709, Dec = 38.9999
tmin = 634089601, tmax = 634348801
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='53638', job_status='RUN', time_executed='2021-08-31 02:56:18.005555', time_epoch_executed='1630403778.01' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='1523'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53638

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53638/ft1_4FGL_J0910.8+3859_daily_bin1523.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53638/ft2_4FGL_J0910.8+3859_daily_bin1523.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53638/ft1_4FGL_J0910.8+3859_daily_bin1523.fits outfile=/scratch/kocevski/53638/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1523.fits ra=137.709 dec=38.9999 rad=12.0 tmin=634089601.0 tmax=634348801.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 5.98
user 4.61
sys 0.68

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53638/ft1_filtered_4FGL_J0910.8+3859_daily_bin1523.fits" evtable="EVENTS" scfile=/scratch/kocevski/53638/ft2_4FGL_J0910.8+3859_daily_bin1523.fits sctable="SC_DATA" outfile=/scratch/kocevski/53638/ltcube_634089601_634348801_4FGL_J0910.8+3859_daily_bin1523.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/53638/ft2_4FGL_J0910.8+3859_daily_bin1523.fits
.....................!
real 12.95
user 11.40
sys 0.91

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53638/ft1_filtered_4FGL_J0910.8+3859_daily_bin1523.fits evtable="EVENTS" scfile=/scratch/kocevski/53638/ft2_4FGL_J0910.8+3859_daily_bin1523.fits sctable="SC_DATA" expcube=/scratch/kocevski/53638/ltcube_634089601_634348801_4FGL_J0910.8+3859_daily_bin1523.fits outfile=/scratch/kocevski/53638/expmap_634089601_634348801_4FGL_J0910.8+3859_daily_bin1523.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/53638/ltcube_634089601_634348801_4FGL_J0910.8+3859_daily_bin1523.fits
.....................!
real 193.37
user 185.01
sys 5.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/53638/ft1_filtered_4FGL_J0910.8+3859_daily_bin1523.fits scfile=/scratch/kocevski/53638/ft2_4FGL_J0910.8+3859_daily_bin1523.fits outfile=/scratch/kocevski/53638/cmap_634089601_634348801_4FGL_J0910.8+3859_daily_bin1523.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.01
user 0.36
sys 0.59

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/53638/ft1_filtered_4FGL_J0910.8+3859_daily_bin1523.fits scfile=/scratch/kocevski/53638/ft2_4FGL_J0910.8+3859_daily_bin1523.fits outfile=/scratch/kocevski/53638/cmap_HighResolution_634089601_634348801_4FGL_J0910.8+3859_daily_bin1523.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.99
user 0.38
sys 0.58

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .61817E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .80560       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .45167E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11390E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.214       1.0000         .10000E-03   10000.    
     7 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.1714       1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.492       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13476E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.8977       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.8400       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.5800       1.0000         .10000E-03   10000.    
    14 'norm      '    .10055E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.8171       1.0000         .10000E-03   10000.    
    16 'norm      '    .18058       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.3632       1.0000         .10000E-03   10000.    
    18 'norm      '    6.8942       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10230E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .14285E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .12476E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10591E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .17058E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    2.1829       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0659       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .81608       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=   6105.037     FROM MIGRAD    STATUS=CONVERGED    671 CALLS     2404 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.6780       -.14053E-06** at limit **
   2  norm          .80563        .51279        .89641E-08    .15801E-03
   3  Prefactor     .10000E-03    8.1859       -.19137E-05** at limit **
   4  Prefactor     .10000E-03    .91985        .99782E-08** at limit **
   5  Prefactor     .10000E-03    16.795       -.21623E-05** at limit **
   6  Prefactor     17.437        11.559       -.14930E-05    .22609E-03
   7  norm          .10000E-03    1.4974       -.16340E-08** at limit **
   8  Prefactor     6.1644        3.2001       -.52593E-07   -.12833E-04
   9  Prefactor     24.729        21.432        .43784E-06   -.32743E-04
  10  Prefactor     .10000E-03    25.734       -.52180E-05** at limit **
  11  Prefactor     2.8888        2.4986       -.17002E-07    .65670E-04
  12  Prefactor     4.8431        56.549        .93591E-05   -.46867E-04
  13  Prefactor     2.5872        3.1862       -.25756E-07   -.40196E-03
  14  norm          .10000E-03    .89436       -.58939E-07** at limit **
  15  Prefactor     4.8417        19.210        .25816E-06    .13591E-04
  16  norm          .17851        .64114       -.24532E-06   -.23299E-02
  17  Prefactor     2.3717        4.2624        .19118E-06   -.36213E-03
  18  norm          7.0004        9.9430       -.37980E-05    .18926E-03
  19  Prefactor     .10000E-03    1.2992        .10377E-06** at limit **
  20  Prefactor     .10000E-03    .98888       -.96774E-08** at limit **
  21  Prefactor     .10000E-03    3.4083       -.33476E-07** at limit **
  22  norm          .10000E-03    4.4469        .46078E-07** at limit **
  23  Prefactor     .10000E-03    7.9582        .18782E-05** at limit **
  24  Prefactor     .10000E-03    9.2892       -.28645E-05** at limit **
  25  Prefactor     2.1858        6.1112       -.10398E-05   -.47944E-03
  26  Normalizat    1.0651        .16700        .12451E-05    .94859E-04
  27  Prefactor     .81618        .16676       -.17511E-06    .13726E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.805633
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.4374
  norm       = 0.0001
  Prefactor  = 6.16443
  Prefactor  = 24.7288
  Prefactor  = 0.000100001
  Prefactor  = 2.88876
  Prefactor  = 4.84307
  Prefactor  = 2.58718
  norm       = 0.0001
  Prefactor  = 4.84168
  norm       = 0.178514
  Prefactor  = 2.37169
  norm       = 7.00044
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.18578
  Normalizat = 1.06513
  Prefactor  = 0.816185
 **********
 **   18 **HESSE 
 **********

 FCN=   6105.037     FROM HESSE     STATUS=OK           492 CALLS     2896 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.5218        .28846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .80563        .50007        .42586E-04   -1.5528    
   3  Prefactor     .10000E-03    8.2643        .21207E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    .92638        .73136E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.768        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.437        11.516        .96533E-04   -1.4873    
   7  norm          .10000E-03    1.4997        .93364E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.1644        3.2055        .93615E-04   -1.5211    
   9  Prefactor     24.729        21.416        .80942E-04   -1.4713    
  10  Prefactor     .10000E-03    25.529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.8888        2.5031        .11152E-03   -1.5368    
  12  Prefactor     4.8431        54.539        .18285E-03   -1.5268    
  13  Prefactor     2.5872        3.1424        .14070E-03   -1.5386    
  14  norm          .10000E-03    1.3841        .14340E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.8417        18.716        .18330E-03   -1.5268    
  16  norm          .17851        .54924        .63745E-04   -1.5623    
  17  Prefactor     2.3717        3.7336        .11358E-03   -1.5400    
  18  norm          7.0004        9.7606        .15280E-03   -1.5179    
  19  Prefactor     .10000E-03    1.3380        .17315E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    .99227        .75867E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.4148        .14088E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    4.4519        .16092E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    7.9444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    9.2287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     2.1858        6.2532        .27862E-03   -1.5412    
  26  Normalizat    1.0651        .19322        .22003E-03   -.90879    
  27  Prefactor     .81618        .19157        .26017E-03   -.99134    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37254e-09
Minuit parameter uncertainties:
  1  5.09498e-05
  2  0.500076
  3  6.54023e-05
  4  5.42367e-07
  5  0.000134192
  6  11.5173
  7  1.13237e-07
  8  3.20554
  9  21.4228
  10  0.00026773
  11  2.5032
  12  32.5418
  13  3.14256
  14  8.42103e-06
  15  18.7388
  16  0.549251
  17  3.734
  18  9.76287
  19  1.30887e-05
  20  1.03708e-06
  21  9.36038e-07
  22  1.66046e-07
  23  5.28447e-05
  24  9.05512e-05
  25  6.25505
  26  0.193349
  27  0.191723
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  4.843e+00  3.254e+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.162e-01  1.917e-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.065e+00  1.933e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/53638/likelihoodResults_634089601_634348801_4FGL_J0910.8+3859_daily_bin1523.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) = 6105.03345358
delta logL = 0.00305204144843

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6105.03333999
delta logL = 0.00316564018976

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4494       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1318       1.0000          .0000       10.000    
     3 'Normalizat'    1.0645       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81626       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=   6105.033     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      260 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4310        55.076        .19090E-03    .26191E-03
   2  Index         2.1310        1.8330        .14256E-01    .13978E-03
   3  Normalizat    1.0646        .17706        .22007E-03    .32849E-03
   4  Prefactor     .81633        .18670        .26015E-03    .11646E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.43097
  Index      = 2.13099
  Normalizat = 1.06458
  Prefactor  = 0.816327
 **********
 **   18 **HESSE 
 **********

 FCN=   6105.033     FROM HESSE     STATUS=OK            23 CALLS      283 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4310        44.042        .76360E-05   -1.5287    
   2  Index         2.1310        1.6542        .57023E-03   -.61114    
   3  Normalizat    1.0646        .17718        .44015E-04   -.90897    
   4  Prefactor     .81633        .18675        .10406E-04   -.99129    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69976e-09
Minuit parameter uncertainties:
  1  27.9654
  2  1.70283
  3  0.177277
  4  0.186897
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53638': 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) = 6105.03333823
delta logL = 0.00316740047674

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  4.431e+00  2.797e+01  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  2.131e+00  1.703e+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:  8.163e-01  1.869e-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.065e+00  1.773e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
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/53638/cmap_HighResolution_634089601_634348801_4FGL_J0910.8+3859_daily_bin1523.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.06e-03', job_status='DONE', photon_flux_upper_limit='5.41e-08', time_completed='2021-08-31 03:09:06.217952', job_id='53638', GAL2='0.82', fit_tolerance='1e-08', EG2='1.06', EG='1.07', time_epoch_completed='1630404546.22', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='3.17e-03', ts2='0.03', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1523' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 03:09:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 53638: <4FGL_J0910.8+3859_daily_bin1523> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin1523 137.709 38.9999 634089601 634348801 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 :                                   766.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   786 sec.
    Turnaround time :                            789 sec.

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

