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


Performing analysis on: 4FGL_J0923.5+3852_daily_bin467
RA = 140.885, Dec = 38.8743
tmin = 360374401, tmax = 360633601
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='193059', job_status='RUN', time_executed='2021-08-31 10:06:16.499765', time_epoch_executed='1630429576.5' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='467'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193059

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193059/ft1_4FGL_J0923.5+3852_daily_bin467.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193059/ft2_4FGL_J0923.5+3852_daily_bin467.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193059/ft1_4FGL_J0923.5+3852_daily_bin467.fits outfile=/scratch/kocevski/193059/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin467.fits ra=140.885 dec=38.8743 rad=12.0 tmin=360374401.0 tmax=360633601.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 4.65
user 3.12
sys 1.34

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/193059/ft2_4FGL_J0923.5+3852_daily_bin467.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/193059/ft2_4FGL_J0923.5+3852_daily_bin467.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/193059/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin467.fits evtable="EVENTS" outfile="/scratch/kocevski/193059/ft1_filtered_4FGL_J0923.5+3852_daily_bin467.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.69
user 0.33
sys 1.30

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/193059/ft1_filtered_4FGL_J0923.5+3852_daily_bin467.fits" evtable="EVENTS" scfile=/scratch/kocevski/193059/ft2_4FGL_J0923.5+3852_daily_bin467.fits sctable="SC_DATA" outfile=/scratch/kocevski/193059/ltcube_360374401_360633601_4FGL_J0923.5+3852_daily_bin467.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/193059/ft2_4FGL_J0923.5+3852_daily_bin467.fits
.....................!
real 13.46
user 11.68
sys 1.64

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/193059/ft1_filtered_4FGL_J0923.5+3852_daily_bin467.fits evtable="EVENTS" scfile=/scratch/kocevski/193059/ft2_4FGL_J0923.5+3852_daily_bin467.fits sctable="SC_DATA" expcube=/scratch/kocevski/193059/ltcube_360374401_360633601_4FGL_J0923.5+3852_daily_bin467.fits outfile=/scratch/kocevski/193059/expmap_360374401_360633601_4FGL_J0923.5+3852_daily_bin467.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/193059/ltcube_360374401_360633601_4FGL_J0923.5+3852_daily_bin467.fits
.....................!
real 191.98
user 185.32
sys 5.93

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 J0923.5+3852 @ 140.885 38.8743

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/193059/ft1_filtered_4FGL_J0923.5+3852_daily_bin467.fits scfile=/scratch/kocevski/193059/ft2_4FGL_J0923.5+3852_daily_bin467.fits outfile=/scratch/kocevski/193059/cmap_360374401_360633601_4FGL_J0923.5+3852_daily_bin467.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=140.885 yref=38.8743 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.67
user 0.37
sys 1.27

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/193059/ft1_filtered_4FGL_J0923.5+3852_daily_bin467.fits scfile=/scratch/kocevski/193059/ft2_4FGL_J0923.5+3852_daily_bin467.fits outfile=/scratch/kocevski/193059/cmap_HighResolution_360374401_360633601_4FGL_J0923.5+3852_daily_bin467.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=140.885 yref=38.8743 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.65
user 0.38
sys 1.26

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/193059/ft1_filtered_4FGL_J0923.5+3852_daily_bin467.fits evtable="EVENTS" scfile=/scratch/kocevski/193059/ft2_4FGL_J0923.5+3852_daily_bin467.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/193059/Model_4FGL_J0923.5+3852_daily_bin467.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/193059/ft1_filtered_4FGL_J0923.5+3852_daily_bin467.fits.....................!
real 45.30
user 42.29
sys 2.66

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/193059/ft1_filtered_4FGL_J0923.5+3852_daily_bin467.fits', '/scratch/kocevski/193059/ft2_4FGL_J0923.5+3852_daily_bin467.fits', expMap='/scratch/kocevski/193059/expmap_360374401_360633601_4FGL_J0923.5+3852_daily_bin467.fits', expCube='/scratch/kocevski/193059/ltcube_360374401_360633601_4FGL_J0923.5+3852_daily_bin467.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/193059/Model_4FGL_J0923.5+3852_daily_bin467.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0923.5+3852'

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  3.377e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
306        alpha:  2.609e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  2.149e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.637e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/193059/ft1_filtered_4FGL_J0923.5+3852_daily_bin467.fits
Spacecraft file(s): /scratch/kocevski/193059/ft2_4FGL_J0923.5+3852_daily_bin467.fits
Exposure map: /scratch/kocevski/193059/expmap_360374401_360633601_4FGL_J0923.5+3852_daily_bin467.fits
Exposure cube: /scratch/kocevski/193059/ltcube_360374401_360633601_4FGL_J0923.5+3852_daily_bin467.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/193059/Model_4FGL_J0923.5+3852_daily_bin467.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) = 4862.0988771

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.5140       1.0000         .10000E-03   10000.    
     3 'Prefactor '    48.952       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.6925       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13379E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    81.699       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.2203       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.8209       1.0000         .10000E-03   10000.    
    11 'norm      '    .51233       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .38033       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .29130E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.3385       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.4582       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    36.667       1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.4110       1.0000         .10000E-03   10000.    
    24 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    3.5443       1.0000         .10000E-03   10000.    
    26 'Prefactor '    23.382       1.0000         .10000E-03   10000.    
    27 'Prefactor '    2.4927       1.0000         .10000E-03   10000.    
    28 'norm      '    .11660E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .91553       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .77100       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4862.090     FROM MIGRAD    STATUS=CONVERGED    753 CALLS     3910 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.0999       -.83909E-07** at limit **
   2  Prefactor     2.5144        2.6001        .16712E-06    .13775E-03
   3  Prefactor     48.941        29.107       -.14965E-05   -.34628E-03
   4  Prefactor     .10000E-03    5.6306       -.24739E-06** at limit **
   5  norm          4.6924        4.5800       -.94512E-07   -.21991E-04
   6  Prefactor     .10000E-03    1.5537        .19077E-06** at limit **
   7  Prefactor     81.696        66.430       -.55218E-06   -.26698E-04
   8  Prefactor     7.2198        4.1909       -.45876E-07   -.33660E-04
   9  Prefactor     .10000E-03    23.514        .26928E-07** at limit **
  10  Prefactor     1.8199        2.3114        .26642E-05   -.13124E-02
  11  norm          .51328        1.4267        .56445E-06   -.21257E-03
  12  Prefactor     .10000E-03    13.164        .13625E-06** at limit **
  13  norm          .38024        .32676       -.52864E-07   -.51650E-03
  14  Prefactor     .10000E-03    1.2104       -.24159E-07** at limit **
  15  norm          .10002E-03    5.1765       -.11161E-06** at limit **
  16  Prefactor     1.3361        1.8966       -.36764E-06   -.26258E-03
  17  Prefactor     .10000E-03    1.6878        .98518E-07** at limit **
  18  Prefactor     .10000E-03    2.4299       -.53739E-08** at limit **
  19  Prefactor     .10000E-03    11.732       -.27491E-06** at limit **
  20  norm          1.4676        17.477        .21975E-05   -.18455E-04
  21  Prefactor     .10000E-03    9.0922       -.41513E-06** at limit **
  22  Prefactor     36.643        32.695       -.42896E-05   -.63906E-03
  23  Prefactor     6.4103        7.4476        .17480E-05   -.35463E-03
  24  norm          .10000E-03    6.4897        .30511E-06** at limit **
  25  Prefactor     3.5440        3.7162        .13648E-06    .39380E-03
  26  Prefactor     23.361        36.125       -.41965E-05   -.36499E-03
  27  Prefactor     2.4925        3.8172        .32266E-06    .31843E-03
  28  norm          .10000E-03    8.7996       -.82001E-06** at limit **
  29  Normalizat    .91584        .16733        .25278E-05   -.26215E-03
  30  Prefactor     .77058        .17797       -.33376E-05    .89811E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.51435
  Prefactor  = 48.9412
  Prefactor  = 0.0001
  norm       = 4.69241
  Prefactor  = 0.0001
  Prefactor  = 81.6956
  Prefactor  = 7.21979
  Prefactor  = 0.0001
  Prefactor  = 1.81985
  norm       = 0.513284
  Prefactor  = 0.0001
  norm       = 0.380239
  Prefactor  = 0.0001
  norm       = 0.000100015
  Prefactor  = 1.33606
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.46762
  Prefactor  = 0.0001
  Prefactor  = 36.6429
  Prefactor  = 6.41029
  norm       = 0.0001
  Prefactor  = 3.54396
  Prefactor  = 23.3615
  Prefactor  = 2.49247
  norm       = 0.0001
  Normalizat = 0.915839
  Prefactor  = 0.770582
 **********
 **   18 **HESSE 
 **********

 FCN=   4862.090     FROM HESSE     STATUS=OK           584 CALLS     4494 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.1125        .16815E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.5144        2.5872        .10995E-03   -1.5391    
   3  Prefactor     48.941        29.330        .57314E-04   -1.4308    
   4  Prefactor     .10000E-03    5.6496        .16148E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.6924        4.5760        .14312E-03   -1.5275    
   6  Prefactor     .10000E-03    2.6477        .16626E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     81.696        66.075        .44437E-04   -1.3898    
   8  Prefactor     7.2198        4.1912        .10432E-03   -1.5171    
   9  Prefactor     .10000E-03    23.566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.8199        2.3832        .58954E-03   -1.5438    
  11  norm          .51328        1.4084        .13311E-03   -1.5565    
  12  Prefactor     .10000E-03    13.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .38024        .31784        .35375E-04   -1.5585    
  14  Prefactor     .10000E-03    1.2325        .14876E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10002E-03    26.434        .29402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.3361        1.8267        .10626E-03   -1.5477    
  17  Prefactor     .10000E-03    1.7228        .88360E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.4307        .10616E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.800        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.4676        17.400        .35643E-03   -1.5466    
  21  Prefactor     .10000E-03    9.0934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     36.643        33.774        .66186E-04   -1.4497    
  23  Prefactor     6.4103        7.4845        .79258E-03   -1.5202    
  24  norm          .10000E-03    6.5163        .17349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     3.5440        3.7019        .12168E-03   -1.5331    
  26  Prefactor     23.361        36.961        .82837E-04   -1.4741    
  27  Prefactor     2.4925        3.7941        .14999E-03   -1.5392    
  28  norm          .10000E-03    8.8550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .91584        .18997        .20984E-03   -.95906    
  30  Prefactor     .77058        .20273        .25486E-03   -1.0082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.63796e-09
