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


Performing analysis on: 4FGL_J0424.7+0036_daily_bin1601
RA = 66.1945, Dec = 0.6028
tmin = 654307201, tmax = 654566401
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='539832', job_status='RUN', time_executed='2021-09-29 00:05:57.923749', time_epoch_executed='1632899157.92' WHERE source_name='4FGL J0424.7+0036' and cadence='daily' and bin_id='1601'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/539832

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/539832/ft1_4FGL_J0424.7+0036_daily_bin1601.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/539832/ft2_4FGL_J0424.7+0036_daily_bin1601.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/539832/ft1_4FGL_J0424.7+0036_daily_bin1601.fits outfile=/scratch/kocevski/539832/ft1_filteredMKT_4FGL_J0424.7+0036_daily_bin1601.fits ra=66.1945 dec=0.6028 rad=12.0 tmin=654307201.0 tmax=654566401.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.23
user 4.01
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/539832/ft2_4FGL_J0424.7+0036_daily_bin1601.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/539832/ft1_filteredMKT_4FGL_J0424.7+0036_daily_bin1601.fits evtable="EVENTS" outfile="/scratch/kocevski/539832/ft1_filtered_4FGL_J0424.7+0036_daily_bin1601.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.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/539832/ft1_filtered_4FGL_J0424.7+0036_daily_bin1601.fits" evtable="EVENTS" scfile=/scratch/kocevski/539832/ft2_4FGL_J0424.7+0036_daily_bin1601.fits sctable="SC_DATA" outfile=/scratch/kocevski/539832/ltcube_654307201_654566401_4FGL_J0424.7+0036_daily_bin1601.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/539832/ft2_4FGL_J0424.7+0036_daily_bin1601.fits
.....................!
real 11.94
user 11.60
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/539832/ft1_filtered_4FGL_J0424.7+0036_daily_bin1601.fits evtable="EVENTS" scfile=/scratch/kocevski/539832/ft2_4FGL_J0424.7+0036_daily_bin1601.fits sctable="SC_DATA" expcube=/scratch/kocevski/539832/ltcube_654307201_654566401_4FGL_J0424.7+0036_daily_bin1601.fits outfile=/scratch/kocevski/539832/expmap_654307201_654566401_4FGL_J0424.7+0036_daily_bin1601.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/539832/ltcube_654307201_654566401_4FGL_J0424.7+0036_daily_bin1601.fits
.....................!
real 189.95
user 184.84
sys 4.66

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/539832/ft1_filtered_4FGL_J0424.7+0036_daily_bin1601.fits scfile=/scratch/kocevski/539832/ft2_4FGL_J0424.7+0036_daily_bin1601.fits outfile=/scratch/kocevski/539832/cmap_654307201_654566401_4FGL_J0424.7+0036_daily_bin1601.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/539832/ft1_filtered_4FGL_J0424.7+0036_daily_bin1601.fits scfile=/scratch/kocevski/539832/ft2_4FGL_J0424.7+0036_daily_bin1601.fits outfile=/scratch/kocevski/539832/cmap_HighResolution_654307201_654566401_4FGL_J0424.7+0036_daily_bin1601.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.54
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/539832/ft1_filtered_4FGL_J0424.7+0036_daily_bin1601.fits evtable="EVENTS" scfile=/scratch/kocevski/539832/ft2_4FGL_J0424.7+0036_daily_bin1601.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/539832/Model_4FGL_J0424.7+0036_daily_bin1601.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/539832/ft1_filtered_4FGL_J0424.7+0036_daily_bin1601.fits.....................!
real 112.76
user 111.34
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10246E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    15.467       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.4336       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .18964       1.0000         .10000E-03   10000.    
     9 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.7744       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .21479E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    43.080       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .46136E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.0108       1.0000         .10000E-03   10000.    
    15 'norm      '    1.4892       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .56774       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .78461       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11978E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.8414       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.8879       1.0000         .10000E-03   10000.    
    22 'norm      '    .60927       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .30613       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2808       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=   8174.635     FROM MIGRAD    STATUS=CONVERGED    636 CALLS     3427 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .82302       -.11356E-06** at limit **
   2  Prefactor     .10000E-03    11.602        .16619E-07** at limit **
   3  Prefactor     .10000E-03    17.539       -.53444E-06** at limit **
   4  norm          15.466        14.329       -.13269E-05   -.15444E-03
   5  Prefactor     .10000E-03    17.894        .32660E-06** at limit **
   6  norm          5.4323        5.4595        .32688E-05   -.35571E-03
   7  Prefactor     .10000E-03    6.1542        .11571E-06** at limit **
   8  norm          .15970        6.7348       -.77385E-06    .16456E-03
   9  norm          .10000E-03    17.149        .24658E-05** at limit **
  10  norm          2.7732        1.5547       -.52378E-06    .68659E-03
  11  Prefactor     .10000E-03    .84759        .16447E-06** at limit **
  12  Prefactor     43.073        25.178        .38585E-05    .84750E-03
  13  Prefactor     .14260E-03    55.272       -.34309E-05** at limit **
  14  Prefactor     6.0210        10.087       -.79594E-06    .11097E-03
  15  norm          1.4875        2.9175       -.57370E-07   -.34804E-03
  16  Prefactor     .10000E-03    16.779       -.12931E-05** at limit **
  17  norm          .56782        1.8798        .43581E-06    .59287E-04
  18  Prefactor     .78049        3.3659       -.38834E-06   -.13232E-04
  19  Prefactor     .10000E-03    22.059       -.25561E-06** at limit **
  20  norm          3.8392        2.1619       -.52303E-07   -.15295E-03
  21  Prefactor     9.9195        25.591       -.10020E-05   -.28788E-04
  22  norm          .60837        .48085       -.47045E-08   -.12289E-03
  23  Prefactor     .10000E-03    30.531        .35689E-07** at limit **
  24  Normalizat    .30681        .33190        .52951E-05    .15582E-03
  25  Prefactor     1.2806        .11945       -.18761E-05    .27239E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 15.4655
  Prefactor  = 0.0001
  norm       = 5.43233
  Prefactor  = 0.0001
  norm       = 0.159704
  norm       = 0.0001
  norm       = 2.77324
  Prefactor  = 0.0001
  Prefactor  = 43.0733
  Prefactor  = 0.000142605
  Prefactor  = 6.02103
  norm       = 1.4875
  Prefactor  = 0.0001
  norm       = 0.567816
  Prefactor  = 0.780485
  Prefactor  = 0.0001
  norm       = 3.83924
  Prefactor  = 9.91949
  norm       = 0.608372
  Prefactor  = 0.0001
  Normalizat = 0.306809
  Prefactor  = 1.28065
 **********
 **   18 **HESSE 
 **********

 FCN=   8174.635     FROM HESSE     STATUS=OK           449 CALLS     3876 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .85366        .15978E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    18.067        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          15.466        14.341        .10184E-03   -1.4921    
   5  Prefactor     .10000E-03    17.927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.4323        5.5652        .86193E-03   -1.5242    
   7  Prefactor     .10000E-03    6.1578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .15970        10.969        .67459E-01   -1.5628    
   9  norm          .10000E-03    17.152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.7732        1.5393        .70774E-04   -1.5375    
  11  Prefactor     .10000E-03    3.8377        .15151E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     43.073        26.432        .61078E-04   -1.4394    
  13  Prefactor     .14260E-03    44.284        .14695       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.0210        9.9044        .16377E-03   -1.5217    
  15  norm          1.4875        2.8908        .18200E-03   -1.5464    
  16  Prefactor     .10000E-03    16.803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .56782        1.8050        .20159E-03   -1.5557    
  18  Prefactor     .78049        11.894        .29977E-02   -1.5531    
  19  Prefactor     .10000E-03    22.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.8392        2.1135        .92480E-04   -1.5316    
  21  Prefactor     9.9195        25.116        .12743E-03   -1.5078    
  22  norm          .60837        .45970        .51279E-03   -1.5552    
  23  Prefactor     .10000E-03    30.754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .30681        .25989        .66291E-03   -1.2243    
  25  Prefactor     1.2806        .10060        .14791E-03   -.83884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51691e-08
