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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin700
RA = 220.561, Dec = 6.3755
tmin = 420768001, tmax = 421027201
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='714046', job_status='RUN', time_executed='2021-09-10 05:50:22.173084', time_epoch_executed='1631278222.17' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='700'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/714046

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/714046/ft1_4FGL_J1442.2+0622_daily_bin700.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/714046/ft2_4FGL_J1442.2+0622_daily_bin700.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/714046/ft1_4FGL_J1442.2+0622_daily_bin700.fits outfile=/scratch/kocevski/714046/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin700.fits ra=220.561 dec=6.3755 rad=12.0 tmin=420768001.0 tmax=421027201.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.46
user 3.24
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/714046/ft2_4FGL_J1442.2+0622_daily_bin700.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/714046/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin700.fits evtable="EVENTS" outfile="/scratch/kocevski/714046/ft1_filtered_4FGL_J1442.2+0622_daily_bin700.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/714046/ft1_filtered_4FGL_J1442.2+0622_daily_bin700.fits" evtable="EVENTS" scfile=/scratch/kocevski/714046/ft2_4FGL_J1442.2+0622_daily_bin700.fits sctable="SC_DATA" outfile=/scratch/kocevski/714046/ltcube_420768001_421027201_4FGL_J1442.2+0622_daily_bin700.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/714046/ft2_4FGL_J1442.2+0622_daily_bin700.fits
.....................!
real 11.66
user 11.29
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/714046/ft1_filtered_4FGL_J1442.2+0622_daily_bin700.fits evtable="EVENTS" scfile=/scratch/kocevski/714046/ft2_4FGL_J1442.2+0622_daily_bin700.fits sctable="SC_DATA" expcube=/scratch/kocevski/714046/ltcube_420768001_421027201_4FGL_J1442.2+0622_daily_bin700.fits outfile=/scratch/kocevski/714046/expmap_420768001_421027201_4FGL_J1442.2+0622_daily_bin700.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/714046/ltcube_420768001_421027201_4FGL_J1442.2+0622_daily_bin700.fits
.....................!
real 190.37
user 184.06
sys 5.95

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/714046/ft1_filtered_4FGL_J1442.2+0622_daily_bin700.fits scfile=/scratch/kocevski/714046/ft2_4FGL_J1442.2+0622_daily_bin700.fits outfile=/scratch/kocevski/714046/cmap_420768001_421027201_4FGL_J1442.2+0622_daily_bin700.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/714046/ft1_filtered_4FGL_J1442.2+0622_daily_bin700.fits scfile=/scratch/kocevski/714046/ft2_4FGL_J1442.2+0622_daily_bin700.fits outfile=/scratch/kocevski/714046/cmap_HighResolution_420768001_421027201_4FGL_J1442.2+0622_daily_bin700.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.57
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.103       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    9.4893       1.0000         .10000E-03   10000.    
     5 'Prefactor '    77.612       1.0000         .10000E-03   10000.    
     6 'norm      '    .10235E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.486       1.0000         .10000E-03   10000.    
    10 'Prefactor '    104.50       1.0000         .10000E-03   10000.    
    11 'norm      '    16.277       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    49.142       1.0000         .10000E-03   10000.    
    17 'norm      '    .25103       1.0000         .10000E-03   10000.    
    18 'norm      '    6.9850       1.0000         .10000E-03   10000.    
    19 'norm      '    6.6641       1.0000         .10000E-03   10000.    
    20 'norm      '    3.2274       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .99222       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .92294       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=   7233.606     FROM MIGRAD    STATUS=CONVERGED    514 CALLS     2902 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.105        16.476        .28787E-02    .10037E-02
   2  Prefactor     .10000E-03    35.285        .90712E-02** at limit **
   3  Prefactor     .10000E-03    17.211        .90712E-02** at limit **
   4  norm          9.4888        9.5834        .32523E-02   -.14600E-03
   5  Prefactor     77.616        35.079        .11396E-02   -.65449E-03
   6  norm          .10000E-03    16.867        .12474    ** at limit **
   7  Prefactor     .10000E-03    1.4923        .90712E-02** at limit **
   8  Prefactor     .10000E-03    2.8429        .52392E-01** at limit **
   9  Prefactor     12.486        40.957        .28341E-02   -.51486E-04
  10  Prefactor     104.50        51.223        .98338E-03   -.18456E-03
  11  norm          16.275        22.243        .24819E-02   -.90952E-03
  12  Prefactor     .10000E-03    22.496        .90712E-02** at limit **
  13  Prefactor     .10000E-03    6.8153        .90712E-02** at limit **
  14  Prefactor     .10000E-03    8.0367        .90712E-02** at limit **
  15  Prefactor     .10002E-03    17.221        .90712E-02** at limit **
  16  Prefactor     49.141        55.190        .14301E-02    .11146E-03
  17  norm          .25103        .15059        .54496E-02    .38443E-03
  18  norm          6.9851        2.8692        .37948E-02    .23210E-03
  19  norm          6.6639        5.7491        .38861E-02   -.37398E-03
  20  norm          3.2274        2.8260        .56371E-02   -.11820E-04
  21  Prefactor     .10003E-03    17.302        .90712E-02** at limit **
  22  Normalizat    .99211        .20555        .71907E-01   -.69586E-04
  23  Prefactor     .92301        .11942        .45297E-01   -.10486E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.105
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.48875
  Prefactor  = 77.6159
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.4861
  Prefactor  = 104.501
  norm       = 16.2748
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100025
  Prefactor  = 49.1415
  norm       = 0.251029
  norm       = 6.98514
  norm       = 6.66386
  norm       = 3.22736
  Prefactor  = 0.000100028
  Normalizat = 0.992113
  Prefactor  = 0.923014
 **********
 **   18 **HESSE 
 **********

 FCN=   7233.606     FROM HESSE     STATUS=OK           372 CALLS     3274 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.105        16.487        .11515E-03   -1.5012    
   2  Prefactor     .10000E-03    35.633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    17.282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          9.4888        9.5862        .13009E-03   -1.5092    
   5  Prefactor     77.616        35.223        .45582E-04   -1.3944    
   6  norm          .10000E-03    18.586        .11460       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.4929        .10147E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.2237        .27872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.486        40.969        .11336E-03   -1.5001    
  10  Prefactor     104.50        51.238        .39335E-04   -1.3660    
  11  norm          16.275        22.226        .99275E-04   -1.4901    
  12  Prefactor     .10000E-03    22.600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.8217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.0619        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10002E-03    17.243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     49.141        55.198        .57204E-04   -1.4305    
  17  norm          .25103        .14798        .24416E-04   -1.5608    
  18  norm          6.9851        2.8671        .86390E-04   -1.5179    
  19  norm          6.6639        5.7518        .15544E-03   -1.5192    
  20  norm          3.2274        2.8286        .12896E-03   -1.5349    
  21  Prefactor     .10003E-03    17.328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .99211        .24304        .31814E-03   -.93295    
  23  Prefactor     .92301        .14195        .19660E-03   -.95341    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.19504e-09