Minuit parameter uncertainties:
  1  1.02681e-06
  2  2.58733
  3  29.339
  4  4.06009e-06
  5  4.57637
  6  4.51994e-05
  7  66.1344
  8  4.19137
  9  2.82785e-05
  10  2.38333
  11  1.40852
  12  1.30943e-05
  13  0.317841
  14  3.8455e-06
  15  0.00126973
  16  1.82673
  17  6.70317e-06
  18  2.61038e-06
  19  7.9438e-05
  20  10.1102
  21  2.31522e-06
  22  33.7914
  23  7.48562
  24  2.40042e-05
  25  3.70212
  26  36.9969
  27  3.79447
  28  9.6211e-05
  29  0.190113
  30  0.202929
Done.

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

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.000e-04  1.270e-03  1.000e-04  1.000e+04 ( 1.000e-12)
306        alpha:  2.609e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  2.149e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.637e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  7.706e-01  2.029e-01  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  9.158e-01  1.901e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 140.885 38.874
Photon Flux Upper Limit: 7.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.11e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/193059/likelihoodResults_360374401_360633601_4FGL_J0923.5+3852_daily_bin467.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) = 4862.09010815
delta logL = -0.000179508250767

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4862.08992833
delta logL = 3.10888935928e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17954E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7305       1.0000          .0000       5.0000    
     3 'Normalizat'    .91603       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77039       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4861.844     FROM MIGRAD    STATUS=CONVERGED    119 CALLS      280 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 98.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41031        .61586        .53774E-08    .13482E-02
   2  alpha         4.9386        .68702        .53055E-04    .37431E-05
   3  Normalizat    .87208        .15981        .39575E-07    .66076E-03
   4  Prefactor     .80001        .17505       -.22709E-06    .66592E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.41031
  alpha      = 4.93862
  Normalizat = 0.872084
  Prefactor  = 0.800011
 **********
 **   18 **HESSE 
 **********

 FCN=   4861.844     FROM HESSE     STATUS=OK            27 CALLS      307 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41031        1.7073        .36285E-04   -1.5580    
   2  alpha         4.9386        3.0662        .11721E-01    1.3487    
   3  Normalizat    .87208        .18581        .21446E-03   -.97448    
   4  Prefactor     .80001        .20291        .25062E-03   -.99728    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.75446e-10
