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


Performing analysis on: 4FGL_J0623.7-3348_daily_bin1545
RA = 95.9417, Dec = -33.8131
tmin = 639792001, tmax = 640051201
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='352876', job_status='RUN', time_executed='2021-08-25 00:15:57.125400', time_epoch_executed='1629875757.13' WHERE source_name='4FGL J0623.7-3348' and cadence='daily' and bin_id='1545'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/352876

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/352876/ft1_4FGL_J0623.7-3348_daily_bin1545.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/352876/ft2_4FGL_J0623.7-3348_daily_bin1545.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/352876/ft1_4FGL_J0623.7-3348_daily_bin1545.fits outfile=/scratch/kocevski/352876/ft1_filteredMKT_4FGL_J0623.7-3348_daily_bin1545.fits ra=95.9417 dec=-33.8131 rad=12.0 tmin=639792001.0 tmax=640051201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.88
user 3.33
sys 0.51

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/352876/ft2_4FGL_J0623.7-3348_daily_bin1545.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/352876/ft1_filteredMKT_4FGL_J0623.7-3348_daily_bin1545.fits evtable="EVENTS" outfile="/scratch/kocevski/352876/ft1_filtered_4FGL_J0623.7-3348_daily_bin1545.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.86
user 0.34
sys 0.46

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/352876/ft1_filtered_4FGL_J0623.7-3348_daily_bin1545.fits" evtable="EVENTS" scfile=/scratch/kocevski/352876/ft2_4FGL_J0623.7-3348_daily_bin1545.fits sctable="SC_DATA" outfile=/scratch/kocevski/352876/ltcube_639792001_640051201_4FGL_J0623.7-3348_daily_bin1545.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/352876/ft2_4FGL_J0623.7-3348_daily_bin1545.fits
.....................!
real 16.39
user 15.61
sys 0.72

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/352876/ft1_filtered_4FGL_J0623.7-3348_daily_bin1545.fits evtable="EVENTS" scfile=/scratch/kocevski/352876/ft2_4FGL_J0623.7-3348_daily_bin1545.fits sctable="SC_DATA" expcube=/scratch/kocevski/352876/ltcube_639792001_640051201_4FGL_J0623.7-3348_daily_bin1545.fits outfile=/scratch/kocevski/352876/expmap_639792001_640051201_4FGL_J0623.7-3348_daily_bin1545.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/352876/ltcube_639792001_640051201_4FGL_J0623.7-3348_daily_bin1545.fits
.....................!
real 196.53
user 189.99
sys 6.09

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/352876/ft1_filtered_4FGL_J0623.7-3348_daily_bin1545.fits scfile=/scratch/kocevski/352876/ft2_4FGL_J0623.7-3348_daily_bin1545.fits outfile=/scratch/kocevski/352876/cmap_639792001_640051201_4FGL_J0623.7-3348_daily_bin1545.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 0.88
user 0.39
sys 0.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/352876/ft1_filtered_4FGL_J0623.7-3348_daily_bin1545.fits scfile=/scratch/kocevski/352876/ft2_4FGL_J0623.7-3348_daily_bin1545.fits outfile=/scratch/kocevski/352876/cmap_HighResolution_639792001_640051201_4FGL_J0623.7-3348_daily_bin1545.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 0.88
user 0.40
sys 0.46

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/352876/ft1_filtered_4FGL_J0623.7-3348_daily_bin1545.fits evtable="EVENTS" scfile=/scratch/kocevski/352876/ft2_4FGL_J0623.7-3348_daily_bin1545.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/352876/Model_4FGL_J0623.7-3348_daily_bin1545.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/352876/ft1_filtered_4FGL_J0623.7-3348_daily_bin1545.fits.....................!
real 93.82
user 91.69
sys 1.66

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/352876/ft1_filtered_4FGL_J0623.7-3348_daily_bin1545.fits', '/scratch/kocevski/352876/ft2_4FGL_J0623.7-3348_daily_bin1545.fits', expMap='/scratch/kocevski/352876/expmap_639792001_640051201_4FGL_J0623.7-3348_daily_bin1545.fits', expCube='/scratch/kocevski/352876/ltcube_639792001_640051201_4FGL_J0623.7-3348_daily_bin1545.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/352876/Model_4FGL_J0623.7-3348_daily_bin1545.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/352876/ft1_filtered_4FGL_J0623.7-3348_daily_bin1545.fits
Spacecraft file(s): /scratch/kocevski/352876/ft2_4FGL_J0623.7-3348_daily_bin1545.fits
Exposure map: /scratch/kocevski/352876/expmap_639792001_640051201_4FGL_J0623.7-3348_daily_bin1545.fits
Exposure cube: /scratch/kocevski/352876/ltcube_639792001_640051201_4FGL_J0623.7-3348_daily_bin1545.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/352876/Model_4FGL_J0623.7-3348_daily_bin1545.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) = 7003.34528779

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10168E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.4073       1.0000         .10000E-03   10000.    
     4 'norm      '    8.6214       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    19.289       1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10446E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    55.648       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10178E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10574E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.0482       1.0000         .10000E-03   10000.    
    14 'norm      '    .17697E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.0048       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    130.74       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.266       1.0000         .10000E-03   10000.    
    21 'norm      '    .13486E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    11.430       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10512E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    51.979       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .12278E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    .10532E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .11011E-03   1.0000         .10000E-03   10000.    
    31 'Normalizat'    1.3853       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .91528       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=   7003.339     FROM MIGRAD    STATUS=CONVERGED    815 CALLS     4331 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.753        .10084E-06** at limit **
   2  Prefactor     .10000E-03    26.490       -.20384E-06** at limit **
   3  Prefactor     4.4059        11.244        .40819E-06   -.11977E-04
   4  norm          8.6211        7.5408       -.40390E-06   -.61606E-06
   5  Prefactor     .10000E-03    18.055        .66432E-06** at limit **
   6  norm          19.288        4.9104       -.30520E-06   -.14363E-03
   7  norm          .10000E-03    6.9092        .35744E-07** at limit **
   8  Prefactor     .10000E-03    77.564       -.26590E-05** at limit **
   9  Prefactor     55.601        58.802       -.13332E-05    .85008E-04
  10  Prefactor     .10000E-03    15.650       -.92543E-06** at limit **
  11  Prefactor     .10000E-03    32.432       -.11395E-05** at limit **
  12  Prefactor     .10000E-03    35.205       -.12277E-05** at limit **
  13  Prefactor     7.0486        14.967       -.14283E-05    .77692E-05
  14  norm          .10064E-03    7.3971       -.24737E-05** at limit **
  15  Prefactor     5.9767        36.122        .54589E-05    .14588E-03
  16  Prefactor     .10000E-03    4.7349       -.23456E-06** at limit **
  17  Prefactor     .10000E-03    9.9845       -.60861E-06** at limit **
  18  norm          130.74        50.702       -.26161E-06    .77265E-04
  19  Prefactor     .10000E-03    10.179        .48703E-06** at limit **
  20  Prefactor     10.266        11.222        .13343E-05    .51406E-04
  21  norm          .10000E-03    1.4349       -.16280E-06** at limit **
  22  norm          11.430        13.375        .62414E-06    .21836E-03
  23  Prefactor     .10000E-03    5.2932       -.19897E-06** at limit **
  24  Prefactor     .10003E-03    4.4880        .17081E-06** at limit **
  25  norm          51.960        23.366       -.41259E-06   -.13616E-04
  26  Prefactor     .10000E-03    12.550        .82898E-07** at limit **
  27  norm          .10000E-03    51.117        .25465E-05** at limit **
  28  norm          .10000E-03    22.447        .94466E-06** at limit **
  29  norm          .10000E-03    38.381       -.10865E-06** at limit **
  30  Prefactor     .10000E-03    58.926        .33816E-05** at limit **
  31  Normalizat    1.3856        .27970        .48152E-05    .21518E-03
  32  Prefactor     .91526        .11402       -.14515E-05    .62506E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.40588
  norm       = 8.62115
  Prefactor  = 0.0001
  norm       = 19.288
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 55.6014
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.0486
  norm       = 0.000100636
  Prefactor  = 5.97666
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 130.743
  Prefactor  = 0.0001
  Prefactor  = 10.2664
  norm       = 0.0001
  norm       = 11.4296
  Prefactor  = 0.0001
  Prefactor  = 0.000100027
  norm       = 51.9595
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.38556
  Prefactor  = 0.915258
 **********
 **   18 **HESSE 
 **********

 FCN=   7003.339     FROM HESSE     STATUS=OK           651 CALLS     4982 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.978        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    26.845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.4059        11.312        .19183E-03   -1.5288    
   4  norm          8.6211        7.6060        .13652E-03   -1.5121    
   5  Prefactor     .10000E-03    18.061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          19.288        4.9195        .88357E-04   -1.4829    
   7  norm          .10000E-03    6.9177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    77.807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     55.601        58.812        .53773E-04   -1.4215    
  10  Prefactor     .10000E-03    15.689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    32.745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    35.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.0486        14.923        .15110E-03   -1.5177    
  14  norm          .10064E-03    73.985        .38101E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.9767        36.023        .16386E-03   -1.5219    
  16  Prefactor     .10000E-03    4.7553        .17766E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          130.74        50.778        .17607E-03   -1.3416    
  19  Prefactor     .10000E-03    10.185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.266        11.208        .62527E-03   -1.5067    
  21  norm          .10000E-03    3.5968        .19116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          11.430        13.233        .11850E-03   -1.5032    
  23  Prefactor     .10000E-03    5.3588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10003E-03    24.176        .33801E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          51.960        23.421        .55629E-04   -1.4265    
  26  Prefactor     .10000E-03    12.591        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    51.326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    22.475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .10000E-03    38.547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    59.376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    1.3856        .29900        .36821E-03   -.81047    
  32  Prefactor     .91526        .12354        .19822E-03   -.95610    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.57584e-09
