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


Performing analysis on: 4FGL_J0424.7+0036_daily_bin717
RA = 66.1945, Dec = 0.6028
tmin = 425174401, tmax = 425433601
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='413877', job_status='RUN', time_executed='2021-08-20 13:44:11.867800', time_epoch_executed='1629492251.87' WHERE source_name='4FGL J0424.7+0036' and cadence='daily' and bin_id='717'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/413877

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/413877/ft1_4FGL_J0424.7+0036_daily_bin717.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/413877/ft2_4FGL_J0424.7+0036_daily_bin717.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/413877/ft1_4FGL_J0424.7+0036_daily_bin717.fits outfile=/scratch/kocevski/413877/ft1_filteredMKT_4FGL_J0424.7+0036_daily_bin717.fits ra=66.1945 dec=0.6028 rad=12.0 tmin=425174401.0 tmax=425433601.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 8.80
user 5.00
sys 3.78

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/413877/ft1_filtered_4FGL_J0424.7+0036_daily_bin717.fits" evtable="EVENTS" scfile=/scratch/kocevski/413877/ft2_4FGL_J0424.7+0036_daily_bin717.fits sctable="SC_DATA" outfile=/scratch/kocevski/413877/ltcube_425174401_425433601_4FGL_J0424.7+0036_daily_bin717.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/413877/ft2_4FGL_J0424.7+0036_daily_bin717.fits
.....................!
real 15.61
user 11.44
sys 4.12

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/413877/ft1_filtered_4FGL_J0424.7+0036_daily_bin717.fits evtable="EVENTS" scfile=/scratch/kocevski/413877/ft2_4FGL_J0424.7+0036_daily_bin717.fits sctable="SC_DATA" expcube=/scratch/kocevski/413877/ltcube_425174401_425433601_4FGL_J0424.7+0036_daily_bin717.fits outfile=/scratch/kocevski/413877/expmap_425174401_425433601_4FGL_J0424.7+0036_daily_bin717.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/413877/ltcube_425174401_425433601_4FGL_J0424.7+0036_daily_bin717.fits
.....................!
real 193.79
user 184.84
sys 8.60

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/413877/ft1_filtered_4FGL_J0424.7+0036_daily_bin717.fits scfile=/scratch/kocevski/413877/ft2_4FGL_J0424.7+0036_daily_bin717.fits outfile=/scratch/kocevski/413877/cmap_425174401_425433601_4FGL_J0424.7+0036_daily_bin717.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.06
user 0.38
sys 3.60

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/413877/ft1_filtered_4FGL_J0424.7+0036_daily_bin717.fits scfile=/scratch/kocevski/413877/ft2_4FGL_J0424.7+0036_daily_bin717.fits outfile=/scratch/kocevski/413877/cmap_HighResolution_425174401_425433601_4FGL_J0424.7+0036_daily_bin717.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 3.99
user 0.39
sys 3.58

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/413877/ft1_filtered_4FGL_J0424.7+0036_daily_bin717.fits evtable="EVENTS" scfile=/scratch/kocevski/413877/ft2_4FGL_J0424.7+0036_daily_bin717.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/413877/Model_4FGL_J0424.7+0036_daily_bin717.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/413877/ft1_filtered_4FGL_J0424.7+0036_daily_bin717.fits.....................!
real 112.63
user 107.15
sys 5.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .17377E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .11129E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.514       1.0000         .10000E-03   10000.    
     8 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .37505       1.0000         .10000E-03   10000.    
    10 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .15091E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    9.5694       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.3702       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.0736       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11014E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.9667       1.0000         .10000E-03   10000.    
    21 'Prefactor '    46.761       1.0000         .10000E-03   10000.    
    22 'norm      '    2.4184       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.3172       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .92738       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7424.266     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     2457 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .39319        .22982E-06** at limit **
   2  Prefactor     .10034E-03    118.92        .28214E-04** at limit **
   3  Prefactor     .10005E-03    12.712        .25140E-04** at limit **
   4  norm          .10000E-03    6.5989        .32377E-06** at limit **
   5  Prefactor     .10000E-03    20.013        .81741E-05** at limit **
   6  norm          .10000E-03    13.534       -.87838E-05** at limit **
   7  Prefactor     11.506        1.2603        .19120E-06   -.14994E-03
   8  norm          .10000E-03    10.495        .10483E-05** at limit **
   9  norm          .10047E-03    1490.3       -.17240E-03** at limit **
  10  norm          .10000E-03    .52328        .28216E-06** at limit **
  11  Prefactor     .10000E-03    .70418       -.34901E-06** at limit **
  12  Prefactor     .10117E-03    36.033        .98719E-05** at limit **
  13  Prefactor     .10112E-03    33.801       -.17507E-04** at limit **
  14  Prefactor     .10003E-03    12.787       -.18169E-04** at limit **
  15  norm          9.5748        3.6312        .43686E-06   -.27013E-04
  16  Prefactor     .10061E-03    29.302       -.19181E-05** at limit **
  17  norm          1.3704        1.4029        .95248E-07   -.64861E-04
  18  Prefactor     7.0714        1.2805        .10583E-05    .11729E-04
  19  Prefactor     .10145E-03    23.363       -.14341E-05** at limit **
  20  norm          2.9653        2.6842       -.52523E-06   -.28585E-03
  21  Prefactor     46.763        1.2073       -.30494E-06    .10494E-02
  22  norm          2.4182        .86907       -.15599E-06   -.32321E-03
  23  Prefactor     .10001E-03    26.030       -.11729E-04** at limit **
  24  Normalizat    1.3173        .26134       -.44031E-05   -.56186E-04
  25  Prefactor     .92746        .10188        .38228E-05    .43906E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100335
  Prefactor  = 0.000100047
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 11.5057
  norm       = 0.0001
  norm       = 0.000100474
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000101171
  Prefactor  = 0.000101116
  Prefactor  = 0.000100027
  norm       = 9.57484
  Prefactor  = 0.000100606
  norm       = 1.37036
  Prefactor  = 7.07142
  Prefactor  = 0.000101447
  norm       = 2.9653
  Prefactor  = 46.7632
  norm       = 2.41822
  Prefactor  = 0.000100007
  Normalizat = 1.3173
  Prefactor  = 0.92746
 **********
 **   18 **HESSE 
 **********

 FCN=   7424.266     FROM HESSE     STATUS=OK           483 CALLS     2940 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .39102        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10034E-03    121.09        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10005E-03    13.066        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    6.5989        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    20.027        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.5391        .53787E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.506        22.545        .29515E-02   -1.5029    
   8  norm          .10000E-03    10.376        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10047E-03    21.873        .12875       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .50534        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    .69115        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10117E-03    50.791        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10112E-03    65.362        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10003E-03    12.821        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          9.5748        3.7205        .32386E-02   -1.5089    
  16  Prefactor     .10061E-03    35.347        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3704        1.3945        .93121E-02   -1.5474    
  18  Prefactor     7.0714        8.4685        .37708E-02   -1.5176    
  19  Prefactor     .10145E-03    37.689        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.9653        2.6930        .58936E-02   -1.5364    
  21  Prefactor     46.763        39.673        .14659E-02   -1.4339    
  22  norm          2.4182        .93268        .65802E-02   -1.5397    
  23  Prefactor     .10001E-03    61.181        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.3173        .23506        .83135E-01   -.83052    
  25  Prefactor     .92746        .90723E-01    .45353E-01   -.95188    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06068e-07
