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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin1530
RA = 137.709, Dec = 38.9999
tmin = 635904001, tmax = 636163201
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='53645', job_status='RUN', time_executed='2021-08-31 02:57:19.322776', time_epoch_executed='1630403839.32' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='1530'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53645

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53645/ft1_4FGL_J0910.8+3859_daily_bin1530.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53645/ft2_4FGL_J0910.8+3859_daily_bin1530.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53645/ft1_4FGL_J0910.8+3859_daily_bin1530.fits outfile=/scratch/kocevski/53645/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1530.fits ra=137.709 dec=38.9999 rad=12.0 tmin=635904001.0 tmax=636163201.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 8.21
user 3.90
sys 4.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/53645/ft2_4FGL_J0910.8+3859_daily_bin1530.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/53645/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin1530.fits evtable="EVENTS" outfile="/scratch/kocevski/53645/ft1_filtered_4FGL_J0910.8+3859_daily_bin1530.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 4.50
user 0.32
sys 4.11

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53645/ft1_filtered_4FGL_J0910.8+3859_daily_bin1530.fits" evtable="EVENTS" scfile=/scratch/kocevski/53645/ft2_4FGL_J0910.8+3859_daily_bin1530.fits sctable="SC_DATA" outfile=/scratch/kocevski/53645/ltcube_635904001_636163201_4FGL_J0910.8+3859_daily_bin1530.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/53645/ft2_4FGL_J0910.8+3859_daily_bin1530.fits
.....................!
real 16.45
user 11.44
sys 4.92

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53645/ft1_filtered_4FGL_J0910.8+3859_daily_bin1530.fits evtable="EVENTS" scfile=/scratch/kocevski/53645/ft2_4FGL_J0910.8+3859_daily_bin1530.fits sctable="SC_DATA" expcube=/scratch/kocevski/53645/ltcube_635904001_636163201_4FGL_J0910.8+3859_daily_bin1530.fits outfile=/scratch/kocevski/53645/expmap_635904001_636163201_4FGL_J0910.8+3859_daily_bin1530.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/53645/ltcube_635904001_636163201_4FGL_J0910.8+3859_daily_bin1530.fits
.....................!
real 198.15
user 186.14
sys 11.19

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/53645/ft1_filtered_4FGL_J0910.8+3859_daily_bin1530.fits scfile=/scratch/kocevski/53645/ft2_4FGL_J0910.8+3859_daily_bin1530.fits outfile=/scratch/kocevski/53645/cmap_635904001_636163201_4FGL_J0910.8+3859_daily_bin1530.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 5.21
user 0.37
sys 4.07

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/53645/ft1_filtered_4FGL_J0910.8+3859_daily_bin1530.fits scfile=/scratch/kocevski/53645/ft2_4FGL_J0910.8+3859_daily_bin1530.fits outfile=/scratch/kocevski/53645/cmap_HighResolution_635904001_636163201_4FGL_J0910.8+3859_daily_bin1530.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 4.45
user 0.38
sys 4.01

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.686       1.0000         .10000E-03   10000.    
     2 'norm      '    .60730       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.1072       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11428E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.888       1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10323E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    27.919       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.0780       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.0524       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.0663       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.4813       1.0000         .10000E-03   10000.    
    18 'norm      '    .10616       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14249E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    23.044       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    10.594       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .63537       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0035       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=   5609.239     FROM MIGRAD    STATUS=CONVERGED    643 CALLS     3267 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.686        6.7539       -.44493E-06    .67753E-03
   2  norm          .60709        .54311        .53817E-07    .52001E-03
   3  Prefactor     .10000E-03    5.4989        .56944E-06** at limit **
   4  Prefactor     5.1066        2.7419        .28329E-07   -.31689E-03
   5  Prefactor     .10001E-03    33.247        .56621E-05** at limit **
   6  Prefactor     12.879        10.161       -.23347E-06   -.43670E-03
   7  norm          .10000E-03    2.0528       -.43467E-07** at limit **
   8  Prefactor     .10000E-03    1.1399       -.14662E-09** at limit **
   9  Prefactor     .10000E-03    31.241       -.39879E-05** at limit **
  10  Prefactor     27.915        42.678        .17919E-05    .99474E-04
  11  Prefactor     7.0780        3.5677       -.45756E-07   -.81340E-04
  12  Prefactor     .10000E-03    14.563        .53060E-06** at limit **
  13  Prefactor     .10000E-03    1.7766       -.25477E-07** at limit **
  14  norm          1.0524        1.1359        .98262E-09    .13636E-03
  15  Prefactor     .10000E-03    4.5135       -.54963E-07** at limit **
  16  norm          1.0667        .72111       -.67973E-07   -.13247E-02
  17  Prefactor     3.4800        4.3068        .91503E-07   -.51242E-04
  18  norm          .82241E-01    31.864        .11752E-04   -.17699E-03
  19  Prefactor     .10000E-03    1.0586       -.73742E-06** at limit **
  20  Prefactor     .10000E-03    1.1343       -.87905E-08** at limit **
  21  Prefactor     .10000E-03    2.5524       -.19313E-06** at limit **
  22  norm          .10000E-03    6.1148       -.39586E-06** at limit **
  23  Prefactor     23.044        19.972       -.14077E-06   -.56812E-04
  24  Prefactor     .10000E-03    14.683       -.72763E-07** at limit **
  25  Prefactor     10.597        8.6552       -.44216E-08   -.21784E-04
  26  Normalizat    .63539        .15122       -.59225E-06   -.15453E-03
  27  Prefactor     1.0034        .15867        .32270E-06   -.93960E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.6855
  norm       = 0.607089
  Prefactor  = 0.0001
  Prefactor  = 5.10665
  Prefactor  = 0.00010001
  Prefactor  = 12.8791
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 27.9154
  Prefactor  = 7.07803
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.05235
  Prefactor  = 0.0001
  norm       = 1.06671
  Prefactor  = 3.48005
  norm       = 0.0822413
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 23.044
  Prefactor  = 0.0001
  Prefactor  = 10.5969
  Normalizat = 0.635387
  Prefactor  = 1.00342
 **********
 **   18 **HESSE 
 **********

 FCN=   5609.239     FROM HESSE     STATUS=OK           490 CALLS     3757 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.686        6.9585        .61282E-03   -1.5054    
   2  norm          .60709        .51931        .48808E-03   -1.5552    
   3  Prefactor     .10000E-03    5.5362        .17173E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.1066        2.7381        .85899E-04   -1.5256    
   5  Prefactor     .10001E-03    35.145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.879        10.208        .11158E-03   -1.4990    
   7  norm          .10000E-03    2.0642        .10479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.1682        .15588E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    32.543        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     27.915        42.883        .75821E-04   -1.4651    
  11  Prefactor     7.0780        3.5676        .97007E-04   -1.5176    
  12  Prefactor     .10000E-03    14.585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.8434        .19449E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.0524        1.1203        .80693E-04   -1.5503    
  15  Prefactor     .10000E-03    4.5175        .15539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.0667        .80288        .34518E-04   -1.5501    
  17  Prefactor     3.4800        4.8441        .11021E-03   -1.5335    
  18  norm          .82241E-01    32.742        .28193E-02   -1.5651    
  19  Prefactor     .10000E-03    2.5473        .14376E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.1463        .77883E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.5566        .11691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    6.1254        .18094E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     23.044        20.007        .83443E-04   -1.4748    
  24  Prefactor     .10000E-03    14.702        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     10.597        8.6701        .12310E-03   -1.5057    
  26  Normalizat    .63539        .17261        .24691E-03   -1.0650    
  27  Prefactor     1.0034        .18262        .21955E-03   -.92615    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99461e-09
