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


Performing analysis on: 4FGL_J0424.7+0036_daily_bin564
RA = 66.1945, Dec = 0.6028
tmin = 385516801, tmax = 385776001
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='413654', job_status='RUN', time_executed='2021-08-20 13:42:28.040109', time_epoch_executed='1629492148.04' WHERE source_name='4FGL J0424.7+0036' and cadence='daily' and bin_id='564'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/413654

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/413654/ft1_4FGL_J0424.7+0036_daily_bin564.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/413654/ft2_4FGL_J0424.7+0036_daily_bin564.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/413654/ft1_4FGL_J0424.7+0036_daily_bin564.fits outfile=/scratch/kocevski/413654/ft1_filteredMKT_4FGL_J0424.7+0036_daily_bin564.fits ra=66.1945 dec=0.6028 rad=12.0 tmin=385516801.0 tmax=385776001.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.59
user 4.37
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/413654/ft2_4FGL_J0424.7+0036_daily_bin564.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/413654/ft1_filteredMKT_4FGL_J0424.7+0036_daily_bin564.fits evtable="EVENTS" outfile="/scratch/kocevski/413654/ft1_filtered_4FGL_J0424.7+0036_daily_bin564.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 0.51
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/413654/ft1_filtered_4FGL_J0424.7+0036_daily_bin564.fits" evtable="EVENTS" scfile=/scratch/kocevski/413654/ft2_4FGL_J0424.7+0036_daily_bin564.fits sctable="SC_DATA" outfile=/scratch/kocevski/413654/ltcube_385516801_385776001_4FGL_J0424.7+0036_daily_bin564.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/413654/ft2_4FGL_J0424.7+0036_daily_bin564.fits
.....................!
real 11.77
user 11.41
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/413654/ft1_filtered_4FGL_J0424.7+0036_daily_bin564.fits evtable="EVENTS" scfile=/scratch/kocevski/413654/ft2_4FGL_J0424.7+0036_daily_bin564.fits sctable="SC_DATA" expcube=/scratch/kocevski/413654/ltcube_385516801_385776001_4FGL_J0424.7+0036_daily_bin564.fits outfile=/scratch/kocevski/413654/expmap_385516801_385776001_4FGL_J0424.7+0036_daily_bin564.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/413654/ltcube_385516801_385776001_4FGL_J0424.7+0036_daily_bin564.fits
.....................!
real 191.72
user 187.34
sys 4.04

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/413654/ft1_filtered_4FGL_J0424.7+0036_daily_bin564.fits scfile=/scratch/kocevski/413654/ft2_4FGL_J0424.7+0036_daily_bin564.fits outfile=/scratch/kocevski/413654/cmap_385516801_385776001_4FGL_J0424.7+0036_daily_bin564.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 0.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/413654/ft1_filtered_4FGL_J0424.7+0036_daily_bin564.fits scfile=/scratch/kocevski/413654/ft2_4FGL_J0424.7+0036_daily_bin564.fits outfile=/scratch/kocevski/413654/cmap_HighResolution_385516801_385776001_4FGL_J0424.7+0036_daily_bin564.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 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/413654/ft1_filtered_4FGL_J0424.7+0036_daily_bin564.fits evtable="EVENTS" scfile=/scratch/kocevski/413654/ft2_4FGL_J0424.7+0036_daily_bin564.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/413654/Model_4FGL_J0424.7+0036_daily_bin564.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/413654/ft1_filtered_4FGL_J0424.7+0036_daily_bin564.fits.....................!
real 119.87
user 118.47
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6221       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11166E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.5613       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    22.702       1.0000         .10000E-03   10000.    
     9 'norm      '    10.930       1.0000         .10000E-03   10000.    
    10 'norm      '    .10090E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.691       1.0000         .10000E-03   10000.    
    13 'Prefactor '    62.424       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.1114       1.0000         .10000E-03   10000.    
    15 'norm      '    .13957E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.7482       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.458       1.0000         .10000E-03   10000.    
    20 'norm      '    1.4754       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    2.0424       1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.0496       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .98981       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0047       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=   8082.810     FROM MIGRAD    STATUS=CONVERGED    582 CALLS     2928 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6223        2.2240        .34252E-07   -.92475E-05
   2  Prefactor     .10000E-03    13.876        .13225E-06** at limit **
   3  Prefactor     .10000E-03    37.948        .91075E-06** at limit **
   4  norm          6.5618        12.540        .32215E-07   -.15456E-04
   5  Prefactor     .10000E-03    14.366        .22288E-06** at limit **
   6  norm          .10000E-03    2.3777        .76116E-07** at limit **
   7  Prefactor     .10000E-03    12.403       -.10560E-06** at limit **
   8  norm          22.705        12.650       -.15201E-06   -.12819E-03
   9  norm          10.933        24.069       -.99012E-07   -.59785E-04
  10  norm          .10000E-03    .81307        .10114E-05** at limit **
  11  Prefactor     .10000E-03    .58356        .45806E-06** at limit **
  12  Prefactor     15.678        23.741        .16769E-05    .13905E-03
  13  Prefactor     62.447        44.762       -.27245E-05   -.32147E-03
  14  Prefactor     5.1144        8.9682       -.24542E-06   -.19386E-03
  15  norm          .10000E-03    1.5293       -.48574E-06** at limit **
  16  Prefactor     .10000E-03    27.926        .36867E-07** at limit **
  17  norm          2.7485        2.5156        .22756E-06   -.57124E-04
  18  Prefactor     .10000E-03    3.2693       -.12764E-06** at limit **
  19  Prefactor     17.445        30.232       -.68861E-07   -.87275E-05
  20  norm          1.4773        1.9647       -.35735E-06   -.23375E-03
  21  Prefactor     .10000E-03    17.476       -.34522E-06** at limit **
  22  norm          2.0425        .91334       -.16930E-08    .46102E-04
  23  Prefactor     4.0047        47.030        .82315E-06   -.27353E-04
  24  Normalizat    .98961        .24544        .45056E-06   -.13606E-03
  25  Prefactor     1.0048        .87804E-01   -.30368E-06   -.21029E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.62233
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.5618
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 22.7052
  norm       = 10.9329
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 15.6775
  Prefactor  = 62.4472
  Prefactor  = 5.1144
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 2.74852
  Prefactor  = 0.0001
  Prefactor  = 17.4447
  norm       = 1.47731
  Prefactor  = 0.0001
  norm       = 2.04253
  Prefactor  = 4.00471
  Normalizat = 0.989612
  Prefactor  = 1.0048
 **********
 **   18 **HESSE 
 **********

 FCN=   8082.810     FROM HESSE     STATUS=OK           429 CALLS     3357 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6223        2.2224        .10092E-03   -1.5327    
   2  Prefactor     .10000E-03    13.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    39.406        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.5618        12.531        .15667E-03   -1.5196    
   5  Prefactor     .10000E-03    14.382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.4122        .13530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          22.705        12.696        .84067E-04   -1.4755    
   9  norm          10.933        24.029        .12118E-03   -1.5047    
  10  norm          .10000E-03    1.1283        .12875E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    .59575        .67402E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.678        22.612        .10111E-03   -1.4916    
  13  Prefactor     62.447        47.022        .50788E-04   -1.4126    
  14  Prefactor     5.1144        8.9765        .17783E-03   -1.5256    
  15  norm          .10000E-03    5.2046        .19330E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    27.967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.7485        2.5137        .12813E-03   -1.5376    
  18  Prefactor     .10000E-03    3.2824        .15867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     17.445        30.177        .95857E-04   -1.4872    
  20  norm          1.4773        1.9301        .13545E-03   -1.5465    
  21  Prefactor     .10000E-03    17.464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.0425        .90686        .54350E-04   -1.5422    
  23  Prefactor     4.0047        46.307        .20037E-03   -1.5308    
  24  Normalizat    .98961        .27189        .41708E-03   -.93379    
  25  Prefactor     1.0048        .98089E-01    .16343E-03   -.92570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32118e-09
