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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin411
RA = 220.561, Dec = 6.3755
tmin = 345859201, tmax = 346118401
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='712475', job_status='RUN', time_executed='2021-09-10 05:44:02.549971', time_epoch_executed='1631277842.55' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='411'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/712475

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/712475/ft1_4FGL_J1442.2+0622_daily_bin411.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/712475/ft2_4FGL_J1442.2+0622_daily_bin411.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/712475/ft1_4FGL_J1442.2+0622_daily_bin411.fits outfile=/scratch/kocevski/712475/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin411.fits ra=220.561 dec=6.3755 rad=12.0 tmin=345859201.0 tmax=346118401.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.38
user 3.17
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/712475/ft2_4FGL_J1442.2+0622_daily_bin411.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/712475/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin411.fits evtable="EVENTS" outfile="/scratch/kocevski/712475/ft1_filtered_4FGL_J1442.2+0622_daily_bin411.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.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/712475/ft1_filtered_4FGL_J1442.2+0622_daily_bin411.fits evtable="EVENTS" scfile=/scratch/kocevski/712475/ft2_4FGL_J1442.2+0622_daily_bin411.fits sctable="SC_DATA" expcube=/scratch/kocevski/712475/ltcube_345859201_346118401_4FGL_J1442.2+0622_daily_bin411.fits outfile=/scratch/kocevski/712475/expmap_345859201_346118401_4FGL_J1442.2+0622_daily_bin411.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/712475/ltcube_345859201_346118401_4FGL_J1442.2+0622_daily_bin411.fits
.....................!
real 189.54
user 185.07
sys 4.05

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/712475/ft1_filtered_4FGL_J1442.2+0622_daily_bin411.fits scfile=/scratch/kocevski/712475/ft2_4FGL_J1442.2+0622_daily_bin411.fits outfile=/scratch/kocevski/712475/cmap_345859201_346118401_4FGL_J1442.2+0622_daily_bin411.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.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/712475/ft1_filtered_4FGL_J1442.2+0622_daily_bin411.fits scfile=/scratch/kocevski/712475/ft2_4FGL_J1442.2+0622_daily_bin411.fits outfile=/scratch/kocevski/712475/cmap_HighResolution_345859201_346118401_4FGL_J1442.2+0622_daily_bin411.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.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6152       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.3251       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.208       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.0321       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .36734       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10160E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .34215       1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.038       1.0000         .10000E-03   10000.    
    13 'Prefactor '    31.267       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .53971       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10734E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .35011       1.0000         .10000E-03   10000.    
    18 'norm      '    3.9271       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    104.55       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2206       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99560       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=   6861.872     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2563 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6149        9.5176       -.11102E-05   -.10523E-03
   2  Prefactor     5.3254        11.770       -.55739E-06   -.58196E-04
   3  Prefactor     .10000E-03    34.153       -.85626E-05** at limit **
   4  norm          .10000E-03    11.712        .38559E-07** at limit **
   5  Prefactor     26.226        28.294        .10847E-06    .22441E-04
   6  norm          .10000E-03    9.9792       -.48925E-07** at limit **
   7  Prefactor     2.0241        7.1867       -.19111E-05   -.51090E-03
   8  Prefactor     .38078        3.6040        .57632E-07   -.23019E-03
   9  Prefactor     .10000E-03    38.196        .93981E-05** at limit **
  10  Prefactor     .10000E-03    36.489       -.33229E-05** at limit **
  11  norm          .13190        12.250       -.12743E-05   -.12238E-04
  12  Prefactor     21.015        25.755       -.17296E-05    .30875E-04
  13  Prefactor     31.278        19.422        .24845E-05    .65083E-04
  14  Prefactor     .53631        6.6066       -.79332E-06   -.10564E-03
  15  Prefactor     .10000E-03    36.115       -.11914E-05** at limit **
  16  Prefactor     .10000E-03    29.886        .41740E-05** at limit **
  17  norm          .35011        .14885       -.15076E-07    .29964E-03
  18  norm          3.9273        2.4479        .49964E-07   -.16785E-03
  19  norm          .10000E-03    2.5005        .57310E-08** at limit **
  20  norm          .10000E-03    1.0979        .33422E-07** at limit **
  21  Prefactor     104.54        53.750       -.96816E-05    .49176E-05
  22  Normalizat    1.2202        .21561        .30651E-06    .19239E-03
  23  Prefactor     .99595        .12754        .86059E-06    .16415E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.61494
  Prefactor  = 5.32544
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 26.2256
  norm       = 0.0001
  Prefactor  = 2.02408
  Prefactor  = 0.380778
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.131898
  Prefactor  = 21.0153
  Prefactor  = 31.2778
  Prefactor  = 0.536309
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.350114
  norm       = 3.92725
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 104.542
  Normalizat = 1.22015
  Prefactor  = 0.995949
 **********
 **   18 **HESSE 
 **********

 FCN=   6861.872     FROM HESSE     STATUS=OK           380 CALLS     2943 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6149        9.5294        .18735E-03   -1.5278    
   2  Prefactor     5.3254        11.768        .17416E-03   -1.5246    
   3  Prefactor     .10000E-03    34.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    11.859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     26.226        28.538        .78251E-04   -1.4683    
   6  norm          .10000E-03    9.9871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.0241        7.2359        .29019E-03   -1.5423    
   8  Prefactor     .38078        19.277        .28052E-02   -1.5585    
   9  Prefactor     .10000E-03    38.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    36.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .13190        14.442        .92721E-01   -1.5635    
  12  Prefactor     21.015        25.637        .87325E-04   -1.4791    
  13  Prefactor     31.278        19.434        .71656E-04   -1.4589    
  14  Prefactor     .53631        40.700        .40708E-02   -1.5562    
  15  Prefactor     .10000E-03    36.382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    29.913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .35011        .14884        .20106E-04   -1.5590    
  18  norm          3.9273        2.4450        .97390E-04   -1.5312    
  19  norm          .10000E-03    2.5059        .12792E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.1014        .84758E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     104.54        53.402        .39326E-04   -1.3659    
  22  Normalizat    1.2202        .25661        .29847E-03   -.85982    
  23  Prefactor     .99595        .15124        .20255E-03   -.92865    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06648e-09