Minuit parameter uncertainties:
  1  6.95904
  2  0.519317
  3  5.76856e-05
  4  2.73819
  5  0.00119247
  6  10.2097
  7  7.27995e-06
  8  5.23917e-06
  9  0.000623514
  10  42.9308
  11  3.56773
  12  7.06514e-05
  13  7.72558e-06
  14  1.12034
  15  1.03125e-05
  16  0.802888
  17  4.84467
  18  3.28171
  19  0.000149943
  20  2.25833e-07
  21  1.33453e-05
  22  3.61609e-05
  23  20.0129
  24  9.23449e-06
  25  8.67108
  26  0.172755
  27  0.182736
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  7.065e-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:  1.003e+00  1.827e-01  0.000e+00  1.000e+01 ( 1.000e+00)
637        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
638        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
635   Normalization:  6.354e-01  1.728e-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.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/53645/likelihoodResults_635904001_636163201_4FGL_J0910.8+3859_daily_bin1530.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) = 5609.23913022
delta logL = -0.000326498264258

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5609.23880651
delta logL = -2.78502739093e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13187E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3389       1.0000          .0000       10.000    
     3 'Normalizat'    .63538       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0034       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=   5609.239     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      266 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10133E-03    59.813        .18142E-02** at limit **
   2  Index         2.2858        5.7257        .50000        .19093E-04
   3  Normalizat    .63539        .84814E-02    .24691E-03   -.19338E-05
   4  Prefactor     1.0034        .93661E-02    .21955E-03   -.56959E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010133
  Index      = 2.28579
  Normalizat = 0.635388
  Prefactor  = 1.00342
 **********
 **   18 **HESSE 
 **********

 FCN=   5609.239     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      295 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10133E-03    303.97        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2858        6.4600        .50000       -.57382    
   3  Normalizat    .63539        .19671E-01    .98766E-05   -1.0650    
   4  Prefactor     1.0034        .21717E-01    .87822E-05   -.92615    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.49904e-08
Minuit parameter uncertainties:
  1  0.0404187
  2  433.102
  3  0.0196709
  4  0.0217172
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53645': 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) = 5609.23880481
delta logL = -1.09462780529e-06

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.013e-04  4.042e-02  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  2.286e+00  4.331e+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:  1.003e+00  2.172e-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:  6.354e-01  1.967e-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/53645/cmap_HighResolution_635904001_636163201_4FGL_J0910.8+3859_daily_bin1530.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.98e-03', job_status='DONE', photon_flux_upper_limit='3.97e-08', time_completed='2021-08-31 03:11:13.230131', job_id='53645', GAL2='1.00', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1630404673.23', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-1.09e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1530' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 03:11:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 53645: <4FGL_J0910.8+3859_daily_bin1530> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin1530 137.709 38.9999 635904001 636163201 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 :                                   891.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             315.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            914 sec.

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

