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


Performing analysis on: 4FGL_J0424.7+0036_daily_bin557
RA = 66.1945, Dec = 0.6028
tmin = 383702401, tmax = 383961601
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='413644', job_status='RUN', time_executed='2021-08-20 13:43:25.442639', time_epoch_executed='1629492205.44' WHERE source_name='4FGL J0424.7+0036' and cadence='daily' and bin_id='557'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/413644

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/413644/ft1_4FGL_J0424.7+0036_daily_bin557.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/413644/ft2_4FGL_J0424.7+0036_daily_bin557.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/413644/ft1_4FGL_J0424.7+0036_daily_bin557.fits outfile=/scratch/kocevski/413644/ft1_filteredMKT_4FGL_J0424.7+0036_daily_bin557.fits ra=66.1945 dec=0.6028 rad=12.0 tmin=383702401.0 tmax=383961601.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.95
user 4.23
sys 0.70

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/413644/ft1_filtered_4FGL_J0424.7+0036_daily_bin557.fits" evtable="EVENTS" scfile=/scratch/kocevski/413644/ft2_4FGL_J0424.7+0036_daily_bin557.fits sctable="SC_DATA" outfile=/scratch/kocevski/413644/ltcube_383702401_383961601_4FGL_J0424.7+0036_daily_bin557.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/413644/ft2_4FGL_J0424.7+0036_daily_bin557.fits
.....................!
real 12.37
user 11.39
sys 0.94

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/413644/ft1_filtered_4FGL_J0424.7+0036_daily_bin557.fits evtable="EVENTS" scfile=/scratch/kocevski/413644/ft2_4FGL_J0424.7+0036_daily_bin557.fits sctable="SC_DATA" expcube=/scratch/kocevski/413644/ltcube_383702401_383961601_4FGL_J0424.7+0036_daily_bin557.fits outfile=/scratch/kocevski/413644/expmap_383702401_383961601_4FGL_J0424.7+0036_daily_bin557.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/413644/ltcube_383702401_383961601_4FGL_J0424.7+0036_daily_bin557.fits
.....................!
real 190.84
user 184.98
sys 5.54

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 142 point sources and 0 extended sources

Setting source of interest to:
4FGL J0424.7+0036 @ 66.1945 0.6028

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/413644/ft1_filtered_4FGL_J0424.7+0036_daily_bin557.fits scfile=/scratch/kocevski/413644/ft2_4FGL_J0424.7+0036_daily_bin557.fits outfile=/scratch/kocevski/413644/cmap_383702401_383961601_4FGL_J0424.7+0036_daily_bin557.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.99
user 0.37
sys 0.62

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/413644/ft1_filtered_4FGL_J0424.7+0036_daily_bin557.fits scfile=/scratch/kocevski/413644/ft2_4FGL_J0424.7+0036_daily_bin557.fits outfile=/scratch/kocevski/413644/cmap_HighResolution_383702401_383961601_4FGL_J0424.7+0036_daily_bin557.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.04
user 0.39
sys 0.65

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/413644/ft1_filtered_4FGL_J0424.7+0036_daily_bin557.fits evtable="EVENTS" scfile=/scratch/kocevski/413644/ft2_4FGL_J0424.7+0036_daily_bin557.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/413644/Model_4FGL_J0424.7+0036_daily_bin557.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/413644/ft1_filtered_4FGL_J0424.7+0036_daily_bin557.fits.....................!
real 117.31
user 115.17
sys 1.94

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7463       1.0000         .10000E-03   10000.    
     2 'Prefactor '    66.280       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.2997       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .26272E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    15.868       1.0000         .10000E-03   10000.    
     9 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .34475       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .17425E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    40.528       1.0000         .10000E-03   10000.    
    13 'Prefactor '    42.835       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .15695E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.7422       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.450       1.0000         .10000E-03   10000.    
    19 'Prefactor '    47.006       1.0000         .10000E-03   10000.    
    20 'norm      '    1.9347       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    4.1170       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .74630       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1957       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=   8158.032     FROM MIGRAD    STATUS=CONVERGED    587 CALLS     2969 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7464        1.7706        .56298E-07    .32713E-04
   2  Prefactor     66.232        60.192        .34201E-05    .75646E-04
   3  Prefactor     2.3091        25.108        .45196E-05    .19633E-03
   4  norm          .10000E-03    6.0977       -.81645E-07** at limit **
   5  Prefactor     .10000E-03    12.271        .19939E-08** at limit **
   6  norm          .10004E-03    7.0469        .39154E-05** at limit **
   7  Prefactor     .10000E-03    21.020        .40285E-06** at limit **
   8  norm          15.868        14.246        .30851E-06   -.12712E-03
   9  norm          .10000E-03    45.929        .18384E-06** at limit **
  10  norm          .34431        1.6101       -.12633E-06    .16721E-03
  11  Prefactor     .10000E-03    1.5823       -.15774E-05** at limit **
  12  Prefactor     40.513        27.866       -.15622E-05   -.30919E-03
  13  Prefactor     42.765        59.408        .57083E-05    .34614E-03
  14  Prefactor     .10000E-03    7.1252        .60505E-06** at limit **
  15  norm          .10000E-03    1.7085        .15350E-06** at limit **
  16  Prefactor     .10000E-03    42.506       -.16790E-05** at limit **
  17  norm          1.7422        2.1018       -.33594E-08    .17397E-03
  18  Prefactor     12.449        9.1895        .79496E-07   -.12671E-03
  19  Prefactor     47.012        32.009       -.31596E-06   -.39655E-04
  20  norm          1.9348        2.2917        .15252E-06    .85881E-04
  21  Prefactor     .10000E-03    20.364        .58116E-06** at limit **
  22  norm          4.1170        1.0461        .23726E-07   -.12864E-03
  23  Prefactor     .10000E-03    48.603        .19597E-05** at limit **
  24  Normalizat    .74649        .27807       -.12780E-05   -.75450E-04
  25  Prefactor     1.1956        .10043       -.59156E-06   -.28395E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.74642
  Prefactor  = 66.2322
  Prefactor  = 2.3091
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.00010004
  Prefactor  = 0.0001
  norm       = 15.8683
  norm       = 0.0001
  norm       = 0.344313
  Prefactor  = 0.000100002
  Prefactor  = 40.5129
  Prefactor  = 42.7645
  Prefactor  = 0.0001
  norm       = 0.000100004
  Prefactor  = 0.0001
  norm       = 1.74218
  Prefactor  = 12.4489
  Prefactor  = 47.0118
  norm       = 1.9348
  Prefactor  = 0.0001
  norm       = 4.117
  Prefactor  = 0.0001
  Normalizat = 0.746488
  Prefactor  = 1.19564
 **********
 **   18 **HESSE 
 **********

 FCN=   8158.032     FROM HESSE     STATUS=OK           427 CALLS     3396 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7464        1.7649        .93615E-04   -1.5377    
   2  Prefactor     66.232        59.677        .49297E-04   -1.4078    
   3  Prefactor     2.3091        25.356        .13531E-02   -1.5404    
   4  norm          .10000E-03    6.0982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    12.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10004E-03    12.547        .33586E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    21.103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          15.868        14.239        .10055E-03   -1.4911    
   9  norm          .10000E-03    46.608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .34431        1.9031        .15339E-02   -1.5591    
  11  Prefactor     .10000E-03    3.4896        .17076E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     40.513        26.368        .62965E-04   -1.4434    
  13  Prefactor     42.765        60.842        .61252E-04   -1.4399    
  14  Prefactor     .10000E-03    7.2014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    5.7669        .20407E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    42.431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.7422        2.0764        .13595E-03   -1.5444    
  18  Prefactor     12.449        9.1039        .56763E-03   -1.5002    
  19  Prefactor     47.012        31.983        .58483E-04   -1.4336    
  20  norm          1.9348        2.2699        .14074E-03   -1.5430    
  21  Prefactor     .10000E-03    20.397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.1170        1.0449        .19867E-04   -1.5302    
  23  Prefactor     .10000E-03    48.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .74649        .28603        .50523E-03   -1.0209    
  25  Prefactor     1.1956        .10617        .16580E-03   -.86466    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.7808e-09
