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


Performing analysis on: 4FGL_J0623.0-3010_daily_bin1019
RA = 95.7646, Dec = -30.1828
tmin = 503452801, tmax = 503712001
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='338950', job_status='RUN', time_executed='2021-08-24 23:36:55.851005', time_epoch_executed='1629873415.85' WHERE source_name='4FGL J0623.0-3010' and cadence='daily' and bin_id='1019'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/338950

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/338950/ft1_4FGL_J0623.0-3010_daily_bin1019.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/338950/ft2_4FGL_J0623.0-3010_daily_bin1019.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/338950/ft1_4FGL_J0623.0-3010_daily_bin1019.fits outfile=/scratch/kocevski/338950/ft1_filteredMKT_4FGL_J0623.0-3010_daily_bin1019.fits ra=95.7646 dec=-30.1828 rad=12.0 tmin=503452801.0 tmax=503712001.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 13.34
user 7.47
sys 3.59

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/338950/ft2_4FGL_J0623.0-3010_daily_bin1019.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/338950/ft2_4FGL_J0623.0-3010_daily_bin1019.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/338950/ft1_filteredMKT_4FGL_J0623.0-3010_daily_bin1019.fits evtable="EVENTS" outfile="/scratch/kocevski/338950/ft1_filtered_4FGL_J0623.0-3010_daily_bin1019.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 5.23
user 0.35
sys 3.41

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/338950/ft1_filtered_4FGL_J0623.0-3010_daily_bin1019.fits" evtable="EVENTS" scfile=/scratch/kocevski/338950/ft2_4FGL_J0623.0-3010_daily_bin1019.fits sctable="SC_DATA" outfile=/scratch/kocevski/338950/ltcube_503452801_503712001_4FGL_J0623.0-3010_daily_bin1019.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/338950/ft2_4FGL_J0623.0-3010_daily_bin1019.fits
.....................!
real 19.54
user 15.12
sys 4.09

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/338950/ft1_filtered_4FGL_J0623.0-3010_daily_bin1019.fits evtable="EVENTS" scfile=/scratch/kocevski/338950/ft2_4FGL_J0623.0-3010_daily_bin1019.fits sctable="SC_DATA" expcube=/scratch/kocevski/338950/ltcube_503452801_503712001_4FGL_J0623.0-3010_daily_bin1019.fits outfile=/scratch/kocevski/338950/expmap_503452801_503712001_4FGL_J0623.0-3010_daily_bin1019.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/338950/ltcube_503452801_503712001_4FGL_J0623.0-3010_daily_bin1019.fits
.....................!
real 198.94
user 188.01
sys 9.28

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 174 point sources and 0 extended sources

Setting source of interest to:
4FGL J0623.0-3010 @ 95.7646 -30.1828

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/338950/ft1_filtered_4FGL_J0623.0-3010_daily_bin1019.fits scfile=/scratch/kocevski/338950/ft2_4FGL_J0623.0-3010_daily_bin1019.fits outfile=/scratch/kocevski/338950/cmap_503452801_503712001_4FGL_J0623.0-3010_daily_bin1019.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=95.7646 yref=-30.1828 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 3.80
user 0.42
sys 3.30

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/338950/ft1_filtered_4FGL_J0623.0-3010_daily_bin1019.fits scfile=/scratch/kocevski/338950/ft2_4FGL_J0623.0-3010_daily_bin1019.fits outfile=/scratch/kocevski/338950/cmap_HighResolution_503452801_503712001_4FGL_J0623.0-3010_daily_bin1019.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=95.7646 yref=-30.1828 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 3.79
user 0.43
sys 3.30

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/338950/ft1_filtered_4FGL_J0623.0-3010_daily_bin1019.fits evtable="EVENTS" scfile=/scratch/kocevski/338950/ft2_4FGL_J0623.0-3010_daily_bin1019.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/338950/Model_4FGL_J0623.0-3010_daily_bin1019.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/338950/ft1_filtered_4FGL_J0623.0-3010_daily_bin1019.fits......................!
real 57.70
user 50.93
sys 5.49

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/338950/ft1_filtered_4FGL_J0623.0-3010_daily_bin1019.fits', '/scratch/kocevski/338950/ft2_4FGL_J0623.0-3010_daily_bin1019.fits', expMap='/scratch/kocevski/338950/expmap_503452801_503712001_4FGL_J0623.0-3010_daily_bin1019.fits', expCube='/scratch/kocevski/338950/ltcube_503452801_503712001_4FGL_J0623.0-3010_daily_bin1019.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/338950/Model_4FGL_J0623.0-3010_daily_bin1019.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0623.0-3010'

4FGL J0623.0-3010
   Spectrum: PowerLaw
