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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin955
RA = 220.561, Dec = 6.3755
tmin = 486864001, tmax = 487123201
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='715454', job_status='RUN', time_executed='2021-09-10 05:55:04.389896', time_epoch_executed='1631278504.39' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='955'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/715454

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/715454/ft1_4FGL_J1442.2+0622_daily_bin955.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/715454/ft2_4FGL_J1442.2+0622_daily_bin955.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/715454/ft1_4FGL_J1442.2+0622_daily_bin955.fits outfile=/scratch/kocevski/715454/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin955.fits ra=220.561 dec=6.3755 rad=12.0 tmin=486864001.0 tmax=487123201.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 2.67
user 2.45
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/715454/ft2_4FGL_J1442.2+0622_daily_bin955.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/715454/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin955.fits evtable="EVENTS" outfile="/scratch/kocevski/715454/ft1_filtered_4FGL_J1442.2+0622_daily_bin955.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.40
user 0.26
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/715454/ft1_filtered_4FGL_J1442.2+0622_daily_bin955.fits" evtable="EVENTS" scfile=/scratch/kocevski/715454/ft2_4FGL_J1442.2+0622_daily_bin955.fits sctable="SC_DATA" outfile=/scratch/kocevski/715454/ltcube_486864001_487123201_4FGL_J1442.2+0622_daily_bin955.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/715454/ft2_4FGL_J1442.2+0622_daily_bin955.fits
.....................!
real 8.58
user 8.28
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/715454/ft1_filtered_4FGL_J1442.2+0622_daily_bin955.fits evtable="EVENTS" scfile=/scratch/kocevski/715454/ft2_4FGL_J1442.2+0622_daily_bin955.fits sctable="SC_DATA" expcube=/scratch/kocevski/715454/ltcube_486864001_487123201_4FGL_J1442.2+0622_daily_bin955.fits outfile=/scratch/kocevski/715454/expmap_486864001_487123201_4FGL_J1442.2+0622_daily_bin955.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/715454/ltcube_486864001_487123201_4FGL_J1442.2+0622_daily_bin955.fits
.....................!
real 140.65
user 137.30
sys 3.11

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/715454/ft1_filtered_4FGL_J1442.2+0622_daily_bin955.fits scfile=/scratch/kocevski/715454/ft2_4FGL_J1442.2+0622_daily_bin955.fits outfile=/scratch/kocevski/715454/cmap_486864001_487123201_4FGL_J1442.2+0622_daily_bin955.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.45
user 0.30
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/715454/ft1_filtered_4FGL_J1442.2+0622_daily_bin955.fits scfile=/scratch/kocevski/715454/ft2_4FGL_J1442.2+0622_daily_bin955.fits outfile=/scratch/kocevski/715454/cmap_HighResolution_486864001_487123201_4FGL_J1442.2+0622_daily_bin955.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.44
user 0.28
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4182       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.6295       1.0000         .10000E-03   10000.    
     3 'Prefactor '    27.486       1.0000         .10000E-03   10000.    
     4 'norm      '    5.8625       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11322E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.1947       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.8572       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.7843       1.0000         .10000E-03   10000.    
    11 'norm      '    .12936E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.675       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .43029E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10485E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.515       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10466E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.4376       1.0000         .10000E-03   10000.    
    18 'norm      '    .40352E-01   1.0000         .10000E-03   10000.    
    19 'norm      '    5.9064       1.0000         .10000E-03   10000.    
    20 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10586E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2045       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0304       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6987.569     FROM MIGRAD    STATUS=CONVERGED    119 CALLS     2144 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4216        1.1022       -.31099E-06    .46266E-05
   2  Prefactor     6.6171        4.4404        .39534E-05    .16195E-02
   3  Prefactor     27.500        4.3202       -.28847E-05   -.58067E-03
   4  norm          5.8612        1.0368        .21707E-06    .67940E-04
   5  Prefactor     .10003E-03    28.323        .19689E-04** at limit **
   6  norm          5.1885        2.6330        .30960E-05    .61216E-03
   7  Prefactor     9.8504        5.7630       -.49996E-05   -.86863E-02
   8  Prefactor     .10006E-03    13.336        .62391E-06** at limit **
   9  Prefactor     .10017E-03    19.395        .17928E-04** at limit **
  10  Prefactor     2.7763        2.9587        .51428E-05    .42640E-03
  11  norm          .10024E-03    20.957       -.25709E-04** at limit **
  12  Prefactor     21.624        17.253        .11407E-04   -.30504E-02
  13  Prefactor     .10161E-03    806.11        .70935E-05** at limit **
  14  Prefactor     .10000E-03    10.451       -.26945E-05** at limit **
  15  Prefactor     21.576        16.700       -.12418E-04   -.84557E-03
  16  Prefactor     .10028E-03    12.009       -.92172E-05** at limit **
  17  norm          1.4378        .30155        .36571E-07    .11948E-02
  18  norm          .31038E-01    55.433        .21137E-04   -.22590E-04
  19  norm          5.9127        5.9695       -.12272E-05   -.26892E-03
  20  norm          .10000E-03    1.9349        .10325E-05** at limit **
  21  Prefactor     .10012E-03    14.503       -.62987E-06** at limit **
  22  Normalizat    1.2046        .26569        .48103E-05   -.11805E-03
  23  Prefactor     1.0305        .15907       -.60553E-05   -.31397E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.42156
  Prefactor  = 6.61713
  Prefactor  = 27.5005
  norm       = 5.86116
  Prefactor  = 0.000100028
  norm       = 5.18849
  Prefactor  = 9.85035
  Prefactor  = 0.000100056
  Prefactor  = 0.000100173
  Prefactor  = 2.7763
  norm       = 0.000100237
  Prefactor  = 21.6241
  Prefactor  = 0.000101609
  Prefactor  = 0.0001
  Prefactor  = 21.576
  Prefactor  = 0.000100284
  norm       = 1.43785
  norm       = 0.0310382
  norm       = 5.91268
  norm       = 0.0001
  Prefactor  = 0.000100117
  Normalizat = 1.20462
  Prefactor  = 1.03055
 **********
 **   18 **HESSE 
 **********

 FCN=   6987.569     FROM HESSE     STATUS=OK           434 CALLS     2578 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4216        13.153        .54700E-02   -1.5338    
   2  Prefactor     6.6171        19.156        .38963E-02   -1.5193    
   3  Prefactor     27.500        24.521        .19104E-02   -1.4659    
   4  norm          5.8612        8.3838        .41466E-02   -1.5224    
   5  Prefactor     .10003E-03    28.574        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.1885        22.318        .44094E-02   -1.5252    
   7  Prefactor     9.8504        7.5478        .31908E-02   -1.5080    
   8  Prefactor     .10006E-03    13.246        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10017E-03    21.174        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7763        45.807        .60965E-02   -1.5375    
  11  norm          .10024E-03    23.548        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     21.624        23.496        .21509E-02   -1.4778    
  13  Prefactor     .10161E-03    26.637        .12018       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.439        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     21.576        22.520        .21588E-02   -1.4779    
  16  Prefactor     .10028E-03    14.523        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.4378        .30462        .44926E-02   -1.5468    
  18  norm          .31038E-01    1.1800        .67697E-01   -1.5673    
  19  norm          5.9127        5.9711        .41309E-02   -1.5222    
  20  norm          .10000E-03    1.9213        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10012E-03    15.657        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2046        .23192        .72826E-01   -.86460    
  23  Prefactor     1.0305        .13442        .41226E-01   -.91718    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35915e-07
