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


Performing analysis on: 4FGL_J0424.7+0036_daily_bin759
RA = 66.1945, Dec = 0.6028
tmin = 436060801, tmax = 436320001
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='414985', job_status='RUN', time_executed='2021-08-20 13:48:00.731172', time_epoch_executed='1629492480.73' WHERE source_name='4FGL J0424.7+0036' and cadence='daily' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/414985

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/414985/ft1_4FGL_J0424.7+0036_daily_bin759.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/414985/ft2_4FGL_J0424.7+0036_daily_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/414985/ft1_4FGL_J0424.7+0036_daily_bin759.fits outfile=/scratch/kocevski/414985/ft1_filteredMKT_4FGL_J0424.7+0036_daily_bin759.fits ra=66.1945 dec=0.6028 rad=12.0 tmin=436060801.0 tmax=436320001.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 6.46
user 5.57
sys 0.86

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/414985/ft2_4FGL_J0424.7+0036_daily_bin759.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/414985/ft2_4FGL_J0424.7+0036_daily_bin759.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/414985/ft1_filteredMKT_4FGL_J0424.7+0036_daily_bin759.fits evtable="EVENTS" outfile="/scratch/kocevski/414985/ft1_filtered_4FGL_J0424.7+0036_daily_bin759.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 1.13
user 0.33
sys 0.77

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/414985/ft1_filtered_4FGL_J0424.7+0036_daily_bin759.fits" evtable="EVENTS" scfile=/scratch/kocevski/414985/ft2_4FGL_J0424.7+0036_daily_bin759.fits sctable="SC_DATA" outfile=/scratch/kocevski/414985/ltcube_436060801_436320001_4FGL_J0424.7+0036_daily_bin759.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/414985/ft2_4FGL_J0424.7+0036_daily_bin759.fits
.....................!
real 13.92
user 12.90
sys 0.98

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/414985/ft1_filtered_4FGL_J0424.7+0036_daily_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/414985/ft2_4FGL_J0424.7+0036_daily_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/414985/ltcube_436060801_436320001_4FGL_J0424.7+0036_daily_bin759.fits outfile=/scratch/kocevski/414985/expmap_436060801_436320001_4FGL_J0424.7+0036_daily_bin759.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/414985/ltcube_436060801_436320001_4FGL_J0424.7+0036_daily_bin759.fits
.....................!
real 193.94
user 188.01
sys 5.52

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 J0424.7+0036 @ 66.1945 0.6028

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/414985/ft1_filtered_4FGL_J0424.7+0036_daily_bin759.fits scfile=/scratch/kocevski/414985/ft2_4FGL_J0424.7+0036_daily_bin759.fits outfile=/scratch/kocevski/414985/cmap_436060801_436320001_4FGL_J0424.7+0036_daily_bin759.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=66.1945 yref=0.6028 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 1.14
user 0.38
sys 0.74

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/414985/ft1_filtered_4FGL_J0424.7+0036_daily_bin759.fits scfile=/scratch/kocevski/414985/ft2_4FGL_J0424.7+0036_daily_bin759.fits outfile=/scratch/kocevski/414985/cmap_HighResolution_436060801_436320001_4FGL_J0424.7+0036_daily_bin759.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=66.1945 yref=0.6028 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 1.17
user 0.39
sys 0.75

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/414985/ft1_filtered_4FGL_J0424.7+0036_daily_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/414985/ft2_4FGL_J0424.7+0036_daily_bin759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/414985/Model_4FGL_J0424.7+0036_daily_bin759.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/414985/ft1_filtered_4FGL_J0424.7+0036_daily_bin759.fits.....................!
real 120.15
user 117.70
sys 2.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/414985/ft1_filtered_4FGL_J0424.7+0036_daily_bin759.fits', '/scratch/kocevski/414985/ft2_4FGL_J0424.7+0036_daily_bin759.fits', expMap='/scratch/kocevski/414985/expmap_436060801_436320001_4FGL_J0424.7+0036_daily_bin759.fits', expCube='/scratch/kocevski/414985/ltcube_436060801_436320001_4FGL_J0424.7+0036_daily_bin759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/414985/Model_4FGL_J0424.7+0036_daily_bin759.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0424.7+0036'

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  1.091e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
220        Index:  2.213e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
221        Scale:  1.326e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/414985/ft1_filtered_4FGL_J0424.7+0036_daily_bin759.fits
Spacecraft file(s): /scratch/kocevski/414985/ft2_4FGL_J0424.7+0036_daily_bin759.fits
Exposure map: /scratch/kocevski/414985/expmap_436060801_436320001_4FGL_J0424.7+0036_daily_bin759.fits
Exposure cube: /scratch/kocevski/414985/ltcube_436060801_436320001_4FGL_J0424.7+0036_daily_bin759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/414985/Model_4FGL_J0424.7+0036_daily_bin759.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) = 8321.86702998

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.797       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.5888       1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.835       1.0000         .10000E-03   10000.    
     4 'norm      '    .10131E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.281       1.0000         .10000E-03   10000.    
     8 'norm      '    3.5931       1.0000         .10000E-03   10000.    
     9 'norm      '    .10712E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.0037       1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.447       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.401       1.0000         .10000E-03   10000.    
    15 'norm      '    1.9332       1.0000         .10000E-03   10000.    
    16 'Prefactor '    29.168       1.0000         .10000E-03   10000.    
    17 'norm      '    1.8528       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.4451       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .17388E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    5.1066       1.0000         .10000E-03   10000.    
    21 'Prefactor '    41.989       1.0000         .10000E-03   10000.    
    22 'norm      '    1.1175       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .47313       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0930       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8321.855     FROM MIGRAD    STATUS=CONVERGED    576 CALLS     2918 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.795        3.3692       -.40374E-06   -.18694E-03
   2  Prefactor     9.5489        65.223       -.96429E-04   -.24926E-04
   3  Prefactor     20.843        15.204        .39545E-05    .57605E-04
   4  norm          .10000E-03    7.5721        .11023E-06** at limit **
   5  Prefactor     .10000E-03    6.4919       -.31636E-07** at limit **
   6  norm          .10000E-03    3.4516       -.14577E-06** at limit **
   7  Prefactor     17.271        23.157       -.47071E-05   -.34991E-04
   8  norm          3.5867        9.6694       -.57139E-05   -.22575E-03
   9  norm          .10000E-03    14.062        .12972E-06** at limit **
  10  norm          .10000E-03    .30269       -.35628E-07** at limit **
  11  Prefactor     1.0035        1.3102       -.37799E-06   -.14804E-02
  12  Prefactor     25.447        27.333        .20449E-06   -.24013E-04
  13  Prefactor     .10000E-03    41.291       -.20936E-05** at limit **
  14  Prefactor     10.396        10.324       -.26498E-05   -.16359E-04
  15  norm          1.9336        2.8507       -.72042E-06   -.10734E-02
  16  Prefactor     29.167        30.861       -.16060E-05   -.22574E-04
  17  norm          1.8523        1.8614       -.55787E-06   -.71123E-03
  18  Prefactor     8.4433        8.2931       -.31389E-06   -.32011E-03
  19  Prefactor     .10001E-03    64.047        .78799E-05** at limit **
  20  norm          5.1059        2.4036       -.54214E-06   -.44484E-03
  21  Prefactor     41.968        44.316       -.21036E-04   -.14744E-03
  22  norm          1.1177        .82139        .81146E-06   -.66719E-04
  23  Prefactor     .10000E-03    8.4560       -.26859E-06** at limit **
  24  Normalizat    .47356        .27641        .18873E-04    .22974E-03
  25  Prefactor     1.0929        .99338E-01    .18990E-06   -.32489E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 12.7954
  Prefactor  = 9.54892
  Prefactor  = 20.843
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 17.2711
  norm       = 3.58669
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.00348
  Prefactor  = 25.4467
  Prefactor  = 0.0001
  Prefactor  = 10.3963
  norm       = 1.93357
  Prefactor  = 29.1666
  norm       = 1.85231
  Prefactor  = 8.44334
  Prefactor  = 0.000100014
  norm       = 5.10589
  Prefactor  = 41.9684
  norm       = 1.11774
  Prefactor  = 0.0001
  Normalizat = 0.47356
  Prefactor  = 1.0929
 **********
 **   18 **HESSE 
 **********

 FCN=   8321.855     FROM HESSE     STATUS=OK           431 CALLS     3349 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.795        3.3499        .80982E-04   -1.4992    
   2  Prefactor     9.5489        64.887        .12941E-03   -1.5090    
   3  Prefactor     20.843        15.186        .87749E-04   -1.4795    
   4  norm          .10000E-03    7.5866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.4924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.5444        .33077E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.271        23.171        .96346E-04   -1.4877    
   8  norm          3.5867        9.6119        .21318E-03   -1.5329    
   9  norm          .10000E-03    14.118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .30694        .48891E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.0035        1.1228        .11369E-02   -1.5508    
  12  Prefactor     25.447        26.763        .79410E-04   -1.4699    
  13  Prefactor     .10000E-03    41.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.396        10.239        .12424E-03   -1.5063    
  15  norm          1.9336        2.7838        .15827E-03   -1.5430    
  16  Prefactor     29.167        30.868        .74183E-04   -1.4627    
  17  norm          1.8523        1.8388        .11823E-03   -1.5436    
  18  Prefactor     8.4433        8.2367        .13795E-03   -1.5127    
  19  Prefactor     .10001E-03    64.562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.1059        2.3913        .91464E-04   -1.5256    
  21  Prefactor     41.968        43.819        .61864E-04   -1.4411    
  22  norm          1.1177        .79540        .59993E-04   -1.5497    
  23  Prefactor     .10000E-03    8.4597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .47356        .26718        .56506E-03   -1.1366    
  25  Prefactor     1.0929        .10056        .15663E-03   -.89694    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.34943e-09