309    Prefactor:  3.371e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
310        Index:  2.480e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  9.562e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/338950/ft1_filtered_4FGL_J0623.0-3010_daily_bin1019.fits
Spacecraft file(s): /scratch/kocevski/338950/ft2_4FGL_J0623.0-3010_daily_bin1019.fits
Exposure map: /scratch/kocevski/338950/expmap_503452801_503712001_4FGL_J0623.0-3010_daily_bin1019.fits
Exposure cube: /scratch/kocevski/338950/ltcube_503452801_503712001_4FGL_J0623.0-3010_daily_bin1019.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/338950/Model_4FGL_J0623.0-3010_daily_bin1019.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) = 3627.38712338

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10281E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.3661       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    69.603       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10223E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    60.452       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10782E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    16.292       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.029       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.0108       1.0000         .10000E-03   10000.    
    16 'Prefactor '    27.034       1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    8.5214       1.0000         .10000E-03   10000.    
    20 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .16646E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    14.425       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    1.9612       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10218E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10122E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    88.234       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .10786       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.2971       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+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=   3627.265     FROM MIGRAD    STATUS=CONVERGED   1254 CALLS     4843 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.499        .18142E-02** at limit **
   2  norm          .10000E-03    35.240        .31386E-02** at limit **
   3  norm          .10000E-03    1.6247        .74566E-03** at limit **
   4  norm          6.3576        18.064        .15908E-03   -.38913E-04
   5  Prefactor     .10000E-03    7.7749        .16338E-02** at limit **
   6  Prefactor     69.589        105.74        .48114E-04   -.33458E-04
   7  Prefactor     .10000E-03    16.172        .18142E-02** at limit **
   8  Prefactor     .10000E-03    32.909        .18142E-02** at limit **
   9  Prefactor     60.421        60.217        .51604E-04   -.72326E-04
  10  Prefactor     .10000E-03    13.786        .18142E-02** at limit **
  11  Prefactor     .10000E-03    64.145        .18142E-02** at limit **
  12  Prefactor     .10000E-03    41.504        .36285E-03** at limit **
  13  norm          16.287        14.473        .99226E-04   -.56198E-04
  14  Prefactor     12.033        22.143        .11550E-03    .11369E-04
  15  Prefactor     9.0089        10.717        .13352E-03   -.53216E-04
  16  Prefactor     27.002        53.185        .77049E-04   -.10166E-03
  17  norm          .10000E-03    14.663        .18142E-02** at limit **
  18  Prefactor     .10000E-03    3.3299        .10732E-02** at limit **
  19  norm          8.5217        8.4374        .13732E-03    .98890E-04
  20  norm          .10000E-03    1.9478        .81479E-03** at limit **
  21  norm          .10001E-03    78.871        .46331E-02** at limit **
  22  Prefactor     14.441        10.835        .10546E-03    .56053E-03
  23  Prefactor     .10000E-03    10.492        .18142E-02** at limit **
  24  norm          1.9469        49.345        .29620E-03   -.19613E-04
  25  Prefactor     .10000E-03    25.852        .18142E-02** at limit **
  26  norm          .10000E-03    106.27        .18142E-02** at limit **
  27  norm          88.218        107.75        .42773E-04   -.75697E-04
  28  Normalizat    .10798        .33504        .10042E-01    .22796E-04
  29  Prefactor     1.2970        .16056        .15497E-03    .97132E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 6.35765
  Prefactor  = 0.0001
  Prefactor  = 69.5894
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 60.4206
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 16.2873
  Prefactor  = 12.0333
  Prefactor  = 9.00889
  Prefactor  = 27.0017
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 8.52172
  norm       = 0.0001
  norm       = 0.000100007
  Prefactor  = 14.4411
  Prefactor  = 0.0001
  norm       = 1.94693
  Prefactor  = 0.0001
  norm       = 0.000100002
  norm       = 88.2176
  Normalizat = 0.107982
  Prefactor  = 1.29705
 **********
 **   18 **HESSE 
 **********

 FCN=   3627.265     FROM HESSE     STATUS=OK           525 CALLS     5368 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.499        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    35.399        .62772E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.6248        .14913E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.3576        18.064        .63632E-05   -1.5204    
   5  Prefactor     .10000E-03    7.7767        .32675E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     69.589        105.73        .96229E-05   -1.4038    
   7  Prefactor     .10000E-03    16.173        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    32.910        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     60.421        60.059        .10321E-04   -1.4152    
  10  Prefactor     .10000E-03    13.787        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    64.145        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    41.506        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          16.287        14.464        .39690E-05   -1.4901    
  14  Prefactor     12.033        22.142        .46200E-05   -1.5014    
  15  Prefactor     9.0089        10.717        .53408E-05   -1.5108    
  16  Prefactor     27.002        53.048        .15410E-04   -1.4668    
  17  norm          .10000E-03    14.663        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.3300        .21463E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.5217        8.4355        .54929E-05   -1.5124    
  20  norm          .10000E-03    1.9480        .16296E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10001E-03    79.561        .92661E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     14.441        10.812        .42183E-05   -1.4948    
  23  Prefactor     .10000E-03    10.501        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          1.9469        49.308        .11848E-04   -1.5429    
  25  Prefactor     .10000E-03    25.853        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    106.28        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          88.218        107.66        .85547E-05   -1.3827    
  28  Normalizat    .10798        .32098        .40170E-03   -1.3724    
  29  Prefactor     1.2970        .15468        .61987E-05   -.83395    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.59728e-10
