/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 129 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 = 7393
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0910.8+3859_daily_bin75
RA = 137.709, Dec = 38.9999
tmin = 258768001, tmax = 259027201
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='46545', job_status='RUN', time_executed='2021-08-31 02:38:22.683288', time_epoch_executed='1630402702.68' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='75'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/46545

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/46545/ft1_4FGL_J0910.8+3859_daily_bin75.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/46545/ft2_4FGL_J0910.8+3859_daily_bin75.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/46545/ft1_4FGL_J0910.8+3859_daily_bin75.fits outfile=/scratch/kocevski/46545/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin75.fits ra=137.709 dec=38.9999 rad=12.0 tmin=258768001.0 tmax=259027201.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 1.96
user 0.96
sys 0.55

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/46545/ft1_filtered_4FGL_J0910.8+3859_daily_bin75.fits" evtable="EVENTS" scfile=/scratch/kocevski/46545/ft2_4FGL_J0910.8+3859_daily_bin75.fits sctable="SC_DATA" outfile=/scratch/kocevski/46545/ltcube_258768001_259027201_4FGL_J0910.8+3859_daily_bin75.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/46545/ft2_4FGL_J0910.8+3859_daily_bin75.fits
.....................!
real 9.53
user 8.32
sys 0.82

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/46545/ft1_filtered_4FGL_J0910.8+3859_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/46545/ft2_4FGL_J0910.8+3859_daily_bin75.fits sctable="SC_DATA" expcube=/scratch/kocevski/46545/ltcube_258768001_259027201_4FGL_J0910.8+3859_daily_bin75.fits outfile=/scratch/kocevski/46545/expmap_258768001_259027201_4FGL_J0910.8+3859_daily_bin75.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/46545/ltcube_258768001_259027201_4FGL_J0910.8+3859_daily_bin75.fits
.....................!
real 193.32
user 185.73
sys 4.62

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/46545/ft1_filtered_4FGL_J0910.8+3859_daily_bin75.fits scfile=/scratch/kocevski/46545/ft2_4FGL_J0910.8+3859_daily_bin75.fits outfile=/scratch/kocevski/46545/cmap_258768001_259027201_4FGL_J0910.8+3859_daily_bin75.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.95
user 0.37
sys 0.54

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/46545/ft1_filtered_4FGL_J0910.8+3859_daily_bin75.fits scfile=/scratch/kocevski/46545/ft2_4FGL_J0910.8+3859_daily_bin75.fits outfile=/scratch/kocevski/46545/cmap_HighResolution_258768001_259027201_4FGL_J0910.8+3859_daily_bin75.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=137.709 yref=38.9999 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.04
user 0.40
sys 0.53

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28792       1.0000         .10000E-03   10000.    
     2 'norm      '    2.4716       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.3933       1.0000         .10000E-03   10000.    
     5 'Prefactor '    55.795       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    23.773       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .31693       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.0325       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.0641       1.0000         .10000E-03   10000.    
    12 'Prefactor '    52.423       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11383E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .14293E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.372       1.0000         .10000E-03   10000.    
    18 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.6291       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    69.496       1.0000         .10000E-03   10000.    
    25 'Prefactor '    12.648       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .98939       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .85540       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=   3508.581     FROM MIGRAD    STATUS=CONVERGED    641 CALLS     3290 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .29112        13.360        .11022E-05   -.36172E-03
   2  norm          2.4714        1.0071       -.24799E-07    .63262E-04
   3  Prefactor     .10000E-03    17.189       -.13387E-04** at limit **
   4  Prefactor     6.3927        3.9321        .45723E-06    .15703E-03
   5  Prefactor     55.798        32.899        .29137E-05    .52170E-04
   6  Prefactor     .10000E-03    7.8596       -.23170E-05** at limit **
   7  norm          23.764        12.635        .58186E-06    .11421E-03
   8  Prefactor     .33186        3.0524       -.52053E-06   -.19972E-05
   9  Prefactor     3.0340        27.065        .14919E-05   -.61945E-04
  10  Prefactor     .10000E-03    38.447       -.50569E-05** at limit **
  11  Prefactor     3.0649        5.5722       -.23491E-06   -.34282E-03
  12  Prefactor     52.441        60.736        .22820E-04   -.31224E-04
  13  Prefactor     .10000E-03    4.5027       -.22240E-05** at limit **
  14  norm          .10000E-03    .82855        .34366E-07** at limit **
  15  Prefactor     .10000E-03    21.368        .94763E-05** at limit **
  16  norm          .10000E-03    .72920       -.16484E-06** at limit **
  17  Prefactor     13.369        6.5262        .50253E-06    .64073E-03
  18  norm          .10000E-03    4.8913        .19741E-05** at limit **
  19  Prefactor     2.6302        3.3266       -.40938E-06   -.22955E-03
  20  Prefactor     .10000E-03    1.9551        .15623E-07** at limit **
  21  Prefactor     .10000E-03    7.8876       -.22700E-05** at limit **
  22  norm          .10000E-03    8.7741        .58293E-05** at limit **
  23  Prefactor     .10000E-03    20.185        .53096E-05** at limit **
  24  Prefactor     69.490        52.060       -.56303E-05   -.30030E-04
  25  Prefactor     12.650        18.314        .16019E-05   -.31702E-04
  26  Normalizat    .98917        .24024       -.18382E-05    .11859E-03
  27  Prefactor     .85554        .22458       -.83593E-06    .66534E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.291122
  norm       = 2.4714
  Prefactor  = 0.0001
  Prefactor  = 6.3927
  Prefactor  = 55.7984
  Prefactor  = 0.0001
  norm       = 23.7643
  Prefactor  = 0.331858
  Prefactor  = 3.03399
  Prefactor  = 0.0001
  Prefactor  = 3.0649
  Prefactor  = 52.4415
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 13.3687
  norm       = 0.0001
  Prefactor  = 2.63017
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 69.4897
  Prefactor  = 12.65
  Normalizat = 0.989173
  Prefactor  = 0.855544
 **********
 **   18 **HESSE 
 **********

 FCN=   3508.581     FROM HESSE     STATUS=OK           492 CALLS     3782 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .29112        94.186        .38695E-02   -1.5600    
   2  norm          2.4714        1.0126        .35183E-04   -1.5394    
   3  Prefactor     .10000E-03    17.342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.3927        3.9396        .86647E-04   -1.5202    
   5  Prefactor     55.798        32.934        .26851E-03   -1.4213    
   6  Prefactor     .10000E-03    7.8937        .16219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          23.764        12.642        .82155E-04   -1.4733    
   8  Prefactor     .33186        13.624        .18474E-02   -1.5593    
   9  Prefactor     3.0340        27.026        .23302E-03   -1.5360    
  10  Prefactor     .10000E-03    38.449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.0649        5.5753        .17813E-03   -1.5358    
  12  Prefactor     52.441        60.320        .55394E-04   -1.4258    
  13  Prefactor     .10000E-03    4.7218        .24563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .83426        .52649E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    21.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.4631        .81423E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     13.369        5.5627        .80675E-04   -1.4977    
  18  norm          .10000E-03    4.8930        .12780E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.6302        3.3090        .11453E-03   -1.5384    
  20  Prefactor     .10000E-03    1.9652        .80872E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.8937        .16248E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    8.7840        .17144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    20.253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     69.490        52.475        .48151E-04   -1.4039    
  25  Prefactor     12.650        18.389        .11263E-03   -1.4996    
  26  Normalizat    .98917        .27468        .24949E-03   -.93394    
  27  Prefactor     .85554        .25454        .27026E-03   -.97712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22733e-08
