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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin600
RA = 220.561, Dec = 6.3755
tmin = 394848001, tmax = 395107201
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='713881', job_status='RUN', time_executed='2021-09-10 05:48:49.746725', time_epoch_executed='1631278129.75' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='600'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/713881

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/713881/ft1_4FGL_J1442.2+0622_daily_bin600.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/713881/ft2_4FGL_J1442.2+0622_daily_bin600.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/713881/ft1_4FGL_J1442.2+0622_daily_bin600.fits outfile=/scratch/kocevski/713881/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin600.fits ra=220.561 dec=6.3755 rad=12.0 tmin=394848001.0 tmax=395107201.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 5.24
user 4.96
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/713881/ft2_4FGL_J1442.2+0622_daily_bin600.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/713881/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin600.fits evtable="EVENTS" outfile="/scratch/kocevski/713881/ft1_filtered_4FGL_J1442.2+0622_daily_bin600.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/713881/ft1_filtered_4FGL_J1442.2+0622_daily_bin600.fits" evtable="EVENTS" scfile=/scratch/kocevski/713881/ft2_4FGL_J1442.2+0622_daily_bin600.fits sctable="SC_DATA" outfile=/scratch/kocevski/713881/ltcube_394848001_395107201_4FGL_J1442.2+0622_daily_bin600.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/713881/ft2_4FGL_J1442.2+0622_daily_bin600.fits
.....................!
real 11.33
user 10.95
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/713881/ft1_filtered_4FGL_J1442.2+0622_daily_bin600.fits evtable="EVENTS" scfile=/scratch/kocevski/713881/ft2_4FGL_J1442.2+0622_daily_bin600.fits sctable="SC_DATA" expcube=/scratch/kocevski/713881/ltcube_394848001_395107201_4FGL_J1442.2+0622_daily_bin600.fits outfile=/scratch/kocevski/713881/expmap_394848001_395107201_4FGL_J1442.2+0622_daily_bin600.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/713881/ltcube_394848001_395107201_4FGL_J1442.2+0622_daily_bin600.fits
.....................!
real 191.37
user 186.26
sys 4.73

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/713881/ft1_filtered_4FGL_J1442.2+0622_daily_bin600.fits scfile=/scratch/kocevski/713881/ft2_4FGL_J1442.2+0622_daily_bin600.fits outfile=/scratch/kocevski/713881/cmap_394848001_395107201_4FGL_J1442.2+0622_daily_bin600.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/713881/ft1_filtered_4FGL_J1442.2+0622_daily_bin600.fits scfile=/scratch/kocevski/713881/ft2_4FGL_J1442.2+0622_daily_bin600.fits outfile=/scratch/kocevski/713881/cmap_HighResolution_394848001_395107201_4FGL_J1442.2+0622_daily_bin600.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/713881/ft1_filtered_4FGL_J1442.2+0622_daily_bin600.fits evtable="EVENTS" scfile=/scratch/kocevski/713881/ft2_4FGL_J1442.2+0622_daily_bin600.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/713881/Model_4FGL_J1442.2+0622_daily_bin600.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/713881/ft1_filtered_4FGL_J1442.2+0622_daily_bin600.fits.....................!
real 53.94
user 52.54
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11623E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .51314E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.4660       1.0000         .10000E-03   10000.    
     6 'norm      '    13.509       1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.514       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10303E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10222E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    12.755       1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.705       1.0000         .10000E-03   10000.    
    13 'Prefactor '    40.148       1.0000         .10000E-03   10000.    
    14 'Prefactor '    35.885       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10642E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.7446       1.0000         .10000E-03   10000.    
    17 'norm      '    .11545       1.0000         .10000E-03   10000.    
    18 'norm      '    .72701       1.0000         .10000E-03   10000.    
    19 'norm      '    13.004       1.0000         .10000E-03   10000.    
    20 'norm      '    4.1671       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .82203       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4429       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .80542       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=   6863.117     FROM MIGRAD    STATUS=CONVERGED    517 CALLS     2576 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.1485       -.30246E-07** at limit **
   2  Prefactor     .10000E-03    14.174        .34024E-07** at limit **
   3  Prefactor     .10000E-03    57.603        .11079E-04** at limit **
   4  norm          .10004E-03    8.2038       -.30431E-06** at limit **
   5  Prefactor     7.4610        17.166       -.13331E-06   -.39024E-04
   6  norm          13.503        22.447        .12119E-05   -.54393E-04
   7  Prefactor     14.519        10.865       -.97550E-06   -.13383E-05
   8  Prefactor     .10000E-03    13.509        .24509E-06** at limit **
   9  Prefactor     .10000E-03    55.305       -.11594E-04** at limit **
  10  Prefactor     .10000E-03    33.427        .40107E-06** at limit **
  11  norm          12.748        20.311        .15573E-05   -.70610E-04
  12  Prefactor     28.706        36.663       -.22740E-05    .96987E-04
  13  Prefactor     40.130        27.498        .22084E-05   -.10618E-03
  14  Prefactor     35.886        23.548       -.19351E-05    .25159E-03
  15  Prefactor     .10000E-03    23.137        .11338E-06** at limit **
  16  Prefactor     1.7917        135.82       -.13762E-04    .12857E-04
  17  norm          .11536        .11727       -.90393E-08    .35932E-03
  18  norm          .72136        2.4190       -.17108E-05   -.14084E-02
  19  norm          13.007        8.5769        .40289E-07   -.92914E-06
  20  norm          4.1682        3.1459        .11456E-06    .22659E-03
  21  Prefactor     .82760        21.408       -.24329E-05    .10287E-04
  22  Normalizat    1.4432        .22460        .84131E-06    .15357E-03
  23  Prefactor     .80548        .12696        .32424E-06    .26286E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 0.000100037
  Prefactor  = 7.46102
  norm       = 13.5033
  Prefactor  = 14.519
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 12.7482
  Prefactor  = 28.7064
  Prefactor  = 40.1296
  Prefactor  = 35.8856
  Prefactor  = 0.0001
  Prefactor  = 1.7917
  norm       = 0.115357
  norm       = 0.72136
  norm       = 13.0066
  norm       = 4.16816
  Prefactor  = 0.827596
  Normalizat = 1.44319
  Prefactor  = 0.805485
 **********
 **   18 **HESSE 
 **********

 FCN=   6863.117     FROM HESSE     STATUS=OK           380 CALLS     2956 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.1655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    14.249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    56.398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10004E-03    9.8554        .79512E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.4610        17.190        .14678E-03   -1.5162    
   6  norm          13.503        22.385        .10898E-03   -1.4973    
   7  Prefactor     14.519        10.907        .10513E-03   -1.4946    
   8  Prefactor     .10000E-03    13.794        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    53.770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    33.432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          12.748        20.226        .11216E-03   -1.4994    
  12  Prefactor     28.706        36.652        .74777E-04   -1.4636    
  13  Prefactor     40.130        27.365        .63261E-04   -1.4440    
  14  Prefactor     35.886        23.376        .66900E-04   -1.4509    
  15  Prefactor     .10000E-03    23.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.7917        137.51        .31755E-03   -1.5440    
  17  norm          .11536        .11612        .27337E-04   -1.5640    
  18  norm          .72136        2.7243        .23865E-02   -1.5538    
  19  norm          13.007        8.5623        .11108E-03   -1.4987    
  20  norm          4.1682        3.1455        .12311E-03   -1.5300    
  21  Prefactor     .82760        130.30        .74167E-02   -1.5526    
  22  Normalizat    1.4432        .26986        .28592E-03   -.79387    
  23  Prefactor     .80548        .15242        .21600E-03   -.99526    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05302e-09
