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


Performing analysis on: 4FGL_J0424.7+0036_daily_bin581
RA = 66.1945, Dec = 0.6028
tmin = 389923201, tmax = 390182401
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='413679', job_status='RUN', time_executed='2021-08-20 13:44:48.059289', time_epoch_executed='1629492288.06' WHERE source_name='4FGL J0424.7+0036' and cadence='daily' and bin_id='581'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/413679

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/413679/ft1_4FGL_J0424.7+0036_daily_bin581.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/413679/ft2_4FGL_J0424.7+0036_daily_bin581.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/413679/ft1_4FGL_J0424.7+0036_daily_bin581.fits outfile=/scratch/kocevski/413679/ft1_filteredMKT_4FGL_J0424.7+0036_daily_bin581.fits ra=66.1945 dec=0.6028 rad=12.0 tmin=389923201.0 tmax=390182401.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.23
user 3.23
sys 0.99

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/413679/ft1_filtered_4FGL_J0424.7+0036_daily_bin581.fits" evtable="EVENTS" scfile=/scratch/kocevski/413679/ft2_4FGL_J0424.7+0036_daily_bin581.fits sctable="SC_DATA" outfile=/scratch/kocevski/413679/ltcube_389923201_390182401_4FGL_J0424.7+0036_daily_bin581.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/413679/ft2_4FGL_J0424.7+0036_daily_bin581.fits
.....................!
real 12.69
user 11.47
sys 1.17

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/413679/ft1_filtered_4FGL_J0424.7+0036_daily_bin581.fits evtable="EVENTS" scfile=/scratch/kocevski/413679/ft2_4FGL_J0424.7+0036_daily_bin581.fits sctable="SC_DATA" expcube=/scratch/kocevski/413679/ltcube_389923201_390182401_4FGL_J0424.7+0036_daily_bin581.fits outfile=/scratch/kocevski/413679/expmap_389923201_390182401_4FGL_J0424.7+0036_daily_bin581.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/413679/ltcube_389923201_390182401_4FGL_J0424.7+0036_daily_bin581.fits
.....................!
real 191.15
user 185.34
sys 5.49

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/413679/ft1_filtered_4FGL_J0424.7+0036_daily_bin581.fits scfile=/scratch/kocevski/413679/ft2_4FGL_J0424.7+0036_daily_bin581.fits outfile=/scratch/kocevski/413679/cmap_389923201_390182401_4FGL_J0424.7+0036_daily_bin581.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.28
user 0.37
sys 0.88

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/413679/ft1_filtered_4FGL_J0424.7+0036_daily_bin581.fits scfile=/scratch/kocevski/413679/ft2_4FGL_J0424.7+0036_daily_bin581.fits outfile=/scratch/kocevski/413679/cmap_HighResolution_389923201_390182401_4FGL_J0424.7+0036_daily_bin581.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.27
user 0.38
sys 0.88

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/413679/ft1_filtered_4FGL_J0424.7+0036_daily_bin581.fits evtable="EVENTS" scfile=/scratch/kocevski/413679/ft2_4FGL_J0424.7+0036_daily_bin581.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/413679/Model_4FGL_J0424.7+0036_daily_bin581.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/413679/ft1_filtered_4FGL_J0424.7+0036_daily_bin581.fits.....................!
real 119.31
user 116.89
sys 2.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.0255       1.0000         .10000E-03   10000.    
     2 'Prefactor '    84.484       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.4682       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    8.4484       1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.1897       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2415       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.864       1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.256       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.9910       1.0000         .10000E-03   10000.    
    15 'norm      '    .21907E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    6.2131       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10588E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.1077       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.3002       1.0000         .10000E-03   10000.    
    22 'norm      '    .10070E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .18683E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.3492       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .99607       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=   8059.253     FROM MIGRAD    STATUS=CONVERGED    596 CALLS     2943 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.0258        3.3413       -.60108E-07   -.14194E-03
   2  Prefactor     84.491        57.672        .45924E-05   -.26254E-04
   3  Prefactor     .10000E-03    6.4795       -.15436E-05** at limit **
   4  norm          .10000E-03    11.056       -.43864E-05** at limit **
   5  Prefactor     .10000E-03    7.3221        .67248E-05** at limit **
   6  norm          5.4689        4.5443        .18696E-05   -.87995E-04
   7  Prefactor     .10000E-03    11.837        .71359E-05** at limit **
   8  norm          8.4444        12.862       -.15646E-05   -.71290E-04
   9  norm          .10000E-03    7.7654       -.53519E-05** at limit **
  10  norm          1.1894        1.3768        .34515E-06   -.89025E-03
  11  Prefactor     1.2417        1.1740        .50276E-06    .16336E-03
  12  Prefactor     10.832        26.417       -.46658E-05   -.52897E-03
  13  Prefactor     27.236        42.559       -.19339E-04   -.71551E-04
  14  Prefactor     8.9875        13.195       -.46231E-06   -.89507E-04
  15  norm          .11353E-03    1.4365        .16833E-05** at limit **
  16  Prefactor     .10000E-03    41.606       -.77828E-05** at limit **
  17  norm          6.2138        2.7830        .23884E-06   -.28663E-03
  18  Prefactor     .10000E-03    4.2887        .12757E-06** at limit **
  19  Prefactor     .10000E-03    14.045       -.25674E-05** at limit **
  20  norm          3.1057        2.7902       -.37486E-07   -.19876E-03
  21  Prefactor     6.2973        39.109        .12496E-05   -.68158E-05
  22  norm          .10000E-03    .33892       -.76383E-07** at limit **
  23  Prefactor     .10000E-03    109.40       -.29595E-04** at limit **
  24  Normalizat    1.3493        .27028        .21075E-05   -.33091E-03
  25  Prefactor     .99598        .94519E-01   -.35877E-06   -.51827E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.02584
  Prefactor  = 84.4906
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.46886
  Prefactor  = 0.0001
  norm       = 8.44438
  norm       = 0.0001
  norm       = 1.18941
  Prefactor  = 1.24168
  Prefactor  = 10.8316
  Prefactor  = 27.2363
  Prefactor  = 8.98746
  norm       = 0.000113533
  Prefactor  = 0.0001
  norm       = 6.21377
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.10569
  Prefactor  = 6.2973
  norm       = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.34929
  Prefactor  = 0.995983
 **********
 **   18 **HESSE 
 **********

 FCN=   8059.253     FROM HESSE     STATUS=OK           431 CALLS     3374 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.0258        3.3458        .95268E-04   -1.5107    
   2  Prefactor     84.491        57.705        .43704E-04   -1.3867    
   3  Prefactor     .10000E-03    6.4961        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    11.088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.3180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.4689        4.5305        .16619E-03   -1.5240    
   7  Prefactor     .10000E-03    11.847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          8.4444        12.920        .13792E-03   -1.5127    
   9  norm          .10000E-03    7.7547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.1894        1.3302        .10069E-03   -1.5490    
  11  Prefactor     1.2417        1.1943        .89215E-04   -1.5485    
  12  Prefactor     10.832        27.768        .12155E-03   -1.5050    
  13  Prefactor     27.236        42.275        .76736E-04   -1.4664    
  14  Prefactor     8.9875        13.237        .13367E-03   -1.5108    
  15  norm          .11353E-03    5.1752        .31443E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    41.669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.2138        2.7854        .95219E-04   -1.5209    
  18  Prefactor     .10000E-03    4.3222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    14.056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.1057        2.7930        .13267E-03   -1.5355    
  21  Prefactor     6.2973        34.425        .15992E-03   -1.5206    
  22  norm          .10000E-03    2.8392        .94486E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    111.11        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.3493        .30618        .40082E-03   -.82107    
  25  Prefactor     .99598        .10709        .17861E-03   -.92864    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.88092e-09
