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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin814
RA = 220.561, Dec = 6.3755
tmin = 450316801, tmax = 450576001
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='715267', job_status='RUN', time_executed='2021-09-10 05:54:03.225503', time_epoch_executed='1631278443.23' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='814'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/715267

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/715267/ft1_4FGL_J1442.2+0622_daily_bin814.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/715267/ft2_4FGL_J1442.2+0622_daily_bin814.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/715267/ft1_4FGL_J1442.2+0622_daily_bin814.fits outfile=/scratch/kocevski/715267/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin814.fits ra=220.561 dec=6.3755 rad=12.0 tmin=450316801.0 tmax=450576001.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 4.06
user 3.85
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/715267/ft1_filtered_4FGL_J1442.2+0622_daily_bin814.fits" evtable="EVENTS" scfile=/scratch/kocevski/715267/ft2_4FGL_J1442.2+0622_daily_bin814.fits sctable="SC_DATA" outfile=/scratch/kocevski/715267/ltcube_450316801_450576001_4FGL_J1442.2+0622_daily_bin814.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/715267/ft2_4FGL_J1442.2+0622_daily_bin814.fits
.....................!
real 11.88
user 11.52
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/715267/ft1_filtered_4FGL_J1442.2+0622_daily_bin814.fits evtable="EVENTS" scfile=/scratch/kocevski/715267/ft2_4FGL_J1442.2+0622_daily_bin814.fits sctable="SC_DATA" expcube=/scratch/kocevski/715267/ltcube_450316801_450576001_4FGL_J1442.2+0622_daily_bin814.fits outfile=/scratch/kocevski/715267/expmap_450316801_450576001_4FGL_J1442.2+0622_daily_bin814.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/715267/ltcube_450316801_450576001_4FGL_J1442.2+0622_daily_bin814.fits
.....................!
real 190.06
user 185.15
sys 4.55

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/715267/ft1_filtered_4FGL_J1442.2+0622_daily_bin814.fits scfile=/scratch/kocevski/715267/ft2_4FGL_J1442.2+0622_daily_bin814.fits outfile=/scratch/kocevski/715267/cmap_450316801_450576001_4FGL_J1442.2+0622_daily_bin814.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/715267/ft1_filtered_4FGL_J1442.2+0622_daily_bin814.fits scfile=/scratch/kocevski/715267/ft2_4FGL_J1442.2+0622_daily_bin814.fits outfile=/scratch/kocevski/715267/cmap_HighResolution_450316801_450576001_4FGL_J1442.2+0622_daily_bin814.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.6032       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.5329       1.0000         .10000E-03   10000.    
     4 'norm      '    10.087       1.0000         .10000E-03   10000.    
     5 'Prefactor '    31.740       1.0000         .10000E-03   10000.    
     6 'norm      '    32.526       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.9627       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.257       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.236       1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.314       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.7619       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.348       1.0000         .10000E-03   10000.    
    17 'norm      '    .34816       1.0000         .10000E-03   10000.    
    18 'norm      '    1.5994       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.1933       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.8544       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .74730       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=   7356.556     FROM MIGRAD    STATUS=CONVERGED    507 CALLS     2529 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.2745        .27139E-07** at limit **
   2  Prefactor     1.5973        38.579        .24077E-06    .18705E-05
   3  Prefactor     9.4205        41.517        .33205E-05   -.34782E-05
   4  norm          10.087        9.4128       -.15820E-07   -.10135E-05
   5  Prefactor     31.735        29.956       -.27794E-07   -.26453E-05
   6  norm          32.525        25.059        .13132E-06    .67102E-06
   7  Prefactor     5.9681        9.8563        .61992E-06   -.23534E-04
   8  Prefactor     14.257        10.039        .37746E-06   -.22068E-04
   9  Prefactor     .10000E-03    23.498        .10841E-05** at limit **
  10  Prefactor     .10000E-03    38.715       -.18118E-06** at limit **
  11  norm          .10000E-03    21.540       -.93492E-06** at limit **
  12  Prefactor     11.238        18.944        .53955E-06   -.22108E-05
  13  Prefactor     20.311        22.161        .38842E-07    .11660E-05
  14  Prefactor     2.7627        10.530        .49566E-05    .12574E-04
  15  Prefactor     .10000E-03    16.407        .13548E-07** at limit **
  16  Prefactor     18.349        29.897        .31188E-06   -.10564E-05
  17  norm          .34817        .18828        .88797E-09    .19547E-04
  18  norm          1.5989        1.9801        .18677E-06    .13846E-03
  19  norm          .10000E-03    2.1281        .36064E-08** at limit **
  20  norm          .10000E-03    2.1177        .92376E-07** at limit **
  21  Prefactor     1.1398        282.60       -.70379E-05    .84127E-05
  22  Normalizat    1.8545        .24050        .53568E-06    .10898E-03
  23  Prefactor     .74727        .13373       -.84458E-06    .58689E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.59731
  Prefactor  = 9.42055
  norm       = 10.087
  Prefactor  = 31.735
  norm       = 32.5247
  Prefactor  = 5.96809
  Prefactor  = 14.2566
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.2377
  Prefactor  = 20.3114
  Prefactor  = 2.76265
  Prefactor  = 0.0001
  Prefactor  = 18.3494
  norm       = 0.34817
  norm       = 1.59892
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.13985
  Normalizat = 1.85447
  Prefactor  = 0.747272
 **********
 **   18 **HESSE 
 **********

 FCN=   7356.556     FROM HESSE     STATUS=OK           376 CALLS     2905 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.2773        .17318E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.5973        38.832        .33475E-03   -1.5455    
   3  Prefactor     9.4205        41.440        .12979E-03   -1.5094    
   4  norm          10.087        9.4153        .12616E-03   -1.5073    
   5  Prefactor     31.735        30.151        .71121E-04   -1.4581    
   6  norm          32.525        25.054        .70260E-04   -1.4567    
   7  Prefactor     5.9681        9.7820        .16444E-03   -1.5219    
   8  Prefactor     14.257        10.011        .10608E-03   -1.4953    
   9  Prefactor     .10000E-03    23.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    38.980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    21.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.238        18.934        .11952E-03   -1.5037    
  13  Prefactor     20.311        22.202        .88866E-04   -1.4806    
  14  Prefactor     2.7627        10.603        .12246E-02   -1.5376    
  15  Prefactor     .10000E-03    16.459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.349        29.889        .93503E-04   -1.4851    
  17  norm          .34817        .18433        .26011E-04   -1.5590    
  18  norm          1.5989        1.9573        .12836E-03   -1.5455    
  19  norm          .10000E-03    2.1319        .12220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.1579        .12184E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.1398        286.23        .41658E-03   -1.5494    
  22  Normalizat    1.8545        .28787        .28253E-03   -.68250    
  23  Prefactor     .74727        .15786        .24066E-03   -1.0170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.38796e-11