Minuit parameter uncertainties:
  1  2.22242
  2  2.77746e-05
  3  9.39966e-05
  4  12.5364
  5  2.78065e-05
  6  3.29004e-06
  7  2.35329e-05
  8  12.6978
  9  24.0505
  10  5.98233e-05
  11  5.02272e-06
  12  22.6241
  13  47.0498
  14  8.97888
  15  0.000119563
  16  1.23396e-05
  17  2.51376
  18  1.71832e-06
  19  30.2038
  20  1.93019
  21  5.56675e-05
  22  0.906871
  23  27.2618
  24  0.272273
  25  0.0981063
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
459    Prefactor:  1.005e+00  9.811e-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:  9.896e-01  2.723e-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: 7.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/413654/likelihoodResults_385516801_385776001_4FGL_J0424.7+0036_daily_bin564.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) = 8082.81780673
delta logL = -0.00792443640148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8082.80988152
delta logL = 7.72959538153e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1982       1.0000          .0000       10.000    
     3 'Normalizat'    .98961       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0048       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=   8082.810     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      217 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.5230        .90712E-02** at limit **
   2  Index         1.8592        5.0028        .50000        .55115E-07
   3  Normalizat    .98961        .95720E-02    .94159E-01    .21762E-04
   4  Prefactor     1.0048        .37955E-02    .44235E-01    .99890E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.85924
  Normalizat = 0.989614
  Prefactor  = 1.0048
 **********
 **   18 **HESSE 
 **********

 FCN=   8082.810     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      250 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.946        .71560E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8592        8.9278        .50000       -.67918    
   3  Normalizat    .98961        .41803E-01    .41708E-03   -.93379    
   4  Prefactor     1.0048        .16620E-01    .16343E-03   -.92570    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.9332e-10
Minuit parameter uncertainties:
  1  1.41261e-05
  2  234.371
  3  0.0418044
  4  0.0166202
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/413654': 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) = 8082.8098733
delta logL = 8.98885173228e-06

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
459    Prefactor:  1.005e+00  1.662e-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:  9.896e-01  4.180e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 66.195 0.603

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.63e-03', job_status='DONE', photon_flux_upper_limit='7.38e-08', time_completed='2021-08-20 13:55:04.376888', job_id='413654', GAL2='1.00', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1629492904.38', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='8.99e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='564' AND source_name='4FGL J0424.7+0036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 13:55:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 413654: <4FGL_J0424.7+0036_daily_bin564> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0424.7+0036_daily_bin564 66.1945 0.6028 385516801 385776001 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 :                                   755.05 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             312.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   871 sec.
    Turnaround time :                            873 sec.

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

