/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 118 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 = 7431
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0424.7+0036_daily_bin352
RA = 66.1945, Dec = 0.6028
tmin = 330566401, tmax = 330825601
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='412309', job_status='RUN', time_executed='2021-08-20 13:38:15.265479', time_epoch_executed='1629491895.27' WHERE source_name='4FGL J0424.7+0036' and cadence='daily' and bin_id='352'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/412309

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/412309/ft1_4FGL_J0424.7+0036_daily_bin352.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/412309/ft2_4FGL_J0424.7+0036_daily_bin352.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/412309/ft1_4FGL_J0424.7+0036_daily_bin352.fits outfile=/scratch/kocevski/412309/ft1_filteredMKT_4FGL_J0424.7+0036_daily_bin352.fits ra=66.1945 dec=0.6028 rad=12.0 tmin=330566401.0 tmax=330825601.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.04
user 3.88
sys 1.14

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/412309/ft1_filtered_4FGL_J0424.7+0036_daily_bin352.fits" evtable="EVENTS" scfile=/scratch/kocevski/412309/ft2_4FGL_J0424.7+0036_daily_bin352.fits sctable="SC_DATA" outfile=/scratch/kocevski/412309/ltcube_330566401_330825601_4FGL_J0424.7+0036_daily_bin352.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/412309/ft2_4FGL_J0424.7+0036_daily_bin352.fits
.....................!
real 12.79
user 11.40
sys 1.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/412309/ft1_filtered_4FGL_J0424.7+0036_daily_bin352.fits evtable="EVENTS" scfile=/scratch/kocevski/412309/ft2_4FGL_J0424.7+0036_daily_bin352.fits sctable="SC_DATA" expcube=/scratch/kocevski/412309/ltcube_330566401_330825601_4FGL_J0424.7+0036_daily_bin352.fits outfile=/scratch/kocevski/412309/expmap_330566401_330825601_4FGL_J0424.7+0036_daily_bin352.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/412309/ltcube_330566401_330825601_4FGL_J0424.7+0036_daily_bin352.fits
.....................!
real 193.06
user 187.16
sys 5.54

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/412309/ft1_filtered_4FGL_J0424.7+0036_daily_bin352.fits scfile=/scratch/kocevski/412309/ft2_4FGL_J0424.7+0036_daily_bin352.fits outfile=/scratch/kocevski/412309/cmap_330566401_330825601_4FGL_J0424.7+0036_daily_bin352.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.46
user 0.37
sys 1.06

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/412309/ft1_filtered_4FGL_J0424.7+0036_daily_bin352.fits scfile=/scratch/kocevski/412309/ft2_4FGL_J0424.7+0036_daily_bin352.fits outfile=/scratch/kocevski/412309/cmap_HighResolution_330566401_330825601_4FGL_J0424.7+0036_daily_bin352.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.44
user 0.38
sys 1.06

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/412309/ft1_filtered_4FGL_J0424.7+0036_daily_bin352.fits evtable="EVENTS" scfile=/scratch/kocevski/412309/ft2_4FGL_J0424.7+0036_daily_bin352.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/412309/Model_4FGL_J0424.7+0036_daily_bin352.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/412309/ft1_filtered_4FGL_J0424.7+0036_daily_bin352.fits.....................!
real 118.22
user 115.50
sys 2.50

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.3468       1.0000         .10000E-03   10000.    
     2 'Prefactor '    27.450       1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.179       1.0000         .10000E-03   10000.    
     4 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .20362E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.227       1.0000         .10000E-03   10000.    
     8 'norm      '    7.3178       1.0000         .10000E-03   10000.    
     9 'norm      '    .15599       1.0000         .10000E-03   10000.    
    10 'norm      '    1.3102       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.2172       1.0000         .10000E-03   10000.    
    12 'Prefactor '    31.381       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .19314E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.3527       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.1495       1.0000         .10000E-03   10000.    
    19 'Prefactor '    18.934       1.0000         .10000E-03   10000.    
    20 'norm      '    6.4799       1.0000         .10000E-03   10000.    
    21 'Prefactor '    68.489       1.0000         .10000E-03   10000.    
    22 'norm      '    .74591E-01   1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.4159       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .58966       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .96398       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8104.042     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     2149 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.3489        2.3546       -.18723E-05   -.95057E-04
   2  Prefactor     26.315        33.025       -.14893E-05   -.65686E-02
   3  Prefactor     23.015        11.205       -.44907E-05   -.16704E-01
   4  norm          .10000E-03    4.8199       -.48642E-05** at limit **
   5  Prefactor     .10000E-03    25.072       -.11474E-04** at limit **
   6  norm          .10000E-03    1.1778       -.55314E-07** at limit **
   7  Prefactor     22.979        23.583       -.16975E-04   -.63086E-03
   8  norm          7.3465        9.5436        .43952E-05   -.27683E-03
   9  norm          .10189E-03    73.393        .26415E-04** at limit **
  10  norm          1.3102        .96166       -.49651E-06    .30731E-04
  11  Prefactor     3.2185        1.7212        .95282E-06    .95353E-04
  12  Prefactor     31.861        18.854        .40152E-05   -.46267E-02
  13  Prefactor     .10000E-03    28.522        .10289E-04** at limit **
  14  Prefactor     .10000E-03    6.3587        .87835E-05** at limit **
  15  norm          1.3265        2.5502        .51247E-05    .10227E-03
  16  Prefactor     .10000E-03    15.744        .16038E-04** at limit **
  17  norm          .10000E-03    .53786        .92949E-06** at limit **
  18  Prefactor     1.1497        3.9186        .92620E-05   -.98581E-05
  19  Prefactor     18.355        17.227       -.80791E-05    .50723E-02
  20  norm          6.4774        2.3881        .17037E-05    .66657E-04
  21  Prefactor     68.860        23.251        .73012E-05   -.86873E-02
  22  norm          .73607E-01    .80797       -.39730E-05   -.20930E-04
  23  Prefactor     5.6142        15.975       -.12416E-04   -.15259E-02
  24  Normalizat    .58931        .22217        .19664E-05    .11041E-04
  25  Prefactor     .96403        .88985E-01    .35781E-05    .45364E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.34893
  Prefactor  = 26.3151
  Prefactor  = 23.0155
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 22.9785
  norm       = 7.34651
  norm       = 0.000101886
  norm       = 1.31022
  Prefactor  = 3.21851
  Prefactor  = 31.8615
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  norm       = 1.32648
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.14975
  Prefactor  = 18.3553
  norm       = 6.47742
  Prefactor  = 68.8601
  norm       = 0.0736072
  Prefactor  = 5.61417
  Normalizat = 0.589307
  Prefactor  = 0.96403
 **********
 **   18 **HESSE 
 **********

 FCN=   8104.042     FROM HESSE     STATUS=OK           497 CALLS     2646 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.3489        2.3617        .39831E-02   -1.5204    
   2  Prefactor     26.315        39.543        .19116E-02   -1.4682    
   3  Prefactor     23.015        19.636        .20800E-02   -1.4748    
   4  norm          .10000E-03    4.8241        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    24.972        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.1751        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.979        31.111        .21240E-02   -1.4749    
   8  norm          7.3465        9.6008        .37067E-02   -1.5166    
   9  norm          .10189E-03    17.966        .12303       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.3102        .98014        .96308E-02   -1.5479    
  11  Prefactor     3.2185        1.7825        .56466E-02   -1.5349    
  12  Prefactor     31.861        28.784        .17882E-02   -1.4578    
  13  Prefactor     .10000E-03    28.496        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.2916        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.3265        2.8317        .94009E-02   -1.5478    
  16  Prefactor     .10000E-03    15.728        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .53406        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.1497        4.0122        .10796E-01   -1.5494    
  19  Prefactor     18.355        34.858        .23011E-02   -1.4851    
  20  norm          6.4774        2.3951        .39415E-02   -1.5199    
  21  Prefactor     68.860        42.865        .12125E-02   -1.4046    
  22  norm          .73607E-01    .44609        .18349E-01   -1.5654    
  23  Prefactor     5.6142        16.131        .43168E-02   -1.5234    
  24  Normalizat    .58931        .21928        .10442       -1.0844    
  25  Prefactor     .96403        .84271E-01    .34625E-01   -.93938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2163e-06
