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


Performing analysis on: 4FGL_J0423.3-0120_daily_bin560
RA = 65.826, Dec = -1.3342
tmin = 384480001, tmax = 384739201
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='406059', job_status='RUN', time_executed='2021-08-20 13:17:30.374838', time_epoch_executed='1629490650.37' WHERE source_name='4FGL J0423.3-0120' and cadence='daily' and bin_id='560'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/406059

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/406059/ft1_4FGL_J0423.3-0120_daily_bin560.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/406059/ft2_4FGL_J0423.3-0120_daily_bin560.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/406059/ft1_4FGL_J0423.3-0120_daily_bin560.fits outfile=/scratch/kocevski/406059/ft1_filteredMKT_4FGL_J0423.3-0120_daily_bin560.fits ra=65.826 dec=-1.3342 rad=12.0 tmin=384480001.0 tmax=384739201.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.25
user 3.66
sys 0.57

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/406059/ft2_4FGL_J0423.3-0120_daily_bin560.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/406059/ft1_filteredMKT_4FGL_J0423.3-0120_daily_bin560.fits evtable="EVENTS" outfile="/scratch/kocevski/406059/ft1_filtered_4FGL_J0423.3-0120_daily_bin560.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.89
user 0.31
sys 0.52

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/406059/ft1_filtered_4FGL_J0423.3-0120_daily_bin560.fits" evtable="EVENTS" scfile=/scratch/kocevski/406059/ft2_4FGL_J0423.3-0120_daily_bin560.fits sctable="SC_DATA" outfile=/scratch/kocevski/406059/ltcube_384480001_384739201_4FGL_J0423.3-0120_daily_bin560.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/406059/ft2_4FGL_J0423.3-0120_daily_bin560.fits
.....................!
real 12.10
user 11.42
sys 0.64

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/406059/ft1_filtered_4FGL_J0423.3-0120_daily_bin560.fits evtable="EVENTS" scfile=/scratch/kocevski/406059/ft2_4FGL_J0423.3-0120_daily_bin560.fits sctable="SC_DATA" expcube=/scratch/kocevski/406059/ltcube_384480001_384739201_4FGL_J0423.3-0120_daily_bin560.fits outfile=/scratch/kocevski/406059/expmap_384480001_384739201_4FGL_J0423.3-0120_daily_bin560.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/406059/ltcube_384480001_384739201_4FGL_J0423.3-0120_daily_bin560.fits
.....................!
real 191.13
user 185.68
sys 5.12

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/406059/ft1_filtered_4FGL_J0423.3-0120_daily_bin560.fits scfile=/scratch/kocevski/406059/ft2_4FGL_J0423.3-0120_daily_bin560.fits outfile=/scratch/kocevski/406059/cmap_384480001_384739201_4FGL_J0423.3-0120_daily_bin560.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.88
user 0.36
sys 0.49

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/406059/ft1_filtered_4FGL_J0423.3-0120_daily_bin560.fits scfile=/scratch/kocevski/406059/ft2_4FGL_J0423.3-0120_daily_bin560.fits outfile=/scratch/kocevski/406059/cmap_HighResolution_384480001_384739201_4FGL_J0423.3-0120_daily_bin560.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.91
user 0.39
sys 0.49

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/406059/ft1_filtered_4FGL_J0423.3-0120_daily_bin560.fits evtable="EVENTS" scfile=/scratch/kocevski/406059/ft2_4FGL_J0423.3-0120_daily_bin560.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/406059/Model_4FGL_J0423.3-0120_daily_bin560.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/406059/ft1_filtered_4FGL_J0423.3-0120_daily_bin560.fits.....................!
real 100.70
user 98.81
sys 1.71

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/406059/ft1_filtered_4FGL_J0423.3-0120_daily_bin560.fits', '/scratch/kocevski/406059/ft2_4FGL_J0423.3-0120_daily_bin560.fits', expMap='/scratch/kocevski/406059/expmap_384480001_384739201_4FGL_J0423.3-0120_daily_bin560.fits', expCube='/scratch/kocevski/406059/ltcube_384480001_384739201_4FGL_J0423.3-0120_daily_bin560.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/406059/Model_4FGL_J0423.3-0120_daily_bin560.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/406059/ft1_filtered_4FGL_J0423.3-0120_daily_bin560.fits
Spacecraft file(s): /scratch/kocevski/406059/ft2_4FGL_J0423.3-0120_daily_bin560.fits
Exposure map: /scratch/kocevski/406059/expmap_384480001_384739201_4FGL_J0423.3-0120_daily_bin560.fits
Exposure cube: /scratch/kocevski/406059/ltcube_384480001_384739201_4FGL_J0423.3-0120_daily_bin560.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/406059/Model_4FGL_J0423.3-0120_daily_bin560.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) = 6927.68108124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9994       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .42118E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    10.894       1.0000         .10000E-03   10000.    
     5 'Prefactor '    36.990       1.0000         .10000E-03   10000.    
     6 'norm      '    1.1852       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.7430       1.0000         .10000E-03   10000.    
     8 'norm      '    8.1856       1.0000         .10000E-03   10000.    
     9 'norm      '    .11363E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.6492       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10404E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10393E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    26.441       1.0000         .10000E-03   10000.    
    17 'norm      '    .72188       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.785       1.0000         .10000E-03   10000.    
    20 'norm      '    1.3697       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10843       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .94934       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0550       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=   6927.679     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2959 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9995        1.7788       -.35749E-06   -.20610E-03
   2  Prefactor     .10000E-03    74.329        .14871E-05** at limit **
   3  Prefactor     .10022E-03    10.491        .88645E-06** at limit **
   4  norm          10.895        16.185       -.14949E-05   -.37670E-05
   5  Prefactor     36.987        32.865       -.13950E-05    .34299E-04
   6  norm          1.1852        3.4852       -.60019E-06   -.92074E-03
   7  Prefactor     9.7644        27.764       -.45435E-04   -.74728E-04
   8  norm          8.1889        14.147       -.19200E-04   -.32698E-06
   9  norm          .10000E-03    18.162       -.47975E-06** at limit **
  10  norm          .10000E-03    .35449        .26769E-09** at limit **
  11  Prefactor     .10000E-03    .54931       -.18850E-06** at limit **
  12  Prefactor     2.6289        24.814        .20941E-04    .11015E-04
  13  Prefactor     .10000E-03    16.886        .10565E-06** at limit **
  14  Prefactor     .10000E-03    6.1499        .30722E-06** at limit **
  15  norm          .10000E-03    1.2244       -.34759E-06** at limit **
  16  Prefactor     26.445        29.212       -.43897E-05    .93311E-05
  17  norm          .72235        1.8480       -.16564E-05   -.17284E-02
  18  Prefactor     .10000E-03    4.6330       -.17545E-06** at limit **
  19  Prefactor     10.756        47.910       -.26927E-05    .38685E-05
  20  norm          1.3699        1.3226       -.14878E-06    .22442E-03
  21  Prefactor     .10158E-03    22.079       -.36321E-05** at limit **
  22  Normalizat    .94924        .23584        .97643E-05    .13052E-03
  23  Prefactor     1.0550        .10034        .10364E-05    .42616E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.99948
  Prefactor  = 0.0001
  Prefactor  = 0.000100223
  norm       = 10.8947
  Prefactor  = 36.9868
  norm       = 1.18518
  Prefactor  = 9.76443
  norm       = 8.1889
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.62886
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 26.4447
  norm       = 0.722354
  Prefactor  = 0.0001
  Prefactor  = 10.7562
  norm       = 1.3699
  Prefactor  = 0.000101576
  Normalizat = 0.949243
  Prefactor  = 1.05502
 **********
 **   18 **HESSE 
 **********

 FCN=   6927.679     FROM HESSE     STATUS=OK           382 CALLS     3341 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9995        1.7748        .82259E-04   -1.5362    
   2  Prefactor     .10000E-03    74.837        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10022E-03    58.308        .51381E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          10.895        16.176        .12138E-03   -1.5048    
   5  Prefactor     36.987        32.764        .65896E-04   -1.4491    
   6  norm          1.1852        3.4489        .25711E-03   -1.5490    
   7  Prefactor     9.7644        27.779        .12838E-03   -1.5083    
   8  norm          8.1889        14.164        .14013E-03   -1.5136    
   9  norm          .10000E-03    18.270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .37101        .96572E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    .88947        .11921E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.6289        24.373        .25047E-03   -1.5384    
  13  Prefactor     .10000E-03    16.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.2605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.2493        .17918E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     26.445        29.207        .77906E-04   -1.4679    
  17  norm          .72235        1.8372        .17240E-03   -1.5538    
  18  Prefactor     .10000E-03    4.6841        .17473E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.756        47.804        .12200E-03   -1.5052    
  20  norm          1.3699        1.3148        .90923E-04   -1.5474    
  21  Prefactor     .10158E-03    25.167        .11336       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .94924        .26223        .37969E-03   -.94751    
  23  Prefactor     1.0550        .11310        .16270E-03   -.90917    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.74243e-09
