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


Performing analysis on: 4FGL_J0424.7+0036_daily_bin576
RA = 66.1945, Dec = 0.6028
tmin = 388627201, tmax = 388886401
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='413672', job_status='RUN', time_executed='2021-08-20 13:43:49.133654', time_epoch_executed='1629492229.13' WHERE source_name='4FGL J0424.7+0036' and cadence='daily' and bin_id='576'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/413672

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/413672/ft1_4FGL_J0424.7+0036_daily_bin576.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/413672/ft2_4FGL_J0424.7+0036_daily_bin576.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/413672/ft1_4FGL_J0424.7+0036_daily_bin576.fits outfile=/scratch/kocevski/413672/ft1_filteredMKT_4FGL_J0424.7+0036_daily_bin576.fits ra=66.1945 dec=0.6028 rad=12.0 tmin=388627201.0 tmax=388886401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.87
user 3.75
sys 2.07

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/413672/ft1_filtered_4FGL_J0424.7+0036_daily_bin576.fits" evtable="EVENTS" scfile=/scratch/kocevski/413672/ft2_4FGL_J0424.7+0036_daily_bin576.fits sctable="SC_DATA" outfile=/scratch/kocevski/413672/ltcube_388627201_388886401_4FGL_J0424.7+0036_daily_bin576.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/413672/ft2_4FGL_J0424.7+0036_daily_bin576.fits
.....................!
real 13.80
user 11.33
sys 2.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/413672/ft1_filtered_4FGL_J0424.7+0036_daily_bin576.fits evtable="EVENTS" scfile=/scratch/kocevski/413672/ft2_4FGL_J0424.7+0036_daily_bin576.fits sctable="SC_DATA" expcube=/scratch/kocevski/413672/ltcube_388627201_388886401_4FGL_J0424.7+0036_daily_bin576.fits outfile=/scratch/kocevski/413672/expmap_388627201_388886401_4FGL_J0424.7+0036_daily_bin576.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/413672/ltcube_388627201_388886401_4FGL_J0424.7+0036_daily_bin576.fits
.....................!
real 193.12
user 185.16
sys 7.64

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/413672/ft1_filtered_4FGL_J0424.7+0036_daily_bin576.fits scfile=/scratch/kocevski/413672/ft2_4FGL_J0424.7+0036_daily_bin576.fits outfile=/scratch/kocevski/413672/cmap_388627201_388886401_4FGL_J0424.7+0036_daily_bin576.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 2.34
user 0.37
sys 1.95

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/413672/ft1_filtered_4FGL_J0424.7+0036_daily_bin576.fits scfile=/scratch/kocevski/413672/ft2_4FGL_J0424.7+0036_daily_bin576.fits outfile=/scratch/kocevski/413672/cmap_HighResolution_388627201_388886401_4FGL_J0424.7+0036_daily_bin576.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 2.34
user 0.39
sys 1.94

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/413672/ft1_filtered_4FGL_J0424.7+0036_daily_bin576.fits evtable="EVENTS" scfile=/scratch/kocevski/413672/ft2_4FGL_J0424.7+0036_daily_bin576.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/413672/Model_4FGL_J0424.7+0036_daily_bin576.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/413672/ft1_filtered_4FGL_J0424.7+0036_daily_bin576.fits.....................!
real 92.58
user 88.85
sys 3.57

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9741       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.333       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.829       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .67240E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10433E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.0769       1.0000         .10000E-03   10000.    
    10 'norm      '    1.4049       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13100E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.851       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10527E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .12515E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.8756       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.7398       1.0000         .10000E-03   10000.    
    19 'Prefactor '    18.001       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .13327E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .71663       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.3531       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .85056       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=   6049.545     FROM MIGRAD    STATUS=CONVERGED    623 CALLS     2992 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9738        1.7798        .50639E-07    .30148E-04
   2  Prefactor     12.317        46.101       -.65603E-06   -.13086E-04
   3  Prefactor     12.841        15.771       -.50758E-07    .15464E-04
   4  norm          .10000E-03    10.467       -.19632E-07** at limit **
   5  Prefactor     .10635E-03    42.013       -.60273E-05** at limit **
   6  norm          .10000E-03    2.3483        .18488E-07** at limit **
   7  Prefactor     .10000E-03    32.433       -.27285E-05** at limit **
   8  norm          .10000E-03    8.3722        .52516E-07** at limit **
   9  norm          8.0778        24.206        .71913E-06    .16862E-03
  10  norm          1.4054        1.2792        .24887E-07    .82488E-03
  11  Prefactor     .10000E-03    1.1195       -.44913E-07** at limit **
  12  Prefactor     20.904        24.859        .34401E-06    .15256E-03
  13  Prefactor     .10000E-03    55.506       -.11046E-05** at limit **
  14  Prefactor     .10000E-03    15.774       -.82747E-08** at limit **
  15  norm          .10000E-03    1.9745       -.10325E-05** at limit **
  16  Prefactor     .10001E-03    34.379        .31284E-05** at limit **
  17  norm          3.8760        2.7170        .10903E-05    .81119E-03
  18  Prefactor     8.7391        8.3073        .90371E-06    .47369E-03
  19  Prefactor     18.048        29.524       -.21914E-05   -.18425E-03
  20  norm          .10000E-03    .86394        .34552E-07** at limit **
  21  Prefactor     .10000E-03    21.656       -.36200E-06** at limit **
  22  norm          .71597        .75689        .48514E-07    .16946E-03
  23  Prefactor     .10000E-03    79.376        .32969E-06** at limit **
  24  Normalizat    1.3533        .25409       -.80906E-06    .32113E-03
  25  Prefactor     .85058        .93927E-01    .25990E-06    .54691E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.97384
  Prefactor  = 12.3175
  Prefactor  = 12.8406
  norm       = 0.0001
  Prefactor  = 0.000106351
  norm       = 0.0001
  Prefactor  = 0.000100004
  norm       = 0.0001
  norm       = 8.07778
  norm       = 1.40535
  Prefactor  = 0.000100002
  Prefactor  = 20.9036
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.000100005
  norm       = 3.87597
  Prefactor  = 8.73909
  Prefactor  = 18.0478
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.715966
  Prefactor  = 0.0001
  Normalizat = 1.35331
  Prefactor  = 0.850576
 **********
 **   18 **HESSE 
 **********

 FCN=   6049.545     FROM HESSE     STATUS=OK           435 CALLS     3427 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9738        1.7673        .95513E-04   -1.5427    
   2  Prefactor     12.317        46.148        .11407E-03   -1.5006    
   3  Prefactor     12.841        15.767        .11183E-03   -1.4991    
   4  norm          .10000E-03    10.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10635E-03    34.176        .13501       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.3650        .11636E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    33.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    8.4610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.0778        23.850        .14108E-03   -1.5139    
  10  norm          1.4054        1.2213        .77005E-04   -1.5471    
  11  Prefactor     .10000E-03    10.246        .14749E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     20.904        24.193        .87715E-04   -1.4793    
  13  Prefactor     .10000E-03    55.791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.248        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.3386        .19622E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    35.223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.8760        2.7573        .51529E-03   -1.5314    
  18  Prefactor     8.7391        8.3789        .13559E-03   -1.5117    
  19  Prefactor     18.048        30.061        .94400E-04   -1.4858    
  20  norm          .10000E-03    .87503        .70555E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    21.691        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .71597        .71926        .65927E-03   -1.5539    
  23  Prefactor     .10000E-03    81.571        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.3533        .28299        .34902E-03   -.81989    
  25  Prefactor     .85058        .10539        .16729E-03   -.97890    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.71081e-09
