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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin827
RA = 220.561, Dec = 6.3755
tmin = 453686401, tmax = 453945601
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='715281', job_status='RUN', time_executed='2021-09-10 05:53:51.453749', time_epoch_executed='1631278431.45' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='827'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/715281

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/715281/ft1_4FGL_J1442.2+0622_daily_bin827.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/715281/ft2_4FGL_J1442.2+0622_daily_bin827.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/715281/ft1_4FGL_J1442.2+0622_daily_bin827.fits outfile=/scratch/kocevski/715281/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin827.fits ra=220.561 dec=6.3755 rad=12.0 tmin=453686401.0 tmax=453945601.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 3.69
user 3.42
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/715281/ft2_4FGL_J1442.2+0622_daily_bin827.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/715281/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin827.fits evtable="EVENTS" outfile="/scratch/kocevski/715281/ft1_filtered_4FGL_J1442.2+0622_daily_bin827.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/715281/ft1_filtered_4FGL_J1442.2+0622_daily_bin827.fits" evtable="EVENTS" scfile=/scratch/kocevski/715281/ft2_4FGL_J1442.2+0622_daily_bin827.fits sctable="SC_DATA" outfile=/scratch/kocevski/715281/ltcube_453686401_453945601_4FGL_J1442.2+0622_daily_bin827.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/715281/ft2_4FGL_J1442.2+0622_daily_bin827.fits
.....................!
real 11.86
user 11.52
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/715281/ft1_filtered_4FGL_J1442.2+0622_daily_bin827.fits evtable="EVENTS" scfile=/scratch/kocevski/715281/ft2_4FGL_J1442.2+0622_daily_bin827.fits sctable="SC_DATA" expcube=/scratch/kocevski/715281/ltcube_453686401_453945601_4FGL_J1442.2+0622_daily_bin827.fits outfile=/scratch/kocevski/715281/expmap_453686401_453945601_4FGL_J1442.2+0622_daily_bin827.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/715281/ltcube_453686401_453945601_4FGL_J1442.2+0622_daily_bin827.fits
.....................!
real 190.39
user 185.01
sys 4.88

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/715281/ft1_filtered_4FGL_J1442.2+0622_daily_bin827.fits scfile=/scratch/kocevski/715281/ft2_4FGL_J1442.2+0622_daily_bin827.fits outfile=/scratch/kocevski/715281/cmap_453686401_453945601_4FGL_J1442.2+0622_daily_bin827.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/715281/ft1_filtered_4FGL_J1442.2+0622_daily_bin827.fits scfile=/scratch/kocevski/715281/ft2_4FGL_J1442.2+0622_daily_bin827.fits outfile=/scratch/kocevski/715281/cmap_HighResolution_453686401_453945601_4FGL_J1442.2+0622_daily_bin827.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.56
user 0.37
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.644       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.372       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      '    5.0052       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .24987E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    11.615       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.9379       1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.682       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    88.938       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10658E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.1634       1.0000         .10000E-03   10000.    
    18 'norm      '    3.8642       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.8919       1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.258       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .77049       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2118       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=   9163.750     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2566 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.644        14.709        .77079E-08    .13836E-05
   2  Prefactor     15.372        15.949        .41369E-06   -.40797E-04
   3  Prefactor     .10000E-03    7.3250       -.17182E-07** at limit **
   4  norm          .10000E-03    3.5530        .20009E-07** at limit **
   5  Prefactor     .10000E-03    7.1358        .41858E-07** at limit **
   6  norm          5.0053        15.761        .24524E-06   -.11861E-04
   7  Prefactor     .10000E-03    2.9912       -.12260E-07** at limit **
   8  Prefactor     .10000E-03    6.2415        .55046E-07** at limit **
   9  Prefactor     .10000E-03    34.887       -.73918E-06** at limit **
  10  Prefactor     .10002E-03    76.692        .12063E-04** at limit **
  11  norm          11.621        14.616        .93469E-06   -.39560E-03
  12  Prefactor     7.9331        23.569        .10598E-05    .37467E-04
  13  Prefactor     20.682        18.135        .83974E-07   -.17343E-04
  14  Prefactor     .10000E-03    24.350        .25763E-06** at limit **
  15  Prefactor     88.935        39.399        .15840E-07    .25669E-04
  16  Prefactor     .10000E-03    150.53       -.22348E-05** at limit **
  17  norm          2.1634        .30118        .24242E-08   -.14882E-03
  18  norm          3.8642        2.1344       -.69872E-07   -.11836E-03
  19  norm          .10000E-03    1.9492       -.36410E-07** at limit **
  20  norm          4.8920        3.2683        .99431E-06   -.64021E-03
  21  Prefactor     10.259        17.958       -.78534E-07   -.77950E-05
  22  Normalizat    .77052        .20346        .28986E-08   -.73694E-04
  23  Prefactor     1.2118        .12499       -.21206E-06   -.95015E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.6441
  Prefactor  = 15.372
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.00526
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010002
  norm       = 11.621
  Prefactor  = 7.93305
  Prefactor  = 20.6817
  Prefactor  = 0.0001
  Prefactor  = 88.9348
  Prefactor  = 0.000100001
  norm       = 2.16342
  norm       = 3.86419
  norm       = 0.0001
  norm       = 4.89196
  Prefactor  = 10.2585
  Normalizat = 0.770523
  Prefactor  = 1.21182
 **********
 **   18 **HESSE 
 **********

 FCN=   9163.750     FROM HESSE     STATUS=OK           366 CALLS     2932 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.644        14.721        .86094E-04   -1.4777    
   2  Prefactor     15.372        15.973        .51077E-03   -1.4924    
   3  Prefactor     .10000E-03    7.3282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.5596        .17622E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.1446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.0053        15.757        .17975E-03   -1.5260    
   7  Prefactor     .10000E-03    3.0066        .16167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.3598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    34.990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10002E-03    87.993        .42931E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          11.621        14.616        .11755E-03   -1.5026    
  12  Prefactor     7.9331        23.564        .14231E-03   -1.5145    
  13  Prefactor     20.682        18.140        .88073E-04   -1.4798    
  14  Prefactor     .10000E-03    24.596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     88.935        39.281        .42605E-04   -1.3819    
  16  Prefactor     .10000E-03    153.24        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.1634        .30140        .18669E-04   -1.5414    
  18  norm          3.8642        2.1310        .98300E-04   -1.5315    
  19  norm          .10000E-03    1.9516        .13052E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.8920        3.5123        .72735E-03   -1.5266    
  21  Prefactor     10.259        17.958        .12510E-03   -1.5067    
  22  Normalizat    .77052        .22837        .38784E-03   -1.0117    
  23  Prefactor     1.2118        .14138        .19733E-03   -.85968    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.40299e-10
