/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 9 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 = 7402
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0623.0-3010_daily_bin414
RA = 95.7646, Dec = -30.1828
tmin = 346636801, tmax = 346896001
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='334485', job_status='RUN', time_executed='2021-08-24 23:20:51.931094', time_epoch_executed='1629872451.93' WHERE source_name='4FGL J0623.0-3010' and cadence='daily' and bin_id='414'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/334485

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/334485/ft1_4FGL_J0623.0-3010_daily_bin414.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/334485/ft2_4FGL_J0623.0-3010_daily_bin414.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/334485/ft1_4FGL_J0623.0-3010_daily_bin414.fits outfile=/scratch/kocevski/334485/ft1_filteredMKT_4FGL_J0623.0-3010_daily_bin414.fits ra=95.7646 dec=-30.1828 rad=12.0 tmin=346636801.0 tmax=346896001.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.08
user 3.28
sys 0.78

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/334485/ft2_4FGL_J0623.0-3010_daily_bin414.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/334485/ft1_filteredMKT_4FGL_J0623.0-3010_daily_bin414.fits evtable="EVENTS" outfile="/scratch/kocevski/334485/ft1_filtered_4FGL_J0623.0-3010_daily_bin414.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.10
user 0.33
sys 0.75

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/334485/ft1_filtered_4FGL_J0623.0-3010_daily_bin414.fits" evtable="EVENTS" scfile=/scratch/kocevski/334485/ft2_4FGL_J0623.0-3010_daily_bin414.fits sctable="SC_DATA" outfile=/scratch/kocevski/334485/ltcube_346636801_346896001_4FGL_J0623.0-3010_daily_bin414.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/334485/ft2_4FGL_J0623.0-3010_daily_bin414.fits
.....................!
real 12.49
user 11.41
sys 1.02

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/334485/ft1_filtered_4FGL_J0623.0-3010_daily_bin414.fits evtable="EVENTS" scfile=/scratch/kocevski/334485/ft2_4FGL_J0623.0-3010_daily_bin414.fits sctable="SC_DATA" expcube=/scratch/kocevski/334485/ltcube_346636801_346896001_4FGL_J0623.0-3010_daily_bin414.fits outfile=/scratch/kocevski/334485/expmap_346636801_346896001_4FGL_J0623.0-3010_daily_bin414.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/334485/ltcube_346636801_346896001_4FGL_J0623.0-3010_daily_bin414.fits
.....................!
real 191.62
user 185.46
sys 5.80

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/334485/ft1_filtered_4FGL_J0623.0-3010_daily_bin414.fits scfile=/scratch/kocevski/334485/ft2_4FGL_J0623.0-3010_daily_bin414.fits outfile=/scratch/kocevski/334485/cmap_346636801_346896001_4FGL_J0623.0-3010_daily_bin414.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 1.11
user 0.37
sys 0.73

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/334485/ft1_filtered_4FGL_J0623.0-3010_daily_bin414.fits scfile=/scratch/kocevski/334485/ft2_4FGL_J0623.0-3010_daily_bin414.fits outfile=/scratch/kocevski/334485/cmap_HighResolution_346636801_346896001_4FGL_J0623.0-3010_daily_bin414.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 1.16
user 0.38
sys 0.75

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/334485/ft1_filtered_4FGL_J0623.0-3010_daily_bin414.fits evtable="EVENTS" scfile=/scratch/kocevski/334485/ft2_4FGL_J0623.0-3010_daily_bin414.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/334485/Model_4FGL_J0623.0-3010_daily_bin414.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/334485/ft1_filtered_4FGL_J0623.0-3010_daily_bin414.fits.....................!
real 89.90
user 87.73
sys 1.99

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/334485/ft1_filtered_4FGL_J0623.0-3010_daily_bin414.fits', '/scratch/kocevski/334485/ft2_4FGL_J0623.0-3010_daily_bin414.fits', expMap='/scratch/kocevski/334485/expmap_346636801_346896001_4FGL_J0623.0-3010_daily_bin414.fits', expCube='/scratch/kocevski/334485/ltcube_346636801_346896001_4FGL_J0623.0-3010_daily_bin414.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/334485/Model_4FGL_J0623.0-3010_daily_bin414.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/334485/ft1_filtered_4FGL_J0623.0-3010_daily_bin414.fits
Spacecraft file(s): /scratch/kocevski/334485/ft2_4FGL_J0623.0-3010_daily_bin414.fits
Exposure map: /scratch/kocevski/334485/expmap_346636801_346896001_4FGL_J0623.0-3010_daily_bin414.fits
Exposure cube: /scratch/kocevski/334485/ltcube_346636801_346896001_4FGL_J0623.0-3010_daily_bin414.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/334485/Model_4FGL_J0623.0-3010_daily_bin414.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) = 6768.70156604

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.3498       1.0000         .10000E-03   10000.    
     4 'norm      '    13.395       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.351       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.636       1.0000         .10000E-03   10000.    
    13 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10870E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.6349       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    10.660       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.5234       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .12001E-02   1.0000         .10000E-03   10000.    
    24 'norm      '    7.1650       1.0000         .10000E-03   10000.    
    25 'Prefactor '    7.6271       1.0000         .10000E-03   10000.    
    26 'norm      '    56.420       1.0000         .10000E-03   10000.    
    27 'norm      '    .10084E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0889       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0094       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.

 FCN=   6768.699     FROM MIGRAD    STATUS=CONVERGED    716 CALLS     3643 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.8132        .18961E-08** at limit **
   2  norm          .10000E-03    1.9886        .15560E-07** at limit **
   3  norm          1.3511        2.1269        .12029E-06   -.61494E-04
   4  norm          13.398        13.890       -.39125E-07   -.36657E-04
   5  Prefactor     .10000E-03    10.517        .62740E-07** at limit **
   6  Prefactor     .10000E-03    109.26        .41353E-05** at limit **
   7  Prefactor     .10000E-03    15.143        .10024E-05** at limit **
   8  Prefactor     15.340        40.829        .11512E-05   -.55327E-05
   9  Prefactor     .10000E-03    31.821        .31458E-05** at limit **
  10  Prefactor     .10000E-03    12.708       -.66785E-06** at limit **
  11  Prefactor     .10000E-03    25.439       -.77679E-06** at limit **
  12  Prefactor     12.639        15.838        .99678E-06    .85314E-04
  13  norm          .10000E-03    2.2178       -.71184E-07** at limit **
  14  Prefactor     .10000E-03    8.3127       -.47300E-07** at limit **
  15  Prefactor     .10000E-03    2.5736       -.48256E-07** at limit **
  16  Prefactor     .10000E-03    66.728       -.28241E-05** at limit **
  17  norm          .10000E-03    23.683       -.15833E-05** at limit **
  18  Prefactor     .10000E-03    13.084        .48501E-07** at limit **
  19  norm          4.6361        7.2317        .20636E-05   -.25911E-04
  20  norm          .10000E-03    .50329        .61794E-08** at limit **
  21  norm          10.663        15.278       -.39558E-05   -.26709E-04
  22  Prefactor     3.5239        6.9890        .51613E-05   -.49648E-05
  23  Prefactor     .10000E-03    5.3828       -.19415E-06** at limit **
  24  norm          7.1636        16.523        .37584E-06    .27448E-04
  25  Prefactor     7.6270        10.372        .40029E-07    .10734E-04
  26  norm          56.418        66.488        .51476E-06    .16157E-04
  27  norm          .10000E-03    59.213       -.14135E-05** at limit **
  28  Normalizat    1.0884        .22756       -.97474E-06    .36879E-04
  29  Prefactor     1.0095        .96717E-01   -.38498E-06    .43648E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.35108
  norm       = 13.3975
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.3398
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.6389
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.63612
  norm       = 0.0001
  norm       = 10.663
  Prefactor  = 3.52394
  Prefactor  = 0.0001
  norm       = 7.16362
  Prefactor  = 7.62696
  norm       = 56.4176
  norm       = 0.0001
  Normalizat = 1.08838
  Prefactor  = 1.00949
 **********
 **   18 **HESSE 
 **********

 FCN=   6768.699     FROM HESSE     STATUS=OK           547 CALLS     4190 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.8178        .15690E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.0041        .11328E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.3511        2.0989        .14243E-03   -1.5475    
   4  norm          13.398        13.889        .10944E-03   -1.4976    
   5  Prefactor     .10000E-03    10.672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    109.48        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.340        41.060        .10223E-03   -1.4924    
   9  Prefactor     .10000E-03    31.894        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    25.454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     12.639        15.858        .56344E-03   -1.4997    
  13  norm          .10000E-03    2.2242        .11964E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.3312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.5819        .12889E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    67.635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    23.715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.6361        7.2122        .93473E-03   -1.5277    
  20  norm          .10000E-03    .50465        .56978E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          10.663        15.327        .12271E-03   -1.5055    
  22  Prefactor     3.5239        7.0125        .10768E-02   -1.5333    
  23  Prefactor     .10000E-03    21.371        .36306E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          7.1636        16.469        .14986E-03   -1.5173    
  25  Prefactor     7.6270        10.353        .14521E-03   -1.5156    
  26  norm          56.418        66.488        .53406E-04   -1.4204    
  27  norm          .10000E-03    59.434        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.0884        .24894        .37039E-03   -.90126    
  29  Prefactor     1.0095        .10702        .17018E-03   -.92414    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.91969e-10
