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


Performing analysis on: 4FGL_J0923.5+3852_daily_bin1368
RA = 140.885, Dec = 38.8743
tmin = 593913601, tmax = 594172801
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='202545', job_status='RUN', time_executed='2021-08-31 10:31:00.997179', time_epoch_executed='1630431061.0' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='1368'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/202545

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/202545/ft1_4FGL_J0923.5+3852_daily_bin1368.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/202545/ft2_4FGL_J0923.5+3852_daily_bin1368.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/202545/ft1_4FGL_J0923.5+3852_daily_bin1368.fits outfile=/scratch/kocevski/202545/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1368.fits ra=140.885 dec=38.8743 rad=12.0 tmin=593913601.0 tmax=594172801.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.59
user 3.34
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/202545/ft1_filtered_4FGL_J0923.5+3852_daily_bin1368.fits" evtable="EVENTS" scfile=/scratch/kocevski/202545/ft2_4FGL_J0923.5+3852_daily_bin1368.fits sctable="SC_DATA" outfile=/scratch/kocevski/202545/ltcube_593913601_594172801_4FGL_J0923.5+3852_daily_bin1368.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/202545/ft2_4FGL_J0923.5+3852_daily_bin1368.fits
.....................!
real 11.87
user 11.49
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/202545/ft1_filtered_4FGL_J0923.5+3852_daily_bin1368.fits evtable="EVENTS" scfile=/scratch/kocevski/202545/ft2_4FGL_J0923.5+3852_daily_bin1368.fits sctable="SC_DATA" expcube=/scratch/kocevski/202545/ltcube_593913601_594172801_4FGL_J0923.5+3852_daily_bin1368.fits outfile=/scratch/kocevski/202545/expmap_593913601_594172801_4FGL_J0923.5+3852_daily_bin1368.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/202545/ltcube_593913601_594172801_4FGL_J0923.5+3852_daily_bin1368.fits
.....................!
real 190.65
user 185.79
sys 4.40

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/202545/ft1_filtered_4FGL_J0923.5+3852_daily_bin1368.fits scfile=/scratch/kocevski/202545/ft2_4FGL_J0923.5+3852_daily_bin1368.fits outfile=/scratch/kocevski/202545/cmap_593913601_594172801_4FGL_J0923.5+3852_daily_bin1368.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 0.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/202545/ft1_filtered_4FGL_J0923.5+3852_daily_bin1368.fits scfile=/scratch/kocevski/202545/ft2_4FGL_J0923.5+3852_daily_bin1368.fits outfile=/scratch/kocevski/202545/cmap_HighResolution_593913601_594172801_4FGL_J0923.5+3852_daily_bin1368.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.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5033       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.2220       1.0000         .10000E-03   10000.    
     3 'Prefactor '    68.867       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.1550       1.0000         .10000E-03   10000.    
     5 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.2056       1.0000         .10000E-03   10000.    
     7 'Prefactor '    89.941       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.445       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.8722       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .39892       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    14.840       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.1376       1.0000         .10000E-03   10000.    
    22 'Prefactor '    42.180       1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.2812       1.0000         .10000E-03   10000.    
    24 'norm      '    1.9874       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    24.103       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .89756       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.0177       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=   5444.751     FROM MIGRAD    STATUS=CONVERGED    745 CALLS     3903 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5081        30.353       -.49923E-06    .69008E-05
   2  Prefactor     5.2219        4.1646        .18656E-06    .18690E-03
   3  Prefactor     68.872        44.196       -.39013E-06    .19669E-04
   4  Prefactor     5.1530        13.928        .79106E-06    .58719E-04
   5  norm          .10000E-03    5.1556       -.15487E-07** at limit **
   6  Prefactor     2.2051        2.1284        .26894E-07    .10046E-04
   7  Prefactor     89.940        89.910        .29085E-06    .70101E-05
   8  Prefactor     .10000E-03    1.2593        .19410E-08** at limit **
   9  Prefactor     .10000E-03    15.609        .50475E-06** at limit **
  10  Prefactor     .10000E-03    1.6439        .29280E-06** at limit **
  11  norm          .10000E-03    .78499       -.18207E-08** at limit **
  12  Prefactor     15.447        15.243       -.10587E-06   -.48920E-04
  13  norm          .10000E-03    .21203        .14116E-08** at limit **
  14  Prefactor     3.8723        2.5364        .18636E-07    .87210E-04
  15  norm          .10000E-03    2.5576       -.46420E-08** at limit **
  16  Prefactor     .10000E-03    .57030       -.54894E-08** at limit **
  17  Prefactor     .40063        2.7498        .61033E-06   -.59582E-04
  18  Prefactor     .10000E-03    5.7168        .42287E-07** at limit **
  19  Prefactor     .10000E-03    16.172       -.29373E-06** at limit **
  20  norm          14.838        14.378        .64282E-06    .14425E-03
  21  Prefactor     3.1440        31.819       -.35787E-05   -.94217E-04
  22  Prefactor     42.167        37.222        .15603E-05    .68629E-04
  23  Prefactor     9.2814        8.3140        .24564E-06   -.22787E-04
  24  norm          1.9878        12.461        .80310E-05   -.84207E-04
  25  Prefactor     .10000E-03    1.6660       -.34046E-07** at limit **
  26  Prefactor     .10000E-03    32.363       -.44355E-06** at limit **
  27  Prefactor     .10000E-03    1.2463       -.21748E-07** at limit **
  28  norm          24.104        12.306       -.20281E-07    .62382E-05
  29  Normalizat    .89746        .17217        .47351E-06    .19165E-03
  30  Prefactor     1.0178        .18901       -.10976E-05    .24509E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.50812
  Prefactor  = 5.22194
  Prefactor  = 68.8718
  Prefactor  = 5.15297
  norm       = 0.0001
  Prefactor  = 2.20507
  Prefactor  = 89.9399
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.4466
  norm       = 0.0001
  Prefactor  = 3.87229
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.40063
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.8385
  Prefactor  = 3.144
  Prefactor  = 42.1668
  Prefactor  = 9.28145
  norm       = 1.98776
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 24.1042
  Normalizat = 0.89746
  Prefactor  = 1.01777
 **********
 **   18 **HESSE 
 **********

 FCN=   5444.751     FROM HESSE     STATUS=OK           588 CALLS     4491 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5081        29.299        .18973E-03   -1.5283    
   2  Prefactor     5.2219        4.1152        .10991E-03   -1.5251    
   3  Prefactor     68.872        43.685        .48369E-04   -1.4046    
   4  Prefactor     5.1530        13.842        .17707E-03   -1.5254    
   5  norm          .10000E-03    5.2287        .16357E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.2051        2.1163        .10086E-03   -1.5411    
   7  Prefactor     89.940        89.791        .42369E-04   -1.3808    
   8  Prefactor     .10000E-03    1.2669        .80847E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    15.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.6960        .18084E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .79945        .63777E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.447        15.193        .10191E-03   -1.4922    
  13  norm          .10000E-03    .21213        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.8723        2.5318        .89499E-04   -1.5314    
  15  norm          .10000E-03    2.5635        .11518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    .57390        .54386E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .40063        5.5681        .22913E-02   -1.5581    
  18  Prefactor     .10000E-03    5.7500        .17229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.305        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          14.838        14.367        .10397E-03   -1.4937    
  21  Prefactor     3.1440        32.272        .22886E-03   -1.5353    
  22  Prefactor     42.167        37.340        .61724E-04   -1.4408    
  23  Prefactor     9.2814        8.3241        .65775E-03   -1.5099    
  24  norm          1.9878        12.702        .14697E-02   -1.5426    
  25  Prefactor     .10000E-03    1.6932        .92969E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    32.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    1.2495        .80441E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          24.104        12.310        .81591E-04   -1.4726    
  29  Normalizat    .89746        .19929        .23499E-03   -.96549    
  30  Prefactor     1.0178        .21764        .25329E-03   -.92140    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74039e-08