Minuit parameter uncertainties:
  1  3.34591
  2  57.7428
  3  1.33547e-05
  4  5.75557e-06
  5  2.20348e-06
  6  4.53075
  7  5.5355e-06
  8  12.9241
  9  1.13613e-05
  10  1.33024
  11  1.19428
  12  27.8013
  13  42.3215
  14  13.241
  15  0.0167389
  16  2.1097e-05
  17  2.7855
  18  1.0484e-05
  19  1.21008e-05
  20  2.7931
  21  29.4734
  22  9.42184e-06
  23  0.000734085
  24  0.306598
  25  0.10711
Done.

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

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  1.242e+00  1.194e+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.960e-01  1.071e-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.349e+00  3.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.11
Ra Dec: 66.195 0.603
Photon Index (Fixed Index): 2.21 +/- 0.00
Photon Flux (Fixed Index): 3.12e-08 +/- 3.00e-08
Energy Flux (Fixed Index): 1.37e-05 +/- 1.32e-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) = 8058.02372249
delta logL = 1.2288293063

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8057.97216784
delta logL = 1.2803839605

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .79724       1.0000         .10000E-03   10000.    
     2 'Index     '    1.1296       1.0000          .0000       10.000    
     3 'Normalizat'    1.3645       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99518       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=   8057.972     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      215 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .79559        .75004        .12430E-01   -.58196E-03
   2  Index         1.1290        .42051        .28261       -.64165E-04
   3  Normalizat    1.3645        .23725        .90117E-01    .23587E-04
   4  Prefactor     .99517        .93046E-01    .46207E-01    .18819E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.795593
  Index      = 1.12898
  Normalizat = 1.36446
  Prefactor  = 0.995166
 **********
 **   18 **HESSE 
 **********

 FCN=   8057.972     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .79559        1.1716        .72083E-03   -1.5530    
   2  Index         1.1290        .66091        .11422E-01   -.88546    
   3  Normalizat    1.3645        .26500        .39909E-03   -.81662    
   4  Prefactor     .99517        .10415        .17872E-03   -.92891    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.31311e-09