Minuit parameter uncertainties:
  1  1.76739
  2  46.2826
  3  15.7719
  4  4.30026e-06
  5  0.0294811
  6  1.336e-06
  7  0.000694324
  8  2.80857e-06
  9  23.8784
  10  1.22132
  11  0.000309793
  12  24.2042
  13  0.000386631
  14  1.60597e-05
  15  8.49656e-05
  16  0.000878708
  17  2.75735
  18  8.38005
  19  30.0857
  20  5.86523e-07
  21  1.76592e-06
  22  0.719271
  23  7.1108e-05
  24  0.283319
  25  0.105411
Done.

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

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  1.000e-04  3.098e-04  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:  8.506e-01  1.054e-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:  1.353e+00  2.833e-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: 1.24e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/413672/likelihoodResults_388627201_388886401_4FGL_J0424.7+0036_daily_bin576.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): 102
logL (Free Index) = 6049.54547117
delta logL = -0.000471615197966

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6048.85141292
delta logL = 0.693586633807

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13232E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    4.8842       1.0000          .0000       10.000    
     3 'Normalizat'    1.2523       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87073       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=   6048.851     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      250 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13178E-01    .19274        .17928E-02    .11530E-01
   2  Index         4.8863        2.5050        .95500E-01    .23061E-03
   3  Normalizat    1.2527        .62420E-01    .81299E-01    .56593E-04
   4  Prefactor     .87059        .24496E-01    .44631E-01   -.17878E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0131782
  Index      = 4.88629
  Normalizat = 1.25265
  Prefactor  = 0.870593
 **********
 **   18 **HESSE 
 **********

 FCN=   6048.851     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      283 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13178E-01    .54462        .81207E-04   -1.5685    
   2  Index         4.8863        7.2052        .48542E-02   -.22744E-01
   3  Normalizat    1.2527        .21429        .35989E-03   -.84991    
   4  Prefactor     .87059        .82519E-01    .16546E-03   -.97176    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.3962e-10
