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


Performing analysis on: 4FGL_J0423.3-0120_daily_bin1400
RA = 65.826, Dec = -1.3342
tmin = 602208001, tmax = 602467201
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='409589', job_status='RUN', time_executed='2021-08-20 13:28:47.082626', time_epoch_executed='1629491327.08' WHERE source_name='4FGL J0423.3-0120' and cadence='daily' and bin_id='1400'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/409589

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/409589/ft1_4FGL_J0423.3-0120_daily_bin1400.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/409589/ft2_4FGL_J0423.3-0120_daily_bin1400.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/409589/ft1_4FGL_J0423.3-0120_daily_bin1400.fits outfile=/scratch/kocevski/409589/ft1_filteredMKT_4FGL_J0423.3-0120_daily_bin1400.fits ra=65.826 dec=-1.3342 rad=12.0 tmin=602208001.0 tmax=602467201.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 5.51
user 4.98
sys 0.46

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/409589/ft2_4FGL_J0423.3-0120_daily_bin1400.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/409589/ft2_4FGL_J0423.3-0120_daily_bin1400.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/409589/ft1_filteredMKT_4FGL_J0423.3-0120_daily_bin1400.fits evtable="EVENTS" outfile="/scratch/kocevski/409589/ft1_filtered_4FGL_J0423.3-0120_daily_bin1400.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.79
user 0.34
sys 0.36

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/409589/ft1_filtered_4FGL_J0423.3-0120_daily_bin1400.fits" evtable="EVENTS" scfile=/scratch/kocevski/409589/ft2_4FGL_J0423.3-0120_daily_bin1400.fits sctable="SC_DATA" outfile=/scratch/kocevski/409589/ltcube_602208001_602467201_4FGL_J0423.3-0120_daily_bin1400.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/409589/ft2_4FGL_J0423.3-0120_daily_bin1400.fits
.....................!
real 11.95
user 11.31
sys 0.58

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/409589/ft1_filtered_4FGL_J0423.3-0120_daily_bin1400.fits evtable="EVENTS" scfile=/scratch/kocevski/409589/ft2_4FGL_J0423.3-0120_daily_bin1400.fits sctable="SC_DATA" expcube=/scratch/kocevski/409589/ltcube_602208001_602467201_4FGL_J0423.3-0120_daily_bin1400.fits outfile=/scratch/kocevski/409589/expmap_602208001_602467201_4FGL_J0423.3-0120_daily_bin1400.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/409589/ltcube_602208001_602467201_4FGL_J0423.3-0120_daily_bin1400.fits
.....................!
real 192.11
user 186.53
sys 5.19

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

Setting source of interest to:
4FGL J0423.3-0120 @ 65.826 -1.3342

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/409589/ft1_filtered_4FGL_J0423.3-0120_daily_bin1400.fits scfile=/scratch/kocevski/409589/ft2_4FGL_J0423.3-0120_daily_bin1400.fits outfile=/scratch/kocevski/409589/cmap_602208001_602467201_4FGL_J0423.3-0120_daily_bin1400.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=65.826 yref=-1.3342 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.75
user 0.36
sys 0.37

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/409589/ft1_filtered_4FGL_J0423.3-0120_daily_bin1400.fits scfile=/scratch/kocevski/409589/ft2_4FGL_J0423.3-0120_daily_bin1400.fits outfile=/scratch/kocevski/409589/cmap_HighResolution_602208001_602467201_4FGL_J0423.3-0120_daily_bin1400.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=65.826 yref=-1.3342 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.76
user 0.37
sys 0.37

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/409589/ft1_filtered_4FGL_J0423.3-0120_daily_bin1400.fits evtable="EVENTS" scfile=/scratch/kocevski/409589/ft2_4FGL_J0423.3-0120_daily_bin1400.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/409589/Model_4FGL_J0423.3-0120_daily_bin1400.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/409589/ft1_filtered_4FGL_J0423.3-0120_daily_bin1400.fits....................!
real 125.78
user 124.03
sys 1.45

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/409589/ft1_filtered_4FGL_J0423.3-0120_daily_bin1400.fits', '/scratch/kocevski/409589/ft2_4FGL_J0423.3-0120_daily_bin1400.fits', expMap='/scratch/kocevski/409589/expmap_602208001_602467201_4FGL_J0423.3-0120_daily_bin1400.fits', expCube='/scratch/kocevski/409589/ltcube_602208001_602467201_4FGL_J0423.3-0120_daily_bin1400.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/409589/Model_4FGL_J0423.3-0120_daily_bin1400.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0423.3-0120'

