/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 237 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 = 7382
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1442.2+0622_daily_bin90
RA = 220.561, Dec = 6.3755
tmin = 262656001, tmax = 262915201
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='710986', job_status='RUN', time_executed='2021-09-10 05:40:47.188231', time_epoch_executed='1631277647.19' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='90'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/710986

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/710986/ft1_4FGL_J1442.2+0622_daily_bin90.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/710986/ft2_4FGL_J1442.2+0622_daily_bin90.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/710986/ft1_4FGL_J1442.2+0622_daily_bin90.fits outfile=/scratch/kocevski/710986/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin90.fits ra=220.561 dec=6.3755 rad=12.0 tmin=262656001.0 tmax=262915201.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 1.41
user 1.23
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/710986/ft2_4FGL_J1442.2+0622_daily_bin90.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/710986/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin90.fits evtable="EVENTS" outfile="/scratch/kocevski/710986/ft1_filtered_4FGL_J1442.2+0622_daily_bin90.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.48
user 0.32
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/710986/ft1_filtered_4FGL_J1442.2+0622_daily_bin90.fits evtable="EVENTS" scfile=/scratch/kocevski/710986/ft2_4FGL_J1442.2+0622_daily_bin90.fits sctable="SC_DATA" expcube=/scratch/kocevski/710986/ltcube_262656001_262915201_4FGL_J1442.2+0622_daily_bin90.fits outfile=/scratch/kocevski/710986/expmap_262656001_262915201_4FGL_J1442.2+0622_daily_bin90.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/710986/ltcube_262656001_262915201_4FGL_J1442.2+0622_daily_bin90.fits
.....................!
real 190.93
user 185.79
sys 4.78

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/710986/ft1_filtered_4FGL_J1442.2+0622_daily_bin90.fits scfile=/scratch/kocevski/710986/ft2_4FGL_J1442.2+0622_daily_bin90.fits outfile=/scratch/kocevski/710986/cmap_262656001_262915201_4FGL_J1442.2+0622_daily_bin90.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/710986/ft1_filtered_4FGL_J1442.2+0622_daily_bin90.fits scfile=/scratch/kocevski/710986/ft2_4FGL_J1442.2+0622_daily_bin90.fits outfile=/scratch/kocevski/710986/cmap_HighResolution_262656001_262915201_4FGL_J1442.2+0622_daily_bin90.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/710986/ft1_filtered_4FGL_J1442.2+0622_daily_bin90.fits evtable="EVENTS" scfile=/scratch/kocevski/710986/ft2_4FGL_J1442.2+0622_daily_bin90.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/710986/Model_4FGL_J1442.2+0622_daily_bin90.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/710986/ft1_filtered_4FGL_J1442.2+0622_daily_bin90.fits....................!
real 66.09
user 64.74
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.123       1.0000         .10000E-03   10000.    
     4 'norm      '    8.0574       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.4452       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.3236       1.0000         .10000E-03   10000.    
    11 'norm      '    32.007       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .16520E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    28.065       1.0000         .10000E-03   10000.    
    15 'Prefactor '    59.488       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10541E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.2440       1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.1102       1.0000         .10000E-03   10000.    
    20 'norm      '    2.0371       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .54617       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.3622       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=   8713.933     FROM MIGRAD    STATUS=CONVERGED    534 CALLS     2567 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.9309       -.25025E-07** at limit **
   2  Prefactor     .10000E-03    9.2588        .67058E-07** at limit **
   3  Prefactor     19.120        29.211        .16030E-05    .11481E-03
   4  norm          8.0573        10.451        .15005E-06    .17773E-04
   5  Prefactor     .10000E-03    12.776        .45106E-07** at limit **
   6  norm          .10000E-03    10.342       -.83683E-07** at limit **
   7  Prefactor     3.4452        5.8781       -.91573E-07   -.19997E-03
   8  Prefactor     .10000E-03    2.0253       -.55379E-08** at limit **
   9  Prefactor     .10000E-03    52.283       -.30658E-05** at limit **
  10  Prefactor     7.1293        90.250       -.53584E-06    .20685E-03
  11  norm          32.045        30.182        .33951E-05    .10593E-02
  12  Prefactor     .10000E-03    34.032        .15591E-05** at limit **
  13  Prefactor     .10000E-03    8.5254       -.48647E-08** at limit **
  14  Prefactor     28.066        22.985        .83247E-07    .11842E-03
  15  Prefactor     59.474        38.256        .24608E-05    .37471E-03
  16  Prefactor     .10000E-03    26.341       -.34470E-06** at limit **
  17  norm          7.2440        .52323       -.14851E-07    .14686E-03
  18  norm          .10000E-03    .77814       -.23410E-07** at limit **
  19  norm          3.1100        4.8390        .34340E-05   -.14035E-02
  20  norm          2.0370        2.6408        .66398E-07   -.42946E-04
  21  Prefactor     .10000E-03    52.361       -.15734E-05** at limit **
  22  Normalizat    .54631        .23721       -.12986E-05   -.29953E-04
  23  Prefactor     1.3621        .14568       -.11611E-06    .11742E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.1195
  norm       = 8.05726
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.44519
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 7.12927
  norm       = 32.0451
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.0657
  Prefactor  = 59.4741
  Prefactor  = 0.0001
  norm       = 7.24395
  norm       = 0.0001
  norm       = 3.11004
  norm       = 2.03702
  Prefactor  = 0.000100001
  Normalizat = 0.546313
  Prefactor  = 1.36214
 **********
 **   18 **HESSE 
 **********

 FCN=   8713.933     FROM HESSE     STATUS=OK           364 CALLS     2931 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.9408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.2830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.120        29.328        .91591E-04   -1.4833    
   4  norm          8.0573        10.453        .14125E-03   -1.5140    
   5  Prefactor     .10000E-03    12.803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    10.352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.4452        5.8703        .21790E-03   -1.5337    
   8  Prefactor     .10000E-03    2.0301        .12971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    52.666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.1293        86.681        .14821E-03   -1.5174    
  11  norm          32.045        30.685        .70825E-04   -1.4575    
  12  Prefactor     .10000E-03    34.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.5371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     28.066        22.955        .75624E-04   -1.4648    
  15  Prefactor     59.474        38.786        .52018E-04   -1.4164    
  16  Prefactor     .10000E-03    26.400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.2440        .52307        .17265E-04   -1.5170    
  18  norm          .10000E-03    .80403        .16069E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.1100        5.3071        .11496E-02   -1.5355    
  20  norm          2.0370        2.6306        .16768E-03   -1.5423    
  21  Prefactor     .10000E-03    52.952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .54631        .25888        .50058E-03   -1.1031    
  23  Prefactor     1.3621        .16068        .20852E-03   -.81478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.74125e-09
