/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 150 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 = 7534
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1442.2+0622_daily_bin227
RA = 220.561, Dec = 6.3755
tmin = 298166401, tmax = 298425601
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='712213', job_status='RUN', time_executed='2021-09-10 05:43:51.670354', time_epoch_executed='1631277831.67' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='227'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/712213

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/712213/ft1_4FGL_J1442.2+0622_daily_bin227.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/712213/ft2_4FGL_J1442.2+0622_daily_bin227.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/712213/ft1_4FGL_J1442.2+0622_daily_bin227.fits outfile=/scratch/kocevski/712213/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin227.fits ra=220.561 dec=6.3755 rad=12.0 tmin=298166401.0 tmax=298425601.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.59
user 3.37
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/712213/ft2_4FGL_J1442.2+0622_daily_bin227.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/712213/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin227.fits evtable="EVENTS" outfile="/scratch/kocevski/712213/ft1_filtered_4FGL_J1442.2+0622_daily_bin227.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.54
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/712213/ft1_filtered_4FGL_J1442.2+0622_daily_bin227.fits" evtable="EVENTS" scfile=/scratch/kocevski/712213/ft2_4FGL_J1442.2+0622_daily_bin227.fits sctable="SC_DATA" outfile=/scratch/kocevski/712213/ltcube_298166401_298425601_4FGL_J1442.2+0622_daily_bin227.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/712213/ft2_4FGL_J1442.2+0622_daily_bin227.fits
.....................!
real 11.75
user 11.36
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/712213/ft1_filtered_4FGL_J1442.2+0622_daily_bin227.fits evtable="EVENTS" scfile=/scratch/kocevski/712213/ft2_4FGL_J1442.2+0622_daily_bin227.fits sctable="SC_DATA" expcube=/scratch/kocevski/712213/ltcube_298166401_298425601_4FGL_J1442.2+0622_daily_bin227.fits outfile=/scratch/kocevski/712213/expmap_298166401_298425601_4FGL_J1442.2+0622_daily_bin227.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/712213/ltcube_298166401_298425601_4FGL_J1442.2+0622_daily_bin227.fits
.....................!
real 190.45
user 185.53
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/712213/ft1_filtered_4FGL_J1442.2+0622_daily_bin227.fits scfile=/scratch/kocevski/712213/ft2_4FGL_J1442.2+0622_daily_bin227.fits outfile=/scratch/kocevski/712213/cmap_298166401_298425601_4FGL_J1442.2+0622_daily_bin227.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/712213/ft1_filtered_4FGL_J1442.2+0622_daily_bin227.fits scfile=/scratch/kocevski/712213/ft2_4FGL_J1442.2+0622_daily_bin227.fits outfile=/scratch/kocevski/712213/cmap_HighResolution_298166401_298425601_4FGL_J1442.2+0622_daily_bin227.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.54
user 0.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.8003       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.938       1.0000         .10000E-03   10000.    
     4 'norm      '    20.411       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    30.674       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.5501       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .17668E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    30.758       1.0000         .10000E-03   10000.    
    11 'norm      '    .11135E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.435       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10376E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.590       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.8892       1.0000         .10000E-03   10000.    
    17 'norm      '    .26786       1.0000         .10000E-03   10000.    
    18 'norm      '    .24100E-01   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.2262       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1004       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0020       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=   7661.416     FROM MIGRAD    STATUS=CONVERGED    522 CALLS     2564 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.598        .83216E-07** at limit **
   2  Prefactor     2.8056        34.106       -.22858E-04   -.53792E-04
   3  Prefactor     15.948        28.275       -.69548E-05    .12116E-05
   4  norm          20.417        13.581       -.47584E-06    .14048E-04
   5  Prefactor     .10000E-03    18.910        .34854E-05** at limit **
   6  norm          30.680        22.690       -.48207E-05    .19584E-04
   7  Prefactor     4.5509        4.6604        .84921E-08   -.10916E-03
   8  Prefactor     .10000E-03    3.0186        .18285E-07** at limit **
   9  Prefactor     .10000E-03    237.44       -.15107E-04** at limit **
  10  Prefactor     30.759        29.893       -.39196E-07    .36524E-04
  11  norm          .10000E-03    19.612       -.17917E-06** at limit **
  12  Prefactor     11.439        18.456       -.84765E-05   -.22240E-04
  13  Prefactor     .10000E-03    5.9719       -.19845E-07** at limit **
  14  Prefactor     .10000E-03    35.112       -.14984E-05** at limit **
  15  Prefactor     15.591        24.224        .51364E-05    .95073E-05
  16  Prefactor     9.8512        32.698        .52062E-05   -.48524E-05
  17  norm          .26792        .15196       -.58193E-07   -.11225E-02
  18  norm          .51943E-01    .86889       -.31386E-06   -.19846E-03
  19  norm          .10000E-03    1.9417       -.15163E-08** at limit **
  20  norm          4.2204        3.3043       -.12491E-06    .90107E-05
  21  Prefactor     .10000E-03    9.7497       -.18441E-06** at limit **
  22  Normalizat    1.1005        .20273        .30870E-05    .12487E-03
  23  Prefactor     1.0016        .12031        .28585E-07    .43350E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.80556
  Prefactor  = 15.9485
  norm       = 20.4169
  Prefactor  = 0.0001
  norm       = 30.6795
  Prefactor  = 4.55094
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.7586
  norm       = 0.0001
  Prefactor  = 11.439
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 15.5909
  Prefactor  = 9.85119
  norm       = 0.267916
  norm       = 0.0519427
  norm       = 0.0001
  norm       = 4.2204
  Prefactor  = 0.0001
  Normalizat = 1.1005
  Prefactor  = 1.00163
 **********
 **   18 **HESSE 
 **********

 FCN=   7661.416     FROM HESSE     STATUS=OK           374 CALLS     2938 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.8056        35.067        .24311E-03   -1.5373    
   3  Prefactor     15.948        28.362        .10032E-03   -1.4909    
   4  norm          20.417        13.596        .88655E-04   -1.4804    
   5  Prefactor     .10000E-03    19.082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          30.680        22.662        .72343E-04   -1.4600    
   7  Prefactor     4.5509        4.6547        .18536E-03   -1.5281    
   8  Prefactor     .10000E-03    3.0579        .14847E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    239.27        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     30.759        29.889        .72245E-04   -1.4598    
  11  norm          .10000E-03    19.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.439        18.454        .11847E-03   -1.5031    
  13  Prefactor     .10000E-03    5.9782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    36.742        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.591        24.161        .10144E-03   -1.4918    
  16  Prefactor     9.8512        32.617        .12742E-03   -1.5080    
  17  norm          .26792        .14901        .24606E-04   -1.5604    
  18  norm          .51943E-01    15.557        .15310E-02   -1.5662    
  19  norm          .10000E-03    1.9444        .11911E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.2204        3.3145        .13491E-03   -1.5297    
  21  Prefactor     .10000E-03    9.7521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1005        .24452        .30359E-03   -.89736    
  23  Prefactor     1.0016        .14688        .19392E-03   -.92675    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.73251e-10