Minuit parameter uncertainties:
  1  1.15678e-06
  2  1.8209e-06
  3  2.09905
  4  13.8919
  5  3.22534e-05
  6  0.000281914
  7  2.42662e-05
  8  41.1352
  9  3.944e-05
  10  8.37692e-06
  11  6.26782e-06
  12  15.8633
  13  7.32974e-06
  14  1.0748e-05
  15  5.39251e-06
  16  0.000196648
  17  2.25479e-05
  18  3.60403e-05
  19  7.21357
  20  2.84708e-07
  21  15.333
  22  7.01409
  23  0.000198333
  24  16.4789
  25  10.3551
  26  66.5751
  27  2.3811e-05
  28  0.249209
  29  0.107038
Done.

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

Extracting fit parameters...

4FGL J0623.0-3010
   Spectrum: PowerLaw
309    Prefactor:  1.000e-04  1.966e-04  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.009e+00  1.070e-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.088e+00  2.492e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 95.765 -30.183
Photon Flux Upper Limit: 1.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/334485/likelihoodResults_346636801_346896001_4FGL_J0623.0-3010_daily_bin414.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) = 6768.69946191
delta logL = -7.03504992998e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6768.69939035
delta logL = 1.20878576126e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15687E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8565       1.0000          .0000       10.000    
     3 'Normalizat'    1.0884       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0095       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6768.687     FROM MIGRAD    STATUS=CONVERGED    144 CALLS      335 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4341        43.994        .18142E-02   -.48176E-04
   2  Index         3.3768        3.8327        .58616E-02   -.99477E-05
   3  Normalizat    1.0760        .24358        .37228E-03   -.61259E-04
   4  Prefactor     1.0118        .10386        .17001E-03   -.87907E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4341
  Index      = 3.37682
  Normalizat = 1.07601
  Prefactor  = 1.01178
 **********
 **   18 **HESSE 
 **********

 FCN=   6768.687     FROM HESSE     STATUS=OK            27 CALLS      362 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4341        23.564        .72569E-04   -1.5468    
   2  Index         3.3768        3.0229        .23447E-03   -.33063    
   3  Normalizat    1.0760        .24281        .14891E-04   -.90526    
   4  Prefactor     1.0118        .10389        .34002E-04   -.92338    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5356e-11