Minuit parameter uncertainties:
  1  2.36178
  2  39.5823
  3  19.6417
  4  4.52392e-06
  5  0.00042784
  6  5.05961e-07
  7  31.1328
  8  9.60285
  9  0.011646
  10  0.980149
  11  1.7825
  12  28.7963
  13  0.000747515
  14  1.25373e-06
  15  2.83202
  16  4.37848e-05
  17  1.50166e-08
  18  4.01317
  19  34.8971
  20  2.39517
  21  42.8839
  22  0.362168
  23  16.1437
  24  0.219605
  25  0.0842824
Done.

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

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  3.219e+00  1.783e+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:  9.640e-01  8.428e-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:  5.893e-01  2.196e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.44
Ra Dec: 66.195 0.603
Photon Index (Fixed Index): 2.21 +/- 0.00
Photon Flux (Fixed Index): 8.10e-08 +/- 4.48e-08
Energy Flux (Fixed Index): 3.55e-05 +/- 1.97e-05

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) = 8103.85182637
delta logL = 0.189840946548

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8103.83386383
delta logL = 0.207803491432

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5780       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9284       1.0000          .0000       10.000    
     3 'Normalizat'    .60972       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96140       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=   8103.834     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      271 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5790        55.072        .53411E-02    .59932E-04
   2  Index         1.9287        5.7688        .15287        .49957E-04
   3  Normalizat    .60935        .24444        .10286        .44399E-04
   4  Prefactor     .96157        .54402E-01    .34676E-01   -.90752E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.57898
  Index      = 1.92869
  Normalizat = 0.609349
  Prefactor  = 0.961571
 **********
 **   18 **HESSE 
 **********

 FCN=   8103.834     FROM HESSE     STATUS=OK            33 CALLS      304 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5790        2.0551        .94437E-04   -1.5330    
   2  Index         1.9287        .44924        .81589E-02   -.66145    
   3  Normalizat    .60935        .20940        .45603E-03   -1.0759    
   4  Prefactor     .96157        .86834E-01    .15323E-03   -.94022    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14408e-12