Minuit parameter uncertainties:
  1  3.34991
  2  49.8614
  3  15.1893
  4  1.32526e-05
  5  3.82092e-06
  6  3.04306e-05
  7  23.1829
  8  9.61605
  9  3.06985e-05
  10  1.78973e-06
  11  1.12279
  12  26.7753
  13  0.000104678
  14  10.2403
  15  2.78403
  16  30.8849
  17  1.8389
  18  8.23779
  19  0.00193189
  20  2.39134
  21  43.8528
  22  0.795404
  23  1.80372e-05
  24  0.267908
  25  0.100579
Done.

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

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  1.003e+00  1.123e+00  1.000e-04  1.000e+04 ( 1.000e-12)
220        Index:  2.213e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
221        Scale:  1.326e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
459    Prefactor:  1.093e+00  1.006e-01  0.000e+00  1.000e+01 ( 1.000e+00)
460        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
461        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
458   Normalization:  4.736e-01  2.679e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.59
Ra Dec: 66.195 0.603
Photon Index (Fixed Index): 2.21 +/- 0.00
Photon Flux (Fixed Index): 2.53e-08 +/- 2.82e-08
Energy Flux (Fixed Index): 1.11e-05 +/- 1.24e-05

TS (Fixed Index): 1.59
Ra Dec: 66.195 0.603
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/414985/likelihoodResults_436060801_436320001_4FGL_J0424.7+0036_daily_bin759.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) = 8321.83508282
delta logL = 0.0199491606745

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8321.82968307
delta logL = 0.0253489155421

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1350       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0428       1.0000          .0000       10.000    
     3 'Normalizat'    .47740       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0921       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8321.830     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      210 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1345        32.922        .10939E-01    .34781E-03
   2  Index         2.0429        5.9743        .25548        .40572E-04
   3  Normalizat    .47745        .74870E-01    .12690       -.28421E-04
   4  Prefactor     1.0921        .26665E-01    .37893E-01   -.39834E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.13451
  Index      = 2.04287
  Normalizat = 0.477453
  Prefactor  = 1.09214
 **********
 **   18 **HESSE 
 **********

 FCN=   8321.830     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1345        1.3650        .10729E-03   -1.5495    
   2  Index         2.0429        .74914        .10565E-01   -.63283    
   3  Normalizat    .47745        .23503        .56283E-03   -1.1347    
   4  Prefactor     1.0921        .96975E-01    .15667E-03   -.89718    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.015e-09