Minuit parameter uncertainties:
  1  2.21316e-05
  2  1.58577e-05
  3  8.39494e-06
  4  18.0793
  5  1.23657e-05
  6  106.014
  7  3.91565e-05
  8  0.000189073
  9  60.1189
  10  3.80364e-05
  11  0.000166568
  12  4.86438e-05
  13  14.4676
  14  22.1572
  15  10.7191
  16  53.141
  17  4.04763e-05
  18  3.43813e-06
  19  8.43668
  20  1.19223e-05
  21  0.00154069
  22  10.8132
  23  1.03768e-05
  24  19.6133
  25  0.000221015
  26  0.000826651
  27  107.894
  28  0.326952
  29  0.15473
Done.

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

Extracting fit parameters...

4FGL J0623.0-3010
   Spectrum: PowerLaw
309    Prefactor:  2.700e+01  5.314e+01  1.000e-04  1.000e+04 ( 1.000e-13)
310        Index:  2.480e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  9.562e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.297e+00  1.547e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  1.080e-01  3.270e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.35
Ra Dec: 95.765 -30.183
Photon Flux Upper Limit: 2.64e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.05e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/338950/likelihoodResults_503452801_503712001_4FGL_J0623.0-3010_daily_bin1019.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) = 3626.66346985
delta logL = 0.601346255416

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3626.62915535
delta logL = 0.635660757426

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.558       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6466       1.0000          .0000       10.000    
     3 'Normalizat'    .28310E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3135       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+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=   3626.629     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      311 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.556        34.687        .12331E-03   -.40913E-03
   2  Index         3.6483        1.6771        .45983E-02   -.17003E-03
   3  Normalizat    .28406E-01    1.7217        .12713E-01   -.28226E-04
   4  Prefactor     1.3136        .16871        .15384E-03   -.40374E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.5561
  Index      = 3.64828
  Normalizat = 0.0284063
  Prefactor  = 1.31362
 **********
 **   18 **HESSE 
 **********

 FCN=   3626.629     FROM HESSE     STATUS=OK            27 CALLS      338 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.556        22.976        .49323E-05   -1.5058    
   2  Index         3.6483        1.1236        .18393E-03   -.27375    
   3  Normalizat    .28406E-01    1.2978        .50850E-03   -1.4849    
   4  Prefactor     1.3136        .14606        .30768E-04   -.82903    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.72654e-10
Minuit parameter uncertainties:
  1  22.9951
  2  1.13402
  3  0.316552
  4  0.146102
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/338950': 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) = 3626.62914619
delta logL = 0.635669918485

Extracting fit parameters...

4FGL J0623.0-3010
   Spectrum: PowerLaw
309    Prefactor:  1.056e+01  2.300e+01  1.000e-04  1.000e+04 ( 1.000e-13)
310        Index:  3.648e+00  1.134e+00  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  9.562e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.314e+00  1.461e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  2.841e-02  3.166e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.78
Ra Dec: 95.765 -30.183
Photon Index (Free Index): 3.65 +/- 1.13
Photon Flux (Free Index): 1.51e-07 +/- 1.39e-07
Energy Flux (Free Index): 2.42e-05 +/- 2.22e-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/338950/cmap_HighResolution_503452801_503712001_4FGL_J0623.0-3010_daily_bin1019.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.05e-02', comment='SUCCESS', energy_flux2='2.42e-05', dlogl='6.36e-01', photon_flux2='1.51e-07', job_status='DONE', time_completed='2021-08-24 23:49:53.357883', photon_index_error2='1.13', photon_index2='3.65', ts='0.35', fit_tolerance='1e-08', GAL='1.30', photon_index_error='0.00', photon_flux_upper_limit='2.64e-07', energy_flux_error2='2.22e-05', EG='0.11', time_epoch_completed='1629874193.36', return_code='0', job_id='338950', GAL2='1.31', EG2='0.03', return_code2='0', photon_flux_error2='1.39e-07', ts2='1.78', photon_index='2.48' WHERE bin_id='1019' AND source_name='4FGL J0623.0-3010' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 23:49:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 338950: <4FGL_J0623.0-3010_daily_bin1019> in cluster <slac> Done

Job <4FGL_J0623.0-3010_daily_bin1019> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 24 23:35:22 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 23:35:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 24 23:35:23 2021
Terminated at Tue Aug 24 23:49:58 2021
Results reported at Tue Aug 24 23:49:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0623.0-3010_daily_bin1019 95.7646 -30.1828 503452801 503712001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0623.0-3010 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   809.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             274.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   871 sec.
    Turnaround time :                            876 sec.

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