Minuit parameter uncertainties:
  1  2.05518
  2  0.450214
  3  0.209672
  4  0.0868464
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/412309': 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) = 8103.83386155
delta logL = 0.207805766372

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
459    Prefactor:  9.616e-01  8.685e-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:  6.093e-01  2.097e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.83
Ra Dec: 66.195 0.603
Photon Index (Free Index): 1.93 +/- 0.45
Photon Flux (Free Index): 5.63e-08 +/- 4.91e-08
Energy Flux (Free Index): 4.67e-05 +/- 3.70e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/412309/cmap_HighResolution_330566401_330825601_4FGL_J0424.7+0036_daily_bin352.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.10e-08', energy_flux2='4.67e-05', photon_flux_error='4.48e-08', dlogl='2.08e-01', energy_flux='3.55e-05', photon_flux2='5.63e-08', job_status='DONE', time_completed='2021-08-20 13:49:13.707570', photon_index_error2='0.45', photon_index2='1.93', ts='13.44', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='3.70e-05', EG='0.59', time_epoch_completed='1629492553.71', return_code='0', job_id='412309', GAL2='0.96', EG2='0.61', return_code2='0', energy_flux_error='1.97e-05', photon_flux_error2='4.91e-08', ts2='13.83', photon_index='2.21' WHERE bin_id='352' AND source_name='4FGL J0424.7+0036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 13:49:13 PDT 2021


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

Job <4FGL_J0424.7+0036_daily_bin352> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 20 13:35:52 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 13:35:53 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:35:53 2021
Terminated at Fri Aug 20 13:49:14 2021
Results reported at Fri Aug 20 13:49:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0424.7+0036_daily_bin352 66.1945 0.6028 330566401 330825601 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 :                                   672.35 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             349.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            802 sec.

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

