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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin932
RA = 220.561, Dec = 6.3755
tmin = 480902401, tmax = 481161601
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='715422', job_status='RUN', time_executed='2021-09-10 05:54:34.609040', time_epoch_executed='1631278474.61' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='932'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/715422

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/715422/ft1_4FGL_J1442.2+0622_daily_bin932.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/715422/ft2_4FGL_J1442.2+0622_daily_bin932.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/715422/ft1_4FGL_J1442.2+0622_daily_bin932.fits outfile=/scratch/kocevski/715422/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin932.fits ra=220.561 dec=6.3755 rad=12.0 tmin=480902401.0 tmax=481161601.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.62
user 3.43
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/715422/ft2_4FGL_J1442.2+0622_daily_bin932.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/715422/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin932.fits evtable="EVENTS" outfile="/scratch/kocevski/715422/ft1_filtered_4FGL_J1442.2+0622_daily_bin932.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.50
user 0.35
sys 0.12

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/715422/ft1_filtered_4FGL_J1442.2+0622_daily_bin932.fits evtable="EVENTS" scfile=/scratch/kocevski/715422/ft2_4FGL_J1442.2+0622_daily_bin932.fits sctable="SC_DATA" expcube=/scratch/kocevski/715422/ltcube_480902401_481161601_4FGL_J1442.2+0622_daily_bin932.fits outfile=/scratch/kocevski/715422/expmap_480902401_481161601_4FGL_J1442.2+0622_daily_bin932.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/715422/ltcube_480902401_481161601_4FGL_J1442.2+0622_daily_bin932.fits
.....................!
real 190.86
user 185.80
sys 4.67

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/715422/ft1_filtered_4FGL_J1442.2+0622_daily_bin932.fits scfile=/scratch/kocevski/715422/ft2_4FGL_J1442.2+0622_daily_bin932.fits outfile=/scratch/kocevski/715422/cmap_480902401_481161601_4FGL_J1442.2+0622_daily_bin932.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.40
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/715422/ft1_filtered_4FGL_J1442.2+0622_daily_bin932.fits scfile=/scratch/kocevski/715422/ft2_4FGL_J1442.2+0622_daily_bin932.fits outfile=/scratch/kocevski/715422/cmap_HighResolution_480902401_481161601_4FGL_J1442.2+0622_daily_bin932.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=220.561 yref=6.3755 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10598E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.7199       1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.782       1.0000         .10000E-03   10000.    
     4 'norm      '    7.9522       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.742       1.0000         .10000E-03   10000.    
     6 'norm      '    3.5835       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10651E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10422E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.2289       1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.129       1.0000         .10000E-03   10000.    
    11 'norm      '    .29261E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .53951E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10519E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    48.118       1.0000         .10000E-03   10000.    
    17 'norm      '    1.7165       1.0000         .10000E-03   10000.    
    18 'norm      '    .10104E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.0259       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10838E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3814       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .92914       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=   9068.809     FROM MIGRAD    STATUS=CONVERGED    526 CALLS     2560 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.5654        .23928E-07** at limit **
   2  Prefactor     2.7363        21.625       -.54865E-06   -.40707E-05
   3  Prefactor     30.780        27.521       -.28500E-06   -.18252E-04
   4  norm          7.9526        9.5091       -.71470E-07    .15490E-05
   5  Prefactor     20.737        24.471        .24963E-06   -.46369E-05
   6  norm          3.5864        19.601       -.47042E-05    .36692E-05
   7  Prefactor     .10000E-03    4.0436        .27252E-07** at limit **
   8  Prefactor     .10000E-03    3.5920       -.16657E-07** at limit **
   9  Prefactor     5.2330        62.499        .14571E-05    .73351E-05
  10  Prefactor     20.037        22.520        .10687E-05   -.10895E-05
  11  norm          .10000E-03    17.318       -.29525E-05** at limit **
  12  Prefactor     .10000E-03    81.619        .10399E-05** at limit **
  13  Prefactor     .10000E-03    27.266        .45589E-06** at limit **
  14  Prefactor     .10000E-03    8.8933       -.13036E-06** at limit **
  15  Prefactor     .10000E-03    16.029       -.42732E-06** at limit **
  16  Prefactor     48.127        40.243        .58904E-06   -.21137E-05
  17  norm          1.7162        .28531        .36308E-08    .68368E-04
  18  norm          .10000E-03    .75359       -.33219E-07** at limit **
  19  norm          .10000E-03    46.662        .84965E-05** at limit **
  20  norm          4.0258        2.8248       -.88207E-08    .79966E-04
  21  Prefactor     .10000E-03    38.885       -.29092E-05** at limit **
  22  Normalizat    1.3814        .19855       -.59855E-07    .23491E-04
  23  Prefactor     .92906        .11676        .35701E-06    .90551E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.73633
  Prefactor  = 30.78
  norm       = 7.95262
  Prefactor  = 20.7367
  norm       = 3.5864
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.23295
  Prefactor  = 20.0369
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 48.1266
  norm       = 1.71623
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.02575
  Prefactor  = 0.0001
  Normalizat = 1.38143
  Prefactor  = 0.929062
 **********
 **   18 **HESSE 
 **********

 FCN=   9068.809     FROM HESSE     STATUS=OK           382 CALLS     2942 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.6060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.7363        21.639        .24694E-03   -1.5377    
   3  Prefactor     30.780        27.602        .72217E-04   -1.4598    
   4  norm          7.9526        9.5133        .14218E-03   -1.5144    
   5  Prefactor     20.737        24.590        .87946E-04   -1.4797    
   6  norm          3.5864        19.619        .10674E-02   -1.5329    
   7  Prefactor     .10000E-03    4.0700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.6194        .17621E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.2330        62.540        .17579E-03   -1.5250    
  10  Prefactor     20.037        28.660        .89274E-04   -1.4812    
  11  norm          .10000E-03    20.182        .10053       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    83.380        .42239E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    27.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.9555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    16.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     48.127        40.186        .57807E-04   -1.4319    
  17  norm          1.7162        .28384        .19507E-04   -1.5446    
  18  norm          .10000E-03    .78144        .16133E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    45.651        .37019E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.0258        2.8259        .13004E-03   -1.5307    
  21  Prefactor     .10000E-03    39.177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3814        .23604        .30497E-03   -.81167    
  23  Prefactor     .92906        .13807        .21699E-03   -.95133    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.94292e-11
