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


Performing analysis on: 4FGL_J0424.7+0036_daily_bin1138
RA = 66.1945, Dec = 0.6028
tmin = 534297601, tmax = 534556801
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='416670', job_status='RUN', time_executed='2021-08-20 13:51:51.031475', time_epoch_executed='1629492711.03' WHERE source_name='4FGL J0424.7+0036' and cadence='daily' and bin_id='1138'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/416670

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/416670/ft1_4FGL_J0424.7+0036_daily_bin1138.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/416670/ft2_4FGL_J0424.7+0036_daily_bin1138.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/416670/ft1_4FGL_J0424.7+0036_daily_bin1138.fits outfile=/scratch/kocevski/416670/ft1_filteredMKT_4FGL_J0424.7+0036_daily_bin1138.fits ra=66.1945 dec=0.6028 rad=12.0 tmin=534297601.0 tmax=534556801.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 7.22
user 3.27
sys 3.89

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/416670/ft2_4FGL_J0424.7+0036_daily_bin1138.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/416670/ft1_filteredMKT_4FGL_J0424.7+0036_daily_bin1138.fits evtable="EVENTS" outfile="/scratch/kocevski/416670/ft1_filtered_4FGL_J0424.7+0036_daily_bin1138.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 4.68
user 0.34
sys 4.31

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/416670/ft1_filtered_4FGL_J0424.7+0036_daily_bin1138.fits" evtable="EVENTS" scfile=/scratch/kocevski/416670/ft2_4FGL_J0424.7+0036_daily_bin1138.fits sctable="SC_DATA" outfile=/scratch/kocevski/416670/ltcube_534297601_534556801_4FGL_J0424.7+0036_daily_bin1138.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/416670/ft2_4FGL_J0424.7+0036_daily_bin1138.fits
.....................!
real 16.27
user 11.81
sys 4.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/416670/ft1_filtered_4FGL_J0424.7+0036_daily_bin1138.fits evtable="EVENTS" scfile=/scratch/kocevski/416670/ft2_4FGL_J0424.7+0036_daily_bin1138.fits sctable="SC_DATA" expcube=/scratch/kocevski/416670/ltcube_534297601_534556801_4FGL_J0424.7+0036_daily_bin1138.fits outfile=/scratch/kocevski/416670/expmap_534297601_534556801_4FGL_J0424.7+0036_daily_bin1138.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/416670/ltcube_534297601_534556801_4FGL_J0424.7+0036_daily_bin1138.fits
.....................!
real 194.10
user 185.01
sys 8.72

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/416670/ft1_filtered_4FGL_J0424.7+0036_daily_bin1138.fits scfile=/scratch/kocevski/416670/ft2_4FGL_J0424.7+0036_daily_bin1138.fits outfile=/scratch/kocevski/416670/cmap_534297601_534556801_4FGL_J0424.7+0036_daily_bin1138.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 4.16
user 0.38
sys 3.76

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/416670/ft1_filtered_4FGL_J0424.7+0036_daily_bin1138.fits scfile=/scratch/kocevski/416670/ft2_4FGL_J0424.7+0036_daily_bin1138.fits outfile=/scratch/kocevski/416670/cmap_HighResolution_534297601_534556801_4FGL_J0424.7+0036_daily_bin1138.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 4.17
user 0.37
sys 3.77

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/416670/ft1_filtered_4FGL_J0424.7+0036_daily_bin1138.fits evtable="EVENTS" scfile=/scratch/kocevski/416670/ft2_4FGL_J0424.7+0036_daily_bin1138.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/416670/Model_4FGL_J0424.7+0036_daily_bin1138.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/416670/ft1_filtered_4FGL_J0424.7+0036_daily_bin1138.fits.....................!
real 140.21
user 134.01
sys 5.94

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.534       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    37.887       1.0000         .10000E-03   10000.    
     4 'norm      '    7.7534       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.2869       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11271E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10097E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    37.060       1.0000         .10000E-03   10000.    
    10 'norm      '    1.7928       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.1365       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10642E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.6483       1.0000         .10000E-03   10000.    
    15 'norm      '    .10482E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .79394E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    3.0095       1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.067       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .20402E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    6.3285       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10661E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.8620       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .74520       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1005       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=   9518.279     FROM MIGRAD    STATUS=CONVERGED   1041 CALLS     2988 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.535        2.7017        .77955E-04   -.61252E-05
   2  Prefactor     .10000E-03    17.777        .18142E-02** at limit **
   3  Prefactor     37.894        18.466        .65114E-04   -.28983E-04
   4  norm          7.7560        9.8691        .14401E-03    .15789E-06
   5  Prefactor     .10000E-03    11.087        .18142E-02** at limit **
   6  norm          2.2876        3.5027        .21833E-03    .30202E-05
   7  Prefactor     .10000E-03    25.915        .18142E-02** at limit **
   8  norm          .10000E-03    5.5650        .18142E-02** at limit **
   9  norm          37.063        25.029        .65835E-04   -.23830E-04
  10  norm          1.7927        1.0818        .31235E-04   -.81530E-04
  11  Prefactor     1.1375        1.5680        .13623E-03    .43395E-04
  12  Prefactor     .10000E-03    13.665        .18142E-02** at limit **
  13  Prefactor     .10000E-03    41.202        .18142E-02** at limit **
  14  Prefactor     6.6467        8.5660        .77815E-03   -.10694E-04
  15  norm          .10000E-03    2.1130        .27121E-03** at limit **
  16  Prefactor     .10000E-03    45.530        .18309    ** at limit **
  17  norm          3.0099        2.3542        .12505E-03   -.46910E-04
  18  Prefactor     15.052        9.9689        .10318E-03   -.11172E-03
  19  Prefactor     .10000E-03    141.58        .36285E-03** at limit **
  20  norm          6.3288        2.8063        .98873E-04   -.35415E-04
  21  Prefactor     .10000E-03    36.165        .18142E-02** at limit **
  22  norm          .10000E-03    .18149        .79729E-04** at limit **
  23  Prefactor     6.8692        46.842        .15316E-03    .74227E-06
  24  Normalizat    .74535        .24716        .48292E-03   -.56924E-04
  25  Prefactor     1.1003        .95313E-01    .16495E-03   -.15879E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.535
  Prefactor  = 0.0001
  Prefactor  = 37.8936
  norm       = 7.75604
  Prefactor  = 0.0001
  norm       = 2.28757
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 37.063
  norm       = 1.79272
  Prefactor  = 1.13746
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.64669
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 3.00986
  Prefactor  = 15.0521
  Prefactor  = 0.0001
  norm       = 6.32883
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.86921
  Normalizat = 0.745345
  Prefactor  = 1.10032
 **********
 **   18 **HESSE 
 **********

 FCN=   9518.279     FROM HESSE     STATUS=OK           413 CALLS     3401 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.535        2.7017        .31182E-05   -1.5059    
   2  Prefactor     .10000E-03    17.778        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     37.894        18.465        .26046E-05   -1.4476    
   4  norm          7.7560        9.8689        .57604E-05   -1.5151    
   5  Prefactor     .10000E-03    11.087        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.2876        3.5025        .87331E-05   -1.5405    
   7  Prefactor     .10000E-03    25.921        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    5.5670        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          37.063        25.039        .26334E-05   -1.4490    
  10  norm          1.7927        1.0817        .12494E-05   -1.5440    
  11  Prefactor     1.1375        1.5677        .54493E-05   -1.5495    
  12  Prefactor     .10000E-03    13.668        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    41.204        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.6467        8.5620        .31126E-04   -1.5192    
  15  norm          .10000E-03    2.1131        .54241E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    50.098        .17208       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.0099        2.3541        .50021E-05   -1.5361    
  18  Prefactor     15.052        9.9665        .41274E-05   -1.4932    
  19  Prefactor     .10000E-03    141.59        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          6.3288        2.8060        .39549E-05   -1.5205    
  21  Prefactor     .10000E-03    36.176        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    .18149        .15946E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     6.8692        46.834        .61264E-05   -1.5184    
  24  Normalizat    .74535        .24720        .19317E-04   -1.0213    
  25  Prefactor     1.1003        .95390E-01    .65982E-05   -.89456    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97483e-11
