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


Performing analysis on: 4FGL_J0923.5+3852_daily_bin1465
RA = 140.885, Dec = 38.8743
tmin = 619056001, tmax = 619315201
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='202683', job_status='RUN', time_executed='2021-08-31 10:34:50.651353', time_epoch_executed='1630431290.65' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='1465'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/202683

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/202683/ft1_4FGL_J0923.5+3852_daily_bin1465.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/202683/ft2_4FGL_J0923.5+3852_daily_bin1465.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/202683/ft1_4FGL_J0923.5+3852_daily_bin1465.fits outfile=/scratch/kocevski/202683/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1465.fits ra=140.885 dec=38.8743 rad=12.0 tmin=619056001.0 tmax=619315201.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 2.82
user 2.57
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/202683/ft2_4FGL_J0923.5+3852_daily_bin1465.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/202683/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1465.fits evtable="EVENTS" outfile="/scratch/kocevski/202683/ft1_filtered_4FGL_J0923.5+3852_daily_bin1465.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 0.45
user 0.27
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/202683/ft1_filtered_4FGL_J0923.5+3852_daily_bin1465.fits" evtable="EVENTS" scfile=/scratch/kocevski/202683/ft2_4FGL_J0923.5+3852_daily_bin1465.fits sctable="SC_DATA" outfile=/scratch/kocevski/202683/ltcube_619056001_619315201_4FGL_J0923.5+3852_daily_bin1465.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/202683/ft2_4FGL_J0923.5+3852_daily_bin1465.fits
.....................!
real 9.37
user 9.07
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/202683/ft1_filtered_4FGL_J0923.5+3852_daily_bin1465.fits evtable="EVENTS" scfile=/scratch/kocevski/202683/ft2_4FGL_J0923.5+3852_daily_bin1465.fits sctable="SC_DATA" expcube=/scratch/kocevski/202683/ltcube_619056001_619315201_4FGL_J0923.5+3852_daily_bin1465.fits outfile=/scratch/kocevski/202683/expmap_619056001_619315201_4FGL_J0923.5+3852_daily_bin1465.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/202683/ltcube_619056001_619315201_4FGL_J0923.5+3852_daily_bin1465.fits
.....................!
real 142.99
user 139.16
sys 3.41

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/202683/ft1_filtered_4FGL_J0923.5+3852_daily_bin1465.fits scfile=/scratch/kocevski/202683/ft2_4FGL_J0923.5+3852_daily_bin1465.fits outfile=/scratch/kocevski/202683/cmap_619056001_619315201_4FGL_J0923.5+3852_daily_bin1465.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.10
user 0.31
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/202683/ft1_filtered_4FGL_J0923.5+3852_daily_bin1465.fits scfile=/scratch/kocevski/202683/ft2_4FGL_J0923.5+3852_daily_bin1465.fits outfile=/scratch/kocevski/202683/cmap_HighResolution_619056001_619315201_4FGL_J0923.5+3852_daily_bin1465.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 0.49
user 0.30
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/202683/ft1_filtered_4FGL_J0923.5+3852_daily_bin1465.fits', '/scratch/kocevski/202683/ft2_4FGL_J0923.5+3852_daily_bin1465.fits', expMap='/scratch/kocevski/202683/expmap_619056001_619315201_4FGL_J0923.5+3852_daily_bin1465.fits', expCube='/scratch/kocevski/202683/ltcube_619056001_619315201_4FGL_J0923.5+3852_daily_bin1465.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/202683/Model_4FGL_J0923.5+3852_daily_bin1465.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/202683/ft1_filtered_4FGL_J0923.5+3852_daily_bin1465.fits
Spacecraft file(s): /scratch/kocevski/202683/ft2_4FGL_J0923.5+3852_daily_bin1465.fits
Exposure map: /scratch/kocevski/202683/expmap_619056001_619315201_4FGL_J0923.5+3852_daily_bin1465.fits
Exposure cube: /scratch/kocevski/202683/ltcube_619056001_619315201_4FGL_J0923.5+3852_daily_bin1465.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/202683/Model_4FGL_J0923.5+3852_daily_bin1465.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) = 6127.5182668

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2455       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.6255       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10247E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .32052E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.8214       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.6823       1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.354       1.0000         .10000E-03   10000.    
    13 'norm      '    .51098       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.5801       1.0000         .10000E-03   10000.    
    15 'norm      '    19.227       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.9082       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.3767       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.243       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    29.971       1.0000         .10000E-03   10000.    
    22 'Prefactor '    105.07       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    11.550       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    17.538       1.0000         .10000E-03   10000.    
    27 'Prefactor '    12.761       1.0000         .10000E-03   10000.    
    28 'norm      '    21.393       1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.1028       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .86563       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=   6127.502     FROM MIGRAD    STATUS=CONVERGED    768 CALLS     4633 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2548        18.278        .89241E-06    .19800E-04
   2  Prefactor     .10000E-03    1.0955       -.17952E-06** at limit **
   3  Prefactor     2.5693        93.577       -.26774E-05   -.17700E-04
   4  Prefactor     .10000E-03    8.3973        .18049E-05** at limit **
   5  norm          .10000E-03    56.122        .34943E-05** at limit **
   6  Prefactor     .10000E-03    .77108       -.14797E-06** at limit **
   7  Prefactor     2.8500        189.14       -.61739E-05   -.14720E-04
   8  Prefactor     .10000E-03    1.7288        .87094E-07** at limit **
   9  Prefactor     .10000E-03    16.638       -.13453E-06** at limit **
  10  Prefactor     .10000E-03    2.4164        .88971E-06** at limit **
  11  norm          1.6823        1.5561       -.43858E-07   -.35813E-04
  12  Prefactor     26.362        22.529       -.52201E-07   -.12071E-03
  13  norm          .51088        .69920       -.68761E-06   -.17580E-02
  14  Prefactor     1.5804        4.7675        .11126E-05   -.35371E-03
  15  norm          19.227        11.389       -.15640E-06   -.16780E-03
  16  Prefactor     3.9086        2.7137       -.63357E-07   -.39106E-03
  17  Prefactor     4.3769        4.6514       -.46185E-06   -.64352E-04
  18  Prefactor     12.242        12.588       -.63468E-07    .29324E-04
  19  Prefactor     .10000E-03    21.663        .74927E-06** at limit **
  20  norm          .10000E-03    6.6651        .30241E-06** at limit **
  21  Prefactor     29.944        34.756        .11066E-05    .34494E-04
  22  Prefactor     105.11        58.266       -.21335E-05   -.10034E-03
  23  Prefactor     .10000E-03    4.1452       -.84901E-07** at limit **
  24  norm          11.550        13.291       -.22852E-06    .16522E-04
  25  Prefactor     .10000E-03    3.8553        .65697E-07** at limit **
  26  Prefactor     17.541        44.542       -.86549E-06   -.16680E-05
  27  Prefactor     12.762        6.6283       -.91400E-07    .20176E-04
  28  norm          21.391        17.261       -.88977E-07    .40147E-05
  29  Normalizat    1.1027        .19721        .21807E-05   -.24086E-03
  30  Prefactor     .86573        .18726       -.13050E-05    .25594E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.25479
  Prefactor  = 0.0001
  Prefactor  = 2.56929
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.84999
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 1.68231
  Prefactor  = 26.3616
  norm       = 0.510883
  Prefactor  = 1.58041
  norm       = 19.227
  Prefactor  = 3.90861
  Prefactor  = 4.37694
  Prefactor  = 12.2417
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 29.9443
  Prefactor  = 105.107
  Prefactor  = 0.0001
  norm       = 11.5505
  Prefactor  = 0.0001
  Prefactor  = 17.5405
  Prefactor  = 12.7619
  norm       = 21.3907
  Normalizat = 1.10266
  Prefactor  = 0.865733
 **********
 **   18 **HESSE 
 **********

 FCN=   6127.502     FROM HESSE     STATUS=OK           604 CALLS     5237 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2548        18.181        .14901E-03   -1.5169    
   2  Prefactor     .10000E-03    1.1018        .80012E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.5693        93.943        .25169E-03   -1.5387    
   4  Prefactor     .10000E-03    8.5117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    5.2837        .56843E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    .77495        .67048E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.8500        189.40        .24214E-03   -1.5370    
   8  Prefactor     .10000E-03    1.7435        .10046E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    16.648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.3976        .22223E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.6823        1.5413        .90390E-04   -1.5449    
  12  Prefactor     26.362        22.449        .78034E-04   -1.4681    
  13  norm          .51088        .71005        .52661E-03   -1.5565    
  14  Prefactor     1.5804        4.8196        .18543E-03   -1.5457    
  15  norm          19.227        11.390        .91342E-04   -1.4831    
  16  Prefactor     3.9086        2.6875        .99637E-04   -1.5313    
  17  Prefactor     4.3769        4.6391        .16376E-03   -1.5290    
  18  Prefactor     12.242        12.586        .11449E-03   -1.5008    
  19  Prefactor     .10000E-03    21.728        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    6.6679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     29.944        35.047        .73185E-04   -1.4613    
  22  Prefactor     105.11        58.624        .19615E-03   -1.3654    
  23  Prefactor     .10000E-03    4.1558        .15565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          11.550        13.302        .11788E-03   -1.5028    
  25  Prefactor     .10000E-03    3.9289        .29923E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     17.541        44.553        .95639E-04   -1.4870    
  27  Prefactor     12.762        6.6238        .11213E-03   -1.4993    
  28  norm          21.391        17.227        .86598E-04   -1.4783    
  29  Normalizat    1.1027        .22732        .24503E-03   -.89666    
  30  Prefactor     .86573        .21871        .28868E-03   -.97349    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.89658e-10