Minuit parameter uncertainties:
  1  10.4876
  2  1.01262
  3  2.3132e-05
  4  3.93975
  5  32.9452
  6  9.88186e-06
  7  12.6436
  8  4.2531
  9  18.1209
  10  4.20284e-06
  11  5.57622
  12  60.3907
  13  9.99276e-05
  14  1.12396e-06
  15  0.000547762
  16  2.28193e-05
  17  5.56295
  18  2.65709e-05
  19  3.30923
  20  2.72257e-06
  21  4.01995e-06
  22  1.08101e-05
  23  6.26123e-05
  24  52.5103
  25  18.3972
  26  0.275074
  27  0.254897
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  5.244e+01  6.039e+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.555e-01  2.549e-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:  9.892e-01  2.751e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.15
Ra Dec: 137.709 39.000
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 3.09e-08 +/- 3.55e-08
Energy Flux (Fixed Index): 2.15e-05 +/- 2.48e-05

TS (Fixed Index): 1.15
Ra Dec: 137.709 39.000
Photon Flux Upper Limit: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/46545/likelihoodResults_258768001_259027201_4FGL_J0910.8+3859_daily_bin75.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) = 3508.18671937
delta logL = 0.393834506599

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3508.18387629
delta logL = 0.39667758391

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.952       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7010       1.0000          .0000       10.000    
     3 'Normalizat'    .95230       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87408       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=   3508.184     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      296 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.948        52.744        .89669E-04   -.24349E-03
   2  Index         2.7017        1.1315        .37721E-02   -.20530E-03
   3  Normalizat    .95197        .25143        .25362E-03    .22906E-04
   4  Prefactor     .87411        .25084        .26754E-03   -.34207E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.9478
  Index      = 2.70171
  Normalizat = 0.951968
  Prefactor  = 0.874106
 **********
 **   18 **HESSE 
 **********

 FCN=   3508.184     FROM HESSE     STATUS=OK            25 CALLS      321 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.948        39.512        .35867E-05   -1.4814    
   2  Index         2.7017        .85001        .15088E-03   -.47761    
   3  Normalizat    .95197        .25012        .10145E-04   -.94657    
   4  Prefactor     .87411        .25003        .10702E-04   -.97052    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.80439e-10