Minuit parameter uncertainties:
  1  1.77486
  2  0.000253532
  3  0.00722233
  4  16.1823
  5  32.7795
  6  3.44951
  7  27.8158
  8  14.1695
  9  0.000104363
  10  2.66023e-07
  11  1.8815e-05
  12  16.0175
  13  2.99871e-05
  14  7.42328e-05
  15  3.70474e-05
  16  29.2232
  17  1.83737
  18  3.15562e-05
  19  45.4123
  20  1.31482
  21  0.0126008
  22  0.262586
  23  0.113122
Done.

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

Extracting fit parameters...

4FGL J0423.3-0120
   Spectrum: LogParabola
225         norm:  1.000e-04  2.660e-07  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:  1.055e+00  1.131e-01  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:  9.492e-01  2.626e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/406059/likelihoodResults_384480001_384739201_4FGL_J0423.3-0120_daily_bin560.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) = 6927.67909716
delta logL = -0.000461188325971

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6927.67864008
delta logL = -4.10989014199e-06

Fit tolerance = 1e-08

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

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

 FCN=   6927.679     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      217 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.2779        .90712E-02** at limit **
   2  alpha         1.9876        2.7960        .41482        .23485E-06
   3  Normalizat    .94925        .29404E-01    .85752E-01   -.92628E-04
   4  Prefactor     1.0550        .13275E-01    .39629E-01   -.52116E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.98765
  Normalizat = 0.949246
  Prefactor  = 1.05502
 **********
 **   18 **HESSE 
 **********

 FCN=   6927.679     FROM HESSE     STATUS=OK            29 CALLS      246 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .39075        .99161E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9876        3.6107        .16593       -.20640    
   3  Normalizat    .94925        .24309        .37969E-03   -.94751    
   4  Prefactor     1.0550        .11012        .16270E-03   -.90917    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20789e-10
