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


Performing analysis on: 4FGL_J0424.7+0036_daily_bin985
RA = 66.1945, Dec = 0.6028
tmin = 494640001, tmax = 494899201
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='415315', job_status='RUN', time_executed='2021-08-20 13:49:48.429727', time_epoch_executed='1629492588.43' WHERE source_name='4FGL J0424.7+0036' and cadence='daily' and bin_id='985'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/415315

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/415315/ft1_4FGL_J0424.7+0036_daily_bin985.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/415315/ft2_4FGL_J0424.7+0036_daily_bin985.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/415315/ft1_4FGL_J0424.7+0036_daily_bin985.fits outfile=/scratch/kocevski/415315/ft1_filteredMKT_4FGL_J0424.7+0036_daily_bin985.fits ra=66.1945 dec=0.6028 rad=12.0 tmin=494640001.0 tmax=494899201.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 3.60
user 2.92
sys 0.67

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/415315/ft2_4FGL_J0424.7+0036_daily_bin985.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/415315/ft1_filteredMKT_4FGL_J0424.7+0036_daily_bin985.fits evtable="EVENTS" outfile="/scratch/kocevski/415315/ft1_filtered_4FGL_J0424.7+0036_daily_bin985.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.88
user 0.26
sys 0.61

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/415315/ft1_filtered_4FGL_J0424.7+0036_daily_bin985.fits" evtable="EVENTS" scfile=/scratch/kocevski/415315/ft2_4FGL_J0424.7+0036_daily_bin985.fits sctable="SC_DATA" outfile=/scratch/kocevski/415315/ltcube_494640001_494899201_4FGL_J0424.7+0036_daily_bin985.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/415315/ft2_4FGL_J0424.7+0036_daily_bin985.fits
.....................!
real 9.12
user 8.27
sys 0.82

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/415315/ft1_filtered_4FGL_J0424.7+0036_daily_bin985.fits evtable="EVENTS" scfile=/scratch/kocevski/415315/ft2_4FGL_J0424.7+0036_daily_bin985.fits sctable="SC_DATA" expcube=/scratch/kocevski/415315/ltcube_494640001_494899201_4FGL_J0424.7+0036_daily_bin985.fits outfile=/scratch/kocevski/415315/expmap_494640001_494899201_4FGL_J0424.7+0036_daily_bin985.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/415315/ltcube_494640001_494899201_4FGL_J0424.7+0036_daily_bin985.fits
.....................!
real 140.22
user 135.84
sys 4.11

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/415315/ft1_filtered_4FGL_J0424.7+0036_daily_bin985.fits scfile=/scratch/kocevski/415315/ft2_4FGL_J0424.7+0036_daily_bin985.fits outfile=/scratch/kocevski/415315/cmap_494640001_494899201_4FGL_J0424.7+0036_daily_bin985.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.91
user 0.27
sys 0.62

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/415315/ft1_filtered_4FGL_J0424.7+0036_daily_bin985.fits scfile=/scratch/kocevski/415315/ft2_4FGL_J0424.7+0036_daily_bin985.fits outfile=/scratch/kocevski/415315/cmap_HighResolution_494640001_494899201_4FGL_J0424.7+0036_daily_bin985.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.91
user 0.30
sys 0.59

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/415315/ft1_filtered_4FGL_J0424.7+0036_daily_bin985.fits evtable="EVENTS" scfile=/scratch/kocevski/415315/ft2_4FGL_J0424.7+0036_daily_bin985.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/415315/Model_4FGL_J0424.7+0036_daily_bin985.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/415315/ft1_filtered_4FGL_J0424.7+0036_daily_bin985.fits.....................!
real 96.49
user 94.70
sys 1.61

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1086       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10543E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.871       1.0000         .10000E-03   10000.    
     4 'norm      '    10.700       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .22252E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.880       1.0000         .10000E-03   10000.    
     8 'norm      '    61.722       1.0000         .10000E-03   10000.    
     9 'norm      '    8.2996       1.0000         .10000E-03   10000.    
    10 'norm      '    .35645       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .32154       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.9154       1.0000         .10000E-03   10000.    
    15 'norm      '    .72489       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.9090       1.0000         .10000E-03   10000.    
    17 'norm      '    5.4443       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    46.417       1.0000         .10000E-03   10000.    
    20 'norm      '    6.4243       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    3.5193       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0938       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .95033       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=   8800.762     FROM MIGRAD    STATUS=CONVERGED    570 CALLS     2940 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1085        1.3940       -.35879E-07   -.94699E-04
   2  Prefactor     .10000E-03    29.698        .22586E-04** at limit **
   3  Prefactor     17.865        17.533       -.32258E-05   -.86232E-04
   4  norm          10.701        12.945       -.26642E-07   -.23016E-04
   5  Prefactor     .10000E-03    10.558       -.18145E-05** at limit **
   6  norm          .10001E-03    3.3808        .11299E-05** at limit **
   7  Prefactor     14.883        20.453        .28810E-05    .18302E-05
   8  norm          61.721        16.821       -.33784E-06   -.12895E-04
   9  norm          8.3007        13.591       -.10008E-05   -.57162E-03
  10  norm          .35715        .89174       -.31577E-06   -.21661E-02
  11  Prefactor     .32051        1.2074       -.31616E-06   -.85975E-03
  12  Prefactor     .10000E-03    18.727        .32408E-06** at limit **
  13  Prefactor     .10000E-03    36.052       -.18844E-04** at limit **
  14  Prefactor     2.9134        9.6897       -.57762E-06   -.22829E-03
  15  norm          .72447        1.8285       -.92590E-06   -.19009E-02
  16  Prefactor     8.9112        31.303        .44959E-05   -.61898E-05
  17  norm          5.4439        2.5696        .12527E-07    .10555E-03
  18  Prefactor     .10000E-03    4.7727       -.43083E-07** at limit **
  19  Prefactor     46.416        36.530       -.34467E-06    .84383E-05
  20  norm          6.4239        2.4819       -.37291E-07    .33256E-04
  21  Prefactor     .10000E-03    12.289        .71617E-06** at limit **
  22  norm          3.5193        .90779        .13628E-09   -.43615E-04
  23  Prefactor     .10000E-03    17.612       -.71835E-05** at limit **
  24  Normalizat    1.0940        .23996        .10916E-05   -.12072E-05
  25  Prefactor     .95025        .87612E-01   -.59809E-08    .71490E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.10851
  Prefactor  = 0.0001
  Prefactor  = 17.8652
  norm       = 10.701
  Prefactor  = 0.0001
  norm       = 0.000100011
  Prefactor  = 14.8828
  norm       = 61.7211
  norm       = 8.30069
  norm       = 0.357152
  Prefactor  = 0.320505
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.91335
  norm       = 0.724469
  Prefactor  = 8.91116
  norm       = 5.44386
  Prefactor  = 0.0001
  Prefactor  = 46.4159
  norm       = 6.42392
  Prefactor  = 0.0001
  norm       = 3.51933
  Prefactor  = 0.0001
  Normalizat = 1.09404
  Prefactor  = 0.950255
 **********
 **   18 **HESSE 
 **********

 FCN=   8800.762     FROM HESSE     STATUS=OK           439 CALLS     3379 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1085        1.3910        .87467E-04   -1.5418    
   2  Prefactor     .10000E-03    28.947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.865        17.602        .94742E-04   -1.4862    
   4  norm          10.701        12.937        .12249E-03   -1.5054    
   5  Prefactor     .10000E-03    10.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10001E-03    11.724        .32376E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.883        20.436        .10383E-03   -1.4936    
   8  norm          61.721        16.850        .51074E-04   -1.4135    
   9  norm          8.3007        13.632        .69579E-03   -1.5132    
  10  norm          .35715        .78766        .11956E-02   -1.5588    
  11  Prefactor     .32051        1.7537        .17164E-02   -1.5595    
  12  Prefactor     .10000E-03    18.963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    35.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.9134        9.5784        .23794E-03   -1.5367    
  15  norm          .72447        1.8466        .19617E-03   -1.5538    
  16  Prefactor     8.9112        31.319        .13429E-03   -1.5111    
  17  norm          5.4439        2.5735        .97521E-04   -1.5241    
  18  Prefactor     .10000E-03    4.8650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     46.416        36.514        .58852E-04   -1.4344    
  20  norm          6.4239        2.4855        .87542E-04   -1.5201    
  21  Prefactor     .10000E-03    12.293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.5193        .90680        .42984E-04   -1.5333    
  23  Prefactor     .10000E-03    17.658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0940        .26797        .40605E-03   -.89943    
  25  Prefactor     .95025        .99382E-01    .17102E-03   -.94407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.03758e-09