4FGL J0423.3-0120
   Spectrum: LogParabola
225         norm:  1.557e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
226        alpha:  2.237e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  8.826e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  5.995e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/409589/ft1_filtered_4FGL_J0423.3-0120_daily_bin1400.fits
Spacecraft file(s): /scratch/kocevski/409589/ft2_4FGL_J0423.3-0120_daily_bin1400.fits
Exposure map: /scratch/kocevski/409589/expmap_602208001_602467201_4FGL_J0423.3-0120_daily_bin1400.fits
Exposure cube: /scratch/kocevski/409589/ltcube_602208001_602467201_4FGL_J0423.3-0120_daily_bin1400.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/409589/Model_4FGL_J0423.3-0120_daily_bin1400.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) = 8740.91255388

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    66.529       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.283       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .40100       1.0000         .10000E-03   10000.    
    10 'norm      '    .39192       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .72075       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.6149       1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.139       1.0000         .10000E-03   10000.    
    17 'norm      '    .73950       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .34169E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    14.777       1.0000         .10000E-03   10000.    
    20 'norm      '    6.7873       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4754       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .82813       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8740.907     FROM MIGRAD    STATUS=CONVERGED    541 CALLS     2606 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .52205       -.37545E-07** at limit **
   2  Prefactor     66.498        59.902       -.26487E-04    .12447E-04
   3  Prefactor     14.279        18.783        .48526E-05    .25521E-04
   4  norm          .10000E-03    5.6991       -.21673E-07** at limit **
   5  Prefactor     .10000E-03    7.3707        .29054E-08** at limit **
   6  norm          .10000E-03    2.3180       -.40847E-07** at limit **
   7  Prefactor     .10000E-03    17.383        .15765E-06** at limit **
   8  norm          .10000E-03    1.9142       -.27246E-07** at limit **
   9  norm          .14534        9.8901       -.65063E-06    .10454E-04
  10  norm          .39196        .66286       -.28714E-06   -.29347E-02
  11  Prefactor     .72164        .70910        .36617E-07    .69600E-03
  12  Prefactor     .10000E-03    47.405       -.25628E-06** at limit **
  13  Prefactor     .10000E-03    9.2576        .18173E-07** at limit **
  14  Prefactor     .10000E-03    4.8000       -.45491E-07** at limit **
  15  norm          2.6156        2.6992       -.20991E-06   -.72196E-03
  16  Prefactor     24.131        39.110       -.13966E-04   -.11107E-04
  17  norm          .73953        1.9380       -.12898E-05   -.19553E-02
  18  Prefactor     .10000E-03    5.0181        .91446E-06** at limit **
  19  Prefactor     14.777        36.667       -.10586E-04   -.26430E-04
  20  norm          6.7872        2.3958       -.80497E-07    .81193E-04
  21  Prefactor     .10000E-03    15.662       -.19708E-06** at limit **
  22  Normalizat    1.4753        .19002        .10836E-05    .15768E-03
  23  Prefactor     .82833        .85802E-01    .17615E-05   -.54175E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 66.498
  Prefactor  = 14.2792
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.145344
  norm       = 0.391955
  Prefactor  = 0.721642
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.61558
  Prefactor  = 24.131
  norm       = 0.739527
  Prefactor  = 0.0001
  Prefactor  = 14.7765
  norm       = 6.78723
  Prefactor  = 0.0001
  Normalizat = 1.47527
  Prefactor  = 0.82833
 **********
 **   18 **HESSE 
 **********

 FCN=   8740.907     FROM HESSE     STATUS=OK           380 CALLS     2986 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .53808        .13185E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     66.498        59.262        .49206E-04   -1.4075    
   3  Prefactor     14.279        18.767        .10598E-03   -1.4952    
   4  norm          .10000E-03    5.7007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.3724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.3491        .13892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    17.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.9169        .12632E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .14534        18.955        .98179E-01   -1.5632    
  10  norm          .39196        .54488        .95703E-03   -1.5583    
  11  Prefactor     .72164        .73608        .75288E-03   -1.5538    
  12  Prefactor     .10000E-03    48.241        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.2610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.8459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.6156        2.6575        .14663E-03   -1.5385    
  16  Prefactor     24.131        39.028        .81530E-04   -1.4725    
  17  norm          .73953        1.9733        .20179E-03   -1.5536    
  18  Prefactor     .10000E-03    23.345        .39701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     14.777        36.427        .10419E-03   -1.4939    
  20  norm          6.7872        2.3939        .82522E-04   -1.5187    
  21  Prefactor     .10000E-03    15.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.4753        .21228        .31585E-03   -.78476    
  23  Prefactor     .82833        .96760E-01    .18149E-03   -.98692    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.357e-09
