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


Performing analysis on: 4FGL_J0423.3-0120_daily_bin1523
RA = 65.826, Dec = -1.3342
tmin = 634089601, tmax = 634348801
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='410590', job_status='RUN', time_executed='2021-08-20 13:30:58.608089', time_epoch_executed='1629491458.61' WHERE source_name='4FGL J0423.3-0120' and cadence='daily' and bin_id='1523'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/410590

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/410590/ft1_4FGL_J0423.3-0120_daily_bin1523.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/410590/ft2_4FGL_J0423.3-0120_daily_bin1523.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/410590/ft1_4FGL_J0423.3-0120_daily_bin1523.fits outfile=/scratch/kocevski/410590/ft1_filteredMKT_4FGL_J0423.3-0120_daily_bin1523.fits ra=65.826 dec=-1.3342 rad=12.0 tmin=634089601.0 tmax=634348801.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.17
user 4.69
sys 0.46

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/410590/ft1_filtered_4FGL_J0423.3-0120_daily_bin1523.fits" evtable="EVENTS" scfile=/scratch/kocevski/410590/ft2_4FGL_J0423.3-0120_daily_bin1523.fits sctable="SC_DATA" outfile=/scratch/kocevski/410590/ltcube_634089601_634348801_4FGL_J0423.3-0120_daily_bin1523.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/410590/ft2_4FGL_J0423.3-0120_daily_bin1523.fits
.....................!
real 13.65
user 13.02
sys 0.60

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/410590/ft1_filtered_4FGL_J0423.3-0120_daily_bin1523.fits evtable="EVENTS" scfile=/scratch/kocevski/410590/ft2_4FGL_J0423.3-0120_daily_bin1523.fits sctable="SC_DATA" expcube=/scratch/kocevski/410590/ltcube_634089601_634348801_4FGL_J0423.3-0120_daily_bin1523.fits outfile=/scratch/kocevski/410590/expmap_634089601_634348801_4FGL_J0423.3-0120_daily_bin1523.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/410590/ltcube_634089601_634348801_4FGL_J0423.3-0120_daily_bin1523.fits
.....................!
real 194.17
user 188.75
sys 5.10

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/410590/ft1_filtered_4FGL_J0423.3-0120_daily_bin1523.fits scfile=/scratch/kocevski/410590/ft2_4FGL_J0423.3-0120_daily_bin1523.fits outfile=/scratch/kocevski/410590/cmap_634089601_634348801_4FGL_J0423.3-0120_daily_bin1523.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.76
user 0.36
sys 0.39

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/410590/ft1_filtered_4FGL_J0423.3-0120_daily_bin1523.fits scfile=/scratch/kocevski/410590/ft2_4FGL_J0423.3-0120_daily_bin1523.fits outfile=/scratch/kocevski/410590/cmap_HighResolution_634089601_634348801_4FGL_J0423.3-0120_daily_bin1523.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.38
sys 0.38

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/410590/ft1_filtered_4FGL_J0423.3-0120_daily_bin1523.fits evtable="EVENTS" scfile=/scratch/kocevski/410590/ft2_4FGL_J0423.3-0120_daily_bin1523.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/410590/Model_4FGL_J0423.3-0120_daily_bin1523.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/410590/ft1_filtered_4FGL_J0423.3-0120_daily_bin1523.fits.....................!
real 133.61
user 131.88
sys 1.50

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .42199       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.986       1.0000         .10000E-03   10000.    
     4 'norm      '    14.632       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.9173       1.0000         .10000E-03   10000.    
     6 'norm      '    .21408E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.0869       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .38998       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .22034E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.592       1.0000         .10000E-03   10000.    
    15 'norm      '    2.8914       1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.423       1.0000         .10000E-03   10000.    
    17 'norm      '    .14755       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .18458       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.6816       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3088       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87791       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=   9280.239     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2274 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .42202        .99853        .68050E-06   -.41456E-04
   2  Prefactor     .10000E-03    12.812        .11454E-06** at limit **
   3  Prefactor     18.990        14.312        .38121E-07   -.64022E-04
   4  norm          14.631        12.669        .30719E-07   -.25180E-05
   5  Prefactor     2.9242        57.159       -.46427E-06   -.31665E-04
   6  norm          .10000E-03    4.6607       -.18959E-07** at limit **
   7  Prefactor     .10000E-03    6.0812       -.24782E-07** at limit **
   8  norm          .10000E-03    4.2510       -.37184E-07** at limit **
   9  norm          .10000E-03    9.8813       -.39329E-07** at limit **
  10  norm          5.0858        1.3659       -.11844E-06   -.14144E-02
  11  Prefactor     .39004        .88828        .82067E-06    .98979E-03
  12  Prefactor     .10000E-03    99.462       -.63474E-06** at limit **
  13  Prefactor     .10000E-03    23.146        .46420E-06** at limit **
  14  Prefactor     10.584        10.668        .22127E-05   -.39711E-03
  15  norm          2.8952        2.9250        .19306E-06   -.24356E-03
  16  Prefactor     17.383        36.280       -.11740E-05   -.16157E-03
  17  norm          .15646        .95959        .48179E-06   -.15779E-02
  18  Prefactor     .10000E-03    2.7601       -.90989E-07** at limit **
  19  Prefactor     .10000E-03    20.948       -.65245E-06** at limit **
  20  norm          .18556        .77640        .69902E-07   -.26295E-03
  21  Prefactor     3.6742        22.213        .61014E-06    .24594E-05
  22  Normalizat    1.3091        .19574       -.23200E-05   -.24502E-03
  23  Prefactor     .87773        .83197E-01    .35262E-06   -.59117E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.422019
  Prefactor  = 0.0001
  Prefactor  = 18.9898
  norm       = 14.6307
  Prefactor  = 2.92421
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.08578
  Prefactor  = 0.390039
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 10.5839
  norm       = 2.89519
  Prefactor  = 17.3833
  norm       = 0.156458
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.185562
  Prefactor  = 3.6742
  Normalizat = 1.30909
  Prefactor  = 0.877734
 **********
 **   18 **HESSE 
 **********

 FCN=   9280.239     FROM HESSE     STATUS=OK           376 CALLS     2650 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .42202        .97678        .14220E-03   -1.5578    
   2  Prefactor     .10000E-03    12.820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.990        14.332        .91919E-04   -1.4836    
   4  norm          14.631        12.670        .10471E-03   -1.4943    
   5  Prefactor     2.9242        56.566        .23786E-03   -1.5366    
   6  norm          .10000E-03    4.8483        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.0842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.2790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    9.8963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.0858        1.3657        .54790E-04   -1.5257    
  11  Prefactor     .39004        .82100        .14278E-02   -1.5583    
  12  Prefactor     .10000E-03    102.43        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    23.198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.584        10.327        .61555E-03   -1.5057    
  15  norm          2.8952        2.8832        .15457E-03   -1.5368    
  16  Prefactor     17.383        36.512        .95952E-04   -1.4874    
  17  norm          .15646        7.7526        .16959E-02   -1.5629    
  18  Prefactor     .10000E-03    2.7725        .15624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    21.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .18556        2.6943        .15934E-02   -1.5622    
  21  Prefactor     3.6742        22.033        .21050E-03   -1.5325    
  22  Normalizat    1.3091        .21787        .32745E-03   -.83295    
  23  Prefactor     .87773        .93910E-01    .17601E-03   -.96924    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5532e-08
