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


Performing analysis on: 4FGL_J0424.7+0036_daily_bin156
RA = 66.1945, Dec = 0.6028
tmin = 279763201, tmax = 280022401
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='410900', job_status='RUN', time_executed='2021-08-20 13:31:25.494114', time_epoch_executed='1629491485.49' WHERE source_name='4FGL J0424.7+0036' and cadence='daily' and bin_id='156'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/410900

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/410900/ft1_4FGL_J0424.7+0036_daily_bin156.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/410900/ft2_4FGL_J0424.7+0036_daily_bin156.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/410900/ft1_4FGL_J0424.7+0036_daily_bin156.fits outfile=/scratch/kocevski/410900/ft1_filteredMKT_4FGL_J0424.7+0036_daily_bin156.fits ra=66.1945 dec=0.6028 rad=12.0 tmin=279763201.0 tmax=280022401.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.58
user 3.32
sys 1.12

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/410900/ft1_filtered_4FGL_J0424.7+0036_daily_bin156.fits" evtable="EVENTS" scfile=/scratch/kocevski/410900/ft2_4FGL_J0424.7+0036_daily_bin156.fits sctable="SC_DATA" outfile=/scratch/kocevski/410900/ltcube_279763201_280022401_4FGL_J0424.7+0036_daily_bin156.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/410900/ft2_4FGL_J0424.7+0036_daily_bin156.fits
.....................!
real 12.91
user 11.54
sys 1.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/410900/ft1_filtered_4FGL_J0424.7+0036_daily_bin156.fits evtable="EVENTS" scfile=/scratch/kocevski/410900/ft2_4FGL_J0424.7+0036_daily_bin156.fits sctable="SC_DATA" expcube=/scratch/kocevski/410900/ltcube_279763201_280022401_4FGL_J0424.7+0036_daily_bin156.fits outfile=/scratch/kocevski/410900/expmap_279763201_280022401_4FGL_J0424.7+0036_daily_bin156.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/410900/ltcube_279763201_280022401_4FGL_J0424.7+0036_daily_bin156.fits
.....................!
real 192.11
user 185.91
sys 5.77

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/410900/ft1_filtered_4FGL_J0424.7+0036_daily_bin156.fits scfile=/scratch/kocevski/410900/ft2_4FGL_J0424.7+0036_daily_bin156.fits outfile=/scratch/kocevski/410900/cmap_279763201_280022401_4FGL_J0424.7+0036_daily_bin156.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 1.41
user 0.37
sys 0.99

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/410900/ft1_filtered_4FGL_J0424.7+0036_daily_bin156.fits scfile=/scratch/kocevski/410900/ft2_4FGL_J0424.7+0036_daily_bin156.fits outfile=/scratch/kocevski/410900/cmap_HighResolution_279763201_280022401_4FGL_J0424.7+0036_daily_bin156.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.42
user 0.36
sys 1.00

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/410900/ft1_filtered_4FGL_J0424.7+0036_daily_bin156.fits evtable="EVENTS" scfile=/scratch/kocevski/410900/ft2_4FGL_J0424.7+0036_daily_bin156.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/410900/Model_4FGL_J0424.7+0036_daily_bin156.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/410900/ft1_filtered_4FGL_J0424.7+0036_daily_bin156.fits.....................!
real 123.83
user 120.94
sys 2.46

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2031       1.0000         .10000E-03   10000.    
     2 'Prefactor '    40.401       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10817E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.1585       1.0000         .10000E-03   10000.    
     8 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    14.534       1.0000         .10000E-03   10000.    
    10 'norm      '    4.1274       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.5168       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10980E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.7791       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.9823       1.0000         .10000E-03   10000.    
    15 'norm      '    .10109E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.0724       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.251       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.1406       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    1.5887       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0518       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .91217       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=   8581.147     FROM MIGRAD    STATUS=CONVERGED    569 CALLS     2889 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2032        1.3695        .14352E-06    .93817E-04
   2  Prefactor     40.398        55.458        .46886E-06   -.64492E-05
   3  Prefactor     .10000E-03    23.965       -.11263E-05** at limit **
   4  norm          .10000E-03    5.9692       -.61447E-07** at limit **
   5  Prefactor     .10000E-03    6.0109        .98164E-07** at limit **
   6  norm          .10000E-03    1.3748        .41242E-07** at limit **
   7  Prefactor     9.1300        30.294       -.48074E-06   -.73552E-04
   8  norm          .10002E-03    4.1754        .11800E-05** at limit **
   9  norm          14.532        23.116        .37146E-07    .28247E-06
  10  norm          4.1277        1.4750       -.57851E-08   -.19017E-03
  11  Prefactor     1.5160        2.0360       -.51722E-08   -.34968E-04
  12  Prefactor     .10000E-03    20.223       -.12737E-05** at limit **
  13  Prefactor     5.7654        106.85        .55549E-06   -.19047E-04
  14  Prefactor     3.9820        7.8676        .35058E-06   -.64519E-04
  15  norm          .10000E-03    1.6802       -.39937E-06** at limit **
  16  Prefactor     .10000E-03    17.841       -.34031E-06** at limit **
  17  norm          4.0723        2.5872        .42506E-07   -.36346E-04
  18  Prefactor     10.248        7.4718        .17955E-05    .26320E-03
  19  Prefactor     .10000E-03    37.682       -.16638E-06** at limit **
  20  norm          1.1407        1.2101        .56924E-07    .28665E-04
  21  Prefactor     .10000E-03    23.185        .10466E-06** at limit **
  22  norm          1.5883        .71710       -.15039E-08   -.63288E-04
  23  Prefactor     .10000E-03    7.4679        .42572E-07** at limit **
  24  Normalizat    1.0518        .21926       -.91406E-06   -.57457E-04
  25  Prefactor     .91219        .81529E-01   -.35438E-07   -.78121E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.2032
  Prefactor  = 40.3979
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.12999
  norm       = 0.000100018
  norm       = 14.5323
  norm       = 4.12766
  Prefactor  = 1.516
  Prefactor  = 0.0001
  Prefactor  = 5.76538
  Prefactor  = 3.98204
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.07229
  Prefactor  = 10.2481
  Prefactor  = 0.0001
  norm       = 1.14068
  Prefactor  = 0.0001
  norm       = 1.58834
  Prefactor  = 0.0001
  Normalizat = 1.05176
  Prefactor  = 0.912188
 **********
 **   18 **HESSE 
 **********

 FCN=   8581.147     FROM HESSE     STATUS=OK           429 CALLS     3318 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2032        1.3451        .11200E-03   -1.5489    
   2  Prefactor     40.398        55.518        .63063E-04   -1.4436    
   3  Prefactor     .10000E-03    24.336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    5.9706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.0100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.3780        .10605E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.1300        30.221        .13243E-03   -1.5104    
   8  norm          .10002E-03    12.898        .33368E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          14.532        23.046        .10506E-03   -1.4945    
  10  norm          4.1277        1.4684        .60584E-04   -1.5302    
  11  Prefactor     1.5160        1.9541        .12211E-03   -1.5462    
  12  Prefactor     .10000E-03    20.353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.7654        101.85        .16707E-03   -1.5228    
  14  Prefactor     3.9820        7.8537        .20211E-03   -1.5309    
  15  norm          .10000E-03    1.7582        .23457E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    17.856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.0723        2.5815        .11087E-03   -1.5304    
  18  Prefactor     10.248        7.5886        .62574E-03   -1.5068    
  19  Prefactor     .10000E-03    37.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.1407        1.2014        .10159E-03   -1.5494    
  21  Prefactor     .10000E-03    23.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.5883        .71341        .50718E-04   -1.5456    
  23  Prefactor     .10000E-03    7.4721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0518        .24327        .38955E-03   -.91316    
  25  Prefactor     .91219        .91798E-01    .16432E-03   -.95717    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51425e-09
