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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin704
RA = 220.561, Dec = 6.3755
tmin = 421804801, tmax = 422064001
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='714053', job_status='RUN', time_executed='2021-09-10 05:49:40.358312', time_epoch_executed='1631278180.36' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='704'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/714053

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/714053/ft1_4FGL_J1442.2+0622_daily_bin704.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/714053/ft2_4FGL_J1442.2+0622_daily_bin704.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/714053/ft1_4FGL_J1442.2+0622_daily_bin704.fits outfile=/scratch/kocevski/714053/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin704.fits ra=220.561 dec=6.3755 rad=12.0 tmin=421804801.0 tmax=422064001.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.56
user 3.31
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/714053/ft2_4FGL_J1442.2+0622_daily_bin704.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/714053/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin704.fits evtable="EVENTS" outfile="/scratch/kocevski/714053/ft1_filtered_4FGL_J1442.2+0622_daily_bin704.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/714053/ft1_filtered_4FGL_J1442.2+0622_daily_bin704.fits" evtable="EVENTS" scfile=/scratch/kocevski/714053/ft2_4FGL_J1442.2+0622_daily_bin704.fits sctable="SC_DATA" outfile=/scratch/kocevski/714053/ltcube_421804801_422064001_4FGL_J1442.2+0622_daily_bin704.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/714053/ft2_4FGL_J1442.2+0622_daily_bin704.fits
.....................!
real 11.75
user 11.44
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/714053/ft1_filtered_4FGL_J1442.2+0622_daily_bin704.fits evtable="EVENTS" scfile=/scratch/kocevski/714053/ft2_4FGL_J1442.2+0622_daily_bin704.fits sctable="SC_DATA" expcube=/scratch/kocevski/714053/ltcube_421804801_422064001_4FGL_J1442.2+0622_daily_bin704.fits outfile=/scratch/kocevski/714053/expmap_421804801_422064001_4FGL_J1442.2+0622_daily_bin704.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/714053/ltcube_421804801_422064001_4FGL_J1442.2+0622_daily_bin704.fits
.....................!
real 190.07
user 185.19
sys 4.53

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/714053/ft1_filtered_4FGL_J1442.2+0622_daily_bin704.fits scfile=/scratch/kocevski/714053/ft2_4FGL_J1442.2+0622_daily_bin704.fits outfile=/scratch/kocevski/714053/cmap_421804801_422064001_4FGL_J1442.2+0622_daily_bin704.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/714053/ft1_filtered_4FGL_J1442.2+0622_daily_bin704.fits scfile=/scratch/kocevski/714053/ft2_4FGL_J1442.2+0622_daily_bin704.fits outfile=/scratch/kocevski/714053/cmap_HighResolution_421804801_422064001_4FGL_J1442.2+0622_daily_bin704.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.36
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    44.919       1.0000         .10000E-03   10000.    
     4 'norm      '    .34342E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10076E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.9735       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .14015E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    16.729       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10270E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11113E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10663E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.127       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10351E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .48620       1.0000         .10000E-03   10000.    
    18 'norm      '    .97729E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.3040       1.0000         .10000E-03   10000.    
    20 'norm      '    3.7079       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .92229       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95472       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=   7228.051     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     2507 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.374        .39504E-05** at limit **
   2  Prefactor     .10000E-03    7.1754       -.44329E-06** at limit **
   3  Prefactor     44.913        32.254       -.55081E-05    .76117E-05
   4  norm          .10001E-03    5.9790       -.45450E-07** at limit **
   5  Prefactor     .10000E-03    10.882        .14584E-05** at limit **
   6  norm          .10000E-03    24.577        .70334E-05** at limit **
   7  Prefactor     .10000E-03    3.8904        .17241E-06** at limit **
   8  Prefactor     3.9723        5.6042       -.11236E-05   -.33065E-03
   9  Prefactor     .10000E-03    14.973       -.14531E-05** at limit **
  10  Prefactor     .10000E-03    20.260       -.49887E-05** at limit **
  11  norm          16.721        17.799       -.21197E-05    .68907E-04
  12  Prefactor     .10000E-03    8.0738        .29708E-05** at limit **
  13  Prefactor     .10000E-03    38.261       -.20138E-05** at limit **
  14  Prefactor     .10000E-03    8.8495       -.17231E-05** at limit **
  15  Prefactor     18.116        28.621       -.13114E-04    .27270E-05
  16  Prefactor     .10000E-03    15.098       -.15287E-05** at limit **
  17  norm          .48618        .17877       -.92818E-08    .38430E-03
  18  norm          .10000E-03    .78120       -.25213E-06** at limit **
  19  norm          4.3039        4.2084        .33868E-06    .24044E-03
  20  norm          3.7074        2.9903       -.89358E-07    .11407E-03
  21  Prefactor     .10000E-03    9.4815       -.28443E-05** at limit **
  22  Normalizat    .92228        .18742        .24375E-05    .36399E-04
  23  Prefactor     .95469        .11237        .28769E-06    .21867E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 44.9129
  norm       = 0.000100009
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.97227
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 16.7212
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.1158
  Prefactor  = 0.0001
  norm       = 0.486175
  norm       = 0.0001
  norm       = 4.30394
  norm       = 3.70744
  Prefactor  = 0.0001
  Normalizat = 0.922276
  Prefactor  = 0.954694
 **********
 **   18 **HESSE 
 **********

 FCN=   7228.051     FROM HESSE     STATUS=OK           366 CALLS     2873 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.1930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     44.913        32.199        .59820E-04   -1.4367    
   4  norm          .10001E-03    35.727        .40364E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    24.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.9229        .16368E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.9723        5.6260        .20234E-03   -1.5309    
   9  Prefactor     .10000E-03    14.978        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    20.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          16.721        17.764        .97923E-04   -1.4890    
  12  Prefactor     .10000E-03    8.1178        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    38.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.8698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     18.116        28.589        .94071E-04   -1.4856    
  16  Prefactor     .10000E-03    15.084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .48618        .17755        .20859E-04   -1.5569    
  18  norm          .10000E-03    19.218        .14078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.3039        4.2204        .16835E-03   -1.5293    
  20  norm          3.7074        2.9598        .12652E-03   -1.5323    
  21  Prefactor     .10000E-03    9.4859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .92228        .22534        .29925E-03   -.95682    
  23  Prefactor     .95469        .13629        .18059E-03   -.94255    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.00613e-10
