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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin807
RA = 220.561, Dec = 6.3755
tmin = 448502401, tmax = 448761601
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='714222', job_status='RUN', time_executed='2021-09-10 05:49:23.513825', time_epoch_executed='1631278163.51' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='807'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/714222

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/714222/ft1_4FGL_J1442.2+0622_daily_bin807.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/714222/ft2_4FGL_J1442.2+0622_daily_bin807.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/714222/ft1_4FGL_J1442.2+0622_daily_bin807.fits outfile=/scratch/kocevski/714222/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin807.fits ra=220.561 dec=6.3755 rad=12.0 tmin=448502401.0 tmax=448761601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 6.00
user 5.74
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/714222/ft2_4FGL_J1442.2+0622_daily_bin807.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/714222/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin807.fits evtable="EVENTS" outfile="/scratch/kocevski/714222/ft1_filtered_4FGL_J1442.2+0622_daily_bin807.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/714222/ft1_filtered_4FGL_J1442.2+0622_daily_bin807.fits" evtable="EVENTS" scfile=/scratch/kocevski/714222/ft2_4FGL_J1442.2+0622_daily_bin807.fits sctable="SC_DATA" outfile=/scratch/kocevski/714222/ltcube_448502401_448761601_4FGL_J1442.2+0622_daily_bin807.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/714222/ft2_4FGL_J1442.2+0622_daily_bin807.fits
.....................!
real 11.56
user 11.21
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/714222/ft1_filtered_4FGL_J1442.2+0622_daily_bin807.fits evtable="EVENTS" scfile=/scratch/kocevski/714222/ft2_4FGL_J1442.2+0622_daily_bin807.fits sctable="SC_DATA" expcube=/scratch/kocevski/714222/ltcube_448502401_448761601_4FGL_J1442.2+0622_daily_bin807.fits outfile=/scratch/kocevski/714222/expmap_448502401_448761601_4FGL_J1442.2+0622_daily_bin807.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/714222/ltcube_448502401_448761601_4FGL_J1442.2+0622_daily_bin807.fits
.....................!
real 190.98
user 185.92
sys 4.70

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/714222/ft1_filtered_4FGL_J1442.2+0622_daily_bin807.fits scfile=/scratch/kocevski/714222/ft2_4FGL_J1442.2+0622_daily_bin807.fits outfile=/scratch/kocevski/714222/cmap_448502401_448761601_4FGL_J1442.2+0622_daily_bin807.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/714222/ft1_filtered_4FGL_J1442.2+0622_daily_bin807.fits scfile=/scratch/kocevski/714222/ft2_4FGL_J1442.2+0622_daily_bin807.fits outfile=/scratch/kocevski/714222/cmap_HighResolution_448502401_448761601_4FGL_J1442.2+0622_daily_bin807.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.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/714222/ft1_filtered_4FGL_J1442.2+0622_daily_bin807.fits', '/scratch/kocevski/714222/ft2_4FGL_J1442.2+0622_daily_bin807.fits', expMap='/scratch/kocevski/714222/expmap_448502401_448761601_4FGL_J1442.2+0622_daily_bin807.fits', expCube='/scratch/kocevski/714222/ltcube_448502401_448761601_4FGL_J1442.2+0622_daily_bin807.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/714222/Model_4FGL_J1442.2+0622_daily_bin807.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/714222/ft1_filtered_4FGL_J1442.2+0622_daily_bin807.fits
Spacecraft file(s): /scratch/kocevski/714222/ft2_4FGL_J1442.2+0622_daily_bin807.fits
Exposure map: /scratch/kocevski/714222/expmap_448502401_448761601_4FGL_J1442.2+0622_daily_bin807.fits
Exposure cube: /scratch/kocevski/714222/ltcube_448502401_448761601_4FGL_J1442.2+0622_daily_bin807.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/714222/Model_4FGL_J1442.2+0622_daily_bin807.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 9945.30329641

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2434       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.055       1.0000         .10000E-03   10000.    
     4 'norm      '    6.9366       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.264       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .23009E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    35.278       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.1382       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.017       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.0847       1.0000         .10000E-03   10000.    
    15 'Prefactor '    66.596       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .25287       1.0000         .10000E-03   10000.    
    18 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    5.2521       1.0000         .10000E-03   10000.    
    21 'Prefactor '    15.614       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3374       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .84843       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=   9945.279     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2598 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2436        10.316        .44381E-05   -.62582E-03
   2  Prefactor     .10000E-03    5.9742       -.49269E-07** at limit **
   3  Prefactor     12.051        28.312       -.10696E-05   -.60776E-04
   4  norm          6.9375        7.3778       -.21155E-06    .12653E-03
   5  Prefactor     .10000E-03    50.980        .84953E-06** at limit **
   6  norm          .10000E-03    5.3075       -.26202E-07** at limit **
   7  Prefactor     13.257        9.9518        .13080E-06    .40002E-04
   8  Prefactor     .10001E-03    4.2876       -.22675E-06** at limit **
   9  Prefactor     .10000E-03    16.642        .12585E-06** at limit **
  10  Prefactor     35.279        23.792        .32256E-06    .51451E-04
  11  norm          .10000E-03    5.1752        .21049E-07** at limit **
  12  Prefactor     6.1338        19.282       -.67235E-06   -.98271E-04
  13  Prefactor     12.016        11.217       -.38098E-07   -.20252E-04
  14  Prefactor     3.1126        29.629        .72130E-05    .13012E-03
  15  Prefactor     66.586        31.332       -.30373E-05   -.60864E-03
  16  Prefactor     .10000E-03    10.424       -.40493E-07** at limit **
  17  norm          .25285        .13641        .11939E-07   -.90950E-03
  18  norm          .10000E-03    .80677        .40881E-07** at limit **
  19  norm          .10000E-03    2.4835       -.38622E-10** at limit **
  20  norm          5.2523        2.8695       -.41966E-08   -.62226E-04
  21  Prefactor     15.619        31.051        .20667E-05    .97568E-04
  22  Normalizat    1.3374        .17979       -.18685E-06   -.57027E-04
  23  Prefactor     .84840        .10072       -.23651E-06   -.48049E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.2436
  Prefactor  = 0.0001
  Prefactor  = 12.0513
  norm       = 6.93745
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.2572
  Prefactor  = 0.000100012
  Prefactor  = 0.0001
  Prefactor  = 35.2792
  norm       = 0.0001
  Prefactor  = 6.13381
  Prefactor  = 12.0164
  Prefactor  = 3.1126
  Prefactor  = 66.5861
  Prefactor  = 0.0001
  norm       = 0.252849
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.25228
  Prefactor  = 15.6188
  Normalizat = 1.33742
  Prefactor  = 0.848402
 **********
 **   18 **HESSE 
 **********

 FCN=   9945.279     FROM HESSE     STATUS=OK           376 CALLS     2974 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2436        11.654        .97802E-03   -1.5296    
   2  Prefactor     .10000E-03    5.9819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.051        28.343        .11537E-03   -1.5014    
   4  norm          6.9375        7.3865        .76164E-03   -1.5181    
   5  Prefactor     .10000E-03    51.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.3091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.257        9.6160        .10998E-03   -1.4980    
   8  Prefactor     .10001E-03    31.975        .38091E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    16.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     35.279        23.801        .67471E-04   -1.4519    
  11  norm          .10000E-03    5.1836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.1338        19.251        .16204E-03   -1.5213    
  13  Prefactor     12.016        11.218        .11556E-03   -1.5015    
  14  Prefactor     3.1126        31.972        .23092E-03   -1.5355    
  15  Prefactor     66.586        33.409        .49181E-04   -1.4074    
  16  Prefactor     .10000E-03    10.428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .25285        .13232        .25690E-03   -1.5607    
  18  norm          .10000E-03    1.4418        .17052E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.5126        .15345E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.2523        2.8524        .11942E-03   -1.5250    
  21  Prefactor     15.619        31.193        .10136E-03   -1.4917    
  22  Normalizat    1.3374        .21252        .28995E-03   -.82456    
  23  Prefactor     .84840        .11984        .20370E-03   -.97968    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81183e-09