Minuit parameter uncertainties:
  1  3.1466e-06
  2  1.86969e-05
  3  29.3505
  4  10.4556
  5  1.42696e-05
  6  7.7394e-06
  7  5.87126
  8  6.82741e-08
  9  0.000845147
  10  49.8078
  11  30.7005
  12  0.000117102
  13  7.59673e-06
  14  22.9625
  15  38.8021
  16  0.000130864
  17  0.523069
  18  1.20714e-06
  19  5.30788
  20  2.63072
  21  0.000360625
  22  0.259453
  23  0.160739
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  3.205e+01  3.070e+01  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.362e+00  1.607e-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:  5.463e-01  2.595e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.24
Ra Dec: 220.561 6.375
Photon Index (Fixed Index): 2.70 +/- 0.00
Photon Flux (Fixed Index): 5.31e-08 +/- 5.09e-08
Energy Flux (Fixed Index): 1.92e-05 +/- 1.84e-05

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): 0
logL (Free Index) = 8713.92971121
delta logL = 0.00356268309588

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8713.92491462
delta logL = 0.00835927107801

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    34.864       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5833       1.0000          .0000       5.0000    
     3 'Normalizat'    .55220       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3601       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8713.925     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      236 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          34.864        406.62        .16967E-02   -.11244E-03
   2  alpha         2.5838        3.7232        .41181        .49817E-04
   3  Normalizat    .55224        .12088        .11229        .55289E-04
   4  Prefactor     1.3601        .51725E-01    .47208E-01   -.11625E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 34.8637
  alpha      = 2.58377
  Normalizat = 0.552237
  Prefactor  = 1.36009
 **********
 **   18 **HESSE 
 **********

 FCN=   8713.925     FROM HESSE     STATUS=OK            31 CALLS      267 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          34.864        32.231        .67870E-04   -1.4526    
   2  alpha         2.5838        .92171        .15506E-01    .33516E-01
   3  Normalizat    .55224        .25446        .49807E-03   -1.1005    
   4  Prefactor     1.3601        .16000        .20866E-03   -.81537    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.56585e-09
Minuit parameter uncertainties:
  1  32.2474
  2  0.944007
  3  0.255003
  4  0.16006
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/710986': 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) = 8713.92491434
delta logL = 0.00835955224647

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  3.486e+01  3.225e+01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.584e+00  9.440e-01  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.360e+00  1.601e-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:  5.522e-01  2.550e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.24
Ra Dec: 220.561 6.375
Photon Index (Free Index): 2.58 +/- 0.94
Photon Flux (Free Index): 4.86e-08 +/- 4.61e-08
Energy Flux (Free Index): 1.93e-05 +/- 1.19e-05

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/710986/cmap_HighResolution_262656001_262915201_4FGL_J1442.2+0622_daily_bin90.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.31e-08', energy_flux2='1.93e-05', photon_flux_error='5.09e-08', dlogl='8.36e-03', energy_flux='1.92e-05', photon_flux2='4.86e-08', job_status='DONE', time_completed='2021-09-10 05:51:40.230798', photon_index_error2='0.94', photon_index2='2.58', ts='6.24', fit_tolerance='1e-08', GAL='1.36', photon_index_error='0.00', energy_flux_error2='1.19e-05', EG='0.55', time_epoch_completed='1631278300.23', return_code='0', job_id='710986', GAL2='1.36', EG2='0.55', return_code2='0', energy_flux_error='1.84e-05', photon_flux_error2='4.61e-08', ts2='6.24', photon_index='2.70' WHERE bin_id='90' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:51:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 710986: <4FGL_J1442.2+0622_daily_bin90> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin90 220.561 6.3755 262656001 262915201 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 :                                   651.24 sec.
    Max Memory :                                 1161 MB
    Average Memory :                             269.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            900 sec.

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

