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


Performing analysis on: 4FGL_J0424.7+0036_daily_bin646
RA = 66.1945, Dec = 0.6028
tmin = 406771201, tmax = 407030401
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='413774', job_status='RUN', time_executed='2021-08-20 13:43:41.117804', time_epoch_executed='1629492221.12' WHERE source_name='4FGL J0424.7+0036' and cadence='daily' and bin_id='646'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/413774

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/413774/ft1_4FGL_J0424.7+0036_daily_bin646.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/413774/ft2_4FGL_J0424.7+0036_daily_bin646.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/413774/ft1_4FGL_J0424.7+0036_daily_bin646.fits outfile=/scratch/kocevski/413774/ft1_filteredMKT_4FGL_J0424.7+0036_daily_bin646.fits ra=66.1945 dec=0.6028 rad=12.0 tmin=406771201.0 tmax=407030401.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.51
user 3.21
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/413774/ft2_4FGL_J0424.7+0036_daily_bin646.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/413774/ft1_filteredMKT_4FGL_J0424.7+0036_daily_bin646.fits evtable="EVENTS" outfile="/scratch/kocevski/413774/ft1_filtered_4FGL_J0424.7+0036_daily_bin646.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.55
user 0.32
sys 0.22

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/413774/ft1_filtered_4FGL_J0424.7+0036_daily_bin646.fits" evtable="EVENTS" scfile=/scratch/kocevski/413774/ft2_4FGL_J0424.7+0036_daily_bin646.fits sctable="SC_DATA" outfile=/scratch/kocevski/413774/ltcube_406771201_407030401_4FGL_J0424.7+0036_daily_bin646.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/413774/ft2_4FGL_J0424.7+0036_daily_bin646.fits
.....................!
real 12.14
user 11.60
sys 0.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/413774/ft1_filtered_4FGL_J0424.7+0036_daily_bin646.fits evtable="EVENTS" scfile=/scratch/kocevski/413774/ft2_4FGL_J0424.7+0036_daily_bin646.fits sctable="SC_DATA" expcube=/scratch/kocevski/413774/ltcube_406771201_407030401_4FGL_J0424.7+0036_daily_bin646.fits outfile=/scratch/kocevski/413774/expmap_406771201_407030401_4FGL_J0424.7+0036_daily_bin646.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/413774/ltcube_406771201_407030401_4FGL_J0424.7+0036_daily_bin646.fits
.....................!
real 189.77
user 185.11
sys 4.32

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/413774/ft1_filtered_4FGL_J0424.7+0036_daily_bin646.fits scfile=/scratch/kocevski/413774/ft2_4FGL_J0424.7+0036_daily_bin646.fits outfile=/scratch/kocevski/413774/cmap_406771201_407030401_4FGL_J0424.7+0036_daily_bin646.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 0.59
user 0.38
sys 0.20

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/413774/ft1_filtered_4FGL_J0424.7+0036_daily_bin646.fits scfile=/scratch/kocevski/413774/ft2_4FGL_J0424.7+0036_daily_bin646.fits outfile=/scratch/kocevski/413774/cmap_HighResolution_406771201_407030401_4FGL_J0424.7+0036_daily_bin646.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 0.60
user 0.38
sys 0.21

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/413774/ft1_filtered_4FGL_J0424.7+0036_daily_bin646.fits evtable="EVENTS" scfile=/scratch/kocevski/413774/ft2_4FGL_J0424.7+0036_daily_bin646.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/413774/Model_4FGL_J0424.7+0036_daily_bin646.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/413774/ft1_filtered_4FGL_J0424.7+0036_daily_bin646.fits.....................!
real 110.38
user 108.89
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/413774/ft1_filtered_4FGL_J0424.7+0036_daily_bin646.fits', '/scratch/kocevski/413774/ft2_4FGL_J0424.7+0036_daily_bin646.fits', expMap='/scratch/kocevski/413774/expmap_406771201_407030401_4FGL_J0424.7+0036_daily_bin646.fits', expCube='/scratch/kocevski/413774/ltcube_406771201_407030401_4FGL_J0424.7+0036_daily_bin646.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/413774/Model_4FGL_J0424.7+0036_daily_bin646.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/413774/ft1_filtered_4FGL_J0424.7+0036_daily_bin646.fits
Spacecraft file(s): /scratch/kocevski/413774/ft2_4FGL_J0424.7+0036_daily_bin646.fits
Exposure map: /scratch/kocevski/413774/expmap_406771201_407030401_4FGL_J0424.7+0036_daily_bin646.fits
Exposure cube: /scratch/kocevski/413774/ltcube_406771201_407030401_4FGL_J0424.7+0036_daily_bin646.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/413774/Model_4FGL_J0424.7+0036_daily_bin646.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) = 7581.51420181

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0575       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.9095       1.0000         .10000E-03   10000.    
     4 'norm      '    8.0462       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10322E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .22676E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.821       1.0000         .10000E-03   10000.    
     8 'norm      '    .51841E-01   1.0000         .10000E-03   10000.    
     9 'norm      '    70.617       1.0000         .10000E-03   10000.    
    10 'norm      '    2.2937       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .66714       1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.581       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .33644E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.1370       1.0000         .10000E-03   10000.    
    17 'norm      '    .11627E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.7957       1.0000         .10000E-03   10000.    
    20 'norm      '    10.044       1.0000         .10000E-03   10000.    
    21 'Prefactor '    34.390       1.0000         .10000E-03   10000.    
    22 'norm      '    1.4081       1.0000         .10000E-03   10000.    
    23 'Prefactor '    10.389       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .71739       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0004       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=   7581.495     FROM MIGRAD    STATUS=CONVERGED    605 CALLS     3048 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0573        2.3346       -.11374E-06   -.88144E-05
   2  Prefactor     .10000E-03    26.677       -.58009E-06** at limit **
   3  Prefactor     9.9119        13.307       -.39284E-06   -.75561E-04
   4  norm          8.0281        16.487       -.12315E-05   -.18274E-03
   5  Prefactor     .10000E-03    46.714        .23112E-05** at limit **
   6  norm          .63738E-01    74.678        .22412E-04   -.17707E-04
   7  Prefactor     14.816        22.165       -.31840E-06   -.54628E-04
   8  norm          .43215E-01    535.24       -.50892E-04    .18909E-04
   9  norm          70.589        36.849       -.27669E-06   -.26696E-04
  10  norm          2.2908        1.2814       -.32112E-06    .79667E-04
  11  Prefactor     .66698        1.8617       -.33013E-06   -.40512E-04
  12  Prefactor     19.587        22.605       -.12930E-06   -.37514E-03
  13  Prefactor     .10006E-03    441.08        .15555E-04** at limit **
  14  Prefactor     .10000E-03    3.4028       -.66977E-07** at limit **
  15  norm          .10000E-03    1.1514        .10234E-05** at limit **
  16  Prefactor     8.1527        44.815        .67423E-06    .17423E-04
  17  norm          .10000E-03    3.0626       -.17064E-05** at limit **
  18  Prefactor     .10000E-03    1.8198        .16157E-07** at limit **
  19  Prefactor     9.8114        27.071       -.41369E-06    .41944E-05
  20  norm          10.044        3.3224       -.74463E-07    .37616E-03
  21  Prefactor     34.397        40.105       -.10361E-06    .21303E-04
  22  norm          1.4079        .93000       -.74752E-07   -.40396E-03
  23  Prefactor     10.386        35.304       -.12745E-05    .19864E-04
  24  Normalizat    .71719        .25308        .69710E-05    .16073E-03
  25  Prefactor     1.0004        .94568E-01   -.43674E-06    .11679E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 5.05731
  Prefactor  = 0.0001
  Prefactor  = 9.91192
  norm       = 8.02811
  Prefactor  = 0.000100002
  norm       = 0.0637379
  Prefactor  = 14.8164
  norm       = 0.0432154
  norm       = 70.5891
  norm       = 2.29081
  Prefactor  = 0.666982
  Prefactor  = 19.587
  Prefactor  = 0.000100056
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.15274
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.81144
  norm       = 10.0441
  Prefactor  = 34.397
  norm       = 1.40791
  Prefactor  = 10.3863
  Normalizat = 0.717191
  Prefactor  = 1.00042
 **********
 **   18 **HESSE 
 **********

 FCN=   7581.495     FROM HESSE     STATUS=OK           451 CALLS     3499 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0573        2.3336        .86835E-04   -1.5258    
   2  Prefactor     .10000E-03    26.736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.9119        13.320        .12729E-03   -1.5078    
   4  norm          8.0281        16.457        .14135E-03   -1.5141    
   5  Prefactor     .10000E-03    47.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .63738E-01    4.4340        .51419E-01   -1.5658    
   7  Prefactor     14.816        22.159        .10404E-03   -1.4938    
   8  norm          .43215E-01    11.173        .69632E-01   -1.5666    
   9  norm          70.589        36.712        .47770E-04   -1.4026    
  10  norm          2.2908        1.2652        .67091E-04   -1.5405    
  11  Prefactor     .66698        1.8624        .17972E-03   -1.5545    
  12  Prefactor     19.587        22.431        .90512E-04   -1.4823    
  13  Prefactor     .10006E-03    443.39        .39401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.4141        .15688E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.1506        .90282E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.1527        44.959        .14055E-03   -1.5137    
  17  norm          .10000E-03    3.0759        .20136E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.8245        .11469E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.8114        27.003        .12803E-03   -1.5081    
  20  norm          10.044        3.3106        .83807E-04   -1.5074    
  21  Prefactor     34.397        40.160        .68335E-04   -1.4534    
  22  norm          1.4079        .92163        .57112E-04   -1.5471    
  23  Prefactor     10.386        35.273        .12431E-03   -1.5063    
  24  Normalizat    .71719        .26484        .45851E-03   -1.0322    
  25  Prefactor     1.0004        .10240        .15959E-03   -.92715    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96105e-09
