/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 45 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.7-3348_daily_bin1019
RA = 95.9417, Dec = -33.8131
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='349958', job_status='RUN', time_executed='2021-08-25 00:07:57.345088', time_epoch_executed='1629875277.35' WHERE source_name='4FGL J0623.7-3348' and cadence='daily' and bin_id='1019'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/349958

Creating custom pfile directory:
/scratch/kocevski/349958/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/349958/ft1_4FGL_J0623.7-3348_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/349958/ft2_4FGL_J0623.7-3348_daily_bin1019.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/349958/ft1_4FGL_J0623.7-3348_daily_bin1019.fits outfile=/scratch/kocevski/349958/ft1_filteredMKT_4FGL_J0623.7-3348_daily_bin1019.fits ra=95.9417 dec=-33.8131 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 12.49
user 7.41
sys 4.61

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/349958/ft2_4FGL_J0623.7-3348_daily_bin1019.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/349958/ft2_4FGL_J0623.7-3348_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/349958/ft1_filteredMKT_4FGL_J0623.7-3348_daily_bin1019.fits evtable="EVENTS" outfile="/scratch/kocevski/349958/ft1_filtered_4FGL_J0623.7-3348_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 4.86
user 0.33
sys 4.48

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/349958/ft1_filtered_4FGL_J0623.7-3348_daily_bin1019.fits" evtable="EVENTS" scfile=/scratch/kocevski/349958/ft2_4FGL_J0623.7-3348_daily_bin1019.fits sctable="SC_DATA" outfile=/scratch/kocevski/349958/ltcube_503452801_503712001_4FGL_J0623.7-3348_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/349958/ft2_4FGL_J0623.7-3348_daily_bin1019.fits
.....................!
real 17.52
user 11.38
sys 5.22

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/349958/ft1_filtered_4FGL_J0623.7-3348_daily_bin1019.fits evtable="EVENTS" scfile=/scratch/kocevski/349958/ft2_4FGL_J0623.7-3348_daily_bin1019.fits sctable="SC_DATA" expcube=/scratch/kocevski/349958/ltcube_503452801_503712001_4FGL_J0623.7-3348_daily_bin1019.fits outfile=/scratch/kocevski/349958/expmap_503452801_503712001_4FGL_J0623.7-3348_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/349958/ltcube_503452801_503712001_4FGL_J0623.7-3348_daily_bin1019.fits
.....................!
real 199.28
user 185.65
sys 10.25

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

Setting source of interest to:
4FGL J0623.7-3348 @ 95.9417 -33.8131

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/349958/ft1_filtered_4FGL_J0623.7-3348_daily_bin1019.fits scfile=/scratch/kocevski/349958/ft2_4FGL_J0623.7-3348_daily_bin1019.fits outfile=/scratch/kocevski/349958/cmap_503452801_503712001_4FGL_J0623.7-3348_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.9417 yref=-33.8131 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 4.84
user 0.35
sys 4.43

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/349958/ft1_filtered_4FGL_J0623.7-3348_daily_bin1019.fits scfile=/scratch/kocevski/349958/ft2_4FGL_J0623.7-3348_daily_bin1019.fits outfile=/scratch/kocevski/349958/cmap_HighResolution_503452801_503712001_4FGL_J0623.7-3348_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.9417 yref=-33.8131 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 4.81
user 0.37
sys 4.40

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/349958/ft1_filtered_4FGL_J0623.7-3348_daily_bin1019.fits evtable="EVENTS" scfile=/scratch/kocevski/349958/ft2_4FGL_J0623.7-3348_daily_bin1019.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/349958/Model_4FGL_J0623.7-3348_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/349958/ft1_filtered_4FGL_J0623.7-3348_daily_bin1019.fits.....................!
real 54.93
user 47.52
sys 6.90

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

Using source of interest name: '4FGL J0623.7-3348'

4FGL J0623.7-3348
   Spectrum: LogParabola