Minuit parameter uncertainties:
  1  11.6314
  2  3.27955
  3  0.243058
  4  0.103914
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/334485': 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) = 6768.6868528
delta logL = 0.0125387568587

Extracting fit parameters...

4FGL J0623.0-3010
   Spectrum: PowerLaw
309    Prefactor:  1.434e+00  1.163e+01  1.000e-04  1.000e+04 ( 1.000e-13)
310        Index:  3.377e+00  3.280e+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.012e+00  1.039e-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.076e+00  2.431e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 95.765 -30.183

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/334485/cmap_HighResolution_346636801_346896001_4FGL_J0623.0-3010_daily_bin414.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.69e-03', job_status='DONE', photon_flux_upper_limit='1.25e-07', time_completed='2021-08-24 23:35:19.194686', job_id='334485', GAL2='1.01', fit_tolerance='1e-08', EG2='1.08', EG='1.09', time_epoch_completed='1629873319.19', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.25e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='414' AND source_name='4FGL J0623.0-3010' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 23:35:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 334485: <4FGL_J0623.0-3010_daily_bin414> in cluster <slac> Done

Job <4FGL_J0623.0-3010_daily_bin414> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Aug 24 23:20:22 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 23:20:22 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:20:22 2021
Terminated at Tue Aug 24 23:35:22 2021
Results reported at Tue Aug 24 23:35:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0623.0-3010_daily_bin414 95.7646 -30.1828 346636801 346896001 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 :                                   873.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             339.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   897 sec.
    Turnaround time :                            900 sec.

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