Minuit parameter uncertainties:
  1  39.5643
  2  0.855284
  3  0.250429
  4  0.250357
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/46545': 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) = 3508.18387294
delta logL = 0.39668093834

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.995e+01  3.956e+01  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  2.702e+00  8.553e-01  0.000e+00  1.000e+01 (-1.000e+00)
320        Scale:  2.436e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
636    Prefactor:  8.741e-01  2.504e-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:  9.520e-01  2.504e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.96
Ra Dec: 137.709 39.000
Photon Index (Free Index): 2.70 +/- 0.86
Photon Flux (Free Index): 6.55e-08 +/- 6.44e-08
Energy Flux (Free Index): 1.57e-05 +/- 1.42e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.92e-03', comment='SUCCESS', photon_flux='3.09e-08', energy_flux2='1.57e-05', photon_flux_error='3.55e-08', dlogl='3.97e-01', energy_flux='2.15e-05', photon_flux2='6.55e-08', job_status='DONE', time_completed='2021-08-31 02:48:24.722289', photon_index_error2='0.86', photon_index2='2.70', ts='1.15', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='1.19e-07', energy_flux_error2='1.42e-05', EG='0.99', time_epoch_completed='1630403304.72', return_code='0', job_id='46545', GAL2='0.87', EG2='0.95', return_code2='0', energy_flux_error='2.48e-05', photon_flux_error2='6.44e-08', ts2='1.96', photon_index='2.00' WHERE bin_id='75' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:48:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 46545: <4FGL_J0910.8+3859_daily_bin75> in cluster <slac> Done

Job <4FGL_J0910.8+3859_daily_bin75> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 02:35:21 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:35:23 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:35:23 2021
Terminated at Tue Aug 31 02:48:25 2021
Results reported at Tue Aug 31 02:48:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin75 137.709 38.9999 258768001 259027201 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 :                                   603.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             238.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            784 sec.

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