Minuit parameter uncertainties:
  1  6.88911e-05
  2  0.000122201
  3  11.3172
  4  7.60688
  5  3.7086e-05
  6  4.91962
  7  3.265e-06
  8  0.000473599
  9  58.8734
  10  7.64818e-05
  11  0.000159483
  12  0.00014777
  13  14.9307
  14  0.0137344
  15  29.3722
  16  7.95054e-06
  17  3.49961e-05
  18  50.7949
  19  2.80258e-05
  20  11.2104
  21  1.17271e-06
  22  13.2364
  23  2.17287e-05
  24  0.00161006
  25  23.4255
  26  2.4796e-05
  27  0.000387148
  28  9.2532e-05
  29  6.1209e-05
  30  0.000407839
  31  0.299382
  32  0.123581
Done.

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

Extracting fit parameters...

4FGL J0623.7-3348
   Spectrum: LogParabola
317         norm:  1.307e+02  5.079e+01  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:  9.153e-01  1.236e-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:  1.386e+00  2.994e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 30.89
Ra Dec: 95.942 -33.813
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 1.30e-07 +/- 5.04e-08
Energy Flux (Fixed Index): 6.42e-05 +/- 2.49e-05

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) = 7002.73491177
delta logL = 0.603731314041

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7002.72404386
delta logL = 0.614599229468