Minuit parameter uncertainties:
  1  2.54394e-06
  2  1.854e-05
  3  0.00098014
  4  0.00121265
  5  17.2015
  6  22.3992
  7  10.9083
  8  0.00010183
  9  0.000962968
  10  0.000176781
  11  20.2368
  12  36.6804
  13  27.3735
  14  23.3823
  15  0.000171501
  16  31.4676
  17  0.116121
  18  2.72478
  19  8.56313
  20  3.14562
  21  20.8139
  22  0.270127
  23  0.152497
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.275e+01  2.024e+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:  8.055e-01  1.525e-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.443e+00  2.701e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/713881/likelihoodResults_394848001_395107201_4FGL_J1442.2+0622_daily_bin600.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) = 6863.10813224
delta logL = 0.00909840355689

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6863.10413385
delta logL = 0.0130967948926

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.859       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9154       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4382       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80703       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=   6863.104     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.860        17.731        .39653E-05   -.75702E-03
   2  alpha         2.9153        .62650       -.36372E-04   -.82703E-04
   3  Normalizat    1.4382        .21444        .36514E-06    .18540E-04
   4  Prefactor     .80701        .12553       -.21277E-06    .58599E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.8599
  alpha      = 2.91526
  Normalizat = 1.4382
  Prefactor  = 0.807015
 **********
 **   18 **HESSE 
 **********

 FCN=   6863.104     FROM HESSE     STATUS=OK            29 CALLS      233 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.860        22.139        .12158E-03   -1.5049    
   2  alpha         2.9153        1.3333        .83787E-02    .16688    
   3  Normalizat    1.4382        .25689        .28633E-03   -.79530    
   4  Prefactor     .80701        .14975        .21581E-03   -.99470    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6555e-09
Minuit parameter uncertainties:
  1  22.1555
  2  1.40873
  3  0.257122
  4  0.14983
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/713881': 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) = 6863.10413384
delta logL = 0.0130968047979

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.086e+01  2.216e+01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.915e+00  1.409e+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:  8.070e-01  1.498e-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.438e+00  2.571e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.52
Ra Dec: 220.561 6.375

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/713881/cmap_HighResolution_394848001_395107201_4FGL_J1442.2+0622_daily_bin600.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.74e-05', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2021-09-10 05:59:12.590911', job_id='713881', GAL2='0.81', fit_tolerance='1e-08', EG2='1.44', EG='1.44', time_epoch_completed='1631278752.59', return_code2='0', ts='0.52', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='1.31e-02', ts2='0.55', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='600' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:59:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 713881: <4FGL_J1442.2+0622_daily_bin600> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin600> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 05:46:16 2021
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:46:19 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:19 2021
Terminated at Fri Sep 10 05:59:12 2021
Results reported at Fri Sep 10 05:59:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin600 220.561 6.3755 394848001 395107201 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 :                                   621.00 sec.
    Max Memory :                                 1210 MB
    Average Memory :                             250.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            776 sec.

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

