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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin791
RA = 220.561, Dec = 6.3755
tmin = 444355201, tmax = 444614401
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='714193', job_status='RUN', time_executed='2021-09-10 05:46:59.417491', time_epoch_executed='1631278019.42' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='791'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/714193

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/714193/ft1_4FGL_J1442.2+0622_daily_bin791.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/714193/ft2_4FGL_J1442.2+0622_daily_bin791.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/714193/ft1_4FGL_J1442.2+0622_daily_bin791.fits outfile=/scratch/kocevski/714193/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin791.fits ra=220.561 dec=6.3755 rad=12.0 tmin=444355201.0 tmax=444614401.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 6.56
user 6.27
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/714193/ft2_4FGL_J1442.2+0622_daily_bin791.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/714193/ft2_4FGL_J1442.2+0622_daily_bin791.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/714193/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin791.fits evtable="EVENTS" outfile="/scratch/kocevski/714193/ft1_filtered_4FGL_J1442.2+0622_daily_bin791.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/714193/ft1_filtered_4FGL_J1442.2+0622_daily_bin791.fits" evtable="EVENTS" scfile=/scratch/kocevski/714193/ft2_4FGL_J1442.2+0622_daily_bin791.fits sctable="SC_DATA" outfile=/scratch/kocevski/714193/ltcube_444355201_444614401_4FGL_J1442.2+0622_daily_bin791.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/714193/ft2_4FGL_J1442.2+0622_daily_bin791.fits
.....................!
real 11.44
user 11.09
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/714193/ft1_filtered_4FGL_J1442.2+0622_daily_bin791.fits evtable="EVENTS" scfile=/scratch/kocevski/714193/ft2_4FGL_J1442.2+0622_daily_bin791.fits sctable="SC_DATA" expcube=/scratch/kocevski/714193/ltcube_444355201_444614401_4FGL_J1442.2+0622_daily_bin791.fits outfile=/scratch/kocevski/714193/expmap_444355201_444614401_4FGL_J1442.2+0622_daily_bin791.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/714193/ltcube_444355201_444614401_4FGL_J1442.2+0622_daily_bin791.fits
.....................!
real 190.08
user 185.20
sys 4.51

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 151 point sources and 0 extended sources

