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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin809
RA = 220.561, Dec = 6.3755
tmin = 449020801, tmax = 449280001
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='714225', job_status='RUN', time_executed='2021-09-10 05:49:09.508835', time_epoch_executed='1631278149.51' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='809'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/714225

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/714225/ft1_4FGL_J1442.2+0622_daily_bin809.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/714225/ft2_4FGL_J1442.2+0622_daily_bin809.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/714225/ft1_4FGL_J1442.2+0622_daily_bin809.fits outfile=/scratch/kocevski/714225/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin809.fits ra=220.561 dec=6.3755 rad=12.0 tmin=449020801.0 tmax=449280001.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 5.54
user 5.27
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/714225/ft2_4FGL_J1442.2+0622_daily_bin809.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/714225/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin809.fits evtable="EVENTS" outfile="/scratch/kocevski/714225/ft1_filtered_4FGL_J1442.2+0622_daily_bin809.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/714225/ft1_filtered_4FGL_J1442.2+0622_daily_bin809.fits" evtable="EVENTS" scfile=/scratch/kocevski/714225/ft2_4FGL_J1442.2+0622_daily_bin809.fits sctable="SC_DATA" outfile=/scratch/kocevski/714225/ltcube_449020801_449280001_4FGL_J1442.2+0622_daily_bin809.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/714225/ft2_4FGL_J1442.2+0622_daily_bin809.fits
.....................!
real 12.00
user 11.64
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/714225/ft1_filtered_4FGL_J1442.2+0622_daily_bin809.fits evtable="EVENTS" scfile=/scratch/kocevski/714225/ft2_4FGL_J1442.2+0622_daily_bin809.fits sctable="SC_DATA" expcube=/scratch/kocevski/714225/ltcube_449020801_449280001_4FGL_J1442.2+0622_daily_bin809.fits outfile=/scratch/kocevski/714225/expmap_449020801_449280001_4FGL_J1442.2+0622_daily_bin809.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/714225/ltcube_449020801_449280001_4FGL_J1442.2+0622_daily_bin809.fits
.....................!
real 192.70
user 187.74
sys 4.60

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/714225/ft1_filtered_4FGL_J1442.2+0622_daily_bin809.fits scfile=/scratch/kocevski/714225/ft2_4FGL_J1442.2+0622_daily_bin809.fits outfile=/scratch/kocevski/714225/cmap_449020801_449280001_4FGL_J1442.2+0622_daily_bin809.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/714225/ft1_filtered_4FGL_J1442.2+0622_daily_bin809.fits scfile=/scratch/kocevski/714225/ft2_4FGL_J1442.2+0622_daily_bin809.fits outfile=/scratch/kocevski/714225/cmap_HighResolution_449020801_449280001_4FGL_J1442.2+0622_daily_bin809.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.861       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.0657       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .88821       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.3645       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13379E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.629       1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.341       1.0000         .10000E-03   10000.    
    15 'Prefactor '    30.200       1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.809       1.0000         .10000E-03   10000.    
    17 'norm      '    .39543       1.0000         .10000E-03   10000.    
    18 'norm      '    1.8780       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    6.1411       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0669       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0225       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=   10262.92     FROM MIGRAD    STATUS=CONVERGED    519 CALLS     2572 TOTAL
                     EDM=   .50E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.5663        .88419E-05** at limit **
   2  Prefactor     10.861        16.188       -.69905E-07   -.65666E-04
   3  Prefactor     .10000E-03    10.791       -.38516E-05** at limit **
   4  norm          6.0664        8.9879       -.10141E-06   -.35543E-05
   5  Prefactor     .10000E-03    9.2400        .23444E-05** at limit **
   6  norm          .10000E-03    6.6003       -.91308E-05** at limit **
   7  Prefactor     .10000E-03    3.7509       -.83813E-07** at limit **
   8  Prefactor     .88690        .58391        .31409E-07   -.77572E-03
   9  Prefactor     .10000E-03    14.568        .33387E-05** at limit **
  10  Prefactor     .10000E-03    85.183       -.86024E-05** at limit **
  11  norm          5.3144        11.464       -.44446E-06    .11982E-03
  12  Prefactor     .10000E-03    29.618       -.11296E-04** at limit **
  13  Prefactor     27.619        20.697       -.36495E-06    .23900E-04
  14  Prefactor     17.332        18.118        .34987E-05    .65058E-04
  15  Prefactor     30.182        28.733       -.65199E-05    .63446E-04
  16  Prefactor     20.808        29.532        .31201E-05    .14528E-04
  17  norm          .39537        .13834       -.38641E-08    .22148E-04
  18  norm          1.8779        1.6669       -.10773E-07   -.82415E-04
  19  norm          .10000E-03    1.5977        .65288E-08** at limit **
  20  norm          6.1416        3.2946       -.13867E-07   -.93284E-04
  21  Prefactor     .10000E-03    38.796        .15762E-04** at limit **
  22  Normalizat    1.0672        .18154       -.65364E-07   -.48964E-05
  23  Prefactor     1.0223        .10406        .14973E-08   -.50039E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.8608
  Prefactor  = 0.0001
  norm       = 6.06644
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.886903
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.31436
  Prefactor  = 0.0001
  Prefactor  = 27.6189
  Prefactor  = 17.3325
  Prefactor  = 30.1816
  Prefactor  = 20.8082
  norm       = 0.395368
  norm       = 1.8779
  norm       = 0.0001
  norm       = 6.14161
  Prefactor  = 0.0001
  Normalizat = 1.06718
  Prefactor  = 1.02231
 **********
 **   18 **HESSE 
 **********

 FCN=   10262.92     FROM HESSE     STATUS=OK           372 CALLS     2944 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.5912        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.861        16.219        .60784E-03   -1.5049    
   3  Prefactor     .10000E-03    10.803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.0664        8.9866        .16302E-03   -1.5215    
   5  Prefactor     .10000E-03    9.2527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    6.6149        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.7799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .88690        7.1497        .25529E-02   -1.5520    
   9  Prefactor     .10000E-03    14.574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    85.313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.3144        11.372        .17351E-03   -1.5247    
  12  Prefactor     .10000E-03    29.698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.619        20.734        .76216E-04   -1.4656    
  14  Prefactor     17.332        18.135        .96179E-04   -1.4875    
  15  Prefactor     30.182        28.632        .72908E-04   -1.4609    
  16  Prefactor     20.808        29.516        .87804E-04   -1.4795    
  17  norm          .39537        .13856        .21233E-04   -1.5582    
  18  norm          1.8779        1.6516        .11513E-03   -1.5434    
  19  norm          .10000E-03    1.6029        .12505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          6.1416        3.2921        .12780E-03   -1.5212    
  21  Prefactor     .10000E-03    39.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0672        .21693        .32077E-03   -.90813    
  23  Prefactor     1.0223        .12436        .19257E-03   -.91990    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45793e-09