Minuit parameter uncertainties:
  1  9.53258
  2  11.7733
  3  6.57121e-05
  4  1.234e-05
  5  28.5529
  6  4.4044e-06
  7  7.23904
  8  5.41974
  9  2.77141e-05
  10  2.78036e-06
  11  2.76001
  12  25.65
  13  19.4379
  14  9.34977
  15  5.25996e-05
  16  6.95198e-07
  17  0.148843
  18  2.44502
  19  5.78144e-07
  20  2.91411e-06
  21  53.427
  22  0.256871
  23  0.151309
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.319e-01  2.760e+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

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  9.959e-01  1.513e-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.220e+00  2.569e-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.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.57e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/712475/likelihoodResults_345859201_346118401_4FGL_J1442.2+0622_daily_bin411.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) = 6861.87152905
delta logL = 2.34323179029e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6861.40298003
delta logL = 0.468572449296

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .39336       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1528       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0184       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=   6861.403     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      270 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .39381        19.301        .10827E-01    .10923E-02
   2  alpha         5.0000        3.2394        .46295    ** at limit **
   3  Normalizat    1.1527        .11522        .69092E-01   -.36755E-04
   4  Prefactor     1.0184        .61090E-01    .42304E-01   -.52765E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.393809
  alpha      = 5
  Normalizat = 1.15275
  Prefactor  = 1.01839
 **********
 **   18 **HESSE 
 **********

 FCN=   6861.403     FROM HESSE     STATUS=OK            35 CALLS      305 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .39381        .45479        .55932E-03   -1.5582    
   2  alpha         5.0000        3.3438        .73201E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1527        .24804        .30570E-03   -.88076    
   4  Prefactor     1.0184        .15086        .20049E-03   -.92119    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13113e-11
Minuit parameter uncertainties:
  1  0.454798
  2  4.07913e-07
  3  0.248291
  4  0.150925
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/712475': 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) = 6861.40297853
delta logL = 0.468573949705

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  3.938e-01  4.548e-01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  5.000e+00  4.079e-07  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.018e+00  1.509e-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.153e+00  2.483e-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/712475/cmap_HighResolution_345859201_346118401_4FGL_J1442.2+0622_daily_bin411.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.57e-05', job_status='DONE', photon_flux_upper_limit='7.09e-08', time_completed='2021-09-10 05:54:26.481576', job_id='712475', GAL2='1.02', fit_tolerance='1e-08', EG2='1.15', EG='1.22', time_epoch_completed='1631278466.48', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='4.69e-01', ts2='1.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='411' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:54:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 712475: <4FGL_J1442.2+0622_daily_bin411> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin411 220.561 6.3755 345859201 346118401 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 :                                   620.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            778 sec.

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

