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


Performing analysis on: 4FGL_J0424.7+0036_daily_bin839
RA = 66.1945, Dec = 0.6028
tmin = 456796801, tmax = 457056001
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='415104', job_status='RUN', time_executed='2021-08-20 13:48:37.240357', time_epoch_executed='1629492517.24' WHERE source_name='4FGL J0424.7+0036' and cadence='daily' and bin_id='839'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/415104

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/415104/ft1_4FGL_J0424.7+0036_daily_bin839.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/415104/ft2_4FGL_J0424.7+0036_daily_bin839.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/415104/ft1_4FGL_J0424.7+0036_daily_bin839.fits outfile=/scratch/kocevski/415104/ft1_filteredMKT_4FGL_J0424.7+0036_daily_bin839.fits ra=66.1945 dec=0.6028 rad=12.0 tmin=456796801.0 tmax=457056001.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 4.11
user 3.09
sys 0.97

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/415104/ft1_filtered_4FGL_J0424.7+0036_daily_bin839.fits" evtable="EVENTS" scfile=/scratch/kocevski/415104/ft2_4FGL_J0424.7+0036_daily_bin839.fits sctable="SC_DATA" outfile=/scratch/kocevski/415104/ltcube_456796801_457056001_4FGL_J0424.7+0036_daily_bin839.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/415104/ft2_4FGL_J0424.7+0036_daily_bin839.fits
.....................!
real 12.73
user 11.47
sys 1.22

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/415104/ft1_filtered_4FGL_J0424.7+0036_daily_bin839.fits evtable="EVENTS" scfile=/scratch/kocevski/415104/ft2_4FGL_J0424.7+0036_daily_bin839.fits sctable="SC_DATA" expcube=/scratch/kocevski/415104/ltcube_456796801_457056001_4FGL_J0424.7+0036_daily_bin839.fits outfile=/scratch/kocevski/415104/expmap_456796801_457056001_4FGL_J0424.7+0036_daily_bin839.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/415104/ltcube_456796801_457056001_4FGL_J0424.7+0036_daily_bin839.fits
.....................!
real 193.11
user 187.05
sys 5.67

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/415104/ft1_filtered_4FGL_J0424.7+0036_daily_bin839.fits scfile=/scratch/kocevski/415104/ft2_4FGL_J0424.7+0036_daily_bin839.fits outfile=/scratch/kocevski/415104/cmap_456796801_457056001_4FGL_J0424.7+0036_daily_bin839.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.30
user 0.35
sys 0.92

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/415104/ft1_filtered_4FGL_J0424.7+0036_daily_bin839.fits scfile=/scratch/kocevski/415104/ft2_4FGL_J0424.7+0036_daily_bin839.fits outfile=/scratch/kocevski/415104/cmap_HighResolution_456796801_457056001_4FGL_J0424.7+0036_daily_bin839.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.30
user 0.38
sys 0.89

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/415104/ft1_filtered_4FGL_J0424.7+0036_daily_bin839.fits evtable="EVENTS" scfile=/scratch/kocevski/415104/ft2_4FGL_J0424.7+0036_daily_bin839.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/415104/Model_4FGL_J0424.7+0036_daily_bin839.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/415104/ft1_filtered_4FGL_J0424.7+0036_daily_bin839.fits.....................!
real 123.54
user 120.96
sys 2.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9497       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.8651       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.983       1.0000         .10000E-03   10000.    
     6 'norm      '    3.1103       1.0000         .10000E-03   10000.    
     7 'Prefactor '    19.612       1.0000         .10000E-03   10000.    
     8 'norm      '    15.000       1.0000         .10000E-03   10000.    
     9 'norm      '    12.176       1.0000         .10000E-03   10000.    
    10 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.114       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.8944       1.0000         .10000E-03   10000.    
    16 'Prefactor '    40.041       1.0000         .10000E-03   10000.    
    17 'norm      '    .86708       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.2128       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .60453       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    1.2982       1.0000         .10000E-03   10000.    
    23 'Prefactor '    39.953       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0192       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0251       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=   8921.688     FROM MIGRAD    STATUS=CONVERGED    586 CALLS     2945 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9495        1.9845        .38301E-07   -.78946E-04
   2  Prefactor     .10000E-03    43.782       -.36492E-06** at limit **
   3  Prefactor     2.8632        18.583        .27958E-05   -.12633E-03
   4  norm          .10000E-03    4.9047       -.29109E-07** at limit **
   5  Prefactor     13.992        27.967       -.10745E-05   -.13466E-03
   6  norm          3.1113        3.8342        .12028E-07   -.57529E-03
   7  Prefactor     19.609        29.899        .56455E-07   -.57244E-04
   8  norm          15.001        11.200        .16201E-06   -.15087E-03
   9  norm          12.176        21.145        .11026E-07   -.29887E-03
  10  norm          .10000E-03    .46506        .78516E-06** at limit **
  11  Prefactor     .10000E-03    .90974        .15054E-05** at limit **
  12  Prefactor     .10000E-03    9.8528       -.86847E-07** at limit **
  13  Prefactor     18.145        38.692       -.48477E-05   -.20120E-03
  14  Prefactor     .10000E-03    3.3355        .58189E-08** at limit **
  15  norm          6.8949        3.4439       -.84975E-08   -.38620E-03
  16  Prefactor     40.049        39.929       -.56412E-06    .88533E-04
  17  norm          .86730        1.9280        .33275E-06   -.30743E-03
  18  Prefactor     6.2114        7.7682        .72645E-06   -.24037E-03
  19  Prefactor     .10000E-03    15.115       -.69252E-07** at limit **
  20  norm          .60356        2.1009        .58085E-06   -.33478E-04
  21  Prefactor     .10000E-03    27.373        .14091E-07** at limit **
  22  norm          1.2982        .77421        .74994E-08   -.24555E-03
  23  Prefactor     39.970        45.431       -.98237E-06    .13280E-03
  24  Normalizat    1.0191        .23901       -.13537E-05   -.43916E-03
  25  Prefactor     1.0251        .87863E-01    .36138E-06   -.78832E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.94945
  Prefactor  = 0.0001
  Prefactor  = 2.8632
  norm       = 0.0001
  Prefactor  = 13.992
  norm       = 3.11127
  Prefactor  = 19.6089
  norm       = 15.0009
  norm       = 12.1761
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.1448
  Prefactor  = 0.0001
  norm       = 6.89492
  Prefactor  = 40.0491
  norm       = 0.867301
  Prefactor  = 6.21135
  Prefactor  = 0.0001
  norm       = 0.603562
  Prefactor  = 0.0001
  norm       = 1.29822
  Prefactor  = 39.9696
  Normalizat = 1.01914
  Prefactor  = 1.02511
 **********
 **   18 **HESSE 
 **********

 FCN=   8921.688     FROM HESSE     STATUS=OK           431 CALLS     3376 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9495        1.9806        .10411E-03   -1.5364    
   2  Prefactor     .10000E-03    43.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.8632        20.322        .12008E-02   -1.5370    
   4  norm          .10000E-03    4.9056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.992        28.021        .10711E-03   -1.4960    
   6  norm          3.1113        3.7927        .19633E-03   -1.5355    
   7  Prefactor     19.609        29.902        .90441E-04   -1.4822    
   8  norm          15.001        11.255        .10342E-03   -1.4933    
   9  norm          12.176        20.975        .11480E-03   -1.5010    
  10  norm          .10000E-03    .61582        .11579E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.1205        .15615E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.8705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.145        40.334        .94106E-04   -1.4856    
  14  Prefactor     .10000E-03    3.3422        .16842E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.8949        3.4371        .11570E-03   -1.5183    
  16  Prefactor     40.049        39.848        .63345E-04   -1.4441    
  17  norm          .86730        1.8801        .18413E-03   -1.5522    
  18  Prefactor     6.2114        7.8844        .80528E-03   -1.5209    
  19  Prefactor     .10000E-03    15.131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .60356        2.0397        .22673E-03   -1.5553    
  21  Prefactor     .10000E-03    27.457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.2982        .76190        .61667E-04   -1.5480    
  23  Prefactor     39.970        44.135        .63415E-04   -1.4443    
  24  Normalizat    1.0191        .26214        .41966E-03   -.92392    
  25  Prefactor     1.0251        .98513E-01    .16683E-03   -.91897    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20816e-09
