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


Performing analysis on: 4FGL_J0424.7+0036_daily_bin133
RA = 66.1945, Dec = 0.6028
tmin = 273801601, tmax = 274060801
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='410877', job_status='RUN', time_executed='2021-08-20 13:34:42.484791', time_epoch_executed='1629491682.48' WHERE source_name='4FGL J0424.7+0036' and cadence='daily' and bin_id='133'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/410877

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/410877/ft1_4FGL_J0424.7+0036_daily_bin133.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/410877/ft2_4FGL_J0424.7+0036_daily_bin133.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/410877/ft1_4FGL_J0424.7+0036_daily_bin133.fits outfile=/scratch/kocevski/410877/ft1_filteredMKT_4FGL_J0424.7+0036_daily_bin133.fits ra=66.1945 dec=0.6028 rad=12.0 tmin=273801601.0 tmax=274060801.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.15
user 2.48
sys 0.65

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/410877/ft1_filtered_4FGL_J0424.7+0036_daily_bin133.fits" evtable="EVENTS" scfile=/scratch/kocevski/410877/ft2_4FGL_J0424.7+0036_daily_bin133.fits sctable="SC_DATA" outfile=/scratch/kocevski/410877/ltcube_273801601_274060801_4FGL_J0424.7+0036_daily_bin133.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/410877/ft2_4FGL_J0424.7+0036_daily_bin133.fits
.....................!
real 9.22
user 8.41
sys 0.79

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/410877/ft1_filtered_4FGL_J0424.7+0036_daily_bin133.fits evtable="EVENTS" scfile=/scratch/kocevski/410877/ft2_4FGL_J0424.7+0036_daily_bin133.fits sctable="SC_DATA" expcube=/scratch/kocevski/410877/ltcube_273801601_274060801_4FGL_J0424.7+0036_daily_bin133.fits outfile=/scratch/kocevski/410877/expmap_273801601_274060801_4FGL_J0424.7+0036_daily_bin133.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/410877/ltcube_273801601_274060801_4FGL_J0424.7+0036_daily_bin133.fits
.....................!
real 141.12
user 137.06
sys 3.83

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/410877/ft1_filtered_4FGL_J0424.7+0036_daily_bin133.fits scfile=/scratch/kocevski/410877/ft2_4FGL_J0424.7+0036_daily_bin133.fits outfile=/scratch/kocevski/410877/cmap_273801601_274060801_4FGL_J0424.7+0036_daily_bin133.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.92
user 0.27
sys 0.60

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/410877/ft1_filtered_4FGL_J0424.7+0036_daily_bin133.fits scfile=/scratch/kocevski/410877/ft2_4FGL_J0424.7+0036_daily_bin133.fits outfile=/scratch/kocevski/410877/cmap_HighResolution_273801601_274060801_4FGL_J0424.7+0036_daily_bin133.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.88
user 0.29
sys 0.59

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/410877/ft1_filtered_4FGL_J0424.7+0036_daily_bin133.fits evtable="EVENTS" scfile=/scratch/kocevski/410877/ft2_4FGL_J0424.7+0036_daily_bin133.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/410877/Model_4FGL_J0424.7+0036_daily_bin133.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/410877/ft1_filtered_4FGL_J0424.7+0036_daily_bin133.fits.....................!
real 81.33
user 79.57
sys 1.60

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10545       1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.969       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .75515       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .49411E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.324       1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    30.617       1.0000         .10000E-03   10000.    
    10 'norm      '    2.7920       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .80525       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.4485       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.4304       1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.266       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.556       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    27.491       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2908       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .85431       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=   7379.848     FROM MIGRAD    STATUS=CONVERGED    582 CALLS     2920 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10465        1.0754        .16554E-06   -.39456E-03
   2  Prefactor     19.952        51.019       -.54674E-06   -.64154E-04
   3  Prefactor     .10000E-03    10.820        .12861E-06** at limit **
   4  norm          .63906        13.141       -.13311E-05    .31352E-03
   5  Prefactor     .10000E-03    13.677        .51135E-07** at limit **
   6  norm          .31766E-01    3.2576       -.11405E-05    .10528E-02
   7  Prefactor     14.337        28.440        .45058E-06    .78432E-04
   8  norm          .10000E-03    3.8906        .22682E-07** at limit **
   9  norm          30.597        26.350        .70749E-06   -.74960E-04
  10  norm          2.7920        1.3941        .48482E-06   -.17767E-03
  11  Prefactor     .80858        1.2661       -.11696E-05   -.14584E-02
  12  Prefactor     .10000E-03    9.9966       -.26385E-06** at limit **
  13  Prefactor     .10000E-03    35.114        .44561E-06** at limit **
  14  Prefactor     9.4479        9.8134       -.39780E-07    .13161E-03
  15  norm          .10000E-03    .74904        .82204E-08** at limit **
  16  Prefactor     .10000E-03    15.735       -.27059E-06** at limit **
  17  norm          7.4295        3.1619        .63619E-07    .13862E-03
  18  Prefactor     15.264        7.5755        .77283E-08    .20657E-04
  19  Prefactor     .10000E-03    8.0161        .28633E-07** at limit **
  20  norm          .10000E-03    .68710        .43549E-07** at limit **
  21  Prefactor     11.557        16.629       -.28661E-07   -.72175E-05
  22  norm          .10000E-03    .20179        .25530E-07** at limit **
  23  Prefactor     27.496        24.654        .67944E-07    .39794E-04
  24  Normalizat    1.2907        .23479       -.40713E-07    .17281E-03
  25  Prefactor     .85437        .86591E-01   -.42746E-08    .27544E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.104651
  Prefactor  = 19.9519
  Prefactor  = 0.0001
  norm       = 0.639063
  Prefactor  = 0.0001
  norm       = 0.0317657
  Prefactor  = 14.3375
  norm       = 0.0001
  norm       = 30.5969
  norm       = 2.79202
  Prefactor  = 0.808582
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 9.44793
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 7.42945
  Prefactor  = 15.2644
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.5566
  norm       = 0.0001
  Prefactor  = 27.4963
  Normalizat = 1.29075
  Prefactor  = 0.854369
 **********
 **   18 **HESSE 
 **********

 FCN=   7379.848     FROM HESSE     STATUS=OK           441 CALLS     3361 TOTAL
                     EDM=   .58E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10465        2.9268        .17150E-02   -1.5643    
   2  Prefactor     19.952        51.199        .89630E-04   -1.4814    
   3  Prefactor     .10000E-03    10.887        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .63906        88.020        .59271E-02   -1.5548    
   5  Prefactor     .10000E-03    13.698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .31766E-01    2.8638        .49053E-01   -1.5672    
   7  Prefactor     14.337        28.436        .10583E-03   -1.4950    
   8  norm          .10000E-03    3.9082        .16546E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          30.597        26.196        .72411E-04   -1.4601    
  10  norm          2.7920        1.3701        .32899E-03   -1.5374    
  11  Prefactor     .80858        1.2612        .13728E-02   -1.5528    
  12  Prefactor     .10000E-03    10.019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    35.232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.4479        9.8486        .13038E-03   -1.5093    
  15  norm          .10000E-03    .75785        .72570E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.744        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.4295        3.1734        .93730E-04   -1.5163    
  18  Prefactor     15.264        7.5780        .10251E-03   -1.4926    
  19  Prefactor     .10000E-03    8.0195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .69494        .69480E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     11.557        16.568        .11785E-03   -1.5028    
  22  norm          .10000E-03    .26589        .74774E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     27.496        24.678        .76407E-04   -1.4659    
  24  Normalizat    1.2907        .26326        .35757E-03   -.83843    
  25  Prefactor     .85437        .97965E-01    .16747E-03   -.97754    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.78971e-08