Minuit parameter uncertainties:
  1  23.0018
  2  4.11545
  3  43.7057
  4  13.8509
  5  6.041e-06
  6  2.11639
  7  89.9266
  8  4.81365e-07
  9  8.71498e-06
  10  2.14669e-05
  11  3.82601e-07
  12  15.1966
  13  3.47957e-08
  14  2.53184
  15  1.07151e-06
  16  4.53472e-07
  17  2.98709
  18  1.06786e-05
  19  6.69307e-05
  20  14.3703
  21  20.1595
  22  37.3602
  23  8.32514
  24  10.0525
  25  3.29791e-06
  26  0.000188914
  27  1.96873e-06
  28  12.3117
  29  0.199454
  30  0.217832
Done.

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

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.000e-04  1.072e-06  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:  1.018e+00  2.178e-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.975e-01  1.995e-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: 4.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.32e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/202545/likelihoodResults_593913601_594172801_4FGL_J0923.5+3852_daily_bin1368.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) = 5444.75256451
delta logL = -0.00184874603838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5444.75071578
delta logL = -1.77806214197e-08

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5444.751     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      234 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.5938        .11518E-02** at limit **
   2  alpha         2.5298        3.7487        .16480       -.57946E-08
   3  Normalizat    .89746        .18482        .23499E-03   -.44993E-05
   4  Prefactor     1.0178        .21194        .25329E-03    .50720E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.52976
  Normalizat = 0.897458
  Prefactor  = 1.01777
 **********
 **   18 **HESSE 
 **********

 FCN=   5444.751     FROM HESSE     STATUS=OK            23 CALLS      257 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.5648        .23037E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.5298        3.6349        .65921E-02    .11905E-01
   3  Normalizat    .89746        .18497        .93995E-05   -.96550    
   4  Prefactor     1.0178        .21212        .10131E-04   -.92140    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29319e-12
Minuit parameter uncertainties:
  1  1.12033e-06
  2  552.546
  3  0.185102
  4  0.212296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/202545': 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) = 5444.75071575
delta logL = 8.92941898201e-09

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.000e-04  1.120e-06  1.000e-04  1.000e+04 ( 1.000e-12)
306        alpha:  2.530e+00  5.525e+02  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:  1.018e+00  2.123e-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.975e-01  1.851e-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/202545/cmap_HighResolution_593913601_594172801_4FGL_J0923.5+3852_daily_bin1368.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.32e-05', job_status='DONE', photon_flux_upper_limit='4.97e-08', time_completed='2021-08-31 10:45:11.172113', job_id='202545', GAL2='1.02', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1630431911.17', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='8.93e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1368' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 10:45:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 202545: <4FGL_J0923.5+3852_daily_bin1368> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin1368 140.885 38.8743 593913601 594172801 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 :                                   846.38 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             330.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   864 sec.
    Turnaround time :                            865 sec.

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

