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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin1202
RA = 137.709, Dec = 38.9999
tmin = 550886401, tmax = 551145601
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='51913', job_status='RUN', time_executed='2021-08-31 02:54:04.309964', time_epoch_executed='1630403644.31' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='1202'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/51913

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/51913/ft1_4FGL_J0910.8+3859_daily_bin1202.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/51913/ft2_4FGL_J0910.8+3859_daily_bin1202.fits


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

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

Done.
real 3.80
user 3.57
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/51913/ft1_filtered_4FGL_J0910.8+3859_daily_bin1202.fits" evtable="EVENTS" scfile=/scratch/kocevski/51913/ft2_4FGL_J0910.8+3859_daily_bin1202.fits sctable="SC_DATA" outfile=/scratch/kocevski/51913/ltcube_550886401_551145601_4FGL_J0910.8+3859_daily_bin1202.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/51913/ft2_4FGL_J0910.8+3859_daily_bin1202.fits
.....................!
real 11.62
user 11.27
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/51913/ft1_filtered_4FGL_J0910.8+3859_daily_bin1202.fits evtable="EVENTS" scfile=/scratch/kocevski/51913/ft2_4FGL_J0910.8+3859_daily_bin1202.fits sctable="SC_DATA" expcube=/scratch/kocevski/51913/ltcube_550886401_551145601_4FGL_J0910.8+3859_daily_bin1202.fits outfile=/scratch/kocevski/51913/expmap_550886401_551145601_4FGL_J0910.8+3859_daily_bin1202.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/51913/ltcube_550886401_551145601_4FGL_J0910.8+3859_daily_bin1202.fits
.....................!
real 188.98
user 184.43
sys 4.18

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/51913/ft1_filtered_4FGL_J0910.8+3859_daily_bin1202.fits scfile=/scratch/kocevski/51913/ft2_4FGL_J0910.8+3859_daily_bin1202.fits outfile=/scratch/kocevski/51913/cmap_550886401_551145601_4FGL_J0910.8+3859_daily_bin1202.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/51913/ft1_filtered_4FGL_J0910.8+3859_daily_bin1202.fits scfile=/scratch/kocevski/51913/ft2_4FGL_J0910.8+3859_daily_bin1202.fits outfile=/scratch/kocevski/51913/cmap_HighResolution_550886401_551145601_4FGL_J0910.8+3859_daily_bin1202.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.59
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.2120       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.2184       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .28242E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.139       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.2789       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.6855       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10662E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.2353       1.0000         .10000E-03   10000.    
    18 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .65641       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .22106E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    6.0128       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1339       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .76577       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=   3030.276     FROM MIGRAD    STATUS=CONVERGED    685 CALLS     3317 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.6783        .14512E-07** at limit **
   2  norm          1.2118        .84819        .54438E-08    .27992E-04
   3  Prefactor     .10000E-03    6.8621       -.17586E-06** at limit **
   4  Prefactor     .10000E-03    1.4392        .75440E-08** at limit **
   5  Prefactor     3.0723        152.96       -.66851E-06   -.11141E-04
   6  Prefactor     .10000E-03    53.406       -.11098E-06** at limit **
   7  norm          .10000E-03    27.085        .23521E-05** at limit **
   8  Prefactor     .10000E-03    2.2735       -.29655E-07** at limit **
   9  Prefactor     24.126        28.956        .83558E-06    .97617E-04
  10  Prefactor     .10000E-03    39.650        .32211E-05** at limit **
  11  Prefactor     3.2794        5.4829        .31119E-06    .14587E-04
  12  Prefactor     .10001E-03    32.948       -.49764E-05** at limit **
  13  Prefactor     .10000E-03    1.8297       -.25862E-07** at limit **
  14  norm          2.6850        2.1428       -.11771E-07    .39262E-04
  15  Prefactor     .10000E-03    14.425       -.25510E-06** at limit **
  16  norm          .10000E-03    .97692       -.35832E-06** at limit **
  17  Prefactor     5.2420        6.7481        .53509E-06    .14552E-03
  18  norm          .10000E-03    6.2815        .53370E-07** at limit **
  19  Prefactor     .65539        2.6685        .48491E-06   -.83473E-04
  20  Prefactor     .10000E-03    4.0507       -.15002E-06** at limit **
  21  Prefactor     .10000E-03    11.692       -.40303E-06** at limit **
  22  norm          .10000E-03    9.1819        .35874E-08** at limit **
  23  Prefactor     .10000E-03    13.504        .13282E-05** at limit **
  24  Prefactor     .10000E-03    14.636       -.82210E-06** at limit **
  25  Prefactor     6.0127        9.3864        .18053E-05   -.47501E-03
  26  Normalizat    1.1337        .24278       -.43381E-06    .87499E-04
  27  Prefactor     .76599        .22325       -.28766E-07    .40516E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.21183
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.07235
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 24.1265
  Prefactor  = 0.000100003
  Prefactor  = 3.27937
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  norm       = 2.68501
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.24198
  norm       = 0.0001
  Prefactor  = 0.655387
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.01266
  Normalizat = 1.13365
  Prefactor  = 0.765988
 **********
 **   18 **HESSE 
 **********

 FCN=   3030.276     FROM HESSE     STATUS=OK           482 CALLS     3799 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.6819        .10311E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2118        .85018        .40805E-04   -1.5488    
   3  Prefactor     .10000E-03    6.8713        .14085E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.4437        .64482E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.0723        151.64        .22582E-03   -1.5357    
   6  Prefactor     .10000E-03    55.161        .42830E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    28.348        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.2826        .81027E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     24.126        28.946        .81531E-04   -1.4725    
  10  Prefactor     .10000E-03    40.635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2794        5.4739        .15687E-03   -1.5346    
  12  Prefactor     .10001E-03    35.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.8337        .72693E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.6850        2.1210        .68821E-04   -1.5380    
  15  Prefactor     .10000E-03    14.449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.7623        .85826E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.2420        5.7729        .12902E-03   -1.5250    
  18  norm          .10000E-03    6.3130        .13472E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .65539        2.5936        .17145E-03   -1.5546    
  20  Prefactor     .10000E-03    19.248        .20579E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    11.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    9.1831        .16293E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    13.675        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    14.703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     6.0127        10.065        .81873E-03   -1.5218    
  26  Normalizat    1.1337        .27032        .22635E-03   -.88679    
  27  Prefactor     .76599        .25084        .26041E-03   -1.0099    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.94494e-10
