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


Performing analysis on: 4FGL_J0424.7+0036_daily_bin450
RA = 66.1945, Dec = 0.6028
tmin = 355968001, tmax = 356227201
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='413485', job_status='RUN', time_executed='2021-08-20 13:43:30.289138', time_epoch_executed='1629492210.29' WHERE source_name='4FGL J0424.7+0036' and cadence='daily' and bin_id='450'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/413485

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/413485/ft1_4FGL_J0424.7+0036_daily_bin450.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/413485/ft2_4FGL_J0424.7+0036_daily_bin450.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/413485/ft1_4FGL_J0424.7+0036_daily_bin450.fits outfile=/scratch/kocevski/413485/ft1_filteredMKT_4FGL_J0424.7+0036_daily_bin450.fits ra=66.1945 dec=0.6028 rad=12.0 tmin=355968001.0 tmax=356227201.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.88
user 3.16
sys 1.69

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/413485/ft2_4FGL_J0424.7+0036_daily_bin450.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/413485/ft1_filteredMKT_4FGL_J0424.7+0036_daily_bin450.fits evtable="EVENTS" outfile="/scratch/kocevski/413485/ft1_filtered_4FGL_J0424.7+0036_daily_bin450.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 2.02
user 0.31
sys 1.67

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/413485/ft1_filtered_4FGL_J0424.7+0036_daily_bin450.fits" evtable="EVENTS" scfile=/scratch/kocevski/413485/ft2_4FGL_J0424.7+0036_daily_bin450.fits sctable="SC_DATA" outfile=/scratch/kocevski/413485/ltcube_355968001_356227201_4FGL_J0424.7+0036_daily_bin450.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/413485/ft2_4FGL_J0424.7+0036_daily_bin450.fits
.....................!
real 13.74
user 11.66
sys 2.00

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/413485/ft1_filtered_4FGL_J0424.7+0036_daily_bin450.fits evtable="EVENTS" scfile=/scratch/kocevski/413485/ft2_4FGL_J0424.7+0036_daily_bin450.fits sctable="SC_DATA" expcube=/scratch/kocevski/413485/ltcube_355968001_356227201_4FGL_J0424.7+0036_daily_bin450.fits outfile=/scratch/kocevski/413485/expmap_355968001_356227201_4FGL_J0424.7+0036_daily_bin450.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/413485/ltcube_355968001_356227201_4FGL_J0424.7+0036_daily_bin450.fits
.....................!
real 192.14
user 184.53
sys 7.24

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/413485/ft1_filtered_4FGL_J0424.7+0036_daily_bin450.fits scfile=/scratch/kocevski/413485/ft2_4FGL_J0424.7+0036_daily_bin450.fits outfile=/scratch/kocevski/413485/cmap_355968001_356227201_4FGL_J0424.7+0036_daily_bin450.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 2.00
user 0.37
sys 1.62

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/413485/ft1_filtered_4FGL_J0424.7+0036_daily_bin450.fits scfile=/scratch/kocevski/413485/ft2_4FGL_J0424.7+0036_daily_bin450.fits outfile=/scratch/kocevski/413485/cmap_HighResolution_355968001_356227201_4FGL_J0424.7+0036_daily_bin450.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 2.01
user 0.37
sys 1.63

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/413485/ft1_filtered_4FGL_J0424.7+0036_daily_bin450.fits evtable="EVENTS" scfile=/scratch/kocevski/413485/ft2_4FGL_J0424.7+0036_daily_bin450.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/413485/Model_4FGL_J0424.7+0036_daily_bin450.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/413485/ft1_filtered_4FGL_J0424.7+0036_daily_bin450.fits.....................!
real 119.83
user 116.17
sys 3.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6852       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.5462       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.204       1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    6.4414       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    14.452       1.0000         .10000E-03   10000.    
    10 'norm      '    3.1371       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .46723       1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.078       1.0000         .10000E-03   10000.    
    13 'Prefactor '    84.132       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .18730E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .54018       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.9211       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.7300       1.0000         .10000E-03   10000.    
    21 'Prefactor '    24.087       1.0000         .10000E-03   10000.    
    22 'norm      '    1.0192       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .96219       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .99145       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=   8105.326     FROM MIGRAD    STATUS=CONVERGED    566 CALLS     2886 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6850        1.8033        .25375E-06   -.85692E-04
   2  Prefactor     9.5426        65.050       -.15164E-07    .99067E-05
   3  Prefactor     12.207        15.459        .28597E-06    .21289E-04
   4  norm          .10000E-03    10.339        .92040E-06** at limit **
   5  Prefactor     .10000E-03    9.9112       -.11321E-05** at limit **
   6  norm          6.4415        5.0157        .60243E-07   -.82527E-04
   7  Prefactor     .10000E-03    15.257       -.17815E-05** at limit **
   8  norm          .10000E-03    2.9958        .15732E-07** at limit **
   9  norm          14.448        24.318       -.19398E-05   -.17053E-04
  10  norm          3.1374        1.6700        .12599E-06   -.92563E-03
  11  Prefactor     .46763        2.3444        .18962E-05    .17092E-03
  12  Prefactor     19.117        24.357       -.17552E-06    .11566E-03
  13  Prefactor     84.118        66.445       -.47411E-05   -.14047E-03
  14  Prefactor     .10000E-03    2.5285       -.90893E-08** at limit **
  15  norm          .10001E-03    1.3166        .63649E-06** at limit **
  16  Prefactor     .10000E-03    11.637        .14844E-05** at limit **
  17  norm          .54011        2.1641        .14338E-05   -.19524E-03
  18  Prefactor     1.9261        7.1309       -.13874E-05    .25686E-04
  19  Prefactor     .10000E-03    23.784        .29552E-05** at limit **
  20  norm          3.7300        1.9102        .35314E-07   -.88110E-04
  21  Prefactor     24.090        38.837        .91580E-06   -.20080E-04
  22  norm          1.0190        .79490        .25008E-07   -.55651E-04
  23  Prefactor     .10000E-03    30.594       -.54648E-06** at limit **
  24  Normalizat    .96216        .23659       -.30887E-05    .36452E-04
  25  Prefactor     .99150        .85770E-01   -.35645E-06    .35829E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.68496
  Prefactor  = 9.5426
  Prefactor  = 12.2069
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.44148
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 14.4484
  norm       = 3.13745
  Prefactor  = 0.467634
  Prefactor  = 19.1175
  Prefactor  = 84.118
  Prefactor  = 0.0001
  norm       = 0.000100008
  Prefactor  = 0.0001
  norm       = 0.540107
  Prefactor  = 1.92608
  Prefactor  = 0.0001
  norm       = 3.73003
  Prefactor  = 24.0903
  norm       = 1.01904
  Prefactor  = 0.0001
  Normalizat = 0.962159
  Prefactor  = 0.991505
 **********
 **   18 **HESSE 
 **********

 FCN=   8105.326     FROM HESSE     STATUS=OK           435 CALLS     3321 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6850        1.7878        .11962E-03   -1.5448    
   2  Prefactor     9.5426        64.786        .12970E-03   -1.5090    
   3  Prefactor     12.207        15.446        .11467E-03   -1.5009    
   4  norm          .10000E-03    10.353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.8900        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          6.4415        5.0113        .15814E-03   -1.5200    
   7  Prefactor     .10000E-03    15.251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.0023        .15218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          14.448        24.244        .10536E-03   -1.4948    
  10  norm          3.1374        1.6491        .72460E-04   -1.5354    
  11  Prefactor     .46763        2.1601        .21384E-03   -1.5571    
  12  Prefactor     19.117        24.399        .91699E-04   -1.4833    
  13  Prefactor     84.118        65.141        .43795E-04   -1.3871    
  14  Prefactor     .10000E-03    2.5318        .13979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10001E-03    17.463        .17792E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.613        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .54011        2.1667        .24495E-03   -1.5561    
  18  Prefactor     1.9261        6.9965        .29979E-03   -1.5430    
  19  Prefactor     .10000E-03    23.729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.7300        1.9111        .85824E-04   -1.5322    
  21  Prefactor     24.090        38.526        .81618E-04   -1.4726    
  22  norm          1.0190        .76000        .59818E-03   -1.5506    
  23  Prefactor     .10000E-03    30.693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .96216        .25827        .41500E-03   -.94309    
  25  Prefactor     .99150        .96061E-01    .16266E-03   -.93013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36378e-09
