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


Performing analysis on: 4FGL_J0423.3-0120_daily_bin154
RA = 65.826, Dec = -1.3342
tmin = 279244801, tmax = 279504001
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='402965', job_status='RUN', time_executed='2021-08-20 13:10:20.044221', time_epoch_executed='1629490220.04' WHERE source_name='4FGL J0423.3-0120' and cadence='daily' and bin_id='154'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/402965

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/402965/ft1_4FGL_J0423.3-0120_daily_bin154.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/402965/ft2_4FGL_J0423.3-0120_daily_bin154.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/402965/ft1_4FGL_J0423.3-0120_daily_bin154.fits outfile=/scratch/kocevski/402965/ft1_filteredMKT_4FGL_J0423.3-0120_daily_bin154.fits ra=65.826 dec=-1.3342 rad=12.0 tmin=279244801.0 tmax=279504001.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.93
user 3.38
sys 2.53

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/402965/ft2_4FGL_J0423.3-0120_daily_bin154.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/402965/ft1_filteredMKT_4FGL_J0423.3-0120_daily_bin154.fits evtable="EVENTS" outfile="/scratch/kocevski/402965/ft1_filtered_4FGL_J0423.3-0120_daily_bin154.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 2.81
user 0.32
sys 2.48

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/402965/ft1_filtered_4FGL_J0423.3-0120_daily_bin154.fits" evtable="EVENTS" scfile=/scratch/kocevski/402965/ft2_4FGL_J0423.3-0120_daily_bin154.fits sctable="SC_DATA" outfile=/scratch/kocevski/402965/ltcube_279244801_279504001_4FGL_J0423.3-0120_daily_bin154.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/402965/ft2_4FGL_J0423.3-0120_daily_bin154.fits
.....................!
real 14.30
user 11.31
sys 2.95

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/402965/ft1_filtered_4FGL_J0423.3-0120_daily_bin154.fits evtable="EVENTS" scfile=/scratch/kocevski/402965/ft2_4FGL_J0423.3-0120_daily_bin154.fits sctable="SC_DATA" expcube=/scratch/kocevski/402965/ltcube_279244801_279504001_4FGL_J0423.3-0120_daily_bin154.fits outfile=/scratch/kocevski/402965/expmap_279244801_279504001_4FGL_J0423.3-0120_daily_bin154.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/402965/ltcube_279244801_279504001_4FGL_J0423.3-0120_daily_bin154.fits
.....................!
real 192.75
user 185.00
sys 7.43

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/402965/ft1_filtered_4FGL_J0423.3-0120_daily_bin154.fits scfile=/scratch/kocevski/402965/ft2_4FGL_J0423.3-0120_daily_bin154.fits outfile=/scratch/kocevski/402965/cmap_279244801_279504001_4FGL_J0423.3-0120_daily_bin154.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 2.87
user 0.38
sys 2.41

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/402965/ft1_filtered_4FGL_J0423.3-0120_daily_bin154.fits scfile=/scratch/kocevski/402965/ft2_4FGL_J0423.3-0120_daily_bin154.fits outfile=/scratch/kocevski/402965/cmap_HighResolution_279244801_279504001_4FGL_J0423.3-0120_daily_bin154.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 2.85
user 0.39
sys 2.41

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/402965/ft1_filtered_4FGL_J0423.3-0120_daily_bin154.fits evtable="EVENTS" scfile=/scratch/kocevski/402965/ft2_4FGL_J0423.3-0120_daily_bin154.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/402965/Model_4FGL_J0423.3-0120_daily_bin154.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/402965/ft1_filtered_4FGL_J0423.3-0120_daily_bin154.fits.....................!
real 104.08
user 99.65
sys 4.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5946       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.577       1.0000         .10000E-03   10000.    
     4 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    57.009       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.3747       1.0000         .10000E-03   10000.    
     8 'norm      '    5.6509       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.1796       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    29.736       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.1278       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.8107       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.5729       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.0246       1.0000         .10000E-03   10000.    
    21 'Prefactor '    102.58       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .88994       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93530       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=   6983.506     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2560 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5945        1.7991       -.17131E-06   -.70881E-03
   2  Prefactor     .10000E-03    15.004        .25503E-05** at limit **
   3  Prefactor     30.579        19.507        .10667E-05    .42294E-04
   4  norm          .10000E-03    16.914        .24244E-05** at limit **
   5  Prefactor     57.014        39.460        .34580E-05    .14055E-03
   6  norm          .10000E-03    2.2879       -.11643E-07** at limit **
   7  Prefactor     4.3608        49.491       -.20983E-04   -.47238E-04
   8  norm          5.6521        11.470       -.70455E-06   -.43939E-04
   9  norm          .10000E-03    24.198       -.37440E-05** at limit **
  10  norm          2.1798        1.4029       -.25462E-08    .19624E-02
  11  Prefactor     .10000E-03    1.0380       -.15058E-07** at limit **
  12  Prefactor     29.747        27.299        .54321E-05    .16608E-03
  13  Prefactor     .10000E-03    121.83       -.10811E-03** at limit **
  14  Prefactor     .10000E-03    9.9925       -.35167E-07** at limit **
  15  norm          2.1274        2.6111       -.86948E-06   -.49530E-03
  16  Prefactor     .10001E-03    98.439        .84101E-04** at limit **
  17  norm          4.8108        2.7413       -.20032E-07    .54387E-03
  18  Prefactor     5.5723        6.5397        .18825E-05   -.22526E-03
  19  Prefactor     .10000E-03    14.608       -.34949E-05** at limit **
  20  norm          2.0248        2.0661        .24526E-07   -.39912E-03
  21  Prefactor     102.58        42.645       -.18342E-05    .24980E-04
  22  Normalizat    .88999        .23080        .10272E-05    .21692E-03
  23  Prefactor     .93529        .95340E-01   -.24227E-06    .31327E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.59449
  Prefactor  = 0.0001
  Prefactor  = 30.5789
  norm       = 0.0001
  Prefactor  = 57.0143
  norm       = 0.0001
  Prefactor  = 4.36075
  norm       = 5.6521
  norm       = 0.0001
  norm       = 2.1798
  Prefactor  = 0.0001
  Prefactor  = 29.7465
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 2.12741
  Prefactor  = 0.000100006
  norm       = 4.81076
  Prefactor  = 5.57232
  Prefactor  = 0.0001
  norm       = 2.02483
  Prefactor  = 102.578
  Normalizat = 0.889994
  Prefactor  = 0.935293
 **********
 **   18 **HESSE 
 **********

 FCN=   6983.506     FROM HESSE     STATUS=OK           368 CALLS     2928 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5945        1.7809        .11285E-03   -1.5455    
   2  Prefactor     .10000E-03    15.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     30.579        19.506        .72458E-04   -1.4601    
   4  norm          .10000E-03    17.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     57.014        39.347        .53131E-04   -1.4196    
   6  norm          .10000E-03    2.3024        .12336E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.3608        49.405        .19257E-03   -1.5290    
   8  norm          5.6521        11.492        .16898E-03   -1.5232    
   9  norm          .10000E-03    24.301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.1798        1.3683        .73162E-04   -1.5413    
  11  Prefactor     .10000E-03    1.5229        .16000E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     29.747        26.991        .73473E-04   -1.4617    
  13  Prefactor     .10000E-03    122.41        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.189        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1274        2.5703        .13108E-03   -1.5416    
  16  Prefactor     .10001E-03    99.068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.8108        2.7411        .98412E-04   -1.5269    
  18  Prefactor     5.5723        6.5224        .17018E-03   -1.5236    
  19  Prefactor     .10000E-03    14.617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.0248        2.0465        .11403E-03   -1.5423    
  21  Prefactor     102.58        42.565        .39698E-04   -1.3679    
  22  Normalizat    .88999        .25362        .39360E-03   -.96813    
  23  Prefactor     .93529        .10646        .16825E-03   -.94919    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01053e-09
