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


Performing analysis on: 4FGL_J0423.3-0120_daily_bin597
RA = 65.826, Dec = -1.3342
tmin = 394070401, tmax = 394329601
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='406122', job_status='RUN', time_executed='2021-08-20 13:19:01.416973', time_epoch_executed='1629490741.42' WHERE source_name='4FGL J0423.3-0120' and cadence='daily' and bin_id='597'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/406122

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/406122/ft1_4FGL_J0423.3-0120_daily_bin597.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/406122/ft2_4FGL_J0423.3-0120_daily_bin597.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/406122/ft1_4FGL_J0423.3-0120_daily_bin597.fits outfile=/scratch/kocevski/406122/ft1_filteredMKT_4FGL_J0423.3-0120_daily_bin597.fits ra=65.826 dec=-1.3342 rad=12.0 tmin=394070401.0 tmax=394329601.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 9.73
user 4.32
sys 5.37

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/406122/ft2_4FGL_J0423.3-0120_daily_bin597.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/406122/ft1_filteredMKT_4FGL_J0423.3-0120_daily_bin597.fits evtable="EVENTS" outfile="/scratch/kocevski/406122/ft1_filtered_4FGL_J0423.3-0120_daily_bin597.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 5.66
user 0.33
sys 5.31

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/406122/ft1_filtered_4FGL_J0423.3-0120_daily_bin597.fits" evtable="EVENTS" scfile=/scratch/kocevski/406122/ft2_4FGL_J0423.3-0120_daily_bin597.fits sctable="SC_DATA" outfile=/scratch/kocevski/406122/ltcube_394070401_394329601_4FGL_J0423.3-0120_daily_bin597.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/406122/ft2_4FGL_J0423.3-0120_daily_bin597.fits
.....................!
real 17.89
user 11.75
sys 6.07

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/406122/ft1_filtered_4FGL_J0423.3-0120_daily_bin597.fits evtable="EVENTS" scfile=/scratch/kocevski/406122/ft2_4FGL_J0423.3-0120_daily_bin597.fits sctable="SC_DATA" expcube=/scratch/kocevski/406122/ltcube_394070401_394329601_4FGL_J0423.3-0120_daily_bin597.fits outfile=/scratch/kocevski/406122/expmap_394070401_394329601_4FGL_J0423.3-0120_daily_bin597.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/406122/ltcube_394070401_394329601_4FGL_J0423.3-0120_daily_bin597.fits
.....................!
real 197.21
user 185.14
sys 11.73

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/406122/ft1_filtered_4FGL_J0423.3-0120_daily_bin597.fits scfile=/scratch/kocevski/406122/ft2_4FGL_J0423.3-0120_daily_bin597.fits outfile=/scratch/kocevski/406122/cmap_394070401_394329601_4FGL_J0423.3-0120_daily_bin597.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 5.59
user 0.38
sys 5.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/406122/ft1_filtered_4FGL_J0423.3-0120_daily_bin597.fits scfile=/scratch/kocevski/406122/ft2_4FGL_J0423.3-0120_daily_bin597.fits outfile=/scratch/kocevski/406122/cmap_HighResolution_394070401_394329601_4FGL_J0423.3-0120_daily_bin597.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 5.41
user 0.38
sys 5.02

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/406122/ft1_filtered_4FGL_J0423.3-0120_daily_bin597.fits evtable="EVENTS" scfile=/scratch/kocevski/406122/ft2_4FGL_J0423.3-0120_daily_bin597.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/406122/Model_4FGL_J0423.3-0120_daily_bin597.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/406122/ft1_filtered_4FGL_J0423.3-0120_daily_bin597.fits.....................!
real 117.61
user 108.87
sys 8.45

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6133       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .15670E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.2207       1.0000         .10000E-03   10000.    
     4 'norm      '    7.3527       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .20182E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    15.229       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.1445       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.9702       1.0000         .10000E-03   10000.    
    12 'Prefactor '    32.623       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.7320       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.3470       1.0000         .10000E-03   10000.    
    17 'norm      '    22.665       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.9750       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .15072E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10241E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .92380       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0336       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7495.915     FROM MIGRAD    STATUS=CONVERGED    922 CALLS     2593 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6136        1.5275        .79335E-04    .27800E-04
   2  Prefactor     .10001E-03    60.757        .18142E-02** at limit **
   3  Prefactor     6.2222        16.719        .16095E-03    .98959E-04
   4  norm          7.3533        9.1985        .14791E-03   -.12298E-05
   5  Prefactor     .10000E-03    7.8674        .18142E-02** at limit **
   6  norm          .10000E-03    1.3797        .99188E-03** at limit **
   7  Prefactor     .10000E-03    25.500        .10793    ** at limit **
   8  norm          15.232        11.232        .10263E-03    .67238E-04
   9  norm          .10000E-03    16.353        .18142E-02** at limit **
  10  norm          5.1447        1.5454        .56147E-04    .80190E-03
  11  Prefactor     1.9700        1.5656        .46081E-03    .11947E-02
  12  Prefactor     32.621        23.515        .70156E-04    .27224E-03
  13  Prefactor     .10000E-03    28.501        .18142E-02** at limit **
  14  Prefactor     .10000E-03    3.2718        .15261E-02** at limit **
  15  norm          1.7306        2.5039        .15173E-03    .82121E-04
  16  Prefactor     5.3406        49.045        .17380E-03    .31856E-04
  17  norm          22.665        4.2475        .36587E-03    .86812E-03
  18  Prefactor     2.9747        3.7521        .18323E-03    .17988E-03
  19  Prefactor     .10000E-03    15.621        .18142E-02** at limit **
  20  norm          .10000E-03    6.9865        .16274E-02** at limit **
  21  Prefactor     .10001E-03    39.175        .18142E-02** at limit **
  22  Normalizat    .92348        .26868        .42142E-03    .30662E-03
  23  Prefactor     1.0335        .11784        .17473E-03    .48680E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.61365
  Prefactor  = 0.00010001
  Prefactor  = 6.22216
  norm       = 7.35328
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 15.232
  norm       = 0.000100002
  norm       = 5.14466
  Prefactor  = 1.96999
  Prefactor  = 32.6208
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 1.73063
  Prefactor  = 5.34055
  norm       = 22.6647
  Prefactor  = 2.9747
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100007
  Normalizat = 0.923477
  Prefactor  = 1.03354
 **********
 **   18 **HESSE 
 **********

 FCN=   7495.915     FROM HESSE     STATUS=OK           356 CALLS     2949 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6136        1.5274        .31734E-05   -1.5385    
   2  Prefactor     .10001E-03    60.764        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.2222        16.719        .64381E-05   -1.5209    
   4  norm          7.3533        9.1988        .59166E-05   -1.5166    
   5  Prefactor     .10000E-03    7.8675        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.3798        .19838E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    23.945        .11257       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          15.232        11.232        .41053E-05   -1.4927    
   9  norm          .10000E-03    16.354        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.1447        1.5453        .11229E-04   -1.5254    
  11  Prefactor     1.9700        1.5653        .18433E-04   -1.5427    
  12  Prefactor     32.621        23.510        .14031E-04   -1.4565    
  13  Prefactor     .10000E-03    28.502        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.2722        .30522E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.7306        2.5033        .60692E-05   -1.5445    
  16  Prefactor     5.3406        49.068        .69520E-05   -1.5246    
  17  norm          22.665        4.2475        .14635E-04   -1.4755    
  18  Prefactor     2.9747        3.7520        .73290E-05   -1.5363    
  19  Prefactor     .10000E-03    15.621        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    7.0484        .32548E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10001E-03    39.188        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .92348        .26878        .16857E-04   -.95640    
  23  Prefactor     1.0335        .11790        .34946E-04   -.91620    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00949e-09
