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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin1468
RA = 137.709, Dec = 38.9999
tmin = 619833601, tmax = 620092801
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='53555', job_status='RUN', time_executed='2021-08-31 02:56:07.454997', time_epoch_executed='1630403767.46' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='1468'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53555

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53555/ft1_4FGL_J0910.8+3859_daily_bin1468.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53555/ft2_4FGL_J0910.8+3859_daily_bin1468.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53555/ft1_4FGL_J0910.8+3859_daily_bin1468.fits outfile=/scratch/kocevski/53555/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1468.fits ra=137.709 dec=38.9999 rad=12.0 tmin=619833601.0 tmax=620092801.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.78
user 3.21
sys 0.41

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/53555/ft2_4FGL_J0910.8+3859_daily_bin1468.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/53555/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1468.fits evtable="EVENTS" outfile="/scratch/kocevski/53555/ft1_filtered_4FGL_J0910.8+3859_daily_bin1468.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.26
user 0.31
sys 0.39

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53555/ft1_filtered_4FGL_J0910.8+3859_daily_bin1468.fits" evtable="EVENTS" scfile=/scratch/kocevski/53555/ft2_4FGL_J0910.8+3859_daily_bin1468.fits sctable="SC_DATA" outfile=/scratch/kocevski/53555/ltcube_619833601_620092801_4FGL_J0910.8+3859_daily_bin1468.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/53555/ft2_4FGL_J0910.8+3859_daily_bin1468.fits
.....................!
real 12.67
user 11.80
sys 0.60

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53555/ft1_filtered_4FGL_J0910.8+3859_daily_bin1468.fits evtable="EVENTS" scfile=/scratch/kocevski/53555/ft2_4FGL_J0910.8+3859_daily_bin1468.fits sctable="SC_DATA" expcube=/scratch/kocevski/53555/ltcube_619833601_620092801_4FGL_J0910.8+3859_daily_bin1468.fits outfile=/scratch/kocevski/53555/expmap_619833601_620092801_4FGL_J0910.8+3859_daily_bin1468.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/53555/ltcube_619833601_620092801_4FGL_J0910.8+3859_daily_bin1468.fits
.....................!
real 191.25
user 185.55
sys 5.31

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/53555/ft1_filtered_4FGL_J0910.8+3859_daily_bin1468.fits scfile=/scratch/kocevski/53555/ft2_4FGL_J0910.8+3859_daily_bin1468.fits outfile=/scratch/kocevski/53555/cmap_619833601_620092801_4FGL_J0910.8+3859_daily_bin1468.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.75
user 0.37
sys 0.37

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/53555/ft1_filtered_4FGL_J0910.8+3859_daily_bin1468.fits scfile=/scratch/kocevski/53555/ft2_4FGL_J0910.8+3859_daily_bin1468.fits outfile=/scratch/kocevski/53555/cmap_HighResolution_619833601_620092801_4FGL_J0910.8+3859_daily_bin1468.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.75
user 0.38
sys 0.36

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6267       1.0000         .10000E-03   10000.    
     2 'norm      '    .83990       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.8885       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.7653       1.0000         .10000E-03   10000.    
     7 'norm      '    4.4778       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.846       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.5895       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.0608       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.3087       1.0000         .10000E-03   10000.    
    16 'norm      '    .12277       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.7477       1.0000         .10000E-03   10000.    
    18 'norm      '    .10076E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.4539       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.0322       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 '    .10017E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    10.938       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1398       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .71714       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=   5961.534     FROM MIGRAD    STATUS=CONVERGED    631 CALLS     3260 TOTAL
                     EDM=   .83E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6265        4.7130        .21125E-06    .36584E-05
   2  norm          .83987        .47430       -.20197E-07   -.14894E-03
   3  Prefactor     .10000E-03    2.5820       -.19105E-07** at limit **
   4  Prefactor     1.8884        1.7148        .37224E-08   -.20320E-04
   5  Prefactor     .10000E-03    8.6555        .62243E-07** at limit **
   6  Prefactor     7.7664        8.6121        .18348E-05    .42248E-04
   7  norm          4.4778        4.4122        .18819E-07    .67026E-05
   8  Prefactor     .10000E-03    1.0414       -.62099E-07** at limit **
   9  Prefactor     18.854        27.342        .43608E-06    .71751E-04
  10  Prefactor     .10000E-03    28.482       -.46542E-06** at limit **
  11  Prefactor     3.5899        3.5533        .58731E-07    .13997E-06
  12  Prefactor     .10000E-03    11.911       -.29038E-06** at limit **
  13  Prefactor     4.0607        3.3257        .65079E-07   -.27347E-03
  14  norm          .10000E-03    1.0185        .99955E-07** at limit **
  15  Prefactor     9.3133        14.066       -.43833E-07    .36367E-05
  16  norm          .12307        .57828        .22608E-06   -.79493E-03
  17  Prefactor     4.7449        4.3984        .20014E-07   -.39636E-03
  18  norm          .10000E-03    6.7188       -.12855E-06** at limit **
  19  Prefactor     2.4541        2.3078        .85363E-07   -.59888E-04
  20  Prefactor     .10000E-03    4.7606        .35986E-06** at limit **
  21  Prefactor     5.0314        12.397        .40116E-06   -.12424E-04
  22  norm          .10000E-03    5.1777       -.10706E-07** at limit **
  23  Prefactor     .10000E-03    7.1552        .17972E-07** at limit **
  24  Prefactor     .10000E-03    21.312        .56566E-06** at limit **
  25  Prefactor     10.940        10.441        .11319E-06    .61104E-05
  26  Normalizat    1.1396        .17083       -.12497E-06   -.71767E-04
  27  Prefactor     .71730        .16239       -.25612E-06   -.44370E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.62654
  norm       = 0.839871
  Prefactor  = 0.0001
  Prefactor  = 1.88837
  Prefactor  = 0.0001
  Prefactor  = 7.76642
  norm       = 4.47778
  Prefactor  = 0.0001
  Prefactor  = 18.8538
  Prefactor  = 0.0001
  Prefactor  = 3.58993
  Prefactor  = 0.0001
  Prefactor  = 4.06069
  norm       = 0.0001
  Prefactor  = 9.31333
  norm       = 0.12307
  Prefactor  = 4.74492
  norm       = 0.0001
  Prefactor  = 2.45407
  Prefactor  = 0.0001
  Prefactor  = 5.0314
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 10.9397
  Normalizat = 1.13965
  Prefactor  = 0.7173
 **********
 **   18 **HESSE 
 **********

 FCN=   5961.534     FROM HESSE     STATUS=OK           494 CALLS     3754 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6265        4.6997        .18375E-03   -1.5327    
   2  norm          .83987        .47142        .38374E-04   -1.5525    
   3  Prefactor     .10000E-03    2.5842        .12116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.8884        1.7139        .93271E-04   -1.5433    
   5  Prefactor     .10000E-03    8.6618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.7664        8.7337        .71949E-03   -1.5151    
   7  norm          4.4778        4.4116        .15624E-03   -1.5285    
   8  Prefactor     .10000E-03    1.0595        .76910E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.854        27.428        .92260E-04   -1.4839    
  10  Prefactor     .10000E-03    28.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.5899        3.5522        .13914E-03   -1.5329    
  12  Prefactor     .10000E-03    11.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.0607        3.3060        .11779E-03   -1.5305    
  14  norm          .10000E-03    1.0618        .15204E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.3133        14.052        .13136E-03   -1.5098    
  16  norm          .12307        .72171        .69065E-03   -1.5638    
  17  Prefactor     4.7449        4.3149        .93589E-04   -1.5272    
  18  norm          .10000E-03    6.7703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.4541        2.2892        .10590E-03   -1.5395    
  20  Prefactor     .10000E-03    4.9000        .32844E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.0314        12.407        .17926E-03   -1.5259    
  22  norm          .10000E-03    5.1830        .17159E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    7.1624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    21.434        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     10.940        10.461        .12114E-03   -1.5046    
  26  Normalizat    1.1396        .19789        .22124E-03   -.88489    
  27  Prefactor     .71730        .18655        .27334E-03   -1.0285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37646e-10
