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


Performing analysis on: 4FGL_J0424.7+0036_daily_bin952
RA = 66.1945, Dec = 0.6028
tmin = 486086401, tmax = 486345601
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='415268', job_status='RUN', time_executed='2021-08-20 13:48:03.185759', time_epoch_executed='1629492483.19' WHERE source_name='4FGL J0424.7+0036' and cadence='daily' and bin_id='952'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/415268

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/415268/ft1_4FGL_J0424.7+0036_daily_bin952.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/415268/ft2_4FGL_J0424.7+0036_daily_bin952.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/415268/ft1_4FGL_J0424.7+0036_daily_bin952.fits outfile=/scratch/kocevski/415268/ft1_filteredMKT_4FGL_J0424.7+0036_daily_bin952.fits ra=66.1945 dec=0.6028 rad=12.0 tmin=486086401.0 tmax=486345601.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.75
user 3.56
sys 1.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/415268/ft1_filtered_4FGL_J0424.7+0036_daily_bin952.fits" evtable="EVENTS" scfile=/scratch/kocevski/415268/ft2_4FGL_J0424.7+0036_daily_bin952.fits sctable="SC_DATA" outfile=/scratch/kocevski/415268/ltcube_486086401_486345601_4FGL_J0424.7+0036_daily_bin952.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/415268/ft2_4FGL_J0424.7+0036_daily_bin952.fits
.....................!
real 13.47
user 12.00
sys 1.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/415268/ft1_filtered_4FGL_J0424.7+0036_daily_bin952.fits evtable="EVENTS" scfile=/scratch/kocevski/415268/ft2_4FGL_J0424.7+0036_daily_bin952.fits sctable="SC_DATA" expcube=/scratch/kocevski/415268/ltcube_486086401_486345601_4FGL_J0424.7+0036_daily_bin952.fits outfile=/scratch/kocevski/415268/expmap_486086401_486345601_4FGL_J0424.7+0036_daily_bin952.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/415268/ltcube_486086401_486345601_4FGL_J0424.7+0036_daily_bin952.fits
.....................!
real 192.30
user 185.75
sys 6.19

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/415268/ft1_filtered_4FGL_J0424.7+0036_daily_bin952.fits scfile=/scratch/kocevski/415268/ft2_4FGL_J0424.7+0036_daily_bin952.fits outfile=/scratch/kocevski/415268/cmap_486086401_486345601_4FGL_J0424.7+0036_daily_bin952.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.47
user 0.38
sys 1.07

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/415268/ft1_filtered_4FGL_J0424.7+0036_daily_bin952.fits scfile=/scratch/kocevski/415268/ft2_4FGL_J0424.7+0036_daily_bin952.fits outfile=/scratch/kocevski/415268/cmap_HighResolution_486086401_486345601_4FGL_J0424.7+0036_daily_bin952.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.47
user 0.38
sys 1.08

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/415268/ft1_filtered_4FGL_J0424.7+0036_daily_bin952.fits evtable="EVENTS" scfile=/scratch/kocevski/415268/ft2_4FGL_J0424.7+0036_daily_bin952.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/415268/Model_4FGL_J0424.7+0036_daily_bin952.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/415268/ft1_filtered_4FGL_J0424.7+0036_daily_bin952.fits.....................!
real 126.95
user 124.28
sys 2.46

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.7213       1.0000         .10000E-03   10000.    
     2 'Prefactor '    41.218       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .23416E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10352E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    40.688       1.0000         .10000E-03   10000.    
     9 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13533       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.411       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.9141       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.816       1.0000         .10000E-03   10000.    
    15 'norm      '    3.1848       1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.767       1.0000         .10000E-03   10000.    
    17 'norm      '    4.3244       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.6139       1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.170       1.0000         .10000E-03   10000.    
    20 'norm      '    2.9288       1.0000         .10000E-03   10000.    
    21 'Prefactor '    50.352       1.0000         .10000E-03   10000.    
    22 'norm      '    2.9601       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.8753       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .85226       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0866       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=   8295.224     FROM MIGRAD    STATUS=CONVERGED    587 CALLS     2969 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.7215        2.9557       -.53963E-06   -.27040E-03
   2  Prefactor     41.224        48.330       -.38253E-06   -.22303E-04
   3  Prefactor     .10000E-03    18.814       -.22618E-06** at limit **
   4  norm          .10000E-03    6.6364       -.18606E-07** at limit **
   5  Prefactor     .10000E-03    22.345       -.30792E-06** at limit **
   6  norm          .10001E-03    26.952       -.13246E-04** at limit **
   7  Prefactor     .10000E-03    86.676        .96586E-07** at limit **
   8  norm          40.688        14.553       -.86263E-07    .13187E-03
   9  norm          .10000E-03    35.695       -.53492E-06** at limit **
  10  norm          .10000E-03    .30816        .32137E-08** at limit **
  11  Prefactor     .13712        1.2269        .11960E-05    .14849E-02
  12  Prefactor     15.411        29.620        .12596E-05    .11008E-03
  13  Prefactor     8.9174        28.652        .66474E-06    .13004E-03
  14  Prefactor     14.818        10.972       -.51695E-07    .22632E-03
  15  norm          3.1844        3.9292       -.56696E-06   -.68834E-04
  16  Prefactor     20.736        56.070        .15360E-05    .58324E-04
  17  norm          4.3247        2.8615       -.58779E-07    .36296E-03
  18  Prefactor     6.6125        7.9053       -.33294E-06   -.58741E-04
  19  Prefactor     17.238        55.728       -.74915E-06   -.99781E-04
  20  norm          2.9290        2.4781       -.12451E-06    .56635E-04
  21  Prefactor     50.326        60.718       -.49234E-07   -.22906E-04
  22  norm          2.9601        1.0492       -.88465E-07   -.35339E-03
  23  Prefactor     2.8777        94.495       -.86806E-06    .26605E-05
  24  Normalizat    .85207        .28137        .11314E-05    .17101E-03
  25  Prefactor     1.0867        .99617E-01    .13341E-07    .74191E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.72151
  Prefactor  = 41.2241
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100013
  Prefactor  = 0.000100001
  norm       = 40.6876
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.137115
  Prefactor  = 15.4107
  Prefactor  = 8.91742
  Prefactor  = 14.8181
  norm       = 3.1844
  Prefactor  = 20.7357
  norm       = 4.32471
  Prefactor  = 6.61254
  Prefactor  = 17.2376
  norm       = 2.92904
  Prefactor  = 50.326
  norm       = 2.96009
  Prefactor  = 2.87768
  Normalizat = 0.85207
  Prefactor  = 1.08668
 **********
 **   18 **HESSE 
 **********

 FCN=   8295.224     FROM HESSE     STATUS=OK           435 CALLS     3404 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.7215        2.9545        .46022E-03   -1.5152    
   2  Prefactor     41.224        48.351        .62438E-04   -1.4423    
   3  Prefactor     .10000E-03    19.065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    6.6378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    22.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10001E-03    28.300        .31953E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    90.016        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          40.688        14.563        .62842E-04   -1.4431    
   9  norm          .10000E-03    36.064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .31077        .49246E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .13712        2.5511        .17405E-02   -1.5634    
  12  Prefactor     15.411        29.221        .10203E-03   -1.4923    
  13  Prefactor     8.9174        28.571        .13425E-03   -1.5111    
  14  Prefactor     14.818        10.960        .10406E-03   -1.4938    
  15  norm          3.1844        3.8753        .15415E-03   -1.5351    
  16  Prefactor     20.736        56.195        .87893E-04   -1.4797    
  17  norm          4.3247        2.8545        .11680E-03   -1.5292    
  18  Prefactor     6.6125        7.8677        .15604E-03   -1.5194    
  19  Prefactor     17.238        55.392        .96657E-04   -1.4877    
  20  norm          2.9290        2.4515        .12029E-03   -1.5366    
  21  Prefactor     50.326        60.634        .56516E-04   -1.4288    
  22  norm          2.9601        1.0509        .49081E-04   -1.5364    
  23  Prefactor     2.8777        93.136        .23970E-03   -1.5369    
  24  Normalizat    .85207        .29760        .48003E-03   -.98165    
  25  Prefactor     1.0867        .10837        .17012E-03   -.89893    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.79663e-09