Minuit parameter uncertainties:
  1  1.34515
  2  55.5887
  3  5.62128e-05
  4  2.20091e-05
  5  2.55951e-05
  6  4.83079e-07
  7  30.2714
  8  0.000969958
  9  23.0596
  10  1.46839
  11  1.95422
  12  8.6659e-05
  13  48.5609
  14  7.85572
  15  7.45667e-06
  16  8.40739e-05
  17  2.58156
  18  7.58928
  19  0.000126972
  20  1.20142
  21  3.13961e-05
  22  0.713411
  23  1.45814e-06
  24  0.24353
  25  0.0918134
Done.

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

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  1.516e+00  1.954e+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.122e-01  9.181e-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.052e+00  2.435e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.14
Ra Dec: 66.195 0.603
Photon Index (Fixed Index): 2.21 +/- 0.00
Photon Flux (Fixed Index): 3.81e-08 +/- 4.91e-08
Energy Flux (Fixed Index): 1.67e-05 +/- 2.16e-05

TS (Fixed Index): 1.14
Ra Dec: 66.195 0.603
Photon Flux Upper Limit: 1.35e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/410900/likelihoodResults_279763201_280022401_4FGL_J0424.7+0036_daily_bin156.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) = 8581.12083595
delta logL = 0.025946055539

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8581.11162396
delta logL = 0.0351580499155

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2743       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4204       1.0000          .0000       10.000    
     3 'Normalizat'    1.0452       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91333       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=   8581.112     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      213 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2743        32.307        .98448E-02    .23772E-02
   2  Index         2.4205        6.2097        .16090        .15854E-03
   3  Normalizat    1.0452        .68290E-01    .88190E-01    .91379E-04
   4  Prefactor     .91335        .25184E-01    .45175E-01    .95061E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.27428
  Index      = 2.42046
  Normalizat = 1.04521
  Prefactor  = 0.913347
 **********
 **   18 **HESSE 
 **********

 FCN=   8581.112     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2743        1.9470        .10804E-03   -1.5482    
   2  Index         2.4205        .87827        .95566E-02   -.54207    
   3  Normalizat    1.0452        .22700        .39054E-03   -.91531    
   4  Prefactor     .91335        .89601E-01    .16421E-03   -.95676    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.49783e-10
