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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin667
RA = 220.561, Dec = 6.3755
tmin = 412214401, tmax = 412473601
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='713992', job_status='RUN', time_executed='2021-09-10 05:48:32.138813', time_epoch_executed='1631278112.14' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='667'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/713992

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/713992/ft1_4FGL_J1442.2+0622_daily_bin667.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/713992/ft2_4FGL_J1442.2+0622_daily_bin667.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/713992/ft1_4FGL_J1442.2+0622_daily_bin667.fits outfile=/scratch/kocevski/713992/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin667.fits ra=220.561 dec=6.3755 rad=12.0 tmin=412214401.0 tmax=412473601.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.40
user 3.19
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/713992/ft1_filtered_4FGL_J1442.2+0622_daily_bin667.fits" evtable="EVENTS" scfile=/scratch/kocevski/713992/ft2_4FGL_J1442.2+0622_daily_bin667.fits sctable="SC_DATA" outfile=/scratch/kocevski/713992/ltcube_412214401_412473601_4FGL_J1442.2+0622_daily_bin667.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/713992/ft2_4FGL_J1442.2+0622_daily_bin667.fits
.....................!
real 11.78
user 11.44
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/713992/ft1_filtered_4FGL_J1442.2+0622_daily_bin667.fits evtable="EVENTS" scfile=/scratch/kocevski/713992/ft2_4FGL_J1442.2+0622_daily_bin667.fits sctable="SC_DATA" expcube=/scratch/kocevski/713992/ltcube_412214401_412473601_4FGL_J1442.2+0622_daily_bin667.fits outfile=/scratch/kocevski/713992/expmap_412214401_412473601_4FGL_J1442.2+0622_daily_bin667.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/713992/ltcube_412214401_412473601_4FGL_J1442.2+0622_daily_bin667.fits
.....................!
real 189.31
user 184.87
sys 4.08

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/713992/ft1_filtered_4FGL_J1442.2+0622_daily_bin667.fits scfile=/scratch/kocevski/713992/ft2_4FGL_J1442.2+0622_daily_bin667.fits outfile=/scratch/kocevski/713992/cmap_412214401_412473601_4FGL_J1442.2+0622_daily_bin667.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.38
sys 0.14

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

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

This is gtbin version HEAD
real 0.55
user 0.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12672E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    87.588       1.0000         .10000E-03   10000.    
     3 'Prefactor '    186.11       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    33.396       1.0000         .10000E-03   10000.    
     6 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10338E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.451       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10210E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    36.956       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .80843E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    48.002       1.0000         .10000E-03   10000.    
    16 'Prefactor '    126.00       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.1783       1.0000         .10000E-03   10000.    
    19 'norm      '    24.658       1.0000         .10000E-03   10000.    
    20 'norm      '    23.073       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .71744       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87747       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=   1726.154     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2549 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10005E-03    193.37       -.87776E-05** at limit **
   2  Prefactor     87.373        148.41       -.79394E-05   -.20041E-05
   3  Prefactor     186.04        85.895        .55316E-06   -.52171E-04
   4  norm          .10000E-03    111.86        .37252E-05** at limit **
   5  Prefactor     33.390        76.080        .22602E-05    .30660E-04
   6  norm          .10000E-03    56.234       -.66105E-06** at limit **
   7  Prefactor     .10000E-03    7.4197       -.13801E-06** at limit **
   8  Prefactor     11.445        12.280        .22373E-06   -.11438E-03
   9  Prefactor     .10000E-03    6842.1       -.84952E-04** at limit **
  10  Prefactor     .10000E-03    119.43       -.43707E-05** at limit **
  11  norm          .10000E-03    31.742        .11512E-06** at limit **
  12  Prefactor     .10000E-03    30.509        .15286E-05** at limit **
  13  Prefactor     36.943        48.947       -.10795E-05   -.10378E-04
  14  Prefactor     .10406E-03    75.035        .24163E-04** at limit **
  15  Prefactor     47.960        72.448       -.84811E-05   -.16759E-03
  16  Prefactor     125.95        122.50       -.64727E-05   -.14782E-03
  17  norm          .10000E-03    .11425        .96007E-07** at limit **
  18  norm          4.1754        10.348        .42885E-06    .50522E-05
  19  norm          24.662        19.230       -.26475E-06   -.39890E-04
  20  norm          23.081        24.280        .18255E-06    .40556E-05
  21  Prefactor     .10000E-03    206.90        .42839E-05** at limit **
  22  Normalizat    .71852        .53393       -.13718E-04   -.25822E-04
  23  Prefactor     .87683        .30009        .64088E-06   -.16692E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100049
  Prefactor  = 87.3732
  Prefactor  = 186.044
  norm       = 0.000100001
  Prefactor  = 33.3901
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 11.4447
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.9427
  Prefactor  = 0.000104055
  Prefactor  = 47.9603
  Prefactor  = 125.949
  norm       = 0.0001
  norm       = 4.17544
  norm       = 24.6619
  norm       = 23.0808
  Prefactor  = 0.0001
  Normalizat = 0.718523
  Prefactor  = 0.876832
 **********
 **   18 **HESSE 
 **********

 FCN=   1726.154     FROM HESSE     STATUS=OK           372 CALLS     2921 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10005E-03    192.71        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     87.373        148.56        .21465E-03   -1.3836    
   3  Prefactor     186.04        86.690        .14799E-03   -1.2971    
   4  norm          .10000E-03    111.93        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     33.390        76.274        .69341E-04   -1.4552    
   6  norm          .10000E-03    56.253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.4289        .11046E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.445        12.357        .11838E-03   -1.5031    
   9  Prefactor     .10000E-03    6846.3        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    119.56        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    31.760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    30.557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     36.943        49.004        .65926E-04   -1.4492    
  14  Prefactor     .10406E-03    141.61        .76629E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     47.960        76.099        .57876E-04   -1.4322    
  16  Prefactor     125.95        124.21        .17931E-03   -1.3459    
  17  norm          .10000E-03    .11749        .27377E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.1754        10.356        .19342E-03   -1.5299    
  19  norm          24.662        19.273        .80670E-04   -1.4714    
  20  norm          23.081        24.353        .83389E-04   -1.4747    
  21  Prefactor     .10000E-03    207.07        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .71852        .63532        .38477E-03   -1.0317    
  23  Prefactor     .87683        .36042        .21765E-03   -.96955    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07153e-09
