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


Performing analysis on: 4FGL_J0923.5+3852_daily_bin832
RA = 140.885, Dec = 38.8743
tmin = 454982401, tmax = 455241601
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='196585', job_status='RUN', time_executed='2021-08-31 10:16:38.852185', time_epoch_executed='1630430198.85' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='832'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/196585

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/196585/ft1_4FGL_J0923.5+3852_daily_bin832.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/196585/ft2_4FGL_J0923.5+3852_daily_bin832.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/196585/ft1_4FGL_J0923.5+3852_daily_bin832.fits outfile=/scratch/kocevski/196585/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin832.fits ra=140.885 dec=38.8743 rad=12.0 tmin=454982401.0 tmax=455241601.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.25
user 3.21
sys 0.83

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/196585/ft1_filtered_4FGL_J0923.5+3852_daily_bin832.fits" evtable="EVENTS" scfile=/scratch/kocevski/196585/ft2_4FGL_J0923.5+3852_daily_bin832.fits sctable="SC_DATA" outfile=/scratch/kocevski/196585/ltcube_454982401_455241601_4FGL_J0923.5+3852_daily_bin832.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/196585/ft2_4FGL_J0923.5+3852_daily_bin832.fits
.....................!
real 12.68
user 11.50
sys 1.00

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/196585/ft1_filtered_4FGL_J0923.5+3852_daily_bin832.fits evtable="EVENTS" scfile=/scratch/kocevski/196585/ft2_4FGL_J0923.5+3852_daily_bin832.fits sctable="SC_DATA" expcube=/scratch/kocevski/196585/ltcube_454982401_455241601_4FGL_J0923.5+3852_daily_bin832.fits outfile=/scratch/kocevski/196585/expmap_454982401_455241601_4FGL_J0923.5+3852_daily_bin832.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/196585/ltcube_454982401_455241601_4FGL_J0923.5+3852_daily_bin832.fits
.....................!
real 192.87
user 185.86
sys 4.96

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/196585/ft1_filtered_4FGL_J0923.5+3852_daily_bin832.fits scfile=/scratch/kocevski/196585/ft2_4FGL_J0923.5+3852_daily_bin832.fits outfile=/scratch/kocevski/196585/cmap_454982401_455241601_4FGL_J0923.5+3852_daily_bin832.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.27
user 0.38
sys 0.74

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/196585/ft1_filtered_4FGL_J0923.5+3852_daily_bin832.fits scfile=/scratch/kocevski/196585/ft2_4FGL_J0923.5+3852_daily_bin832.fits outfile=/scratch/kocevski/196585/cmap_HighResolution_454982401_455241601_4FGL_J0923.5+3852_daily_bin832.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.28
user 0.39
sys 0.72

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1646       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12352E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.542       1.0000         .10000E-03   10000.    
     5 'norm      '    12.408       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12272E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13033E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10385E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.2564       1.0000         .10000E-03   10000.    
    11 'norm      '    .10087E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.831       1.0000         .10000E-03   10000.    
    13 'norm      '    .40784       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .90289       1.0000         .10000E-03   10000.    
    15 'norm      '    .10930E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .86533       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.7192       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.9941       1.0000         .10000E-03   10000.    
    20 'norm      '    .10347E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.738       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .13031E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.5186       1.0000         .10000E-03   10000.    
    24 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    5.7906       1.0000         .10000E-03   10000.    
    28 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.0321       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1955       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=   6112.133     FROM MIGRAD    STATUS=CONVERGED    799 CALLS     3989 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1281        27.649        .91750E-06    .20130E-05
   2  Prefactor     .10000E-03    1.9601       -.40176E-08** at limit **
   3  Prefactor     .10000E-03    124.21       -.15906E-05** at limit **
   4  Prefactor     11.539        9.6746        .27126E-09   -.28998E-05
   5  norm          12.407        7.7790        .55008E-07   -.13940E-03
   6  Prefactor     .10002E-03    1.4958        .46834E-06** at limit **
   7  Prefactor     .10001E-03    20.092        .22193E-05** at limit **
   8  Prefactor     .10002E-03    3.2914       -.18191E-05** at limit **
   9  Prefactor     .10000E-03    69.821        .16601E-05** at limit **
  10  Prefactor     1.2549        2.1946        .10820E-06   -.83973E-04
  11  norm          .10000E-03    .77702        .11974E-06** at limit **
  12  Prefactor     10.839        19.859        .36000E-06   -.12533E-05
  13  norm          .40695        .70368       -.74801E-06   -.24661E-02
  14  Prefactor     .91109        6.6721        .36623E-05   -.36501E-03
  15  norm          .10000E-03    8.6329        .19996E-06** at limit **
  16  Prefactor     .86869        2.0172       -.10425E-06   -.44252E-03
  17  Prefactor     .10000E-03    4.1076        .14625E-06** at limit **
  18  Prefactor     5.7196        7.7776        .94100E-08   -.46218E-04
  19  Prefactor     5.9931        19.791       -.24920E-06   -.34660E-04
  20  norm          .10000E-03    5.8362       -.10977E-06** at limit **
  21  Prefactor     13.683        25.929       -.17637E-05   -.15517E-03
  22  Prefactor     .10000E-03    23.450       -.21967E-05** at limit **
  23  Prefactor     6.5196        8.0513        .17815E-06    .34729E-06
  24  norm          .10000E-03    2.8999        .43763E-08** at limit **
  25  Prefactor     .10000E-03    2.3131       -.16957E-06** at limit **
  26  Prefactor     .10000E-03    14.036       -.53999E-06** at limit **
  27  Prefactor     5.7938        4.5640       -.32720E-06   -.74097E-03
  28  norm          .10000E-03    6.9039        .65149E-06** at limit **
  29  Normalizat    1.0316        .18801       -.44167E-06   -.96866E-04
  30  Prefactor     1.1961        .19687       -.54993E-06   -.94763E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.12808
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 11.539
  norm       = 12.4072
  Prefactor  = 0.000100015
  Prefactor  = 0.000100006
  Prefactor  = 0.000100024
  Prefactor  = 0.000100003
  Prefactor  = 1.25493
  norm       = 0.0001
  Prefactor  = 10.8385
  norm       = 0.40695
  Prefactor  = 0.911094
  norm       = 0.0001
  Prefactor  = 0.868688
  Prefactor  = 0.0001
  Prefactor  = 5.71958
  Prefactor  = 5.99306
  norm       = 0.0001
  Prefactor  = 13.6831
  Prefactor  = 0.000100005
  Prefactor  = 6.51963
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.7938
  norm       = 0.0001
  Normalizat = 1.03159
  Prefactor  = 1.19612
 **********
 **   18 **HESSE 
 **********

 FCN=   6112.133     FROM HESSE     STATUS=OK           596 CALLS     4585 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1281        27.400        .22783E-03   -1.5354    
   2  Prefactor     .10000E-03    1.9721        .10650E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    127.32        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.539        9.6610        .11792E-03   -1.5028    
   5  norm          12.407        7.6983        .11372E-03   -1.5003    
   6  Prefactor     .10002E-03    8.7915        .17432E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    20.880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10002E-03    7.8228        .22848E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    71.028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.2549        2.1183        .14363E-03   -1.5484    
  11  norm          .10000E-03    1.1910        .13391E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.839        19.506        .12174E-03   -1.5049    
  13  norm          .40695        .70057        .46943E-03   -1.5580    
  14  Prefactor     .91109        7.1031        .20307E-03   -1.5517    
  15  norm          .10000E-03    8.7126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .86869        1.7481        .15188E-02   -1.5522    
  17  Prefactor     .10000E-03    4.2132        .30918E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.7196        7.7496        .16796E-03   -1.5230    
  19  Prefactor     5.9931        19.752        .16401E-03   -1.5218    
  20  norm          .10000E-03    5.8391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     13.683        25.937        .10807E-03   -1.4968    
  22  Prefactor     .10000E-03    24.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     6.5196        8.0440        .15719E-03   -1.5197    
  24  norm          .10000E-03    2.9020        .13002E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    2.3391        .11582E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    14.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     5.7938        4.6350        .14545E-03   -1.5227    
  28  norm          .10000E-03    7.0324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.0316        .22196        .24733E-03   -.91980    
  30  Prefactor     1.1961        .23401        .25848E-03   -.86451    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.93531e-09
