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


Performing analysis on: 4FGL_J0910.8+3859_daily_bin59
RA = 137.709, Dec = 38.9999
tmin = 254620801, tmax = 254880001
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='45475', job_status='RUN', time_executed='2021-08-31 02:35:54.489025', time_epoch_executed='1630402554.49' WHERE source_name='4FGL J0910.8+3859' and cadence='daily' and bin_id='59'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/45475

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

Retrieving the FT1 file...

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

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

Retrieving 43 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/45475/ft1_4FGL_J0910.8+3859_daily_bin59.fits


Retrieving the FT1 file...

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

Retrieving 43 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/45475/ft2_4FGL_J0910.8+3859_daily_bin59.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/45475/ft1_4FGL_J0910.8+3859_daily_bin59.fits outfile=/scratch/kocevski/45475/ft1_filteredMKT_4FGL_J0910.8+3859_daily_bin59.fits ra=137.709 dec=38.9999 rad=12.0 tmin=254620801.0 tmax=254880001.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.66
user 1.13
sys 1.67

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/45475/ft1_filtered_4FGL_J0910.8+3859_daily_bin59.fits" evtable="EVENTS" scfile=/scratch/kocevski/45475/ft2_4FGL_J0910.8+3859_daily_bin59.fits sctable="SC_DATA" outfile=/scratch/kocevski/45475/ltcube_254620801_254880001_4FGL_J0910.8+3859_daily_bin59.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/45475/ft2_4FGL_J0910.8+3859_daily_bin59.fits
.....................!
real 13.61
user 11.29
sys 2.01

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/45475/ft1_filtered_4FGL_J0910.8+3859_daily_bin59.fits evtable="EVENTS" scfile=/scratch/kocevski/45475/ft2_4FGL_J0910.8+3859_daily_bin59.fits sctable="SC_DATA" expcube=/scratch/kocevski/45475/ltcube_254620801_254880001_4FGL_J0910.8+3859_daily_bin59.fits outfile=/scratch/kocevski/45475/expmap_254620801_254880001_4FGL_J0910.8+3859_daily_bin59.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/45475/ltcube_254620801_254880001_4FGL_J0910.8+3859_daily_bin59.fits
.....................!
real 192.92
user 185.13
sys 6.79

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/45475/ft1_filtered_4FGL_J0910.8+3859_daily_bin59.fits scfile=/scratch/kocevski/45475/ft2_4FGL_J0910.8+3859_daily_bin59.fits outfile=/scratch/kocevski/45475/cmap_254620801_254880001_4FGL_J0910.8+3859_daily_bin59.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 3.04
user 0.36
sys 1.61

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/45475/ft1_filtered_4FGL_J0910.8+3859_daily_bin59.fits scfile=/scratch/kocevski/45475/ft2_4FGL_J0910.8+3859_daily_bin59.fits outfile=/scratch/kocevski/45475/cmap_HighResolution_254620801_254880001_4FGL_J0910.8+3859_daily_bin59.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 2.93
user 0.39
sys 1.61

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    2.4222       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11242E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.857       1.0000         .10000E-03   10000.    
     7 'norm      '    5.4243       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.7006       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    95.296       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.5496       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .38233E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .78639E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10358E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.1502       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.4862       1.0000         .10000E-03   10000.    
    18 'norm      '    19.140       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.5749       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.2591       1.0000         .10000E-03   10000.    
    22 'norm      '    11.513       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .71608       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0973       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=   4388.139     FROM MIGRAD    STATUS=CONVERGED    657 CALLS     3310 TOTAL
                     EDM=   .23E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.7727        .10772E-09** at limit **
   2  norm          2.4220        .94284        .47342E-08   -.15112E-03
   3  Prefactor     .10000E-03    11.864        .16486E-06** at limit **
   4  Prefactor     .10000E-03    1.0834       -.76501E-08** at limit **
   5  Prefactor     .10000E-03    63.658        .26940E-05** at limit **
   6  Prefactor     15.853        18.719       -.33446E-06   -.60616E-04
   7  norm          5.4249        8.4614        .11727E-05   -.10507E-04
   8  Prefactor     3.7011        3.3386       -.69074E-07   -.26969E-04
   9  Prefactor     .10000E-03    38.834       -.25839E-05** at limit **
  10  Prefactor     95.284        91.812        .77279E-06   -.24703E-05
  11  Prefactor     1.5495        2.0749        .51612E-08   -.10501E-04
  12  Prefactor     .10000E-03    154.80        .57576E-05** at limit **
  13  Prefactor     .10000E-03    3.1686       -.62345E-07** at limit **
  14  norm          .73749E-01    1.1492       -.62157E-08   -.32144E-04
  15  Prefactor     .10000E-03    29.062        .30380E-05** at limit **
  16  norm          3.1504        1.3613       -.38604E-07   -.10511E-03
  17  Prefactor     2.4847        7.1118        .23575E-06   -.26699E-04
  18  norm          19.134        10.729       -.29063E-06   -.19814E-03
  19  Prefactor     .10000E-03    .95095       -.12323E-07** at limit **
  20  Prefactor     7.5771        4.9474        .27671E-06    .41085E-04
  21  Prefactor     3.2596        10.119        .27587E-05   -.44493E-05
  22  norm          11.512        17.372        .30618E-06    .30261E-04
  23  Prefactor     .10000E-03    16.187       -.58654E-06** at limit **
  24  Prefactor     .10000E-03    39.683       -.27176E-05** at limit **
  25  Prefactor     .10000E-03    4.1958       -.91593E-08** at limit **
  26  Normalizat    .71597        .19671        .16705E-06   -.41790E-04
  27  Prefactor     1.0974        .20158       -.64340E-06   -.33282E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.42199
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.8531
  norm       = 5.42492
  Prefactor  = 3.70106
  Prefactor  = 0.0001
  Prefactor  = 95.2841
  Prefactor  = 1.54952
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0737487
  Prefactor  = 0.0001
  norm       = 3.1504
  Prefactor  = 2.48467
  norm       = 19.1341
  Prefactor  = 0.0001
  Prefactor  = 7.57711
  Prefactor  = 3.25958
  norm       = 11.5118
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.715973
  Prefactor  = 1.09742
 **********
 **   18 **HESSE 
 **********

 FCN=   4388.139     FROM HESSE     STATUS=OK           490 CALLS     3800 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.7775        .10771E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.4220        .94198        .38390E-04   -1.5397    
   3  Prefactor     .10000E-03    11.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.0968        .67314E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    64.086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.853        18.701        .10058E-03   -1.4911    
   7  norm          5.4249        8.4559        .86267E-03   -1.5242    
   8  Prefactor     3.7011        3.3239        .10838E-03   -1.5323    
   9  Prefactor     .10000E-03    39.258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     95.284        91.822        .41173E-04   -1.3753    
  11  Prefactor     1.5495        2.0572        .10751E-03   -1.5459    
  12  Prefactor     .10000E-03    157.80        .42568E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.2581        .22976E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .73749E-01    6.1788        .13661E-02   -1.5654    
  15  Prefactor     .10000E-03    29.187        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.1504        1.4571        .31164E-04   -1.5353    
  17  Prefactor     2.4847        7.6039        .17838E-03   -1.5393    
  18  norm          19.134        10.789        .91549E-04   -1.4833    
  19  Prefactor     .10000E-03    .95456        .63022E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.5771        4.9661        .11341E-03   -1.5157    
  21  Prefactor     3.2596        10.115        .11217E-02   -1.5347    
  22  norm          11.512        17.361        .11807E-03   -1.5029    
  23  Prefactor     .10000E-03    16.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    39.770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    4.2072        .13251E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .71597        .23160        .27183E-03   -1.0327    
  27  Prefactor     1.0974        .23854        .23917E-03   -.89549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74001e-08