Minuit parameter uncertainties:
  1  18.1953
  2  4.77347e-06
  3  31.1242
  4  5.29105e-05
  5  6.82016e-05
  6  1.62047e-07
  7  46.6206
  8  2.427e-06
  9  2.42735e-05
  10  0.000197371
  11  1.54136
  12  22.4565
  13  0.710058
  14  4.82083
  15  11.3912
  16  2.68753
  17  4.63949
  18  12.5884
  19  4.49571e-05
  20  5.59964e-06
  21  35.0713
  22  58.6559
  23  6.99036e-06
  24  13.3051
  25  5.715e-06
  26  44.6372
  27  6.62419
  28  17.2309
  29  0.227518
  30  0.218935
Done.

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

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.923e+01  1.139e+01  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:  8.657e-01  2.189e-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:  1.103e+00  2.275e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.72
Ra Dec: 140.885 38.874
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 7.86e-08 +/- 4.66e-08
Energy Flux (Fixed Index): 2.09e-05 +/- 1.24e-05

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) = 6127.44814043
delta logL = 0.0543172046182

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6127.4445657
delta logL = 0.0578919263198

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.451       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8661       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0850       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87848       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.

 FCN=   6127.445     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      263 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.460        177.27        .23969E-02    .16260E-03
   2  alpha         2.8670        3.5546        .41723        .39337E-04
   3  Normalizat    1.0855        .11751        .55778E-01   -.57278E-04
   4  Prefactor     .87791        .80240E-01    .64868E-01   -.10634E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 17.4598
  alpha      = 2.86699
  Normalizat = 1.08551
  Prefactor  = 0.877908
 **********
 **   18 **HESSE 
 **********

 FCN=   6127.445     FROM HESSE     STATUS=OK            33 CALLS      296 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.460        11.885        .95877E-04   -1.4872    
   2  alpha         2.8670        .79620        .15474E-01    .14733    
   3  Normalizat    1.0855        .20648        .24664E-03   -.90218    
   4  Prefactor     .87791        .21265        .28692E-03   -.96917    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.46579e-11