Minuit parameter uncertainties:
  1  18.5271
  2  3.57398e-07
  3  0.00122583
  4  9.66235
  5  7.69887
  6  0.000728987
  7  0.000679817
  8  0.000873274
  9  0.000915302
  10  2.1184
  11  8.44599e-06
  12  19.5177
  13  0.700588
  14  5.08843
  15  4.72753e-05
  16  1.74818
  17  1.34751e-05
  18  7.75092
  19  19.7735
  20  1.11242e-05
  21  25.9584
  22  0.000669386
  23  8.04536
  24  3.46132e-07
  25  1.3701e-06
  26  0.000135681
  27  4.63526
  28  0.000115918
  29  0.222157
  30  0.234214
Done.

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

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.000e-04  4.728e-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:  1.196e+00  2.342e-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.032e+00  2.222e-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.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.96e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/196585/likelihoodResults_454982401_455241601_4FGL_J0923.5+3852_daily_bin832.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) = 6112.13347596
delta logL = -0.000547256405298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6112.13292884
delta logL = -1.3690078049e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6199       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0315       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1962       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=   6112.133     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      196 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.9789        .90712E-02** at limit **
   2  alpha         2.6310        3.5962        .41212       -.65059E-05
   3  Normalizat    1.0316        .17075        .42016E-01    .65553E-04
   4  Prefactor     1.1961        .19124        .58451E-01    .48937E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.63095
  Normalizat = 1.03159
  Prefactor  = 1.19612
 **********
 **   18 **HESSE 
 **********

 FCN=   6112.133     FROM HESSE     STATUS=OK            31 CALLS      227 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.7693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6310        3.5807        .16485        .52405E-01
   3  Normalizat    1.0316        .20046        .24733E-03   -.91980    
   4  Prefactor     1.1961        .22449        .25848E-03   -.86451    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.50441e-11