Minuit parameter uncertainties:
  1  5.90004e-05
  2  1.45354e-05
  3  32.2117
  4  0.00112848
  5  2.00743e-05
  6  6.90834e-05
  7  3.32016e-05
  8  5.6267
  9  8.5378e-06
  10  6.84058e-05
  11  17.7696
  12  5.68719e-05
  13  5.94774e-06
  14  9.04816e-05
  15  28.6102
  16  8.31536e-05
  17  0.177553
  18  7.32536e-05
  19  4.22068
  20  2.95993
  21  4.62219e-06
  22  0.225575
  23  0.136342
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.672e+01  1.777e+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:  9.547e-01  1.363e-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.223e-01  2.256e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.23
Ra Dec: 220.561 6.375
Photon Index (Fixed Index): 2.70 +/- 0.00
Photon Flux (Fixed Index): 2.77e-08 +/- 2.95e-08
Energy Flux (Fixed Index): 1.00e-05 +/- 1.07e-05

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

Saving results to:
/scratch/kocevski/714053/likelihoodResults_421804801_422064001_4FGL_J1442.2+0622_daily_bin704.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) = 7226.81215505
delta logL = 1.23921543339

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7226.77269295
delta logL = 1.2786775358

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0894       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.0560       1.0000          .0000       5.0000    
     3 'Normalizat'    .85485       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97883       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=   7226.773     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      288 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0739        16.170        .10155E-03   -.28391E-03
   2  alpha         4.0579        3.7609        .13075E-01   -.43676E-04
   3  Normalizat    .85489        .23118        .30944E-03    .20611E-04
   4  Prefactor     .97879        .14013        .17846E-03    .28921E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.07386
  alpha      = 4.05789
  Normalizat = 0.854892
  Prefactor  = 0.978794
 **********
 **   18 **HESSE 
 **********

 FCN=   7226.773     FROM HESSE     STATUS=OK            25 CALLS      313 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0739        7.1820        .40620E-05   -1.5304    
   2  alpha         4.0579        .89197        .52300E-03    .67277    
   3  Normalizat    .85489        .22710        .12378E-04   -.98064    
   4  Prefactor     .97879        .13765        .35692E-04   -.93440    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.70342e-10
Minuit parameter uncertainties:
  1  7.18351
  2  0.926225
  3  0.22735
  4  0.137699
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/714053': 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) = 7226.77269038
delta logL = 1.27868010669

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  4.074e+00  7.184e+00  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  4.058e+00  9.262e-01  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:  9.788e-01  1.377e-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:  8.549e-01  2.274e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.90
Ra Dec: 220.561 6.375
Photon Index (Free Index): 4.06 +/- 0.93
Photon Flux (Free Index): 8.08e-08 +/- 5.38e-08
Energy Flux (Free Index): 1.50e-05 +/- 9.46e-06

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/714053/cmap_HighResolution_421804801_422064001_4FGL_J1442.2+0622_daily_bin704.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.38e-05', comment='SUCCESS', photon_flux='2.77e-08', energy_flux2='1.50e-05', photon_flux_error='2.95e-08', dlogl='1.28e+00', energy_flux='1.00e-05', photon_flux2='8.08e-08', job_status='DONE', time_completed='2021-09-10 06:00:13.308608', photon_index_error2='0.93', photon_index2='4.06', ts='1.23', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='9.35e-08', energy_flux_error2='9.46e-06', EG='0.92', time_epoch_completed='1631278813.31', return_code='0', job_id='714053', GAL2='0.98', EG2='0.85', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='5.38e-08', ts2='3.90', photon_index='2.70' WHERE bin_id='704' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:00:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 714053: <4FGL_J1442.2+0622_daily_bin704> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin704> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 05:46:31 2021
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:46:32 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:32 2021
Terminated at Fri Sep 10 06:00:14 2021
Results reported at Fri Sep 10 06:00:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin704 220.561 6.3755 421804801 422064001 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 :                                   632.27 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             285.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   821 sec.
    Turnaround time :                            823 sec.

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