Minuit parameter uncertainties:
  1  11.8864
  2  0.810636
  3  0.206631
  4  0.212848
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/202683': 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) = 6127.444558
delta logL = 0.0578996265785

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.746e+01  1.189e+01  1.000e-04  1.000e+04 ( 1.000e-12)
306        alpha:  2.867e+00  8.106e-01  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.779e-01  2.128e-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:  1.086e+00  2.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.92
Ra Dec: 140.885 38.874
Photon Index (Free Index): 2.87 +/- 0.81
Photon Flux (Free Index): 9.40e-08 +/- 6.73e-08
Energy Flux (Free Index): 2.16e-05 +/- 1.17e-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/202683/cmap_HighResolution_619056001_619315201_4FGL_J0923.5+3852_daily_bin1465.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.86e-08', energy_flux2='2.16e-05', photon_flux_error='4.66e-08', dlogl='5.79e-02', energy_flux='2.09e-05', photon_flux2='9.40e-08', job_status='DONE', time_completed='2021-08-31 10:47:29.267477', photon_index_error2='0.81', photon_index2='2.87', ts='5.72', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='1.17e-05', EG='1.10', time_epoch_completed='1630432049.27', return_code='0', job_id='202683', GAL2='0.88', EG2='1.09', return_code2='0', energy_flux_error='1.24e-05', photon_flux_error2='6.73e-08', ts2='5.92', photon_index='2.61' WHERE bin_id='1465' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 10:47:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 202683: <4FGL_J0923.5+3852_daily_bin1465> in cluster <slac> Done

Job <4FGL_J0923.5+3852_daily_bin1465> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 10:30:59 2021
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 10:31:00 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:31:00 2021
Terminated at Tue Aug 31 10:47:30 2021
Results reported at Tue Aug 31 10:47:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin1465 140.885 38.8743 619056001 619315201 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 :                                   632.43 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             246.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   989 sec.
    Turnaround time :                            991 sec.

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