Minuit parameter uncertainties:
  1  2.33369
  2  7.48483e-05
  3  13.3243
  4  16.4666
  5  0.000659989
  6  1.06248
  7  22.1716
  8  1.38839
  9  36.7236
  10  1.26523
  11  1.86256
  12  22.4409
  13  0.0100265
  14  1.72605e-07
  15  9.28184e-07
  16  38.3345
  17  1.11028e-05
  18  8.61747e-06
  19  27.0361
  20  3.31062
  21  40.1911
  22  0.921643
  23  35.3443
  24  0.265313
  25  0.102416
Done.

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

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  6.670e-01  1.863e+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.000e+00  1.024e-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:  7.172e-01  2.653e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/413774/likelihoodResults_406771201_407030401_4FGL_J0424.7+0036_daily_bin646.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) = 7581.42298123
delta logL = 0.0716862906429

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7581.41106693
delta logL = 0.0836005851361

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45777       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7796       1.0000          .0000       10.000    
     3 'Normalizat'    .70155       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0034       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=   7581.411     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      213 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .45676        12.505        .11097E-01    .18558E-02
   2  Index         2.7810        2.4615        .22662        .53949E-04
   3  Normalizat    .70163        .36330E-01    .10444        .45241E-04
   4  Prefactor     1.0034        .14738E-01    .44558E-01   -.89301E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.456761
  Index      = 2.78096
  Normalizat = 0.701634
  Prefactor  = 1.00339
 **********
 **   18 **HESSE 
 **********

 FCN=   7581.411     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .45676        2.0901        .10639E-03   -1.5573    
   2  Index         2.7810        2.1110        .87456E-02   -.45984    
   3  Normalizat    .70163        .24981        .46303E-03   -1.0383    
   4  Prefactor     1.0034        .10036        .15934E-03   -.92617    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35604e-08