Minuit parameter uncertainties:
  1  1.98069
  2  0.000105455
  3  15.263
  4  7.42868e-07
  5  28.0475
  6  3.79299
  7  29.9246
  8  11.2565
  9  20.9878
  10  7.36529e-06
  11  8.2944e-06
  12  1.04721e-05
  13  40.3943
  14  1.24605e-06
  15  3.43716
  16  39.8743
  17  1.88021
  18  7.88573
  19  5.99049e-08
  20  2.03998
  21  9.06094e-05
  22  0.761904
  23  44.1711
  24  0.262473
  25  0.0985303
Done.

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

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  1.000e-04  8.294e-06  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.025e+00  9.853e-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:  1.019e+00  2.625e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 66.195 0.603
Photon Flux Upper Limit: 8.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.48e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/415104/likelihoodResults_456796801_457056001_4FGL_J0424.7+0036_daily_bin839.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) = 8921.69270429
delta logL = -0.00425540267861

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8921.68844951
delta logL = -6.21619619778e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2106       1.0000          .0000       10.000    
     3 'Normalizat'    1.0191       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0251       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=   8921.688     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      220 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .70681E-01    .32451E-01** at limit **
   2  Index         2.2080        6.4813        .50000        .18030E-04
   3  Normalizat    1.0191        .19197E-02    .94736E-01   -.13866E-03
   4  Prefactor     1.0251        .76891E-03    .41669E-01   -.39356E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.20796
  Normalizat = 1.01914
  Prefactor  = 1.02511
 **********
 **   18 **HESSE 
 **********

 FCN=   8921.688     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      253 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.596        .15639E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2080        5.3885        .50000       -.59247    
   3  Normalizat    1.0191        .18952E-01    .41967E-03   -.92392    
   4  Prefactor     1.0251        .76112E-02    .16683E-03   -.91897    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.08168e-07
Minuit parameter uncertainties:
  1  1.24124e-06
  2  105.086
  3  0.0189525
  4  0.00761126
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/415104': 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): 102
logL (Free Index) = 8921.68844887
delta logL = 2.42507667281e-08

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  1.000e-04  1.241e-06  1.000e-04  1.000e+04 ( 1.000e-12)
220        Index:  2.208e+00  1.051e+02  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.025e+00  7.611e-03  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:  1.019e+00  1.895e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/415104/cmap_HighResolution_456796801_457056001_4FGL_J0424.7+0036_daily_bin839.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.48e-03', job_status='DONE', photon_flux_upper_limit='8.49e-08', time_completed='2021-08-20 14:02:04.367778', job_id='415104', GAL2='1.03', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1629493324.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.43e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='839' AND source_name='4FGL J0424.7+0036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 14:02:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 415104: <4FGL_J0424.7+0036_daily_bin839> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0424.7+0036_daily_bin839 66.1945 0.6028 456796801 457056001 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 :                                   819.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   994 sec.
    Turnaround time :                            996 sec.

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