Minuit parameter uncertainties:
  1  1.52747
  2  0.0015642
  3  16.7319
  4  9.20055
  5  1.42034e-05
  6  9.37078e-07
  7  0.000436958
  8  11.2337
  9  0.000323108
  10  1.54528
  11  1.56534
  12  23.5166
  13  0.000255683
  14  2.9102e-06
  15  2.50341
  16  32.4108
  17  4.2476
  18  3.75231
  19  0.000181941
  20  2.04041e-05
  21  0.0010598
  22  0.269168
  23  0.117931
Done.

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

Extracting fit parameters...

4FGL J0423.3-0120
   Spectrum: LogParabola
225         norm:  5.145e+00  1.545e+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:  1.034e+00  1.179e-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.235e-01  2.692e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 32.93
Ra Dec: 65.826 -1.334
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 1.99e-07 +/- 5.98e-08
Energy Flux (Fixed Index): 7.39e-05 +/- 2.22e-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) = 7494.800042
delta logL = 1.11481654442

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7494.7993644
delta logL = 1.11549413685

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.3152       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8255       1.0000          .0000       5.0000    
     3 'Normalizat'    .97030       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0220       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=   7494.799     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      206 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.3152        1.6613        .43582E-02   -.38581E-02
   2  alpha         1.8257        .25385        .20551       -.45812E-04
   3  Normalizat    .97012        .23346        .93220E-01    .14938E-03
   4  Prefactor     1.0221        .10160        .41943E-01    .49721E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.31524
  alpha      = 1.82566
  Normalizat = 0.970115
  Prefactor  = 1.02213
 **********
 **   18 **HESSE 
 **********

 FCN=   7494.799     FROM HESSE     STATUS=OK            29 CALLS      235 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.3152        1.6667        .59468E-04   -1.5247    
   2  alpha         1.8257        .26535        .87126E-02   -.27312    
   3  Normalizat    .97012        .26111        .41290E-03   -.94038    
   4  Prefactor     1.0221        .11386        .17563E-03   -.91996    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.68322e-10
