/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 47 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 = 7455
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0923.5+3852_daily_bin1507
RA = 140.885, Dec = 38.8743
tmin = 629942401, tmax = 630201601
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='202736', job_status='RUN', time_executed='2021-08-31 10:32:11.150737', time_epoch_executed='1630431131.15' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='1507'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/202736

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/202736/ft1_4FGL_J0923.5+3852_daily_bin1507.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/202736/ft2_4FGL_J0923.5+3852_daily_bin1507.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/202736/ft1_4FGL_J0923.5+3852_daily_bin1507.fits outfile=/scratch/kocevski/202736/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1507.fits ra=140.885 dec=38.8743 rad=12.0 tmin=629942401.0 tmax=630201601.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.91
user 4.46
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/202736/ft1_filtered_4FGL_J0923.5+3852_daily_bin1507.fits" evtable="EVENTS" scfile=/scratch/kocevski/202736/ft2_4FGL_J0923.5+3852_daily_bin1507.fits sctable="SC_DATA" outfile=/scratch/kocevski/202736/ltcube_629942401_630201601_4FGL_J0923.5+3852_daily_bin1507.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/202736/ft2_4FGL_J0923.5+3852_daily_bin1507.fits
.....................!
real 11.70
user 11.30
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/202736/ft1_filtered_4FGL_J0923.5+3852_daily_bin1507.fits evtable="EVENTS" scfile=/scratch/kocevski/202736/ft2_4FGL_J0923.5+3852_daily_bin1507.fits sctable="SC_DATA" expcube=/scratch/kocevski/202736/ltcube_629942401_630201601_4FGL_J0923.5+3852_daily_bin1507.fits outfile=/scratch/kocevski/202736/expmap_629942401_630201601_4FGL_J0923.5+3852_daily_bin1507.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/202736/ltcube_629942401_630201601_4FGL_J0923.5+3852_daily_bin1507.fits
.....................!
real 190.93
user 186.43
sys 4.10

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/202736/ft1_filtered_4FGL_J0923.5+3852_daily_bin1507.fits scfile=/scratch/kocevski/202736/ft2_4FGL_J0923.5+3852_daily_bin1507.fits outfile=/scratch/kocevski/202736/cmap_629942401_630201601_4FGL_J0923.5+3852_daily_bin1507.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.66
user 0.38
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16261E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10919E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    21.074       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11738E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    8.4876       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.9546       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11146E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.4627       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .63204E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10984E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.6634       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.8685       1.0000         .10000E-03   10000.    
    13 'norm      '    .17074       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.4932       1.0000         .10000E-03   10000.    
    15 'norm      '    .10439E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.0109       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.2283       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.4067       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.8728       1.0000         .10000E-03   10000.    
    20 'norm      '    .11398E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .38494E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .44074E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .11814E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .12039E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.3844       1.0000         .10000E-03   10000.    
    26 'Prefactor '    31.177       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10306E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .96415       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .80882       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=   5576.940     FROM MIGRAD    STATUS=CONVERGED    780 CALLS     3878 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.3844       -.12577E-05** at limit **
   2  Prefactor     .10000E-03    1.2304        .38251E-07** at limit **
   3  Prefactor     21.131        21.103       -.15559E-04   -.36257E-04
   4  Prefactor     .10000E-03    5.0837        .21021E-05** at limit **
   5  norm          8.4651        5.6729        .60588E-06    .48481E-04
   6  Prefactor     1.9542        1.5942       -.84424E-07    .13311E-03
   7  Prefactor     .10000E-03    38.057       -.16190E-04** at limit **
   8  Prefactor     2.4492        3.7052       -.72695E-06   -.56708E-03
   9  Prefactor     .10000E-03    45.362        .23847E-04** at limit **
  10  Prefactor     .10000E-03    .79116        .18505E-06** at limit **
  11  norm          1.6642        1.4722       -.94781E-07   -.16227E-04
  12  Prefactor     7.8913        12.440       -.10570E-04   -.32055E-03
  13  norm          .16983        .99355       -.70777E-06   -.18399E-02
  14  Prefactor     2.4995        5.1594        .52316E-06   -.67807E-04
  15  norm          .10000E-03    3.4637        .13414E-05** at limit **
  16  Prefactor     3.0077        1.9036        .14836E-06   -.26379E-03
  17  Prefactor     2.2220        3.3344       -.65304E-06   -.53870E-03
  18  Prefactor     4.4120        5.2768        .31706E-06    .78907E-03
  19  Prefactor     4.8714        9.9618       -.60658E-06   -.61333E-04
  20  norm          .10000E-03    4.1094       -.86200E-06** at limit **
  21  Prefactor     .10000E-03    42.936        .37842E-04** at limit **
  22  Prefactor     .10000E-03    26.906       -.56475E-05** at limit **
  23  Prefactor     .10000E-03    4.1968       -.34791E-06** at limit **
  24  norm          .10000E-03    3.8376        .12743E-05** at limit **
  25  Prefactor     1.3727        2.4868       -.47680E-06   -.56451E-03
  26  Prefactor     30.955        34.358       -.80440E-05   -.15785E-04
  27  Prefactor     .10000E-03    1.4688       -.22424E-07** at limit **
  28  norm          .10000E-03    3.5432       -.15359E-05** at limit **
  29  Normalizat    .96467        .15624        .27184E-05   -.30586E-03
  30  Prefactor     .80844        .16902        .15906E-05   -.74300E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.1312
  Prefactor  = 0.000100001
  norm       = 8.46506
  Prefactor  = 1.95415
  Prefactor  = 0.0001
  Prefactor  = 2.44922
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 1.66422
  Prefactor  = 7.89126
  norm       = 0.169831
  Prefactor  = 2.49949
  norm       = 0.0001
  Prefactor  = 3.00773
  Prefactor  = 2.22199
  Prefactor  = 4.41203
  Prefactor  = 4.87143
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.3727
  Prefactor  = 30.9554
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.964668
  Prefactor  = 0.808439
 **********
 **   18 **HESSE 
 **********

 FCN=   5576.940     FROM HESSE     STATUS=OK           590 CALLS     4468 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.4178        .16917E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.2833        .16171E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     21.131        21.054        .87250E-04   -1.4788    
   4  Prefactor     .10000E-03    5.1376        .16461E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          8.4651        5.6705        .13760E-03   -1.5126    
   6  Prefactor     1.9542        1.5848        .82161E-04   -1.5428    
   7  Prefactor     .10000E-03    38.064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.4492        3.6944        .16849E-03   -1.5395    
   9  Prefactor     .10000E-03    46.301        .21036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.1865        .12836E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.6642        1.4691        .82110E-04   -1.5450    
  12  Prefactor     7.8913        12.504        .14294E-03   -1.5146    
  13  norm          .16983        .96628        .65576E-03   -1.5626    
  14  Prefactor     2.4995        4.5126        .10731E-03   -1.5392    
  15  norm          .10000E-03    3.4822        .13570E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.0077        1.8946        .77664E-04   -1.5361    
  17  Prefactor     2.2220        3.3203        .15892E-03   -1.5410    
  18  Prefactor     4.4120        5.2815        .91375E-03   -1.5288    
  19  Prefactor     4.8714        9.9496        .18222E-03   -1.5267    
  20  norm          .10000E-03    4.1105        .14786E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    42.909        .21281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    27.016        .21219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    4.2233        .14938E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    3.8457        .14285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.3727        2.4522        .15291E-03   -1.5474    
  26  Prefactor     30.955        34.532        .71759E-04   -1.4595    
  27  Prefactor     .10000E-03    1.4728        .88309E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    3.5450        .13722E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .96467        .18370        .20858E-03   -.94224    
  30  Prefactor     .80844        .19749        .25469E-03   -.99418    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44523e-09