Minuit parameter uncertainties:
  1  14.723
  2  15.9771
  3  1.18941e-06
  4  1.28114e-06
  5  3.05259e-06
  6  15.7703
  7  6.71944e-07
  8  1.82589e-06
  9  0.000127332
  10  0.00265265
  11  14.6209
  12  23.592
  13  18.1444
  14  2.41809e-05
  15  39.2926
  16  0.000776522
  17  0.301404
  18  2.13105
  19  1.46954e-06
  20  3.51245
  21  17.9672
  22  0.228656
  23  0.14142
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.162e+01  1.462e+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.212e+00  1.414e-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:  7.705e-01  2.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/715281/likelihoodResults_453686401_453945601_4FGL_J1442.2+0622_daily_bin827.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) = 9163.68351679
delta logL = 0.066947665282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9163.6810673
delta logL = 0.0693971571673

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.248       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2896       1.0000          .0000       5.0000    
     3 'Normalizat'    .77669       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2083       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=   9163.681     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      302 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.279        27.985        .93758E-04    .11398E-04
   2  alpha         2.2913        1.0500        .25467E-01    .10093E-04
   3  Normalizat    .77672        .22260        .38639E-03   -.75911E-05
   4  Prefactor     1.2082        .14024        .19757E-03   -.14271E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 18.2787
  alpha      = 2.29131
  Normalizat = 0.776717
  Prefactor  = 1.2082
 **********
 **   18 **HESSE 
 **********

 FCN=   9163.681     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .64E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.279        26.115        .37503E-05   -1.4853    
   2  alpha         2.2913        .98435        .10187E-02   -.83572E-01
   3  Normalizat    .77672        .22263        .15456E-04   -1.0094    
   4  Prefactor     1.2082        .14026        .79027E-05   -.86079    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.37449e-13
Minuit parameter uncertainties:
  1  26.1314
  2  1.01195
  3  0.222886
  4  0.140307
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/715281': 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) = 9163.68106191
delta logL = 0.0694025439989

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.828e+01  2.613e+01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.291e+00  1.012e+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.208e+00  1.403e-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:  7.767e-01  2.229e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.01
Ra Dec: 220.561 6.375
Photon Index (Free Index): 2.29 +/- 1.01
Photon Flux (Free Index): 1.69e-08 +/- 2.15e-08
Energy Flux (Free Index): 8.74e-06 +/- 1.11e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/715281/cmap_HighResolution_453686401_453945601_4FGL_J1442.2+0622_daily_bin827.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.81e-05', comment='SUCCESS', energy_flux2='8.74e-06', dlogl='6.94e-02', photon_flux2='1.69e-08', job_status='DONE', time_completed='2021-09-10 06:06:01.992643', photon_index_error2='1.01', photon_index2='2.29', ts='0.87', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', photon_flux_upper_limit='7.77e-08', energy_flux_error2='1.11e-05', EG='0.77', time_epoch_completed='1631279161.99', return_code='0', job_id='715281', GAL2='1.21', EG2='0.78', return_code2='0', photon_flux_error2='2.15e-08', ts2='1.01', photon_index='2.70' WHERE bin_id='827' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:06:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 715281: <4FGL_J1442.2+0622_daily_bin827> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin827 220.561 6.3755 453686401 453945601 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 :                                   728.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             261.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            903 sec.

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