Minuit parameter uncertainties:
  1  5.75281e-05
  2  2.49734
  3  0.200604
  4  0.224674
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/196585': 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) = 6112.13292865
delta logL = 5.62913555768e-08

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.000e-04  5.753e-05  1.000e-04  1.000e+04 ( 1.000e-12)
306        alpha:  2.631e+00  2.497e+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:  1.196e+00  2.247e-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.032e+00  2.006e-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/196585/cmap_HighResolution_454982401_455241601_4FGL_J0923.5+3852_daily_bin832.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.96e-05', job_status='DONE', photon_flux_upper_limit='7.39e-08', time_completed='2021-08-31 10:32:13.337960', job_id='196585', GAL2='1.20', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1630431133.34', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='5.63e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='832' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 10:32:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0290>
Subject: Job 196585: <4FGL_J0923.5+3852_daily_bin832> in cluster <slac> Done

Job <4FGL_J0923.5+3852_daily_bin832> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Aug 31 10:15:51 2021
Job was executed on host(s) <bullet0290>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 10:15:54 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:15:54 2021
Terminated at Tue Aug 31 10:32:14 2021
Results reported at Tue Aug 31 10:32:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin832 140.885 38.8743 454982401 455241601 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 :                                   927.43 sec.
    Max Memory :                                 1165 MB
    Average Memory :                             317.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   979 sec.
    Turnaround time :                            983 sec.

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