Minuit parameter uncertainties:
  1  1.78789
  2  49.8059
  3  15.4509
  4  2.28871e-05
  5  4.26636e-05
  6  5.0116
  7  7.84893e-05
  8  6.87892e-06
  9  24.2608
  10  1.64917
  11  2.01002
  12  24.412
  13  65.1968
  14  6.49935e-06
  15  0.00074167
  16  4.61378e-05
  17  2.16351
  18  6.99946
  19  0.000120493
  20  1.91109
  21  38.5659
  22  0.760006
  23  0.000103482
  24  0.258604
  25  0.0960776
Done.

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

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  4.676e-01  2.010e+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.915e-01  9.608e-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.622e-01  2.586e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 66.195 0.603
Photon Flux Upper Limit: 1.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/413485/likelihoodResults_355968001_356227201_4FGL_J0424.7+0036_daily_bin450.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) = 8105.24449241
delta logL = 0.0819551923423

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8105.24254462
delta logL = 0.0839029782383

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .43318       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7366       1.0000          .0000       10.000    
     3 'Normalizat'    .95049       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99304       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8105.243     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      241 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .43316        1.4506        .11957E-03   -.16725E-03
   2  Index         2.7366        1.4637        .96403E-02    .26774E-03
   3  Normalizat    .95048        .23788        .41703E-03   -.21291E-04
   4  Prefactor     .99304        .94259E-01    .16249E-03   -.43448E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.433164
  Index      = 2.73658
  Normalizat = 0.950483
  Prefactor  = 0.993044
 **********
 **   18 **HESSE 
 **********

 FCN=   8105.243     FROM HESSE     STATUS=OK            25 CALLS      266 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .43316        1.2494        .47828E-05   -1.5576    
   2  Index         2.7366        1.2670        .19281E-02   -.46977    
   3  Normalizat    .95048        .23799        .16681E-04   -.94708    
   4  Prefactor     .99304        .94261E-01    .64997E-05   -.92962    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30542e-11