Minuit parameter uncertainties:
  1  1.78093
  2  2.73003e-06
  3  19.5103
  4  8.42904e-06
  5  39.3653
  6  5.23404e-07
  7  29.3863
  8  11.4969
  9  8.51835e-05
  10  1.36831
  11  3.22694e-06
  12  27.0022
  13  0.000916941
  14  2.04127e-05
  15  2.57048
  16  0.0015454
  17  2.74116
  18  6.52319
  19  1.55649e-05
  20  2.04656
  21  42.5772
  22  0.253961
  23  0.106479
Done.

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

Extracting fit parameters...

4FGL J0423.3-0120
   Spectrum: LogParabola
225         norm:  2.180e+00  1.368e+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

GAL_V02
   Spectrum: PowerLaw
461    Prefactor:  9.353e-01  1.065e-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:  8.900e-01  2.540e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.49
Ra Dec: 65.826 -1.334
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 8.44e-08 +/- 5.30e-08
Energy Flux (Fixed Index): 3.13e-05 +/- 1.97e-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) = 6983.06459812
delta logL = 0.44102653287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6983.06096733
delta logL = 0.444657325264

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8092       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8047       1.0000          .0000       5.0000    
     3 'Normalizat'    .84293       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94679       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=   6983.061     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      237 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8092        16.362        .77661E-02    .23030E-02
   2  alpha         2.8047        3.8809        .34494        .48596E-04
   3  Normalizat    .84293        .94719E-01    .90982E-01    .11456E-03
   4  Prefactor     .94679        .38574E-01    .45599E-01    .23324E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.80919
  alpha      = 2.80469
  Normalizat = 0.842926
  Prefactor  = 0.94679
 **********
 **   18 **HESSE 
 **********

 FCN=   6983.061     FROM HESSE     STATUS=OK            31 CALLS      268 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8092        1.3673        .57922E-04   -1.5439    
   2  alpha         2.8047        .66830        .13415E-01    .12218    
   3  Normalizat    .84293        .24245        .40301E-03   -.98496    
   4  Prefactor     .94679        .10415        .16729E-03   -.94525    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.78164e-10