Minuit parameter uncertainties:
  1  0.168793
  2  5.53984
  3  0.214439
  4  0.0825311
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/413672': 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) = 6048.85141109
delta logL = 0.693588459967

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  1.318e-02  1.688e-01  1.000e-04  1.000e+04 ( 1.000e-12)
220        Index:  4.886e+00  5.540e+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:  8.706e-01  8.253e-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.253e+00  2.144e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.49
Ra Dec: 66.195 0.603
Photon Index (Free Index): 4.89 +/- 5.54
Photon Flux (Free Index): 1.04e-07 +/- 9.10e-08
Energy Flux (Free Index): 1.40e-05 +/- 1.33e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/413672/cmap_HighResolution_388627201_388886401_4FGL_J0424.7+0036_daily_bin576.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.46e-03', comment='SUCCESS', energy_flux2='1.40e-05', dlogl='6.94e-01', photon_flux2='1.04e-07', job_status='DONE', time_completed='2021-08-20 13:55:16.347431', photon_index_error2='5.54', photon_index2='4.89', ts='-0.00', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='1.24e-07', energy_flux_error2='1.33e-05', EG='1.35', time_epoch_completed='1629492916.35', return_code='0', job_id='413672', GAL2='0.87', EG2='1.25', return_code2='102', photon_flux_error2='9.10e-08', ts2='1.49', photon_index='2.21' WHERE bin_id='576' AND source_name='4FGL J0424.7+0036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 13:55:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 413672: <4FGL_J0424.7+0036_daily_bin576> in cluster <slac> Done

Job <4FGL_J0424.7+0036_daily_bin576> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Aug 20 13:40:34 2021
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 13:40: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:40:35 2021
Terminated at Fri Aug 20 13:55:17 2021
Results reported at Fri Aug 20 13:55:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0424.7+0036_daily_bin576 66.1945 0.6028 388627201 388886401 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 :                                   716.28 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             243.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   881 sec.
    Turnaround time :                            883 sec.

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