Minuit parameter uncertainties:
  1  1.24952
  2  1.2847
  3  0.238254
  4  0.0942766
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/413485': 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) = 8105.24254462
delta logL = 0.0839029788394

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  4.332e-01  1.250e+00  1.000e-04  1.000e+04 ( 1.000e-12)
220        Index:  2.737e+00  1.285e+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.930e-01  9.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:  9.505e-01  2.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
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/413485/cmap_HighResolution_355968001_356227201_4FGL_J0424.7+0036_daily_bin450.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.28e-03', job_status='DONE', photon_flux_upper_limit='1.22e-07', time_completed='2021-08-20 13:56:30.295144', job_id='413485', GAL2='0.99', fit_tolerance='1e-08', EG2='0.95', EG='0.96', time_epoch_completed='1629492990.3', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='8.39e-02', ts2='0.25', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='450' AND source_name='4FGL J0424.7+0036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 13:56:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 413485: <4FGL_J0424.7+0036_daily_bin450> in cluster <slac> Done

Job <4FGL_J0424.7+0036_daily_bin450> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Aug 20 13:40:21 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 13:40:22 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:22 2021
Terminated at Fri Aug 20 13:56:31 2021
Results reported at Fri Aug 20 13:56:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0424.7+0036_daily_bin450 66.1945 0.6028 355968001 356227201 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 :                                   800.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   968 sec.
    Turnaround time :                            970 sec.

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