Minuit parameter uncertainties:
  1  1.4202e-06
  2  15.7625
  3  39.5621
  4  9.4167
  5  30.1654
  6  25.0624
  7  9.7846
  8  10.0121
  9  1.10116e-05
  10  2.3792e-05
  11  1.18073e-05
  12  18.9443
  13  22.2113
  14  10.6106
  15  3.11848e-05
  16  29.9138
  17  0.184333
  18  1.95734
  19  3.31872e-07
  20  5.19419e-06
  21  36.3003
  22  0.288135
  23  0.157954
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  1.181e-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:  7.473e-01  1.580e-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.854e+00  2.881e-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.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.51e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/715267/likelihoodResults_450316801_450576001_4FGL_J1442.2+0622_daily_bin814.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) = 7356.55630714
delta logL = -0.000218953237891

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7356.55608939
delta logL = -1.20573531603e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9207       1.0000          .0000       5.0000    
     3 'Normalizat'    1.8545       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74727       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7356.543     FROM MIGRAD    STATUS=FAILED       234 CALLS      414 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2172        33.610        .18142E-01    .11937E-01
   2  alpha         1.3481        3.1633        .16765       -.93866E-05
   3  Normalizat    1.8573        .26909        .28253E-03   -.78305E-04
   4  Prefactor     .74456        .15616        .24066E-03   -.88906E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7356.543     FROM SIMPLEX   STATUS=UNCHANGED     74 CALLS      488 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2172        33.610        .55010E-03   -1.5349    
   2  alpha         1.3481        3.1633        .63810E-02   -.47885    
   3  Normalizat    1.8573        .26909        .30983E-03   -.68176    
   4  Prefactor     .74456        .15616        .27551E-03   -1.0181    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7356.543     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      518 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2172        33.447        .36285E-02    .47397E-03
   2  alpha         1.3481        3.1629        .67061E-02    .35092E-06
   3  Normalizat    1.8573        .26916        .56506E-04    .20119E-06
   4  Prefactor     .74456        .15609        .96263E-05    .47240E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 3.21722
  alpha      = 1.34811
  Normalizat = 1.85735
  Prefactor  = 0.744557
 **********
 **   18 **HESSE 
 **********

 FCN=   7356.543     FROM HESSE     STATUS=OK            25 CALLS      543 TOTAL
                     EDM=   .27E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2172        33.316        .72569E-03   -1.5349    
   2  alpha         1.3481        3.1633        .26824E-03   -.47885    
   3  Normalizat    1.8573        .26931        .11301E-04   -.68176    
   4  Prefactor     .74456        .15616        .19253E-05   -1.0181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65853e-13
Minuit parameter uncertainties:
  1  20.7206
  2  2.71474
  3  0.269527
  4  0.156253
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/715267': 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) = 7356.54259146
delta logL = 0.01349672796

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  3.217e+00  2.072e+01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  1.348e+00  2.715e+00  0.000e+00  5.000e+00 ( 1.000e+00)
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  7.446e-01  1.563e-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.857e+00  2.695e-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/715267/cmap_HighResolution_450316801_450576001_4FGL_J1442.2+0622_daily_bin814.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.51e-05', job_status='DONE', photon_flux_upper_limit='6.92e-08', time_completed='2021-09-10 06:04:58.633540', job_id='715267', GAL2='0.74', fit_tolerance='1e-08', EG2='1.86', EG='1.85', time_epoch_completed='1631279098.63', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='1.35e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='814' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:04:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 715267: <4FGL_J1442.2+0622_daily_bin814> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin814 220.561 6.3755 450316801 450576001 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 :                                   655.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             277.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            841 sec.

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