Minuit parameter uncertainties:
  1  11.66
  2  3.90404e-06
  3  28.3748
  4  7.38742
  5  0.000203536
  6  1.94316e-06
  7  9.61708
  8  0.00123301
  9  1.79133e-05
  10  23.8072
  11  2.56726e-06
  12  19.2709
  13  11.2199
  14  19.965
  15  33.4187
  16  1.48945e-05
  17  0.132317
  18  4.33472e-06
  19  4.37553e-07
  20  2.85249
  21  31.2251
  22  0.212657
  23  0.119874
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  2.567e-06  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:  8.484e-01  1.199e-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.337e+00  2.127e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/714222/likelihoodResults_448502401_448761601_4FGL_J1442.2+0622_daily_bin807.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): 102
logL (Free Index) = 9945.28037741
delta logL = -0.000918267938687

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9945.27945897
delta logL = 1.67023245012e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6766       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3374       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84840       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=   9945.279     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      248 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    307.34        .18142E-01** at limit **
   2  alpha         1.6311        4.1331        .16513        .13219E-07
   3  Normalizat    1.3374        .29036E-01    .28995E-03   -.28811E-03
   4  Prefactor     .84840        .16771E-01    .20370E-03   -.38055E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.63105
  Normalizat = 1.33742
  Prefactor  = 0.848402
 **********
 **   18 **HESSE 
 **********

 FCN=   9945.279     FROM HESSE     STATUS=OK            23 CALLS      271 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.2141        .27782E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6311        3.8482        .66051E-02   -.35499    
   3  Normalizat    1.3374        .20429        .57990E-04   -.82456    
   4  Prefactor     .84840        .11803        .40739E-04   -.97968    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1531e-10
Minuit parameter uncertainties:
  1  9.92382e-05
  2  439.104
  3  0.204418
  4  0.118067
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/714222': 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) = 9945.27945562
delta logL = 3.51874768967e-06

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  9.924e-05  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  1.631e+00  4.391e+02  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:  8.484e-01  1.181e-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.337e+00  2.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/714222/cmap_HighResolution_448502401_448761601_4FGL_J1442.2+0622_daily_bin807.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.37e-05', job_status='DONE', photon_flux_upper_limit='3.79e-08', time_completed='2021-09-10 06:02:10.064717', job_id='714222', GAL2='0.85', fit_tolerance='1e-08', EG2='1.34', EG='1.34', time_epoch_completed='1631278930.06', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='3.52e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='807' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:02:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 714222: <4FGL_J1442.2+0622_daily_bin807> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin807> 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) <bullet0253>, 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:10 2021
Results reported at Fri Sep 10 06:02:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin807 220.561 6.3755 448502401 448761601 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 :                                   763.19 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             258.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   925 sec.
    Turnaround time :                            927 sec.

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