Minuit parameter uncertainties:
  1  4.70014
  2  0.471427
  3  1.44448e-06
  4  1.71394
  5  3.45584e-05
  6  8.7351
  7  4.41191
  8  1.8983e-06
  9  27.4465
  10  0.000233268
  11  3.55241
  12  9.37378e-05
  13  3.30619
  14  7.11016e-08
  15  14.0568
  16  0.595824
  17  4.31523
  18  2.6189e-05
  19  2.28927
  20  5.57694e-06
  21  12.4131
  22  4.11971e-06
  23  5.3104e-06
  24  0.000232612
  25  10.4627
  26  0.198023
  27  0.186709
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  9.374e-05  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.173e-01  1.867e-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.140e+00  1.980e-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: 3.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.86e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/53555/likelihoodResults_619833601_620092801_4FGL_J0910.8+3859_daily_bin1468.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) = 5961.53416457
delta logL = -0.000398016676627

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5961.53376668
delta logL = -1.29326508613e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9718       1.0000          .0000       10.000    
     3 'Normalizat'    1.1398       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71718       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=   5961.534     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      243 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10213E-03    127.40        .18142E-02** at limit **
   2  Index         1.8979        5.7308        .50000        .13004E-04
   3  Normalizat    1.1396        .13112E-01    .22124E-03    .37512E-05
   4  Prefactor     .71730        .13196E-01    .27334E-03    .50742E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102129
  Index      = 1.89792
  Normalizat = 1.13965
  Prefactor  = 0.7173
 **********
 **   18 **HESSE 
 **********

 FCN=   5961.534     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10213E-03    529.15        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8979        5.1362        .50000       -.66927    
   3  Normalizat    1.1396        .27892E-01    .88495E-05   -.88489    
   4  Prefactor     .71730        .28068E-01    .10934E-04   -1.0285    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.54322e-08
Minuit parameter uncertainties:
  1  0.0677394
  2  812.81
  3  0.0278922
  4  0.028069
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53555': 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) = 5961.53376627
delta logL = 2.82928340312e-07

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.021e-04  6.774e-02  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  1.898e+00  8.128e+02  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.173e-01  2.807e-02  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.140e+00  2.789e-02  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/53555/cmap_HighResolution_619833601_620092801_4FGL_J0910.8+3859_daily_bin1468.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.82e-08', time_completed='2021-08-31 03:09:21.893283', job_id='53555', GAL2='0.72', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1630404561.89', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='2.83e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1468' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 03:09:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 53555: <4FGL_J0910.8+3859_daily_bin1468> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin1468 137.709 38.9999 619833601 620092801 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 :                                   793.05 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             351.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            813 sec.

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