Minuit parameter uncertainties:
  1  16.4935
  2  6.88401e-05
  3  1.33654e-05
  4  9.58772
  5  35.2321
  6  9.64698e-05
  7  1.90978e-06
  8  7.47238e-06
  9  41.0619
  10  51.2594
  11  22.2369
  12  0.000137303
  13  5.90453e-07
  14  6.13476e-06
  15  0.00130606
  16  55.2553
  17  0.147977
  18  2.86717
  19  5.75224
  20  2.82874
  21  0.00138521
  22  0.243307
  23  0.142005
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.627e+01  2.224e+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:  9.230e-01  1.420e-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:  9.921e-01  2.433e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.23
Ra Dec: 220.561 6.375
Photon Index (Fixed Index): 2.70 +/- 0.00
Photon Flux (Fixed Index): 2.70e-08 +/- 3.69e-08
Energy Flux (Fixed Index): 9.77e-06 +/- 1.34e-05

TS (Fixed Index): 1.23
Ra Dec: 220.561 6.375
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.73e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/714046/likelihoodResults_420768001_421027201_4FGL_J1442.2+0622_daily_bin700.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): 0
logL (Free Index) = 7233.44644359
delta logL = 0.159304044711

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7233.44616401
delta logL = 0.159583629329

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    23.928       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0517       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0038       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91893       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=   7233.446     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      233 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          23.904        27.352        .20472E-02   -.32264E-04
   2  alpha         2.0519        1.0372        .42020E-01   -.12217E-04
   3  Normalizat    1.0038        .19653        .71555E-01    .54343E-04
   4  Prefactor     .91893        .11809        .45246E-01    .72170E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 23.9039
  alpha      = 2.05187
  Normalizat = 1.00385
  Prefactor  = 0.918934
 **********
 **   18 **HESSE 
 **********

 FCN=   7233.446     FROM HESSE     STATUS=OK            31 CALLS      264 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          23.904        26.853        .81889E-04   -1.4730    
   2  alpha         2.0519        1.0200        .16808E-02   -.18023    
   3  Normalizat    1.0038        .23234        .31658E-03   -.92902    
   4  Prefactor     .91893        .13985        .19701E-03   -.95483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.06987e-11
Minuit parameter uncertainties:
  1  26.8669
  2  1.05179
  3  0.232574
  4  0.139903
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/714046': 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) = 7233.44616362
delta logL = 0.159584020864

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  2.390e+01  2.687e+01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.052e+00  1.052e+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:  9.189e-01  1.399e-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.004e+00  2.326e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.57
Ra Dec: 220.561 6.375
Photon Index (Free Index): 2.05 +/- 1.05
Photon Flux (Free Index): 1.65e-08 +/- 2.44e-08
Energy Flux (Free Index): 1.10e-05 +/- 1.23e-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/714046/cmap_HighResolution_420768001_421027201_4FGL_J1442.2+0622_daily_bin700.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.73e-05', comment='SUCCESS', photon_flux='2.70e-08', energy_flux2='1.10e-05', photon_flux_error='3.69e-08', dlogl='1.60e-01', energy_flux='9.77e-06', photon_flux2='1.65e-08', job_status='DONE', time_completed='2021-09-10 06:01:08.649832', photon_index_error2='1.05', photon_index2='2.05', ts='1.23', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='1.23e-05', EG='0.99', time_epoch_completed='1631278868.65', return_code='0', job_id='714046', GAL2='0.92', EG2='1.00', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='2.44e-08', ts2='1.57', photon_index='2.70' WHERE bin_id='700' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:01:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 714046: <4FGL_J1442.2+0622_daily_bin700> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin700> 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) <bullet0043>, 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:09 2021
Results reported at Fri Sep 10 06:01:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin700 220.561 6.3755 420768001 421027201 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 :                                   647.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             297.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   877 sec.
    Turnaround time :                            879 sec.

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