Minuit parameter uncertainties:
  1  1.76493
  2  59.731
  3  15.3115
  4  1.4041e-06
  5  1.64753e-05
  6  0.0014217
  7  8.5715e-05
  8  14.2422
  9  0.000140775
  10  1.61879
  11  0.000146538
  12  26.3755
  13  60.9303
  14  3.64605e-05
  15  0.000291568
  16  1.78563e-05
  17  2.07645
  18  9.10493
  19  31.9948
  20  2.27001
  21  5.58821e-05
  22  1.04494
  23  0.000205309
  24  0.286601
  25  0.106184
Done.

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

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  1.000e-04  1.465e-04  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.196e+00  1.062e-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:  7.465e-01  2.866e-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: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/413644/likelihoodResults_383702401_383961601_4FGL_J0424.7+0036_daily_bin557.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) = 8158.0331835
delta logL = -0.00137123033801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8158.03181279
delta logL = -5.21734364156e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2091       1.0000          .0000       10.000    
     3 'Normalizat'    .74635       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1957       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=   8158.032     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      232 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .46733        .47718E-01** at limit **
   2  Index         2.2052        2.6810        .50000        .77863E-05
   3  Normalizat    .74649        .46931E-02    .11391        .10485E-03
   4  Prefactor     1.1956        .19170E-02    .34732E-01    .38638E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.20524
  Normalizat = 0.746487
  Prefactor  = 1.19564
 **********
 **   18 **HESSE 
 **********

 FCN=   8158.032     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      265 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    719.24        .17154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2052        5.0666        .50000       -.59312    
   3  Normalizat    .74649        .15981        .50521E-03   -1.0209    
   4  Prefactor     1.1956        .64946E-01    .16580E-03   -.86466    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.36702e-07
Minuit parameter uncertainties:
  1  0.00180411
  2  60.3389
  3  0.159907
  4  0.0649503
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/413644': 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) = 8158.03181225
delta logL = 1.73458829522e-08

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  1.000e-04  1.804e-03  1.000e-04  1.000e+04 ( 1.000e-12)
220        Index:  2.205e+00  6.034e+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:  1.196e+00  6.495e-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:  7.465e-01  1.599e-01  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/413644/cmap_HighResolution_383702401_383961601_4FGL_J0424.7+0036_daily_bin557.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.09e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2021-08-20 13:56:30.518396', job_id='413644', GAL2='1.20', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1629492990.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='1.73e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='557' 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@bullet0041>
Subject: Job 413644: <4FGL_J0424.7+0036_daily_bin557> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0424.7+0036_daily_bin557 66.1945 0.6028 383702401 383961601 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 :                                   792.39 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             300.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   957 sec.
    Turnaround time :                            958 sec.

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