Minuit parameter uncertainties:
  1  0.976813
  2  4.06497e-05
  3  14.3347
  4  12.6721
  5  25.7502
  6  5.30874e-06
  7  6.84633e-06
  8  3.50275e-06
  9  2.06542e-05
  10  1.36573
  11  0.821025
  12  0.000263165
  13  0.000233585
  14  10.3283
  15  2.88334
  16  36.5592
  17  2.20229
  18  1.98102e-06
  19  0.000276848
  20  1.41386
  21  18.0043
  22  0.218027
  23  0.0939268
Done.

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

Extracting fit parameters...

4FGL J0423.3-0120
   Spectrum: LogParabola
225         norm:  5.086e+00  1.366e+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:  8.777e-01  9.393e-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.309e+00  2.180e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 49.40
Ra Dec: 65.826 -1.334
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 1.97e-07 +/- 5.29e-08
Energy Flux (Fixed Index): 7.31e-05 +/- 1.96e-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) = 9279.62179264
delta logL = 0.617304509784

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9279.61779195
delta logL = 0.621305197639

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9949       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9249       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3544       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86841       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=   9279.618     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      210 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9949        1.4223        .44984E-02    .17144E-02
   2  alpha         1.9249        .25839        .23000       -.17372E-04
   3  Normalizat    1.3544        .18050        .73048E-01    .14861E-03
   4  Prefactor     .86840        .80336E-01    .44601E-01    .29608E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.99487
  alpha      = 1.92489
  Normalizat = 1.35436
  Prefactor  = 0.868403
 **********
 **   18 **HESSE 
 **********

 FCN=   9279.618     FROM HESSE     STATUS=OK            29 CALLS      239 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9949        1.4395        .57703E-04   -1.5261    
   2  alpha         1.9249        .27708        .95502E-02   -.23212    
   3  Normalizat    1.3544        .20351        .32323E-03   -.81958    
   4  Prefactor     .86840        .90295E-01    .17692E-03   -.97254    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98609e-10