Minuit parameter uncertainties:
  1  2.70171
  2  7.72262e-06
  3  18.4679
  4  9.87093
  5  3.83575e-06
  6  3.50286
  7  8.23551e-06
  8  7.3015e-06
  9  25.0462
  10  1.08167
  11  1.56774
  12  6.90155e-06
  13  4.34639e-05
  14  8.56359
  15  1.46867e-06
  16  0.000429411
  17  2.35413
  18  9.96763
  19  0.000437776
  20  2.80603
  21  1.32107e-05
  22  7.57228e-08
  23  35.9128
  24  0.247575
  25  0.0954045
Done.

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

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  1.137e+00  1.568e+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:  1.100e+00  9.540e-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.453e-01  2.476e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/416670/likelihoodResults_534297601_534556801_4FGL_J0424.7+0036_daily_bin1138.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) = 9518.26337384
delta logL = 0.0154165548574

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9518.25986337
delta logL = 0.0189270256978

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0133       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3847       1.0000          .0000       10.000    
     3 'Normalizat'    .73999       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1011       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9518.260     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      249 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0126        1.6778        .26081E-03    .23272E-03
   2  Index         2.3849        .96503        .91569E-02    .26158E-03
   3  Normalizat    .73990        .22634        .48450E-03    .37543E-06
   4  Prefactor     1.1013        .92129E-01    .16488E-03    .68950E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.01259
  Index      = 2.38491
  Normalizat = 0.739902
  Prefactor  = 1.1013
 **********
 **   18 **HESSE 
 **********

 FCN=   9518.260     FROM HESSE     STATUS=OK            27 CALLS      276 TOTAL
                     EDM=   .50E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0126        1.5770        .52162E-04   -1.5507    
   2  Index         2.3849        .90756        .18314E-02   -.55039    
   3  Normalizat    .73990        .22623        .19380E-04   -1.0234    
   4  Prefactor     1.1013        .92112E-01    .65953E-05   -.89425    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.0283e-12