Minuit parameter uncertainties:
  1  1.66673
  2  0.265894
  3  0.261457
  4  0.113888
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/406122': 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) = 7494.79936407
delta logL = 1.11549447397

Extracting fit parameters...

4FGL J0423.3-0120
   Spectrum: LogParabola
225         norm:  5.315e+00  1.667e+00  1.000e-04  1.000e+04 ( 1.000e-11)
226        alpha:  1.826e+00  2.659e-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.022e+00  1.139e-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.701e-01  2.615e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 35.22
Ra Dec: 65.826 -1.334
Photon Index (Free Index): 1.83 +/- 0.27
Photon Flux (Free Index): 1.48e-07 +/- 5.68e-08
Energy Flux (Free Index): 1.04e-04 +/- 4.37e-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/406122/cmap_HighResolution_394070401_394329601_4FGL_J0423.3-0120_daily_bin597.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.99e-07', energy_flux2='1.04e-04', photon_flux_error='5.98e-08', dlogl='1.12e+00', energy_flux='7.39e-05', photon_flux2='1.48e-07', job_status='DONE', time_completed='2021-08-20 13:30:58.215515', photon_index_error2='0.27', photon_index2='1.83', ts='32.93', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='4.37e-05', EG='0.92', time_epoch_completed='1629491458.22', return_code='0', job_id='406122', GAL2='1.02', EG2='0.97', return_code2='0', energy_flux_error='2.22e-05', photon_flux_error2='5.68e-08', ts2='35.22', photon_index='2.24' WHERE bin_id='597' AND source_name='4FGL J0423.3-0120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 13:30:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 406122: <4FGL_J0423.3-0120_daily_bin597> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0423.3-0120_daily_bin597 65.826 -1.3342 394070401 394329601 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 :                                   795.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             283.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            936 sec.

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