Minuit parameter uncertainties:
  1  13.1642
  2  19.1734
  3  24.5297
  4  8.38552
  5  0.00178537
  6  21.535
  7  7.54858
  8  0.00171672
  9  0.00382812
  10  22.5743
  11  0.00472768
  12  23.5064
  13  0.0130982
  14  2.1519e-05
  15  22.5285
  16  0.0040663
  17  0.304618
  18  0.382145
  19  5.97174
  20  7.91637e-06
  21  0.00270211
  22  0.232116
  23  0.134464
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.002e-04  4.728e-03  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.031e+00  1.345e-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.205e+00  2.321e-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: 6.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.49e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/715454/likelihoodResults_486864001_487123201_4FGL_J1442.2+0622_daily_bin955.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) = 6987.56955216
delta logL = -0.000201837018722

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6987.56935445
delta logL = -4.12773351854e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10195E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.5599       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2046       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0305       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=   6987.569     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      282 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2246.9        .36285E-02** at limit **
   2  alpha         2.2855        2.8192        .18888        .22932E-07
   3  Normalizat    1.2046        .59888E-01    .32227E-03    .22032E-02
   4  Prefactor     1.0306        .36167E-01    .20722E-03    .33470E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.2855
  Normalizat = 1.20462
  Prefactor  = 1.03055
 **********
 **   18 **HESSE 
 **********

 FCN=   6987.569     FROM HESSE     STATUS=OK            23 CALLS      305 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    27.881        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2855        3.1033        .75552E-02   -.85906E-01
   3  Normalizat    1.2046        .26210        .64455E-04   -.86460    
   4  Prefactor     1.0306        .15837        .41445E-04   -.91718    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.91301e-09
Minuit parameter uncertainties:
  1  0.000132368
  2  546.521
  3  0.262382
  4  0.158438
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/715454': 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) = 6987.56935
delta logL = 3.21671905112e-07

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  1.324e-04  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.285e+00  5.465e+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:  1.031e+00  1.584e-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.205e+00  2.624e-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/715454/cmap_HighResolution_486864001_487123201_4FGL_J1442.2+0622_daily_bin955.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.49e-05', job_status='DONE', photon_flux_upper_limit='6.88e-08', time_completed='2021-09-10 06:02:42.035364', job_id='715454', GAL2='1.03', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1631278962.04', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.22e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='955' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:02:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 715454: <4FGL_J1442.2+0622_daily_bin955> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin955 220.561 6.3755 486864001 487123201 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 :                                   458.02 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             255.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   689 sec.
    Turnaround time :                            691 sec.

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