Minuit parameter uncertainties:
  1  1.74682e-07
  2  1.79263e-06
  3  4.08269e-05
  4  14.3441
  5  2.31293e-05
  6  5.5657
  7  5.69815e-06
  8  2.64675
  9  9.04762e-05
  10  1.53936
  11  6.7394e-05
  12  26.4395
  13  0.0869366
  14  9.9071
  15  2.8911
  16  0.000109684
  17  1.80517
  18  6.09467
  19  1.4458e-05
  20  2.11352
  21  25.1429
  22  0.459704
  23  3.17241e-05
  24  0.260921
  25  0.100616
Done.

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

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  1.000e-04  6.739e-05  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.281e+00  1.006e-01  0.000e+00  1.000e+01 ( 1.000e+00)
460        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
461        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
458   Normalization:  3.068e-01  2.609e-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: 9.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/539832/likelihoodResults_654307201_654566401_4FGL_J0424.7+0036_daily_bin1601.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) = 8174.63664617
delta logL = -0.00125042363743

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8174.63539803
delta logL = -2.28500721278e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1774       1.0000          .0000       10.000    
     3 'Normalizat'    .30632       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2809       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8174.635     FROM MIGRAD    STATUS=FAILED       105 CALLS      276 TOTAL
                     EDM=   .26E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10368E-03    50.257        .15648E-02** at limit **
   2  Index         2.0197        8.9697        .50000        .25551E-04
   3  Normalizat    .30681        .18739E-01    .66292E-03   -.20459E-04
   4  Prefactor     1.2806        .82378E-02    .14791E-03    .44348E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8174.635     FROM SIMPLEX   STATUS=UNCHANGED    122 CALLS      398 TOTAL
                     EDM=   .67E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10368E-03    50.257        .31940E-03** at limit **
   2  Index         2.0197        8.9697        .67644E-03    .25551E-04
   3  Normalizat    .30681        .18739E-01    .70130E-05   -.20459E-04
   4  Prefactor     1.2806        .82378E-02    .14517E-05    .44348E-04
                               ERR DEF=  .500    

 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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8174.635     FROM MIGRAD    STATUS=FAILED        83 CALLS      481 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    45.777        .62590E-04** at limit **
   2  Index         1.9417        7.0855        .50000       -.91195E-05
   3  Normalizat    .30681        .22029        .53034E-05    .43302E-04
   4  Prefactor     1.2806        .96945E-01    .11833E-05    .23058E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.94165
  Normalizat = 0.306807
  Prefactor  = 1.28065
 **********
 **   18 **HESSE 
 **********

 FCN=   8174.635     FROM HESSE     STATUS=OK            27 CALLS      508 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.0939        .12518E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9417        7.7589        .50000       -.65817    
   3  Normalizat    .30681        .21589        .10607E-05   -1.2243    
   4  Prefactor     1.2806        .95125E-01    .23666E-06   -.83884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02753e-08