Minuit parameter uncertainties:
  1  1.39105
  2  1.71935e-05
  3  17.6071
  4  12.94
  5  8.5026e-06
  6  0.000725983
  7  20.4453
  8  16.8513
  9  13.6371
  10  0.787686
  11  1.49926
  12  8.81191e-05
  13  0.000138172
  14  9.58342
  15  1.84674
  16  31.3764
  17  2.57355
  18  2.44145e-07
  19  36.5317
  20  2.48553
  21  8.64925e-07
  22  0.906803
  23  1.99204e-05
  24  0.268299
  25  0.0994012
Done.

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

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  3.205e-01  1.499e+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.503e-01  9.940e-02  0.000e+00  1.000e+01 ( 1.000e+00)
460        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
461        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
458   Normalization:  1.094e+00  2.683e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/415315/likelihoodResults_494640001_494899201_4FGL_J0424.7+0036_daily_bin985.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) = 8800.7451396
delta logL = 0.0169102919062

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8800.74391624
delta logL = 0.0181336461901

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27753       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5147       1.0000          .0000       10.000    
     3 'Normalizat'    1.0903       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95079       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=   8800.744     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      230 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27767        3.7217        .26731E-01    .12304E-02
   2  Index         2.5151        .82395        .41179        .49377E-04
   3  Normalizat    1.0901        .16425E-01    .91816E-01   -.52682E-04
   4  Prefactor     .95081        .65295E-02    .45649E-01   -.17300E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.277672
  Index      = 2.51506
  Normalizat = 1.09014
  Prefactor  = 0.95081
 **********
 **   18 **HESSE 
 **********

 FCN=   8800.744     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27767        2.5111        .13340E-02   -1.5603    
   2  Index         2.5151        2.1952        .66055E-02   -.52012    
   3  Normalizat    1.0901        .23985        .40669E-03   -.90069    
   4  Prefactor     .95081        .94869E-01    .17098E-03   -.94388    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45209e-09
Minuit parameter uncertainties:
  1  1.66984
  2  2.30168
  3  0.240091
  4  0.0948859
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/415315': 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) = 8800.74391605
delta logL = 0.0181338423627

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  2.777e-01  1.670e+00  1.000e-04  1.000e+04 ( 1.000e-12)
220        Index:  2.515e+00  2.302e+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:  9.508e-01  9.489e-02  0.000e+00  1.000e+01 ( 1.000e+00)
460        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
461        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
458   Normalization:  1.090e+00  2.401e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
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/415315/cmap_HighResolution_494640001_494899201_4FGL_J0424.7+0036_daily_bin985.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.54e-03', job_status='DONE', photon_flux_upper_limit='9.89e-08', time_completed='2021-08-20 14:00:07.214045', job_id='415315', GAL2='0.95', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1629493207.21', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.81e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='985' AND source_name='4FGL J0424.7+0036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 14:00:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 415315: <4FGL_J0424.7+0036_daily_bin985> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0424.7+0036_daily_bin985 66.1945 0.6028 494640001 494899201 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 :                                   627.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             209.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   864 sec.
    Turnaround time :                            865 sec.

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