Minuit parameter uncertainties:
  1  2.95459
  2  48.3968
  3  3.97541e-05
  4  2.0489e-06
  5  9.14279e-05
  6  0.00121301
  7  0.000602419
  8  14.5642
  9  0.000165318
  10  1.08983e-07
  11  1.18251
  12  29.2478
  13  28.615
  14  10.9616
  15  3.87561
  16  56.3391
  17  2.85455
  18  7.86889
  19  55.5583
  20  2.45159
  21  60.708
  22  1.05088
  23  32.7976
  24  0.29817
  25  0.108391
Done.

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

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  1.371e-01  1.183e+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.087e+00  1.084e-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:  8.521e-01  2.982e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/415268/likelihoodResults_486086401_486345601_4FGL_J0424.7+0036_daily_bin952.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) = 8295.2164694
delta logL = 0.00724949527103

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8295.21644379
delta logL = 0.0072751084499

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13799       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4933       1.0000          .0000       10.000    
     3 'Normalizat'    .85064       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0867       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=   8295.216     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      244 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14038        2.3845        .26008E-01    .23179E-02
   2  Index         2.4883        .68521        .50000        .54575E-05
   3  Normalizat    .85025        .12896E-01    .10838        .36036E-04
   4  Prefactor     1.0868        .51244E-02    .38114E-01   -.43521E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.140381
  Index      = 2.48827
  Normalizat = 0.850251
  Prefactor  = 1.08682
 **********
 **   18 **HESSE 
 **********

 FCN=   8295.216     FROM HESSE     STATUS=OK            35 CALLS      279 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14038        2.5180        .14313E-02   -1.5633    
   2  Index         2.4883        2.6610        .73759E-02   -.52631    
   3  Normalizat    .85025        .26301        .48050E-03   -.98231    
   4  Prefactor     1.0868        .10465        .17011E-03   -.89889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13811e-10
Minuit parameter uncertainties:
  1  1.18872
  2  2.8665
  3  0.263408
  4  0.104674
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/415268': 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) = 8295.21643849
delta logL = 0.00728040105059

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  1.404e-01  1.189e+00  1.000e-04  1.000e+04 ( 1.000e-12)
220        Index:  2.488e+00  2.866e+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.087e+00  1.047e-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:  8.503e-01  2.634e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/415268/cmap_HighResolution_486086401_486345601_4FGL_J0424.7+0036_daily_bin952.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.12e-03', job_status='DONE', photon_flux_upper_limit='9.34e-08', time_completed='2021-08-20 14:01:23.196979', job_id='415268', GAL2='1.09', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1629493283.2', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='7.28e-03', ts2='0.03', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='952' AND source_name='4FGL J0424.7+0036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 14:01:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 415268: <4FGL_J0424.7+0036_daily_bin952> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0424.7+0036_daily_bin952 66.1945 0.6028 486086401 486345601 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 :                                   814.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             309.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   942 sec.
    Turnaround time :                            944 sec.

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