Setting source of interest to:
4FGL J1442.2+0622 @ 220.561 6.3755

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/714193/ft1_filtered_4FGL_J1442.2+0622_daily_bin791.fits scfile=/scratch/kocevski/714193/ft2_4FGL_J1442.2+0622_daily_bin791.fits outfile=/scratch/kocevski/714193/cmap_444355201_444614401_4FGL_J1442.2+0622_daily_bin791.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=220.561 yref=6.3755 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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/714193/ft1_filtered_4FGL_J1442.2+0622_daily_bin791.fits scfile=/scratch/kocevski/714193/ft2_4FGL_J1442.2+0622_daily_bin791.fits outfile=/scratch/kocevski/714193/cmap_HighResolution_444355201_444614401_4FGL_J1442.2+0622_daily_bin791.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=220.561 yref=6.3755 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/714193/ft1_filtered_4FGL_J1442.2+0622_daily_bin791.fits evtable="EVENTS" scfile=/scratch/kocevski/714193/ft2_4FGL_J1442.2+0622_daily_bin791.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/714193/Model_4FGL_J1442.2+0622_daily_bin791.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/714193/ft1_filtered_4FGL_J1442.2+0622_daily_bin791.fits.....................!
real 58.10
user 56.78
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/714193/ft1_filtered_4FGL_J1442.2+0622_daily_bin791.fits', '/scratch/kocevski/714193/ft2_4FGL_J1442.2+0622_daily_bin791.fits', expMap='/scratch/kocevski/714193/expmap_444355201_444614401_4FGL_J1442.2+0622_daily_bin791.fits', expCube='/scratch/kocevski/714193/ltcube_444355201_444614401_4FGL_J1442.2+0622_daily_bin791.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/714193/Model_4FGL_J1442.2+0622_daily_bin791.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1442.2+0622'

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  3.653e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.698e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/714193/ft1_filtered_4FGL_J1442.2+0622_daily_bin791.fits
Spacecraft file(s): /scratch/kocevski/714193/ft2_4FGL_J1442.2+0622_daily_bin791.fits
Exposure map: /scratch/kocevski/714193/expmap_444355201_444614401_4FGL_J1442.2+0622_daily_bin791.fits
Exposure cube: /scratch/kocevski/714193/ltcube_444355201_444614401_4FGL_J1442.2+0622_daily_bin791.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/714193/Model_4FGL_J1442.2+0622_daily_bin791.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) = 7718.05918421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3342       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.7534       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-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      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.9897       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    72.257       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.4644       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.606       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    43.709       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10346E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .19106       1.0000         .10000E-03   10000.    
    18 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .16556E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.4874       1.0000         .10000E-03   10000.    
    21 'Prefactor '    16.628       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0532       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1342       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7718.058     FROM MIGRAD    STATUS=CONVERGED    497 CALLS     2573 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3336        8.6251        .27064E-05   -.94238E-03
   2  Prefactor     6.7523        15.628       -.55532E-06   -.29617E-04
   3  Prefactor     .10000E-03    11.446        .15478E-05** at limit **
   4  norm          .10000E-03    3.9261        .52242E-08** at limit **
   5  Prefactor     .10000E-03    13.403       -.31107E-05** at limit **
   6  norm          .10000E-03    14.583       -.31521E-05** at limit **
   7  Prefactor     4.9905        6.8054        .21962E-05   -.13650E-02
   8  Prefactor     .10000E-03    6.6401       -.27150E-06** at limit **
   9  Prefactor     72.253        64.617       -.13985E-05   -.54026E-04
  10  Prefactor     .10000E-03    14.952       -.28628E-05** at limit **
  11  norm          5.4639        16.588        .87928E-07    .10850E-04
  12  Prefactor     .10001E-03    17.873        .72760E-05** at limit **
  13  Prefactor     11.606        19.174       -.79719E-07   -.43926E-05
  14  Prefactor     .10000E-03    10.730        .30764E-05** at limit **
  15  Prefactor     43.701        30.026       -.23633E-05   -.36793E-03
  16  Prefactor     .10000E-03    36.784       -.26822E-05** at limit **
  17  norm          .19106        .15935        .24768E-07    .91894E-04
  18  norm          .10000E-03    .96458        .29596E-07** at limit **
  19  norm          .10001E-03    2.8307       -.76992E-06** at limit **
  20  norm          3.4873        3.5367        .12385E-06   -.12580E-03
  21  Prefactor     16.622        41.663       -.43447E-05   -.11502E-03
  22  Normalizat    1.0532        .20502        .56143E-07    .58216E-05
  23  Prefactor     1.1342        .12571        .25154E-07    .42616E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.33364
  Prefactor  = 6.75232
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.000100002
  Prefactor  = 4.99047
  Prefactor  = 0.0001
  Prefactor  = 72.2527
  Prefactor  = 0.000100002
  norm       = 5.46393
  Prefactor  = 0.000100011
  Prefactor  = 11.606
  Prefactor  = 0.000100002
  Prefactor  = 43.7012
  Prefactor  = 0.000100001
  norm       = 0.191056
  norm       = 0.0001
  norm       = 0.000100005
  norm       = 3.48729
  Prefactor  = 16.6216
  Normalizat = 1.05322
  Prefactor  = 1.13422
 **********
 **   18 **HESSE 
 **********

 FCN=   7718.058     FROM HESSE     STATUS=OK           368 CALLS     2941 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3336        9.4221        .96744E-03   -1.5292    
   2  Prefactor     6.7523        15.616        .15440E-03   -1.5188    
   3  Prefactor     .10000E-03    11.489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.9326        .17001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    14.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.9905        7.5618        .90016E-03   -1.5261    
   8  Prefactor     .10000E-03    6.7574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     72.253        64.849        .47229E-04   -1.4006    
  10  Prefactor     .10000E-03    15.085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.4639        16.569        .17189E-03   -1.5240    
  12  Prefactor     .10001E-03    18.861        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.606        19.172        .11759E-03   -1.5026    
  14  Prefactor     .10000E-03    10.982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     43.701        30.536        .60640E-04   -1.4385    
  16  Prefactor     .10000E-03    36.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .19106        .15107        .30475E-03   -1.5621    
  18  norm          .10000E-03    1.0100        .16824E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10001E-03    8.3295        .28530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.4873        3.5343        .15987E-03   -1.5334    
  21  Prefactor     16.622        42.063        .98220E-04   -1.4892    
  22  Normalizat    1.0532        .23982        .32060E-03   -.91268    
  23  Prefactor     1.1342        .14727        .19178E-03   -.88380    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.38323e-09