Minuit parameter uncertainties:
  1  1.43951
  2  0.277681
  3  0.203635
  4  0.0903103
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/410590': 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) = 9279.61779195
delta logL = 0.621305199586

Extracting fit parameters...

4FGL J0423.3-0120
   Spectrum: LogParabola
225         norm:  4.995e+00  1.440e+00  1.000e-04  1.000e+04 ( 1.000e-11)
226        alpha:  1.925e+00  2.777e-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.684e-01  9.031e-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.354e+00  2.036e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 50.67
Ra Dec: 65.826 -1.334
Photon Index (Free Index): 1.92 +/- 0.28
Photon Flux (Free Index): 1.48e-07 +/- 5.84e-08
Energy Flux (Free Index): 8.70e-05 +/- 3.03e-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/410590/cmap_HighResolution_634089601_634348801_4FGL_J0423.3-0120_daily_bin1523.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.97e-07', energy_flux2='8.70e-05', photon_flux_error='5.29e-08', dlogl='6.21e-01', energy_flux='7.31e-05', photon_flux2='1.48e-07', job_status='DONE', time_completed='2021-08-20 13:42:37.146577', photon_index_error2='0.28', photon_index2='1.92', ts='49.40', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='3.03e-05', EG='1.31', time_epoch_completed='1629492157.15', return_code='0', job_id='410590', GAL2='0.87', EG2='1.35', return_code2='0', energy_flux_error='1.96e-05', photon_flux_error2='5.84e-08', ts2='50.67', photon_index='2.24' WHERE bin_id='1523' AND source_name='4FGL J0423.3-0120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 13:42:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 410590: <4FGL_J0423.3-0120_daily_bin1523> in cluster <slac> Done

Job <4FGL_J0423.3-0120_daily_bin1523> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Aug 20 13:30:33 2021
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 13:30:34 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:30:34 2021
Terminated at Fri Aug 20 13:42:37 2021
Results reported at Fri Aug 20 13:42:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0423.3-0120_daily_bin1523 65.826 -1.3342 634089601 634348801 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 :                                   699.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             370.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   723 sec.
    Turnaround time :                            724 sec.

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