317         norm:  7.010e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
318        alpha:  2.173e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  1.781e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.132e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    40.080       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10163E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    41.363       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    13.972       1.0000         .10000E-03   10000.    
     8 'Prefactor '    89.076       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    50.219       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    14.913       1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.252       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.8601       1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.070       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    64.900       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    17.519       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .65712       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10700E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10278E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    89.912       1.0000         .10000E-03   10000.    
    29 'norm      '    14.129       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    31 'Normalizat'    .35584       1.0000         .10000E-01   10.000    
    32 'Prefactor '    1.2421       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3490.477     FROM MIGRAD    STATUS=CONVERGED    815 CALLS     4350 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.248       -.25330E-06** at limit **
   2  Prefactor     40.077        50.332       -.55618E-05    .63833E-04
   3  Prefactor     .10000E-03    10.561        .12654E-05** at limit **
   4  norm          .10000E-03    16.418       -.82455E-05** at limit **
   5  Prefactor     41.373        66.004        .10996E-04    .77157E-05
   6  norm          .10000E-03    1.4768       -.34459E-07** at limit **
   7  norm          13.968        20.958       -.72188E-06   -.90986E-05
   8  Prefactor     89.063        130.51       -.13099E-04   -.14697E-05
   9  Prefactor     .10000E-03    29.929       -.15150E-05** at limit **
  10  Prefactor     50.210        56.863       -.83221E-05   -.71609E-04
  11  Prefactor     .10000E-03    11.071       -.21699E-05** at limit **
  12  Prefactor     .10000E-03    65.180        .33243E-04** at limit **
  13  Prefactor     .10000E-03    18.215       -.33977E-05** at limit **
  14  norm          14.912        14.363        .56304E-07   -.11733E-04
  15  Prefactor     15.249        26.390       -.13107E-05    .10002E-04
  16  Prefactor     8.8603        10.535        .25070E-08   -.51010E-05
  17  Prefactor     17.058        51.230       -.15017E-04   -.30054E-04
  18  norm          .10000E-03    14.247        .58727E-05** at limit **
  19  Prefactor     64.893        72.677       -.78736E-05   -.12978E-05
  20  Prefactor     .10000E-03    3.2130       -.86023E-07** at limit **
  21  norm          .10000E-03    1.7989       -.24237E-07** at limit **
  22  norm          .10000E-03    38.893       -.19161E-04** at limit **
  23  Prefactor     17.518        12.100       -.72451E-07    .34083E-03
  24  Prefactor     .10000E-03    7.3740       -.50596E-07** at limit **
  25  norm          .61594        17.187       -.10381E-06   -.97717E-04
  26  Prefactor     .10000E-03    27.808        .58671E-05** at limit **
  27  norm          .10000E-03    101.89       -.27011E-04** at limit **
  28  norm          89.881        108.68       -.29995E-04    .59476E-05
  29  norm          14.118        47.266       -.20376E-04   -.15546E-04
  30  Prefactor     .10000E-03    20.472        .74976E-05** at limit **
  31  Normalizat    .35605        .40998        .13352E-04    .15123E-03
  32  Prefactor     1.2421        .18555        .21684E-05   -.13323E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 40.0773
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 41.3731
  norm       = 0.0001
  norm       = 13.9684
  Prefactor  = 89.063
  Prefactor  = 0.0001
  Prefactor  = 50.2099
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 14.9117
  Prefactor  = 15.2495
  Prefactor  = 8.86034
  Prefactor  = 17.0583
  norm       = 0.0001
  Prefactor  = 64.8932
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 17.5182
  Prefactor  = 0.0001
  norm       = 0.615941
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 89.8805
  norm       = 14.1183
  Prefactor  = 0.0001
  Normalizat = 0.356047
  Prefactor  = 1.2421
 **********
 **   18 **HESSE 
 **********

 FCN=   3490.477     FROM HESSE     STATUS=OK           647 CALLS     4997 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     40.077        49.375        .63315E-04   -1.4441    
   3  Prefactor     .10000E-03    10.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    16.676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     41.373        65.908        .62328E-04   -1.4421    
   6  norm          .10000E-03    1.4837        .70066E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          13.968        20.951        .10716E-03   -1.4960    
   8  Prefactor     89.063        130.49        .42573E-04   -1.3818    
   9  Prefactor     .10000E-03    29.946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     50.210        56.611        .56590E-04   -1.4290    
  11  Prefactor     .10000E-03    11.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    65.335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    18.386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          14.912        14.305        .10372E-03   -1.4935    
  15  Prefactor     15.249        26.374        .10256E-03   -1.4927    
  16  Prefactor     8.8603        10.531        .13466E-03   -1.5113    
  17  Prefactor     17.058        50.693        .96939E-04   -1.4882    
  18  norm          .10000E-03    14.244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     64.893        72.110        .49816E-04   -1.4095    
  20  Prefactor     .10000E-03    3.2142        .10343E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.8155        .77249E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    39.188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     17.518        12.036        .95688E-04   -1.4871    
  24  Prefactor     .10000E-03    7.4622        .15653E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .61594        145.93        .46069E-02   -1.5551    
  26  Prefactor     .10000E-03    27.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    101.64        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          89.881        108.45        .42376E-04   -1.3809    
  29  norm          14.118        47.490        .10656E-03   -1.4956    
  30  Prefactor     .10000E-03    20.465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    .35605        .36833        .61644E-03   -1.1964    
  32  Prefactor     1.2421        .17562        .16649E-03   -.85045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84145e-09