Minuit parameter uncertainties:
  1  1.1716
  2  0.665812
  3  0.265262
  4  0.104172
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/413679': 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) = 8057.97216675
delta logL = 1.28038504529

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  7.956e-01  1.172e+00  1.000e-04  1.000e+04 ( 1.000e-12)
220        Index:  1.129e+00  6.658e-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.952e-01  1.042e-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.364e+00  2.653e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.67
Ra Dec: 66.195 0.603
Photon Index (Free Index): 1.13 +/- 0.67
Photon Flux (Free Index): 6.73e-09 +/- 8.79e-09
Energy Flux (Free Index): 6.92e-05 +/- 9.99e-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/413679/cmap_HighResolution_389923201_390182401_4FGL_J0424.7+0036_daily_bin581.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.12e-08', energy_flux2='6.92e-05', photon_flux_error='3.00e-08', dlogl='1.28e+00', energy_flux='1.37e-05', photon_flux2='6.73e-09', job_status='DONE', time_completed='2021-08-20 13:56:23.905931', photon_index_error2='0.67', photon_index2='1.13', ts='7.11', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='9.99e-05', EG='1.35', time_epoch_completed='1629492983.91', return_code='0', job_id='413679', GAL2='1.00', EG2='1.36', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='8.79e-09', ts2='9.67', photon_index='2.21' WHERE bin_id='581' AND source_name='4FGL J0424.7+0036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 13:56:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 413679: <4FGL_J0424.7+0036_daily_bin581> in cluster <slac> Done

Job <4FGL_J0424.7+0036_daily_bin581> 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) <bullet0226>, 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:56:24 2021
Results reported at Fri Aug 20 13:56:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0424.7+0036_daily_bin581 66.1945 0.6028 389923201 390182401 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 :                                   708.20 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             270.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   949 sec.
    Turnaround time :                            950 sec.

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