Minuit parameter uncertainties:
  1  0.00614652
  2  149.196
  3  86.7495
  4  0.000524931
  5  76.4981
  6  0.000376377
  7  6.83964e-05
  8  12.3601
  9  0.000461845
  10  0.000240097
  11  7.50719e-05
  12  7.17191e-05
  13  49.0574
  14  0.0480421
  15  76.254
  16  124.472
  17  5.86493e-07
  18  10.3606
  19  19.2778
  20  24.363
  21  0.000529953
  22  0.64201
  23  0.361402
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  7.507e-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:  8.768e-01  3.614e-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:  7.185e-01  6.420e-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: 2.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.82e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/713992/likelihoodResults_412214401_412473601_4FGL_J1442.2+0622_daily_bin667.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) = 1726.15419836
delta logL = -0.000149577320599

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1726.11126217
delta logL = 0.0427866137575

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.396       1.0000         .10000E-03   10000.    
     2 'alpha     '    .73928       1.0000          .0000       5.0000    
     3 'Normalizat'    .73808       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86007       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=   1726.111     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      252 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.396        49.859        .29668E-02   -.15741E-03
   2  alpha         .73929        2.7395        .50000       -.29519E-04
   3  Normalizat    .73811        .47046        .85777E-01    .15319E-04
   4  Prefactor     .86006        .29636        .44494E-01   -.16962E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 11.3959
  alpha      = 0.739292
  Normalizat = 0.738109
  Prefactor  = 0.86006
 **********
 **   18 **HESSE 
 **********

 FCN=   1726.111     FROM HESSE     STATUS=OK            31 CALLS      283 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.396        44.588        .11867E-03   -1.5033    
   2  alpha         .73929        2.8181        .45407E-01   -.78141    
   3  Normalizat    .73811        .55728        .37992E-03   -1.0241    
   4  Prefactor     .86006        .35175        .21950E-03   -.97551    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53418e-09
Minuit parameter uncertainties:
  1  44.7187
  2  1.91258
  3  0.561646
  4  0.352675
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/713992': 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) = 1726.11126217
delta logL = 0.0427866153466

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.140e+01  4.472e+01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  7.393e-01  1.913e+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.601e-01  3.527e-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:  7.381e-01  5.616e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/713992/cmap_HighResolution_412214401_412473601_4FGL_J1442.2+0622_daily_bin667.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.82e-05', job_status='DONE', photon_flux_upper_limit='2.16e-07', time_completed='2021-09-10 05:54:53.056432', job_id='713992', GAL2='0.86', fit_tolerance='1e-08', EG2='0.74', EG='0.72', time_epoch_completed='1631278493.06', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='4.28e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='667' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:54:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 713992: <4FGL_J1442.2+0622_daily_bin667> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin667 220.561 6.3755 412214401 412473601 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 :                                   380.17 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             226.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   506 sec.
    Turnaround time :                            508 sec.

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