Minuit parameter uncertainties:
  1  3.92757e-05
  2  4.89076e-06
  3  21.0618
  4  0.00013934
  5  5.67082
  6  1.58483
  7  4.19425e-05
  8  3.69473
  9  0.000745639
  10  2.0135e-05
  11  1.46912
  12  12.5086
  13  0.809978
  14  4.51318
  15  4.85758e-05
  16  1.89464
  17  3.32056
  18  5.28201
  19  9.95294
  20  5.757e-06
  21  0.000544256
  22  0.000103899
  23  1.19372e-05
  24  8.11864e-06
  25  2.45241
  26  34.5542
  27  8.01169e-07
  28  1.22561e-05
  29  0.183819
  30  0.197667
Done.

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

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.000e-04  4.858e-05  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.084e-01  1.977e-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.647e-01  1.838e-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: 5.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.50e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/202736/likelihoodResults_629942401_630201601_4FGL_J0923.5+3852_daily_bin1507.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) = 5576.94104781
delta logL = -0.00136778731576

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5576.93968006
delta logL = -4.44724719273e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6184       1.0000          .0000       5.0000    
     3 'Normalizat'    .96466       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80847       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=   5576.940     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      191 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.5842        .90712E-02** at limit **
   2  alpha         2.6279        3.5903        .41210       -.13661E-04
   3  Normalizat    .96467        .14573        .45723E-01    .43909E-05
   4  Prefactor     .80844        .16507        .43827E-01    .89990E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.62789
  Normalizat = 0.96467
  Prefactor  = 0.808437
 **********
 **   18 **HESSE 
 **********

 FCN=   5576.940     FROM HESSE     STATUS=OK            33 CALLS      224 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.5064        .13617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6279        3.5803        .50000        .51178E-01
   3  Normalizat    .96467        .16815        .20858E-03   -.94224    
   4  Prefactor     .80844        .19048        .25469E-03   -.99418    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.86975e-10
Minuit parameter uncertainties:
  1  5.98335e-06
  2  2.49817
  3  0.168244
  4  0.190631
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/202736': 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) = 5576.93967992
delta logL = 1.03424099507e-07

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.000e-04  5.983e-06  1.000e-04  1.000e+04 ( 1.000e-12)
306        alpha:  2.628e+00  2.498e+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.084e-01  1.906e-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.647e-01  1.682e-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/202736/cmap_HighResolution_629942401_630201601_4FGL_J0923.5+3852_daily_bin1507.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.50e-05', job_status='DONE', photon_flux_upper_limit='5.65e-08', time_completed='2021-08-31 10:46:46.921323', job_id='202736', GAL2='0.81', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1630432006.92', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='1.03e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1507' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 10:46:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 202736: <4FGL_J0923.5+3852_daily_bin1507> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin1507 140.885 38.8743 629942401 630201601 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 :                                   854.29 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             306.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   942 sec.
    Turnaround time :                            943 sec.

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