Minuit parameter uncertainties:
  1  1.94706
  2  0.884546
  3  0.227215
  4  0.0896154
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/410900': 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) = 8581.11162395
delta logL = 0.0351580575589

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  1.274e+00  1.947e+00  1.000e-04  1.000e+04 ( 1.000e-12)
220        Index:  2.420e+00  8.845e-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:  9.133e-01  8.962e-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.045e+00  2.272e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 66.195 0.603
Photon Index (Free Index): 2.42 +/- 0.88
Photon Flux (Free Index): 4.68e-08 +/- 5.64e-08
Energy Flux (Free Index): 1.49e-05 +/- 1.80e-05

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/410900/cmap_HighResolution_279763201_280022401_4FGL_J0424.7+0036_daily_bin156.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', comment='SUCCESS', photon_flux='3.81e-08', energy_flux2='1.49e-05', photon_flux_error='4.91e-08', dlogl='3.52e-02', energy_flux='1.67e-05', photon_flux2='4.68e-08', job_status='DONE', time_completed='2021-08-20 13:44:37.214055', photon_index_error2='0.88', photon_index2='2.42', ts='1.14', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='1.35e-07', energy_flux_error2='1.80e-05', EG='1.05', time_epoch_completed='1629492277.21', return_code='0', job_id='410900', GAL2='0.91', EG2='1.05', return_code2='0', energy_flux_error='2.16e-05', photon_flux_error2='5.64e-08', ts2='1.22', photon_index='2.21' WHERE bin_id='156' AND source_name='4FGL J0424.7+0036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 13:44:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 410900: <4FGL_J0424.7+0036_daily_bin156> in cluster <slac> Done

Job <4FGL_J0424.7+0036_daily_bin156> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Aug 20 13:30:55 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 13:30:57 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:57 2021
Terminated at Fri Aug 20 13:44:38 2021
Results reported at Fri Aug 20 13:44:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0424.7+0036_daily_bin156 66.1945 0.6028 279763201 280022401 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 :                                   801.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             374.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            823 sec.

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