Minuit parameter uncertainties:
  1  1.71572e-05
  2  61.5647
  3  0.216474
  4  0.0951374
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/539832': 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): 1
logL (Free Index) = 8174.635393
delta logL = 2.74703415926e-06

Extracting fit parameters...

4FGL J0424.7+0036
   Spectrum: PowerLaw
219    Prefactor:  1.000e-04  1.716e-05  1.000e-04  1.000e+04 ( 1.000e-12)
220        Index:  1.942e+00  6.156e+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.281e+00  9.514e-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:  3.068e-01  2.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 66.195 0.603

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/539832/cmap_HighResolution_654307201_654566401_4FGL_J0424.7+0036_daily_bin1601.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.30e-03', job_status='DONE', photon_flux_upper_limit='9.57e-08', time_completed='2021-09-29 00:20:13.072969', job_id='539832', GAL2='1.28', fit_tolerance='1e-08', EG2='0.31', EG='0.31', time_epoch_completed='1632900013.07', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.28', dlogl='2.75e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='1601' AND source_name='4FGL J0424.7+0036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 00:20:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 539832: <4FGL_J0424.7+0036_daily_bin1601> in cluster <slac> Done

Job <4FGL_J0424.7+0036_daily_bin1601> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 00:05:43 2021
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 00:05:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 00:05:44 2021
Terminated at Wed Sep 29 00:20:13 2021
Results reported at Wed Sep 29 00:20:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0424.7+0036_daily_bin1601 66.1945 0.6028 654307201 654566401 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 :                                   822.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             330.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            870 sec.

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

