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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin862
RA = 220.561, Dec = 6.3755
tmin = 462758401, tmax = 463017601
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='715317', job_status='RUN', time_executed='2021-09-10 05:54:52.633779', time_epoch_executed='1631278492.63' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='862'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/715317

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/715317/ft1_4FGL_J1442.2+0622_daily_bin862.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/715317/ft2_4FGL_J1442.2+0622_daily_bin862.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/715317/ft1_4FGL_J1442.2+0622_daily_bin862.fits outfile=/scratch/kocevski/715317/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin862.fits ra=220.561 dec=6.3755 rad=12.0 tmin=462758401.0 tmax=463017601.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.62
user 4.38
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/715317/ft2_4FGL_J1442.2+0622_daily_bin862.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/715317/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin862.fits evtable="EVENTS" outfile="/scratch/kocevski/715317/ft1_filtered_4FGL_J1442.2+0622_daily_bin862.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.51
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/715317/ft1_filtered_4FGL_J1442.2+0622_daily_bin862.fits" evtable="EVENTS" scfile=/scratch/kocevski/715317/ft2_4FGL_J1442.2+0622_daily_bin862.fits sctable="SC_DATA" outfile=/scratch/kocevski/715317/ltcube_462758401_463017601_4FGL_J1442.2+0622_daily_bin862.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/715317/ft2_4FGL_J1442.2+0622_daily_bin862.fits
.....................!
real 11.55
user 11.16
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/715317/ft1_filtered_4FGL_J1442.2+0622_daily_bin862.fits evtable="EVENTS" scfile=/scratch/kocevski/715317/ft2_4FGL_J1442.2+0622_daily_bin862.fits sctable="SC_DATA" expcube=/scratch/kocevski/715317/ltcube_462758401_463017601_4FGL_J1442.2+0622_daily_bin862.fits outfile=/scratch/kocevski/715317/expmap_462758401_463017601_4FGL_J1442.2+0622_daily_bin862.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/715317/ltcube_462758401_463017601_4FGL_J1442.2+0622_daily_bin862.fits
.....................!
real 193.51
user 187.33
sys 5.82

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/715317/ft1_filtered_4FGL_J1442.2+0622_daily_bin862.fits scfile=/scratch/kocevski/715317/ft2_4FGL_J1442.2+0622_daily_bin862.fits outfile=/scratch/kocevski/715317/cmap_462758401_463017601_4FGL_J1442.2+0622_daily_bin862.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.59
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/715317/ft1_filtered_4FGL_J1442.2+0622_daily_bin862.fits scfile=/scratch/kocevski/715317/ft2_4FGL_J1442.2+0622_daily_bin862.fits outfile=/scratch/kocevski/715317/cmap_HighResolution_462758401_463017601_4FGL_J1442.2+0622_daily_bin862.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.55
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/715317/ft1_filtered_4FGL_J1442.2+0622_daily_bin862.fits', '/scratch/kocevski/715317/ft2_4FGL_J1442.2+0622_daily_bin862.fits', expMap='/scratch/kocevski/715317/expmap_462758401_463017601_4FGL_J1442.2+0622_daily_bin862.fits', expCube='/scratch/kocevski/715317/ltcube_462758401_463017601_4FGL_J1442.2+0622_daily_bin862.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/715317/Model_4FGL_J1442.2+0622_daily_bin862.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/715317/ft1_filtered_4FGL_J1442.2+0622_daily_bin862.fits
Spacecraft file(s): /scratch/kocevski/715317/ft2_4FGL_J1442.2+0622_daily_bin862.fits
Exposure map: /scratch/kocevski/715317/expmap_462758401_463017601_4FGL_J1442.2+0622_daily_bin862.fits
Exposure cube: /scratch/kocevski/715317/ltcube_462758401_463017601_4FGL_J1442.2+0622_daily_bin862.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/715317/Model_4FGL_J1442.2+0622_daily_bin862.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) = 8993.58611766

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    57.239       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.633       1.0000         .10000E-03   10000.    
     6 'norm      '    .10168E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10251E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.272       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    13.727       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10417E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.021       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .30674E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.4364       1.0000         .10000E-03   10000.    
    16 'Prefactor '    99.586       1.0000         .10000E-03   10000.    
    17 'norm      '    2.5666       1.0000         .10000E-03   10000.    
    18 'norm      '    3.9948       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    7.6269       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .98940       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0493       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=   8993.565     FROM MIGRAD    STATUS=CONVERGED    495 CALLS     2496 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.3152       -.71436E-09** at limit **
   2  Prefactor     .10000E-03    13.973        .64529E-06** at limit **
   3  Prefactor     57.233        37.363        .10537E-05    .44128E-04
   4  norm          .10000E-03    7.4801       -.48425E-07** at limit **
   5  Prefactor     12.624        22.675        .10793E-05    .10610E-03
   6  norm          .10000E-03    12.473       -.82090E-06** at limit **
   7  Prefactor     .10000E-03    4.1400        .60317E-06** at limit **
   8  Prefactor     14.274        9.3937       -.16241E-05    .33874E-03
   9  Prefactor     .10000E-03    14.729        .11377E-05** at limit **
  10  Prefactor     .10000E-03    23.528       -.13897E-05** at limit **
  11  norm          13.728        19.640       -.50509E-06    .52885E-04
  12  Prefactor     .10000E-03    30.240        .21513E-05** at limit **
  13  Prefactor     20.021        20.919       -.29306E-06   -.59699E-04
  14  Prefactor     .10001E-03    77.545       -.23919E-04** at limit **
  15  Prefactor     7.4208        38.233       -.72353E-06   -.36753E-04
  16  Prefactor     99.604        60.253       -.31009E-05   -.35486E-03
  17  norm          2.5666        .33657       -.13235E-07   -.25660E-02
  18  norm          3.9948        2.2514       -.47588E-07    .65093E-04
  19  norm          .10000E-03    1.8771       -.97606E-08** at limit **
  20  norm          7.6268        3.7665        .19986E-06    .32764E-03
  21  Prefactor     .10000E-03    13.168       -.21097E-06** at limit **
  22  Normalizat    .98942        .21582       -.33668E-06   -.12703E-03
  23  Prefactor     1.0493        .12303       -.14768E-06   -.64934E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 57.2329
  norm       = 0.0001
  Prefactor  = 12.6242
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.2744
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.7284
  Prefactor  = 0.0001
  Prefactor  = 20.0209
  Prefactor  = 0.000100007
  Prefactor  = 7.42077
  Prefactor  = 99.6039
  norm       = 2.5666
  norm       = 3.99476
  norm       = 0.0001
  norm       = 7.62677
  Prefactor  = 0.0001
  Normalizat = 0.989417
  Prefactor  = 1.04931
 **********
 **   18 **HESSE 
 **********

 FCN=   8993.565     FROM HESSE     STATUS=OK           364 CALLS     2860 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.3175        .16863E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    14.062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     57.233        37.424        .53025E-04   -1.4193    
   4  norm          .10000E-03    7.6422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.624        22.854        .11270E-03   -1.4997    
   6  norm          .10000E-03    12.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.1747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.274        9.4502        .53010E-03   -1.4952    
   9  Prefactor     .10000E-03    14.775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    23.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          13.728        19.582        .10811E-03   -1.4967    
  12  Prefactor     .10000E-03    30.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     20.021        20.935        .89515E-04   -1.4813    
  14  Prefactor     .10001E-03    76.621        .54441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.4208        36.477        .14707E-03   -1.5163    
  16  Prefactor     99.604        60.658        .20142E-03   -1.3709    
  17  norm          2.5666        .33695        .18764E-04   -1.5388    
  18  norm          3.9948        2.2474        .10041E-03   -1.5308    
  19  norm          .10000E-03    1.8782        .12689E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          7.6268        3.7726        .12423E-03   -1.5156    
  21  Prefactor     .10000E-03    13.181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .98942        .25142        .35599E-03   -.93386    
  23  Prefactor     1.0493        .14378        .20860E-03   -.91104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27151e-09