Minuit parameter uncertainties:
  1  3.28479e-06
  2  15.397
  3  27.6138
  4  9.51515
  5  24.6024
  6  16.7847
  7  1.67825e-06
  8  2.2933e-06
  9  36.2281
  10  28.6793
  11  6.90897e-05
  12  0.000863387
  13  3.00897e-05
  14  3.0687e-05
  15  8.99874e-05
  16  40.209
  17  0.283841
  18  1.0599e-06
  19  3.93922e-05
  20  2.826
  21  0.00017375
  22  0.236225
  23  0.138121
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  6.909e-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:  9.291e-01  1.381e-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.381e+00  2.362e-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.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.47e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/715422/likelihoodResults_480902401_481161601_4FGL_J1442.2+0622_daily_bin932.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) = 9068.80913238
delta logL = -3.4597940612e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9068.80913237
delta logL = -3.4593484088e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .96348E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6975       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3814       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92906       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=   9068.809     FROM MIGRAD    STATUS=CONVERGED    117 CALLS      281 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10142E-03    12.117        .10968    ** at limit **
   2  alpha         2.4431        3.7074        .16526        .16125E-06
   3  Normalizat    1.3814        .43584E-02    .30497E-03   -.35191E-04
   4  Prefactor     .92906        .26203E-02    .21699E-03   -.45057E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000101422
  alpha      = 2.44308
  Normalizat = 1.38143
  Prefactor  = 0.929063
 **********
 **   18 **HESSE 
 **********

 FCN=   9068.809     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      314 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10142E-03    18.625        .11492       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4431        3.2406        .66104E-02   -.22769E-01
   3  Normalizat    1.3814        .55724E-02    .12199E-04   -.81167    
   4  Prefactor     .92906        .33501E-02    .86797E-05   -.95133    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.2177e-10
Minuit parameter uncertainties:
  1  0.0102947
  2  496.131
  3  0.00557244
  4  0.00335013
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/715422': 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): 102
logL (Free Index) = 9068.80909759
delta logL = 1.92716470337e-07

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.014e-04  1.029e-02  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.443e+00  4.961e+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:  9.291e-01  3.350e-03  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.381e+00  5.572e-03  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/715422/cmap_HighResolution_480902401_481161601_4FGL_J1442.2+0622_daily_bin932.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.47e-05', job_status='DONE', photon_flux_upper_limit='6.83e-08', time_completed='2021-09-10 06:06:39.467557', job_id='715422', GAL2='0.93', fit_tolerance='1e-08', EG2='1.38', EG='1.38', time_epoch_completed='1631279199.47', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.93e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='932' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:06:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 715422: <4FGL_J1442.2+0622_daily_bin932> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin932 220.561 6.3755 480902401 481161601 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 :                                   723.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             240.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   928 sec.
    Turnaround time :                            930 sec.

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