Minuit parameter uncertainties:
  1  1.95403
  2  2.19813
  3  0.250215
  4  0.100375
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/413774': 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) = 7581.41106645
delta logL = 0.0836010669318

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  4.568e-01  1.954e+00  1.000e-04  1.000e+04 ( 1.000e-12)
220        Index:  2.781e+00  2.198e+00  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.003e+00  1.004e-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:  7.016e-01  2.502e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.17
Ra Dec: 66.195 0.603

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/413774/cmap_HighResolution_406771201_407030401_4FGL_J0424.7+0036_daily_bin646.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.82e-03', job_status='DONE', photon_flux_upper_limit='1.29e-07', time_completed='2021-08-20 13:56:00.130356', job_id='413774', GAL2='1.00', fit_tolerance='1e-08', EG2='0.70', EG='0.72', time_epoch_completed='1629492960.13', return_code2='0', ts='0.17', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='8.36e-02', ts2='0.35', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='646' AND source_name='4FGL J0424.7+0036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 13:56:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 413774: <4FGL_J0424.7+0036_daily_bin646> in cluster <slac> Done

Job <4FGL_J0424.7+0036_daily_bin646> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Aug 20 13:40:42 2021
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 13:40:44 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:40:44 2021
Terminated at Fri Aug 20 13:56:00 2021
Results reported at Fri Aug 20 13:56:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0424.7+0036_daily_bin646 66.1945 0.6028 406771201 407030401 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 :                                   739.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             284.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            918 sec.

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