Minuit parameter uncertainties:
  1  2.01231e-06
  2  8.23831e-05
  3  37.4396
  4  1.22246e-06
  5  22.8695
  6  0.000150293
  7  5.32624e-05
  8  9.45122
  9  0.00014735
  10  7.55627e-05
  11  19.5911
  12  9.92965e-05
  13  20.943
  14  0.00147659
  15  32.9373
  16  60.696
  17  0.336953
  18  2.24742
  19  2.77932e-07
  20  3.77275
  21  1.98987e-05
  22  0.251719
  23  0.143834
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.373e+01  1.959e+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.049e+00  1.438e-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:  9.894e-01  2.517e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/715317/likelihoodResults_462758401_463017601_4FGL_J1442.2+0622_daily_bin862.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) = 8993.5457522
delta logL = 0.0192319741127

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8993.54015841
delta logL = 0.0248257675175

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.618       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9429       1.0000          .0000       5.0000    
     3 'Normalizat'    .98279       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0512       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.

 FCN=   8993.540     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      211 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.618        476.77        .29383E-02    .70948E-03
   2  alpha         2.9429        3.6809        .41999        .78633E-04
   3  Normalizat    .98279        .68606E-01    .80664E-01   -.71565E-04
   4  Prefactor     1.0512        .35272E-01    .39839E-01   -.10455E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.6178
  alpha      = 2.94293
  Normalizat = 0.982787
  Prefactor  = 1.05123
 **********
 **   18 **HESSE 
 **********

 FCN=   8993.540     FROM HESSE     STATUS=OK            29 CALLS      240 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.618        21.970        .11753E-03   -1.5026    
   2  alpha         2.9429        1.1791        .22891E-01    .17811    
   3  Normalizat    .98279        .23801        .35705E-03   -.93609    
   4  Prefactor     1.0512        .14292        .20843E-03   -.91041    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24409e-09
Minuit parameter uncertainties:
  1  21.9857
  2  1.22963
  3  0.238263
  4  0.14297
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/715317': 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) = 8993.5401584
delta logL = 0.0248257685125

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.162e+01  2.199e+01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.943e+00  1.230e+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.051e+00  1.430e-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:  9.828e-01  2.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.63
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/715317/cmap_HighResolution_462758401_463017601_4FGL_J1442.2+0622_daily_bin862.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.47e-05', job_status='DONE', photon_flux_upper_limit='9.58e-08', time_completed='2021-09-10 06:06:52.847257', job_id='715317', GAL2='1.05', fit_tolerance='1e-08', EG2='0.98', EG='0.99', time_epoch_completed='1631279212.85', return_code2='0', ts='0.63', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='2.48e-02', ts2='0.67', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='862' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:06:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 715317: <4FGL_J1442.2+0622_daily_bin862> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin862> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 05:51:02 2021
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:51:04 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:51:04 2021
Terminated at Fri Sep 10 06:06:53 2021
Results reported at Fri Sep 10 06:06:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin862 220.561 6.3755 462758401 463017601 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 :                                   718.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   949 sec.
    Turnaround time :                            951 sec.

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