Minuit parameter uncertainties:
  1  1.88256e-07
  2  0.941987
  3  3.32715e-07
  4  1.39708e-07
  5  2.4232e-06
  6  18.7074
  7  8.45777
  8  3.32403
  9  2.64778e-05
  10  91.9596
  11  2.05727
  12  0.00070548
  13  1.44816e-06
  14  1.34931
  15  4.21943e-05
  16  1.45713
  17  7.60687
  18  10.7906
  19  5.31315e-08
  20  4.96639
  21  10.1204
  22  17.3683
  23  2.40216e-06
  24  3.26778e-05
  25  3.55998e-07
  26  0.231921
  27  0.238773
Done.

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

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  7.055e-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:  1.097e+00  2.388e-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:  7.160e-01  2.319e-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: 6.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/45475/likelihoodResults_254620801_254880001_4FGL_J0910.8+3859_daily_bin59.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) = 4388.1393686
delta logL = -3.00903720927e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4388.13933857
delta logL = -6.63594619255e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9634       1.0000          .0000       10.000    
     3 'Normalizat'    .71598       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0974       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=   4388.139     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      264 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10027E-03    7.9168        .13421    ** at limit **
   2  Index         2.0757        1.9079        .50000       -.78358E-05
   3  Normalizat    .71597        .23528E-02    .61450E-01    .37129E-04
   4  Prefactor     1.0974        .25280E-02    .54095E-01   -.66795E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100272
  Index      = 2.07574
  Normalizat = 0.715974
  Prefactor  = 1.09742
 **********
 **   18 **HESSE 
 **********

 FCN=   4388.139     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      301 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10027E-03    6877.1        .74839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0757        8.9548        .50000       -.62470    
   3  Normalizat    .71597        .20334E-01    .27183E-03   -1.0327    
   4  Prefactor     1.0974        .21868E-01    .23917E-03   -.89549    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.28489e-08
Minuit parameter uncertainties:
  1  0.0687785
  2  16.8891
  3  0.0203343
  4  0.0218687
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/45475': 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) = 4388.13933837
delta logL = 1.42345925269e-07

Extracting fit parameters...

4FGL J0910.8+3859
   Spectrum: PowerLaw
318    Prefactor:  1.003e-04  6.878e-02  1.000e-04  1.000e+04 ( 1.000e-14)
319        Index:  2.076e+00  1.689e+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:  1.097e+00  2.187e-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:  7.160e-01  2.033e-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/45475/cmap_HighResolution_254620801_254880001_4FGL_J0910.8+3859_daily_bin59.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.98e-03', job_status='DONE', photon_flux_upper_limit='6.65e-08', time_completed='2021-08-31 02:47:31.284234', job_id='45475', GAL2='1.10', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1630403251.28', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.42e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='59' AND source_name='4FGL J0910.8+3859' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:47:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 45475: <4FGL_J0910.8+3859_daily_bin59> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.8+3859_daily_bin59 137.709 38.9999 254620801 254880001 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 :                                   708.29 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             255.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   965 sec.
    Turnaround time :                            966 sec.

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