Minuit parameter uncertainties:
  1  2.80557e-06
  2  59.3143
  3  18.7745
  4  4.22705e-06
  5  1.69698e-06
  6  6.19348e-06
  7  1.43421e-05
  8  3.37847e-06
  9  3.3196
  10  0.544887
  11  0.73609
  12  0.00013028
  13  4.98999e-06
  14  8.54276e-06
  15  2.65764
  16  39.0698
  17  1.97347
  18  0.000160992
  19  36.4813
  20  2.39394
  21  1.96929e-05
  22  0.212406
  23  0.09678
Done.

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

Extracting fit parameters...

4FGL J0423.3-0120
   Spectrum: LogParabola
225         norm:  3.920e-01  5.449e-01  1.000e-04  1.000e+04 ( 1.000e-11)
226        alpha:  2.237e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  8.826e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  5.995e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
461    Prefactor:  8.283e-01  9.678e-02  0.000e+00  1.000e+01 ( 1.000e+00)
462        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
463        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
460   Normalization:  1.475e+00  2.124e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.79
Ra Dec: 65.826 -1.334
Photon Flux Upper Limit: 7.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.80e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/409589/likelihoodResults_602208001_602467201_4FGL_J0423.3-0120_daily_bin1400.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) = 8740.86920278
delta logL = 0.0377925929752

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8740.86801032
delta logL = 0.0389850563151

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41701       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9774       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4778       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82761       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4640E+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=   8740.868     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      274 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41757        .56147        .96944E-03    .62792E-02
   2  alpha         1.9786        .86524        .28791E-01    .30002E-05
   3  Normalizat    1.4777        .20766        .31562E-03   -.28215E-03
   4  Prefactor     .82761        .93102E-01    .18155E-03   -.56169E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.417573
  alpha      = 1.97859
  Normalizat = 1.47774
  Prefactor  = 0.827607
 **********
 **   18 **HESSE 
 **********

 FCN=   8740.868     FROM HESSE     STATUS=OK            27 CALLS      301 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41757        .56113        .19389E-03   -1.5579    
   2  alpha         1.9786        .86574        .11517E-02   -.21011    
   3  Normalizat    1.4777        .20775        .63124E-04   -.78406    
   4  Prefactor     .82761        .93146E-01    .36311E-04   -.98719    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33554e-10
Minuit parameter uncertainties:
  1  0.561139
  2  0.884929
  3  0.20787
  4  0.0931641
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/409589': 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) = 8740.86800887
delta logL = 0.0389865029229

Extracting fit parameters...

4FGL J0423.3-0120
   Spectrum: LogParabola
225         norm:  4.176e-01  5.611e-01  1.000e-04  1.000e+04 ( 1.000e-11)
226        alpha:  1.979e+00  8.849e-01  0.000e+00  5.000e+00 ( 1.000e+00)
227         beta:  8.826e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  5.995e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
461    Prefactor:  8.276e-01  9.316e-02  0.000e+00  1.000e+01 ( 1.000e+00)
462        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
463        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
460   Normalization:  1.478e+00  2.079e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.79
Ra Dec: 65.826 -1.334

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/409589/cmap_HighResolution_602208001_602467201_4FGL_J0423.3-0120_daily_bin1400.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.80e-05', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2021-08-20 13:41:50.359029', job_id='409589', GAL2='0.83', fit_tolerance='1e-08', EG2='1.48', EG='1.48', time_epoch_completed='1629492110.36', return_code2='0', ts='0.79', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='3.90e-02', ts2='0.87', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1400' AND source_name='4FGL J0423.3-0120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 13:41:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 409589: <4FGL_J0423.3-0120_daily_bin1400> in cluster <slac> Done

Job <4FGL_J0423.3-0120_daily_bin1400> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Aug 20 13:25:59 2021
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 13:26:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 20 13:26:00 2021
Terminated at Fri Aug 20 13:41:51 2021
Results reported at Fri Aug 20 13:41:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0423.3-0120_daily_bin1400 65.826 -1.3342 602208001 602467201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0423.3-0120 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   783.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   950 sec.
    Turnaround time :                            952 sec.

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