Minuit parameter uncertainties:
  1  1.35713e-06
  2  0.850192
  3  1.37249e-05
  4  7.65389e-07
  5  43.2852
  6  8.56401e-05
  7  0.000342269
  8  2.14414e-07
  9  28.9624
  10  0.000680534
  11  5.47468
  12  0.000976514
  13  5.79978e-07
  14  2.12109
  15  3.12151e-05
  16  4.91589e-05
  17  5.77346
  18  4.00871e-06
  19  2.59403
  20  0.000145354
  21  4.41764e-05
  22  4.64206e-07
  23  0.000163344
  24  0.000104161
  25  10.0681
  26  0.270655
  27  0.251212
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  9.765e-04  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:  7.660e-01  2.512e-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.134e+00  2.707e-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: 8.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/51913/likelihoodResults_550886401_551145601_4FGL_J0910.8+3859_daily_bin1202.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) = 3030.276619
delta logL = -0.000134746981985

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3030.27648432
delta logL = -5.79807419854e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0630       1.0000          .0000       10.000    
     3 'Normalizat'    1.1336       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76599       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3030.276     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      230 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    34.630        .90712E-02** at limit **
   2  Index         2.0479        6.0172        .50000        .35420E-05
   3  Normalizat    1.1337        .22566        .36771E-01   -.16756E-05
   4  Prefactor     .76599        .21864        .43273E-01    .15288E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.04789
  Normalizat = 1.13365
  Prefactor  = 0.765988
 **********
 **   18 **HESSE 
 **********

 FCN=   3030.276     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      263 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7351.8        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0479        5.7021        .50000       -.63158    
   3  Normalizat    1.1337        .10496        .22635E-03   -.88679    
   4  Prefactor     .76599        .10166        .26041E-03   -1.0099    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.4925e-10
Minuit parameter uncertainties:
  1  0.00116082
  2  52.431
  3  0.104975
  4  0.101688
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/51913': 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): 102
logL (Free Index) = 3030.2764843
delta logL = -4.37985363533e-08

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  1.161e-03  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  2.048e+00  5.243e+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:  7.660e-01  1.017e-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.134e+00  1.050e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/51913/cmap_HighResolution_550886401_551145601_4FGL_J0910.8+3859_daily_bin1202.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.15e-03', job_status='DONE', photon_flux_upper_limit='8.20e-08', time_completed='2021-08-31 03:03:16.495711', job_id='51913', GAL2='0.77', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1630404196.5', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='-4.38e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1202' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 03:03:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 51913: <4FGL_J0910.8+3859_daily_bin1202> in cluster <slac> Done

Job <4FGL_J0910.8+3859_daily_bin1202> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 02:50:38 2021
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:50:39 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:50:39 2021
Terminated at Tue Aug 31 03:03:17 2021
Results reported at Tue Aug 31 03:03:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin1202 137.709 38.9999 550886401 551145601 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 :                                   548.11 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             233.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   757 sec.
    Turnaround time :                            759 sec.

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