Minuit parameter uncertainties:
  1  1.6738
  2  2.77497
  3  0.185949
  4  0.203099
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193059': 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) = 4861.84356715
delta logL = 0.246361498376

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  4.103e-01  1.674e+00  1.000e-04  1.000e+04 ( 1.000e-12)
306        alpha:  4.939e+00  2.775e+00  0.000e+00  5.000e+00 ( 1.000e+00)
307         beta:  2.149e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.637e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  8.000e-01  2.031e-01  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  8.721e-01  1.859e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 140.885 38.874

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/193059/cmap_HighResolution_360374401_360633601_4FGL_J0923.5+3852_daily_bin467.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.11e-05', job_status='DONE', photon_flux_upper_limit='7.93e-08', time_completed='2021-08-31 10:19:54.947712', job_id='193059', GAL2='0.80', fit_tolerance='1e-08', EG2='0.87', EG='0.92', time_epoch_completed='1630430394.95', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='2.46e-01', ts2='0.53', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='467' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 10:19:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 193059: <4FGL_J0923.5+3852_daily_bin467> in cluster <slac> Done

Job <4FGL_J0923.5+3852_daily_bin467> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Aug 31 10:05:41 2021
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 10:05:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 10:05:43 2021
Terminated at Tue Aug 31 10:19:55 2021
Results reported at Tue Aug 31 10:19:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin467 140.885 38.8743 360374401 360633601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0923.5+3852 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   831.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             294.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   852 sec.
    Turnaround time :                            854 sec.

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