Minuit parameter uncertainties:
  1  1.57703
  2  0.914565
  3  0.226515
  4  0.0921253
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/416670': 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) = 9518.25985892
delta logL = 0.0189314696618

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  1.013e+00  1.577e+00  1.000e-04  1.000e+04 ( 1.000e-12)
220        Index:  2.385e+00  9.146e-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.101e+00  9.213e-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.399e-01  2.265e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.76
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/416670/cmap_HighResolution_534297601_534556801_4FGL_J0424.7+0036_daily_bin1138.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.25e-03', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2021-08-20 14:06:48.740287', job_id='416670', GAL2='1.10', fit_tolerance='1e-08', EG2='0.74', EG='0.75', time_epoch_completed='1629493608.74', return_code2='0', ts='0.76', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.89e-02', ts2='0.81', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='1138' AND source_name='4FGL J0424.7+0036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 14:06:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 416670: <4FGL_J0424.7+0036_daily_bin1138> in cluster <slac> Done

Job <4FGL_J0424.7+0036_daily_bin1138> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Aug 20 13:50:40 2021
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 13:50:40 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:50:40 2021
Terminated at Fri Aug 20 14:06:50 2021
Results reported at Fri Aug 20 14:06:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0424.7+0036_daily_bin1138 66.1945 0.6028 534297601 534556801 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 :                                   950.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             313.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   969 sec.
    Turnaround time :                            970 sec.

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