Minuit parameter uncertainties:
  1  9.42537
  2  15.6259
  3  0.000140886
  4  8.4265e-07
  5  0.000322036
  6  0.000334106
  7  7.56325
  8  2.63859e-05
  9  64.9121
  10  0.000307064
  11  16.5828
  12  0.000894698
  13  19.182
  14  0.000309572
  15  30.5469
  16  0.000346577
  17  0.151074
  18  1.31459e-06
  19  0.000416492
  20  3.53452
  21  42.1376
  22  0.24007
  23  0.147326
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  5.464e+00  1.658e+01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.698e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.134e+00  1.473e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.053e+00  2.401e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.13
Ra Dec: 220.561 6.375
Photon Flux Upper Limit: 7.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.85e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/714193/likelihoodResults_444355201_444614401_4FGL_J1442.2+0622_daily_bin791.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) = 7718.05098686
delta logL = 0.00704204792873

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7718.04864587
delta logL = 0.0093830370497

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3523       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0429       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0485       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1356       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+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=   7718.049     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      267 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3498        59.264        .19307E-03    .29971E-04
   2  alpha         3.0459        3.8992        .50558E-01    .53947E-05
   3  Normalizat    1.0486        .24950        .32123E-03   -.34817E-03
   4  Prefactor     1.1357        .15031        .19167E-03   -.86206E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.34978
  alpha      = 3.04594
  Normalizat = 1.04857
  Prefactor  = 1.13569
 **********
 **   18 **HESSE 
 **********

 FCN=   7718.049     FROM HESSE     STATUS=OK            25 CALLS      292 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3498        17.248        .77229E-05   -1.5291    
   2  alpha         3.0459        3.8086        .20223E-02    .22015    
   3  Normalizat    1.0486        .23843        .12849E-04   -.91421    
   4  Prefactor     1.1357        .14631        .38333E-04   -.88334    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.56254e-10
Minuit parameter uncertainties:
  1  17.2681
  2  2.91943
  3  0.238669
  4  0.14636
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/714193': 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) = 7718.04864393
delta logL = 0.00938497057723

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  4.350e+00  1.727e+01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  3.046e+00  2.919e+00  0.000e+00  5.000e+00 ( 1.000e+00)
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.136e+00  1.464e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.049e+00  2.387e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
Ra Dec: 220.561 6.375

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/714193/cmap_HighResolution_444355201_444614401_4FGL_J1442.2+0622_daily_bin791.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.85e-05', job_status='DONE', photon_flux_upper_limit='7.88e-08', time_completed='2021-09-10 05:58:18.122702', job_id='714193', GAL2='1.14', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1631278698.12', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='9.38e-03', ts2='0.14', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='791' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:58:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 714193: <4FGL_J1442.2+0622_daily_bin791> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin791> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 05:46:41 2021
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:46:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 05:46:43 2021
Terminated at Fri Sep 10 05:58:18 2021
Results reported at Fri Sep 10 05:58:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin791 220.561 6.3755 444355201 444614401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1442.2+0622 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   671.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             348.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   695 sec.
    Turnaround time :                            697 sec.

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