Minuit parameter uncertainties:
  1  1.36506
  2  0.753521
  3  0.235514
  4  0.0969903
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/414985': 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) = 8321.82968297
delta logL = 0.0253490076993

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  1.135e+00  1.365e+00  1.000e-04  1.000e+04 ( 1.000e-12)
220        Index:  2.043e+00  7.535e-01  0.000e+00  1.000e+01 (-1.000e+00)
221        Scale:  1.326e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
459    Prefactor:  1.092e+00  9.699e-02  0.000e+00  1.000e+01 ( 1.000e+00)
460        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
461        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
458   Normalization:  4.775e-01  2.355e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.64
Ra Dec: 66.195 0.603
Photon Index (Free Index): 2.04 +/- 0.75
Photon Flux (Free Index): 2.14e-08 +/- 2.92e-08
Energy Flux (Free Index): 1.33e-05 +/- 1.97e-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/414985/cmap_HighResolution_436060801_436320001_4FGL_J0424.7+0036_daily_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.78e-03', comment='SUCCESS', photon_flux='2.53e-08', energy_flux2='1.33e-05', photon_flux_error='2.82e-08', dlogl='2.53e-02', energy_flux='1.11e-05', photon_flux2='2.14e-08', job_status='DONE', time_completed='2021-08-20 14:01:21.644600', photon_index_error2='0.75', photon_index2='2.04', ts='1.59', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='1.97e-05', EG='0.47', time_epoch_completed='1629493281.64', return_code='0', job_id='414985', GAL2='1.09', EG2='0.48', return_code2='0', energy_flux_error='1.24e-05', photon_flux_error2='2.92e-08', ts2='1.64', photon_index='2.21' WHERE bin_id='759' AND source_name='4FGL J0424.7+0036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 14:01:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 414985: <4FGL_J0424.7+0036_daily_bin759> in cluster <slac> Done

Job <4FGL_J0424.7+0036_daily_bin759> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Aug 20 13:45:19 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 13:45:20 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:45:20 2021
Terminated at Fri Aug 20 14:01:22 2021
Results reported at Fri Aug 20 14:01:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0424.7+0036_daily_bin759 66.1945 0.6028 436060801 436320001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0424.7+0036 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   809.25 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             334.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   961 sec.
    Turnaround time :                            963 sec.

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

