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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin702
RA = 220.561, Dec = 6.3755
tmin = 421286401, tmax = 421545601
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='714049', job_status='RUN', time_executed='2021-09-10 05:49:53.148703', time_epoch_executed='1631278193.15' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/714049

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/714049/ft1_4FGL_J1442.2+0622_daily_bin702.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/714049/ft2_4FGL_J1442.2+0622_daily_bin702.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/714049/ft1_4FGL_J1442.2+0622_daily_bin702.fits outfile=/scratch/kocevski/714049/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin702.fits ra=220.561 dec=6.3755 rad=12.0 tmin=421286401.0 tmax=421545601.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.63
user 3.41
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/714049/ft1_filtered_4FGL_J1442.2+0622_daily_bin702.fits evtable="EVENTS" scfile=/scratch/kocevski/714049/ft2_4FGL_J1442.2+0622_daily_bin702.fits sctable="SC_DATA" expcube=/scratch/kocevski/714049/ltcube_421286401_421545601_4FGL_J1442.2+0622_daily_bin702.fits outfile=/scratch/kocevski/714049/expmap_421286401_421545601_4FGL_J1442.2+0622_daily_bin702.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/714049/ltcube_421286401_421545601_4FGL_J1442.2+0622_daily_bin702.fits
.....................!
real 189.34
user 185.00
sys 3.99

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/714049/ft1_filtered_4FGL_J1442.2+0622_daily_bin702.fits scfile=/scratch/kocevski/714049/ft2_4FGL_J1442.2+0622_daily_bin702.fits outfile=/scratch/kocevski/714049/cmap_421286401_421545601_4FGL_J1442.2+0622_daily_bin702.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.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5836       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.0340       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    11.753       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.3044       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.570       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    40.869       1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.705       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10523E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.2202       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .25275       1.0000         .10000E-03   10000.    
    18 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.3656       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0492       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1462       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=   8095.319     FROM MIGRAD    STATUS=CONVERGED    503 CALLS     2548 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5826        2.7523        .73755E-06   -.16204E-02
   2  Prefactor     4.0333        20.370       -.16231E-08   -.17093E-03
   3  Prefactor     .10000E-03    30.836       -.11579E-04** at limit **
   4  norm          11.753        10.690       -.56279E-07    .17948E-05
   5  Prefactor     .10000E-03    7.8904        .15263E-06** at limit **
   6  norm          .10000E-03    5.9753        .15790E-06** at limit **
   7  Prefactor     7.3045        8.3092       -.34829E-07    .11475E-03
   8  Prefactor     .10000E-03    9.1833       -.10522E-05** at limit **
   9  Prefactor     18.562        51.402       -.11260E-04   -.16643E-04
  10  Prefactor     .10000E-03    17.453        .10454E-04** at limit **
  11  norm          .10000E-03    9.3826        .73793E-06** at limit **
  12  Prefactor     40.867        28.076       -.81925E-06    .24473E-04
  13  Prefactor     18.707        21.334        .13103E-06    .12843E-04
  14  Prefactor     .10005E-03    10.705       -.86695E-06** at limit **
  15  Prefactor     5.2226        19.974        .89561E-06    .38357E-05
  16  Prefactor     .10000E-03    32.925        .14648E-04** at limit **
  17  norm          .25273        .17243       -.14370E-07   -.16045E-03
  18  norm          .10000E-03    .75898        .17834E-07** at limit **
  19  norm          .10000E-03    3.0564       -.47655E-07** at limit **
  20  norm          4.3653        3.3700       -.34743E-07    .59730E-05
  21  Prefactor     .10000E-03    18.152       -.11334E-04** at limit **
  22  Normalizat    1.0490        .20708        .83593E-06    .71706E-04
  23  Prefactor     1.1463        .12425        .81572E-07    .12435E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.58262
  Prefactor  = 4.03335
  Prefactor  = 0.0001
  norm       = 11.7526
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.30453
  Prefactor  = 0.0001
  Prefactor  = 18.5619
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 40.8669
  Prefactor  = 18.7071
  Prefactor  = 0.000100052
  Prefactor  = 5.2226
  Prefactor  = 0.0001
  norm       = 0.252727
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.36533
  Prefactor  = 0.0001
  Normalizat = 1.04905
  Prefactor  = 1.14635
 **********
 **   18 **HESSE 
 **********

 FCN=   8095.319     FROM HESSE     STATUS=OK           374 CALLS     2922 TOTAL
                     EDM=   .94E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5826        8.1056        .16870E-02   -1.5456    
   2  Prefactor     4.0333        20.444        .10039E-02   -1.5306    
   3  Prefactor     .10000E-03    31.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          11.753        10.691        .11685E-03   -1.5022    
   5  Prefactor     .10000E-03    7.9034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.9774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.3045        8.3024        .14841E-03   -1.5167    
   8  Prefactor     .10000E-03    9.4037        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.562        51.511        .92944E-04   -1.4846    
  10  Prefactor     .10000E-03    17.524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    9.4238        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     40.867        28.000        .62702E-04   -1.4429    
  13  Prefactor     18.707        21.323        .92608E-04   -1.4843    
  14  Prefactor     .10005E-03    83.310        .56190E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.2226        19.831        .17593E-03   -1.5251    
  16  Prefactor     .10000E-03    33.018        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .25273        .16637        .29188E-03   -1.5607    
  18  norm          .10000E-03    .77133        .76450E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.0779        .15360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.3653        3.3665        .14031E-03   -1.5290    
  21  Prefactor     .10000E-03    18.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0490        .24330        .32499E-03   -.91405    
  23  Prefactor     1.1463        .14665        .19215E-03   -.87999    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.40628e-09