Minuit parameter uncertainties:
  1  1.36733
  2  0.67665
  3  0.24276
  4  0.104173
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/402965': 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) = 6983.06096733
delta logL = 0.444657326112

Extracting fit parameters...

4FGL J0423.3-0120
   Spectrum: LogParabola
225         norm:  1.809e+00  1.367e+00  1.000e-04  1.000e+04 ( 1.000e-11)
226        alpha:  2.805e+00  6.767e-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:  9.468e-01  1.042e-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:  8.429e-01  2.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.47
Ra Dec: 65.826 -1.334
Photon Index (Free Index): 2.80 +/- 0.68
Photon Flux (Free Index): 1.30e-07 +/- 8.01e-08
Energy Flux (Free Index): 2.97e-05 +/- 1.65e-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/402965/cmap_HighResolution_279244801_279504001_4FGL_J0423.3-0120_daily_bin154.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.44e-08', energy_flux2='2.97e-05', photon_flux_error='5.30e-08', dlogl='4.45e-01', energy_flux='3.13e-05', photon_flux2='1.30e-07', job_status='DONE', time_completed='2021-08-20 13:20:55.198959', photon_index_error2='0.68', photon_index2='2.80', ts='4.49', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='1.65e-05', EG='0.89', time_epoch_completed='1629490855.2', return_code='0', job_id='402965', GAL2='0.95', EG2='0.84', return_code2='0', energy_flux_error='1.97e-05', photon_flux_error2='8.01e-08', ts2='5.47', photon_index='2.24' WHERE bin_id='154' AND source_name='4FGL J0423.3-0120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 13:20:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 402965: <4FGL_J0423.3-0120_daily_bin154> in cluster <slac> Done

Job <4FGL_J0423.3-0120_daily_bin154> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Aug 20 13:05:46 2021
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 13:05:48 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:05:48 2021
Terminated at Fri Aug 20 13:20:56 2021
Results reported at Fri Aug 20 13:20:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0423.3-0120_daily_bin154 65.826 -1.3342 279244801 279504001 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 :                                   669.47 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             290.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   907 sec.
    Turnaround time :                            910 sec.

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