Minuit parameter uncertainties:
  1  2.82063e-05
  2  49.4254
  3  1.60425e-05
  4  9.19852e-05
  5  66.0244
  6  7.05057e-06
  7  20.9615
  8  130.912
  9  2.22771e-05
  10  56.6713
  11  1.63841e-05
  12  0.000427332
  13  3.16084e-05
  14  14.3085
  15  26.3941
  16  10.5332
  17  50.8213
  18  8.03205e-06
  19  72.2072
  20  1.96246e-06
  21  3.42037e-06
  22  4.89674e-05
  23  12.0373
  24  4.70076e-05
  25  19.0067
  26  8.88124e-05
  27  0.00036716
  28  108.69
  29  47.6173
  30  1.16825e-05
  31  0.370869
  32  0.1757
Done.

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

Extracting fit parameters...

4FGL J0623.7-3348
   Spectrum: LogParabola
317         norm:  1.000e-04  8.032e-06  1.000e-04  1.000e+04 ( 1.000e-13)
318        alpha:  2.173e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  1.781e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.132e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.242e+00  1.757e-01  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  3.560e-01  3.709e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 95.942 -33.813
Photon Flux Upper Limit: 8.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.97e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/349958/likelihoodResults_503452801_503712001_4FGL_J0623.7-3348_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): 102
logL (Free Index) = 3490.47697449
delta logL = -0.000321370883285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3490.47665951
delta logL = -6.39446670903e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2915       1.0000          .0000       5.0000    
     3 'Normalizat'    .35591       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2422       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6240E+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=   3490.477     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      281 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    709.51        .13334E-01** at limit **
   2  alpha         1.6583        3.5187        .17648        .52501E-08
   3  Normalizat    .35603        .61293E-01    .61642E-03   -.48519E-03
   4  Prefactor     1.2421        .29976E-01    .16649E-03   -.17492E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.65827
  Normalizat = 0.356031
  Prefactor  = 1.2421
 **********
 **   18 **HESSE 
 **********

 FCN=   3490.477     FROM HESSE     STATUS=OK            23 CALLS      304 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    16.258        .23206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6583        3.3126        .70593E-02   -.34340    
   3  Normalizat    .35603        .32624        .24657E-04   -1.1964    
   4  Prefactor     1.2421        .16032        .33298E-04   -.85045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89664e-09
Minuit parameter uncertainties:
  1  2.34956e-06
  2  564.558
  3  0.327999
  4  0.160383
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/349958': 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) = 3490.4766527
delta logL = 4.16620423493e-07

Extracting fit parameters...

4FGL J0623.7-3348
   Spectrum: LogParabola
317         norm:  1.000e-04  2.350e-06  1.000e-04  1.000e+04 ( 1.000e-13)
318        alpha:  1.658e+00  5.646e+02  0.000e+00  5.000e+00 ( 1.000e+00)
319         beta:  1.781e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  1.132e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.242e+00  1.604e-01  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  3.560e-01  3.280e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 95.942 -33.813

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/349958/cmap_HighResolution_503452801_503712001_4FGL_J0623.7-3348_daily_bin1019.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.97e-05', job_status='DONE', photon_flux_upper_limit='8.03e-08', time_completed='2021-08-25 00:20:21.675974', job_id='349958', GAL2='1.24', fit_tolerance='1e-08', EG2='0.36', EG='0.36', time_epoch_completed='1629876021.68', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='4.17e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1019' AND source_name='4FGL J0623.7-3348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 25 00:20:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 349958: <4FGL_J0623.7-3348_daily_bin1019> in cluster <slac> Done

Job <4FGL_J0623.7-3348_daily_bin1019> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Aug 25 00:05:53 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 25 00:05:54 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Aug 25 00:05:54 2021
Terminated at Wed Aug 25 00:20:22 2021
Results reported at Wed Aug 25 00:20:22 2021

Your job looked like:

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

Successfully completed.

Resource usage summary:

    CPU time :                                   801.09 sec.
    Max Memory :                                 1015 MB
    Average Memory :                             275.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            869 sec.

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