Minuit parameter uncertainties:
  1  7.16458
  2  18.1709
  3  6.42856e-05
  4  10.6931
  5  2.89414e-07
  6  1.57007e-06
  7  8.30368
  8  7.27148e-07
  9  51.6343
  10  5.47003e-05
  11  3.9885e-06
  12  28.0094
  13  21.3312
  14  0.00417106
  15  19.8557
  16  9.1911e-05
  17  0.166367
  18  5.41113e-07
  19  8.01784e-07
  20  3.36666
  21  8.085e-05
  22  0.243562
  23  0.1467
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  3.988e-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:  1.146e+00  1.467e-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.049e+00  2.436e-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: 5.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.89e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/714049/likelihoodResults_421286401_421545601_4FGL_J1442.2+0622_daily_bin702.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) = 8095.31942878
delta logL = -0.000505599006829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8095.31892438
delta logL = -1.20126514958e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12899E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6608       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0490       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1464       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=   8095.319     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      245 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    359.63        .18142E-01** at limit **
   2  alpha         1.9360        3.9759        .16504        .27554E-07
   3  Normalizat    1.0490        .23090E-01    .32498E-03    .16781E-03
   4  Prefactor     1.1463        .14285E-01    .19215E-03    .19139E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  alpha      = 1.93603
  Normalizat = 1.04905
  Prefactor  = 1.14634
 **********
 **   18 **HESSE 
 **********

 FCN=   8095.319     FROM HESSE     STATUS=OK            23 CALLS      268 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    18.982        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9360        3.7265        .66016E-02   -.22755    
   3  Normalizat    1.0490        .23554        .12999E-04   -.91405    
   4  Prefactor     1.1463        .14581        .38430E-04   -.87999    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71016e-10
Minuit parameter uncertainties:
  1  0.000409152
  2  407.063
  3  0.235779
  4  0.145862
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/714049': 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) = 8095.31892061
delta logL = 2.56665589404e-06

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  4.092e-04  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  1.936e+00  4.071e+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.146e+00  1.459e-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.049e+00  2.358e-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/714049/cmap_HighResolution_421286401_421545601_4FGL_J1442.2+0622_daily_bin702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.89e-05', job_status='DONE', photon_flux_upper_limit='5.22e-08', time_completed='2021-09-10 06:01:01.557855', job_id='714049', GAL2='1.15', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1631278861.56', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='2.57e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='702' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:01:01 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin702 220.561 6.3755 421286401 421545601 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 :                                   667.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             266.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            872 sec.

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