Minuit parameter uncertainties:
  1  1.1064
  2  51.3123
  3  8.16729e-05
  4  15.0215
  5  9.75214e-05
  6  0.602308
  7  28.4624
  8  8.34397e-07
  9  26.206
  10  1.37012
  11  1.26123
  12  6.42123e-05
  13  0.000330081
  14  9.85033
  15  9.72235e-08
  16  0.000133772
  17  3.17347
  18  7.57844
  19  4.35207e-06
  20  1.06495e-06
  21  16.5745
  22  8.46397e-07
  23  24.6872
  24  0.263531
  25  0.0979854
Done.

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

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  8.086e-01  1.261e+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:  8.544e-01  9.799e-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.291e+00  2.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/410877/likelihoodResults_273801601_274060801_4FGL_J0424.7+0036_daily_bin133.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) = 7379.82107246
delta logL = 0.027171414471

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7379.81633886
delta logL = 0.0319050138451

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .93905       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9812       1.0000          .0000       10.000    
     3 'Normalizat'    1.2945       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85360       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=   7379.816     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      211 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .93852        37.800        .28703E-01    .65398E-03
   2  Index         1.9814        5.9609        .25898       -.29065E-04
   3  Normalizat    1.2945        .46738E-01    .80684E-01   -.12169E-03
   4  Prefactor     .85365        .18098E-01    .44411E-01   -.34382E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.938523
  Index      = 1.9814
  Normalizat = 1.29452
  Prefactor  = 0.853651
 **********
 **   18 **HESSE 
 **********

 FCN=   7379.816     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .93852        1.4520        .15006E-02   -1.5514    
   2  Index         1.9814        .89796        .13133E-01   -.64816    
   3  Normalizat    1.2945        .24326        .35715E-03   -.83730    
   4  Prefactor     .85365        .95371E-01    .16754E-03   -.97780    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1617e-09
Minuit parameter uncertainties:
  1  1.4521
  2  0.905738
  3  0.243475
  4  0.0953896
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/410877': 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) = 7379.81633847
delta logL = 0.0319054043048

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  9.385e-01  1.452e+00  1.000e-04  1.000e+04 ( 1.000e-12)
220        Index:  1.981e+00  9.057e-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:  8.537e-01  9.539e-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.295e+00  2.435e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.72
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/410877/cmap_HighResolution_273801601_274060801_4FGL_J0424.7+0036_daily_bin133.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.53e-03', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2021-08-20 13:43:43.991062', job_id='410877', GAL2='0.85', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1629492223.99', return_code2='0', ts='0.72', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='3.19e-02', ts2='0.78', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='133' AND source_name='4FGL J0424.7+0036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 13:43:44 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0424.7+0036_daily_bin133 66.1945 0.6028 273801601 274060801 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 :                                   547.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             213.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            773 sec.

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