Minuit parameter uncertainties:
  1  0.000151325
  2  19.8515
  3  28.3863
  4  13.5983
  5  4.8654e-05
  6  22.6681
  7  4.65504
  8  4.48764e-07
  9  8.36721e-05
  10  29.9036
  11  2.98589e-05
  12  18.4629
  13  6.34986e-06
  14  0.000273362
  15  24.1762
  16  32.6757
  17  0.14901
  18  1.7966
  19  1.32024e-06
  20  3.31467
  21  5.0377e-06
  22  0.244774
  23  0.146934
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  2.986e-05  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.002e+00  1.469e-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.101e+00  2.448e-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: 7.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.63e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/712213/likelihoodResults_298166401_298425601_4FGL_J1442.2+0622_daily_bin227.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) = 7661.41578517
delta logL = -0.000242143389187

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7661.41554323
delta logL = -2.01322109206e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10114E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7155       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1004       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0017       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=   7661.416     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      199 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    21.425        .90712E-02** at limit **
   2  alpha         2.7342        3.6290        .41346       -.48995E-05
   3  Normalizat    1.1005        .19304        .68616E-01    .51796E-04
   4  Prefactor     1.0016        .11892        .45074E-01    .54481E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 2.73418
  Normalizat = 1.1005
  Prefactor  = 1.00163
 **********
 **   18 **HESSE 
 **********

 FCN=   7661.416     FROM HESSE     STATUS=OK            31 CALLS      230 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    20.087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.7342        3.6014        .16539        .93808E-01
   3  Normalizat    1.1005        .23331        .30359E-03   -.89736    
   4  Prefactor     1.0016        .14390        .19392E-03   -.92675    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.87187e-11
Minuit parameter uncertainties:
  1  0.000201312
  2  2.49018
  3  0.233531
  4  0.14396
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/712213': 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) = 7661.41554296
delta logL = 6.94490154274e-08

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  2.013e-04  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.734e+00  2.490e+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.002e+00  1.440e-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.101e+00  2.335e-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/712213/cmap_HighResolution_298166401_298425601_4FGL_J1442.2+0622_daily_bin227.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.63e-05', job_status='DONE', photon_flux_upper_limit='7.28e-08', time_completed='2021-09-10 05:54:39.360498', job_id='712213', GAL2='1.00', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1631278479.36', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='6.94e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='227' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:54:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 712213: <4FGL_J1442.2+0622_daily_bin227> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin227> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 05:41:11 2021
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:41:12 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:41:12 2021
Terminated at Fri Sep 10 05:54:40 2021
Results reported at Fri Sep 10 05:54:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin227 220.561 6.3755 298166401 298425601 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 :                                   644.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   807 sec.
    Turnaround time :                            809 sec.

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

