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


Performing analysis on: 4FGL_J0423.3-0120_daily_bin315
RA = 65.826, Dec = -1.3342
tmin = 320976001, tmax = 321235201
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='404529', job_status='RUN', time_executed='2021-08-20 13:13:22.517509', time_epoch_executed='1629490402.52' WHERE source_name='4FGL J0423.3-0120' and cadence='daily' and bin_id='315'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/404529

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/404529/ft1_4FGL_J0423.3-0120_daily_bin315.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/404529/ft2_4FGL_J0423.3-0120_daily_bin315.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/404529/ft1_4FGL_J0423.3-0120_daily_bin315.fits outfile=/scratch/kocevski/404529/ft1_filteredMKT_4FGL_J0423.3-0120_daily_bin315.fits ra=65.826 dec=-1.3342 rad=12.0 tmin=320976001.0 tmax=321235201.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 3.83
user 3.26
sys 0.55

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/404529/ft1_filtered_4FGL_J0423.3-0120_daily_bin315.fits" evtable="EVENTS" scfile=/scratch/kocevski/404529/ft2_4FGL_J0423.3-0120_daily_bin315.fits sctable="SC_DATA" outfile=/scratch/kocevski/404529/ltcube_320976001_321235201_4FGL_J0423.3-0120_daily_bin315.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/404529/ft2_4FGL_J0423.3-0120_daily_bin315.fits
.....................!
real 13.98
user 13.17
sys 0.74

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/404529/ft1_filtered_4FGL_J0423.3-0120_daily_bin315.fits evtable="EVENTS" scfile=/scratch/kocevski/404529/ft2_4FGL_J0423.3-0120_daily_bin315.fits sctable="SC_DATA" expcube=/scratch/kocevski/404529/ltcube_320976001_321235201_4FGL_J0423.3-0120_daily_bin315.fits outfile=/scratch/kocevski/404529/expmap_320976001_321235201_4FGL_J0423.3-0120_daily_bin315.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/404529/ltcube_320976001_321235201_4FGL_J0423.3-0120_daily_bin315.fits
.....................!
real 190.90
user 185.49
sys 4.99

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/404529/ft1_filtered_4FGL_J0423.3-0120_daily_bin315.fits scfile=/scratch/kocevski/404529/ft2_4FGL_J0423.3-0120_daily_bin315.fits outfile=/scratch/kocevski/404529/cmap_320976001_321235201_4FGL_J0423.3-0120_daily_bin315.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.89
user 0.38
sys 0.48

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/404529/ft1_filtered_4FGL_J0423.3-0120_daily_bin315.fits scfile=/scratch/kocevski/404529/ft2_4FGL_J0423.3-0120_daily_bin315.fits outfile=/scratch/kocevski/404529/cmap_HighResolution_320976001_321235201_4FGL_J0423.3-0120_daily_bin315.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.89
user 0.37
sys 0.50

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/404529/ft1_filtered_4FGL_J0423.3-0120_daily_bin315.fits evtable="EVENTS" scfile=/scratch/kocevski/404529/ft2_4FGL_J0423.3-0120_daily_bin315.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/404529/Model_4FGL_J0423.3-0120_daily_bin315.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/404529/ft1_filtered_4FGL_J0423.3-0120_daily_bin315.fits.....................!
real 123.87
user 121.84
sys 1.70

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5873       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .36880E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    8.0006       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 '    .10131E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    15.483       1.0000         .10000E-03   10000.    
     9 'norm      '    11.220       1.0000         .10000E-03   10000.    
    10 'norm      '    .79781       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.0667       1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.633       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.3984       1.0000         .10000E-03   10000.    
    15 'norm      '    .12273E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    5.8450       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .24052       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    5.8079       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .77728       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99605       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=   8721.254     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2188 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5876        1.4459        .62012E-07    .19054E-04
   2  Prefactor     .10000E-03    14.258       -.63347E-06** at limit **
   3  Prefactor     .10033E-03    13.601        .77568E-05** at limit **
   4  norm          8.0023        13.333        .13365E-06   -.15197E-04
   5  Prefactor     .10000E-03    9.2394        .74710E-07** at limit **
   6  norm          .10000E-03    2.6848       -.40813E-07** at limit **
   7  Prefactor     .10000E-03    12.051        .14800E-05** at limit **
   8  norm          15.483        10.525       -.25835E-06    .40564E-04
   9  norm          11.223        17.822        .25352E-06   -.65557E-04
  10  norm          .79770        .81651       -.10024E-06   -.47853E-03
  11  Prefactor     4.0653        2.0346       -.10694E-06   -.12154E-02
  12  Prefactor     17.601        18.096       -.16170E-05   -.19009E-03
  13  Prefactor     .10000E-03    112.77        .20385E-05** at limit **
  14  Prefactor     3.4012        8.8129        .61798E-05    .46209E-03
  15  norm          .10000E-03    1.4541        .13250E-05** at limit **
  16  Prefactor     .10000E-03    11.040       -.46962E-06** at limit **
  17  norm          5.8445        2.5352       -.87471E-07   -.49634E-03
  18  Prefactor     .25802        7.0701       -.39266E-05    .32744E-03
  19  Prefactor     .10000E-03    19.310       -.23819E-06** at limit **
  20  norm          5.8080        2.0761        .12165E-07   -.23436E-03
  21  Prefactor     .10000E-03    22.355        .75743E-06** at limit **
  22  Normalizat    .77723        .20118       -.21316E-05   -.38192E-03
  23  Prefactor     .99601        .84638E-01    .11329E-06   -.13455E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.58761
  Prefactor  = 0.0001
  Prefactor  = 0.00010033
  norm       = 8.00226
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 15.4835
  norm       = 11.2235
  norm       = 0.797697
  Prefactor  = 4.06533
  Prefactor  = 17.6009
  Prefactor  = 0.000100001
  Prefactor  = 3.40119
  norm       = 0.000100002
  Prefactor  = 0.0001
  norm       = 5.84451
  Prefactor  = 0.258017
  Prefactor  = 0.0001
  norm       = 5.80801
  Prefactor  = 0.0001
  Normalizat = 0.777228
  Prefactor  = 0.996008
 **********
 **   18 **HESSE 
 **********

 FCN=   8721.254     FROM HESSE     STATUS=OK           374 CALLS     2562 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5876        1.4426        .81093E-04   -1.5386    
   2  Prefactor     .10000E-03    14.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10033E-03    48.393        .44642E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          8.0023        13.329        .14175E-03   -1.5142    
   5  Prefactor     .10000E-03    9.2432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.7185        .14930E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          15.483        10.535        .50895E-03   -1.4921    
   9  norm          11.223        17.823        .11960E-03   -1.5038    
  10  norm          .79770        .80732        .78953E-04   -1.5529    
  11  Prefactor     4.0653        2.0083        .85249E-04   -1.5305    
  12  Prefactor     17.601        18.224        .95380E-04   -1.4869    
  13  Prefactor     .10000E-03    113.29        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.4012        9.6962        .10973E-02   -1.5339    
  15  norm          .10000E-03    1.6024        .22598E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.8445        2.5349        .91895E-04   -1.5224    
  18  Prefactor     .25802        37.788        .38453E-02   -1.5606    
  19  Prefactor     .10000E-03    19.350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.8080        2.0757        .77203E-04   -1.5226    
  21  Prefactor     .10000E-03    22.489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .77723        .22396        .40103E-03   -1.0092    
  23  Prefactor     .99601        .94134E-01    .16121E-03   -.92863    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24499e-08