Minuit parameter uncertainties:
  1  1.28162e-07
  2  0.0127704
  3  0.00157333
  4  1.80421e-05
  5  0.000183698
  6  0.000198639
  7  22.5612
  8  2.19726e-05
  9  0.00644531
  10  4.66868e-07
  11  2.12891e-06
  12  0.0154342
  13  0.0170969
  14  0.00116858
  15  3.72055
  16  0.00925884
  17  1.3945
  18  8.46988
  19  0.0147765
  20  2.69311
  21  39.6952
  22  0.932683
  23  0.00129905
  24  0.235253
  25  0.0907375
Done.

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

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  1.000e-04  2.129e-06  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.275e-01  9.074e-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.317e+00  2.353e-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: 7.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.81e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/413877/likelihoodResults_425174401_425433601_4FGL_J0424.7+0036_daily_bin717.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) = 7424.27250942
delta logL = -0.00672236532137

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7424.26578578
delta logL = 1.27550265461e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1921       1.0000          .0000       10.000    
     3 'Normalizat'    1.3173       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92746       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=   7424.266     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      215 TOTAL
                     EDM=   .93E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.6651        .90712E-02** at limit **
   2  Index         1.8396        5.8858        .50000        .22189E-06
   3  Normalizat    1.3173        .93730E-02    .83135E-01    .88507E-05
   4  Prefactor     .92746        .37173E-02    .45354E-01   -.14217E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.83956
  Normalizat = 1.3173
  Prefactor  = 0.92746
 **********
 **   18 **HESSE 
 **********

 FCN=   7424.266     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      246 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    28.491        .76441E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8396        6.3381        .50000       -.68424    
   3  Normalizat    1.3173        .39810E-01    .36803E-03   -.83051    
   4  Prefactor     .92746        .15812E-01    .16953E-03   -.95188    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.56228e-10
Minuit parameter uncertainties:
  1  1.35723e-07
  2  216.822
  3  0.0398107
  4  0.0158121
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/413877': 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) = 7424.26577591
delta logL = 1.11422950795e-05

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  1.000e-04  1.357e-07  1.000e-04  1.000e+04 ( 1.000e-12)
220        Index:  1.840e+00  2.168e+02  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.275e-01  1.581e-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.317e+00  3.981e-02  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/413877/cmap_HighResolution_425174401_425433601_4FGL_J0424.7+0036_daily_bin717.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.81e-03', job_status='DONE', photon_flux_upper_limit='7.62e-08', time_completed='2021-08-20 13:56:55.003580', job_id='413877', GAL2='0.93', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1629493015.0', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.11e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='717' AND source_name='4FGL J0424.7+0036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 13:56:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 413877: <4FGL_J0424.7+0036_daily_bin717> in cluster <slac> Done

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

Your job looked like:

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

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