Fit tolerance = 1e-08

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

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

 FCN=   7002.724     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      226 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          138.41        64.959        .85593E-03    .28864E-03
   2  alpha         1.7158        .43615        .31766       -.13468E-05
   3  Normalizat    1.4253        .24172        .82274E-01    .36934E-05
   4  Prefactor     .90997        .10750        .45133E-01    .13947E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 138.413
  alpha      = 1.71585
  Normalizat = 1.42534
  Prefactor  = 0.909972
 **********
 **   18 **HESSE 
 **********

 FCN=   7002.724     FROM HESSE     STATUS=OK            31 CALLS      257 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          138.41        55.984        .34237E-04   -1.3350    
   2  alpha         1.7158        .41602        .12517E-01   -.31905    
   3  Normalizat    1.4253        .26744        .36420E-03   -.79899    
   4  Prefactor     .90997        .12004        .19889E-03   -.95794    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92442e-10
Minuit parameter uncertainties:
  1  56.0053
  2  0.418183
  3  0.267708
  4  0.120071
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/352876': 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) = 7002.72404351
delta logL = 0.614599578447

Extracting fit parameters...

4FGL J0623.7-3348
   Spectrum: LogParabola
317         norm:  1.384e+02  5.601e+01  1.000e-04  1.000e+04 ( 1.000e-13)
318        alpha:  1.716e+00  4.182e-01  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:  9.100e-01  1.201e-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:  1.425e+00  2.677e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 32.12
Ra Dec: 95.942 -33.813
Photon Index (Free Index): 1.72 +/- 0.42
Photon Flux (Free Index): 8.08e-08 +/- 4.88e-08
Energy Flux (Free Index): 8.00e-05 +/- 3.94e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/352876/cmap_HighResolution_639792001_640051201_4FGL_J0623.7-3348_daily_bin1545.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.30e-07', energy_flux2='8.00e-05', photon_flux_error='5.04e-08', dlogl='6.15e-01', energy_flux='6.42e-05', photon_flux2='8.08e-08', job_status='DONE', time_completed='2021-08-25 00:31:23.274414', photon_index_error2='0.42', photon_index2='1.72', ts='30.89', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='3.94e-05', EG='1.39', time_epoch_completed='1629876683.27', return_code='0', job_id='352876', GAL2='0.91', EG2='1.43', return_code2='0', energy_flux_error='2.49e-05', photon_flux_error2='4.88e-08', ts2='32.12', photon_index='2.17' WHERE bin_id='1545' AND source_name='4FGL J0623.7-3348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 25 00:31:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 352876: <4FGL_J0623.7-3348_daily_bin1545> in cluster <slac> Done

Job <4FGL_J0623.7-3348_daily_bin1545> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Aug 25 00:15:33 2021
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 25 00:15:34 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:15:34 2021
Terminated at Wed Aug 25 00:31:24 2021
Results reported at Wed Aug 25 00:31:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0623.7-3348_daily_bin1545 95.9417 -33.8131 639792001 640051201 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 :                                   923.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             362.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   949 sec.
    Turnaround time :                            951 sec.

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