Minuit parameter uncertainties:
  1  1.44259
  2  8.06325e-05
  3  0.00800272
  4  13.3341
  5  2.79825e-06
  6  1.07382e-05
  7  6.68645e-05
  8  10.5359
  9  17.8315
  10  0.807332
  11  2.00834
  12  18.2294
  13  0.000819054
  14  9.70071
  15  0.000115963
  16  6.56818e-05
  17  2.53494
  18  6.24777
  19  3.69578e-05
  20  2.07572
  21  0.000192452
  22  0.224228
  23  0.0941498
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
461    Prefactor:  9.960e-01  9.415e-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:  7.772e-01  2.242e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.94
Ra Dec: 65.826 -1.334
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 3.09e-08 +/- 3.13e-08
Energy Flux (Fixed Index): 1.15e-05 +/- 1.16e-05

TS (Fixed Index): 2.94
Ra Dec: 65.826 -1.334
Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.14e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/404529/likelihoodResults_320976001_321235201_4FGL_J0423.3-0120_daily_bin315.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8720.89334361
delta logL = 0.360583749203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8720.85737632
delta logL = 0.396551039792

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .57535       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5556       1.0000          .0000       5.0000    
     3 'Normalizat'    .79133       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99365       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=   8720.857     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      207 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .57538        .56597        .11575E-01   -.15069E-03
   2  alpha         1.5552        .47418        .45667       -.40338E-04
   3  Normalizat    .79130        .18319        .89833E-01    .13579E-03
   4  Prefactor     .99365        .82841E-01    .46188E-01    .27027E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.575377
  alpha      = 1.55524
  Normalizat = 0.791305
  Prefactor  = 0.993649
 **********
 **   18 **HESSE 
 **********

 FCN=   8720.857     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .57538        .75992        .67847E-03   -1.5556    
   2  alpha         1.5552        .74146        .18793E-01   -.38753    
   3  Normalizat    .79130        .20276        .39792E-03   -1.0039    
   4  Prefactor     .99365        .91949E-01    .16141E-03   -.92942    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.12613e-09
Minuit parameter uncertainties:
  1  0.759934
  2  0.75477
  3  0.202949
  4  0.091964
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/404529': 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) = 8720.8573761
delta logL = 0.396551257403

Extracting fit parameters...

4FGL J0423.3-0120
   Spectrum: LogParabola
225         norm:  5.754e-01  7.599e-01  1.000e-04  1.000e+04 ( 1.000e-11)
226        alpha:  1.555e+00  7.548e-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.936e-01  9.196e-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:  7.913e-01  2.029e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.74
Ra Dec: 65.826 -1.334
Photon Index (Free Index): 1.56 +/- 0.75
Photon Flux (Free Index): 1.40e-08 +/- 2.08e-08
Energy Flux (Free Index): 1.79e-05 +/- 2.23e-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/404529/cmap_HighResolution_320976001_321235201_4FGL_J0423.3-0120_daily_bin315.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.14e-05', comment='SUCCESS', photon_flux='3.09e-08', energy_flux2='1.79e-05', photon_flux_error='3.13e-08', dlogl='3.97e-01', energy_flux='1.15e-05', photon_flux2='1.40e-08', job_status='DONE', time_completed='2021-08-20 13:25:19.983454', photon_index_error2='0.75', photon_index2='1.56', ts='2.94', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='1.12e-07', energy_flux_error2='2.23e-05', EG='0.78', time_epoch_completed='1629491119.98', return_code='0', job_id='404529', GAL2='0.99', EG2='0.79', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='2.08e-08', ts2='3.74', photon_index='2.24' WHERE bin_id='315' AND source_name='4FGL J0423.3-0120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 13:25:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 404529: <4FGL_J0423.3-0120_daily_bin315> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0423.3-0120_daily_bin315 65.826 -1.3342 320976001 321235201 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 :                                   721.32 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             301.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   885 sec.
    Turnaround time :                            887 sec.

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