Minuit parameter uncertainties:
  1  8.49176e-06
  2  16.2259
  3  1.56057e-06
  4  8.98859
  5  2.04064e-06
  6  1.49861e-06
  7  1.32572e-06
  8  5.03686
  9  1.83112e-06
  10  0.000367091
  11  11.3769
  12  0.000200957
  13  20.7389
  14  18.141
  15  28.6455
  16  29.5366
  17  0.138565
  18  1.65164
  19  7.4506e-08
  20  3.2922
  21  7.75186e-05
  22  0.217108
  23  0.124397
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  5.314e+00  1.138e+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.022e+00  1.244e-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.067e+00  2.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/714225/likelihoodResults_449020801_449280001_4FGL_J1442.2+0622_daily_bin809.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) = 10261.7359425
delta logL = 1.18329294682

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10261.7225954
delta logL = 1.19664011591

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1473       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.6862       1.0000          .0000       5.0000    
     3 'Normalizat'    .96515       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0574       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=   10261.72     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      301 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1491        15.887        .10817E-01    .12892E-02
   2  alpha         4.6861        3.4888        .50000        .23740E-04
   3  Normalizat    .96520        .63720E-01    .75789E-01    .23982E-04
   4  Prefactor     1.0574        .37146E-01    .39497E-01   -.24314E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.14911
  alpha      = 4.68608
  Normalizat = 0.965198
  Prefactor  = 1.05736
 **********
 **   18 **HESSE 
 **********

 FCN=   10261.72     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      334 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1491        24.210        .70230E-04   -1.5494    
   2  alpha         4.6861        4.0286        .37857E-01    1.0643    
   3  Normalizat    .96520        .20346        .33539E-03   -.94206    
   4  Prefactor     1.0574        .11541        .18965E-03   -.90841    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.57696e-07
Minuit parameter uncertainties:
  1  10.5534
  2  4.66948
  3  0.203621
  4  0.115438
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/714225': 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): 102
logL (Free Index) = 10261.722593
delta logL = 1.1966425127

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.149e+00  1.055e+01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  4.686e+00  4.669e+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.057e+00  1.154e-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.652e-01  2.036e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.89
Ra Dec: 220.561 6.375
Photon Index (Free Index): 4.69 +/- 4.67
Photon Flux (Free Index): 8.36e-08 +/- 8.22e-08
Energy Flux (Free Index): 1.34e-05 +/- 9.33e-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/714225/cmap_HighResolution_449020801_449280001_4FGL_J1442.2+0622_daily_bin809.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.22e-05', comment='SUCCESS', energy_flux2='1.34e-05', dlogl='1.20e+00', photon_flux2='8.36e-08', job_status='DONE', time_completed='2021-09-10 06:02:12.111146', photon_index_error2='4.67', photon_index2='4.69', ts='0.29', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='6.12e-08', energy_flux_error2='9.33e-06', EG='1.07', time_epoch_completed='1631278932.11', return_code='0', job_id='714225', GAL2='1.06', EG2='0.97', return_code2='102', photon_flux_error2='8.22e-08', ts2='2.89', photon_index='2.70' WHERE bin_id='809' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:02:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0297>
Subject: Job 714225: <4FGL_J1442.2+0622_daily_bin809> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin809 220.561 6.3755 449020801 449280001 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 :                                   780.31 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             323.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   927 sec.
    Turnaround time :                            929 sec.

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