Minuit parameter uncertainties:
  1  3.76866e-06
  2  70.5223
  3  0.243374
  4  0.110142
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/406059': 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) = 6927.67863016
delta logL = 5.80579762754e-06

Extracting fit parameters...

4FGL J0423.3-0120
   Spectrum: LogParabola
225         norm:  1.000e-04  3.769e-06  1.000e-04  1.000e+04 ( 1.000e-11)
226        alpha:  1.988e+00  7.052e+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:  1.055e+00  1.101e-01  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:  9.492e-01  2.434e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/406059/cmap_HighResolution_384480001_384739201_4FGL_J0423.3-0120_daily_bin560.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.28e-05', job_status='DONE', photon_flux_upper_limit='6.14e-08', time_completed='2021-08-20 13:28:59.146011', job_id='406059', GAL2='1.06', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1629491339.15', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='5.81e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='560' AND source_name='4FGL J0423.3-0120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 13:28:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 406059: <4FGL_J0423.3-0120_daily_bin560> in cluster <slac> Done

Job <4FGL_J0423.3-0120_daily_bin560> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Aug 20 13:15:20 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 13:15:21 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:15:21 2021
Terminated at Fri Aug 20 13:29:02 2021
Results reported at Fri Aug 20 13:29:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0423.3-0120_daily_bin560 65.826 -1.3342 384480001 384739201 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 :                                   693.62 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             316.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            822 sec.

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

