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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin934
RA = 220.561, Dec = 6.3755
tmin = 481420801, tmax = 481680001
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='715425', job_status='RUN', time_executed='2021-09-10 05:54:06.913612', time_epoch_executed='1631278446.91' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='934'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/715425

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/715425/ft1_4FGL_J1442.2+0622_daily_bin934.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/715425/ft2_4FGL_J1442.2+0622_daily_bin934.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/715425/ft1_4FGL_J1442.2+0622_daily_bin934.fits outfile=/scratch/kocevski/715425/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin934.fits ra=220.561 dec=6.3755 rad=12.0 tmin=481420801.0 tmax=481680001.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.70
user 3.48
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/715425/ft1_filtered_4FGL_J1442.2+0622_daily_bin934.fits" evtable="EVENTS" scfile=/scratch/kocevski/715425/ft2_4FGL_J1442.2+0622_daily_bin934.fits sctable="SC_DATA" outfile=/scratch/kocevski/715425/ltcube_481420801_481680001_4FGL_J1442.2+0622_daily_bin934.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/715425/ft2_4FGL_J1442.2+0622_daily_bin934.fits
.....................!
real 11.72
user 11.38
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/715425/ft1_filtered_4FGL_J1442.2+0622_daily_bin934.fits evtable="EVENTS" scfile=/scratch/kocevski/715425/ft2_4FGL_J1442.2+0622_daily_bin934.fits sctable="SC_DATA" expcube=/scratch/kocevski/715425/ltcube_481420801_481680001_4FGL_J1442.2+0622_daily_bin934.fits outfile=/scratch/kocevski/715425/expmap_481420801_481680001_4FGL_J1442.2+0622_daily_bin934.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/715425/ltcube_481420801_481680001_4FGL_J1442.2+0622_daily_bin934.fits
.....................!
real 190.55
user 185.28
sys 4.92

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/715425/ft1_filtered_4FGL_J1442.2+0622_daily_bin934.fits scfile=/scratch/kocevski/715425/ft2_4FGL_J1442.2+0622_daily_bin934.fits outfile=/scratch/kocevski/715425/cmap_481420801_481680001_4FGL_J1442.2+0622_daily_bin934.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.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.7085       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11979E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    10.397       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    7.5177       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.118       1.0000         .10000E-03   10000.    
     9 'Prefactor '    42.086       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .92668       1.0000         .10000E-03   10000.    
    18 'norm      '    2.3838       1.0000         .10000E-03   10000.    
    19 'norm      '    5.6690       1.0000         .10000E-03   10000.    
    20 'norm      '    2.1299       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3787       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .86878       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=   8041.386     FROM MIGRAD    STATUS=CONVERGED    493 CALLS     2487 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.467       -.63643E-05** at limit **
   2  Prefactor     1.7094        3.5591        .50987E-06   -.63070E-03
   3  Prefactor     .10000E-03    53.376       -.24111E-05** at limit **
   4  norm          10.398        8.0418       -.87882E-08    .51029E-06
   5  Prefactor     .10000E-03    22.701        .89533E-05** at limit **
   6  norm          7.5179        10.652       -.29344E-07   -.12874E-04
   7  Prefactor     .10000E-03    2.6472        .11876E-06** at limit **
   8  Prefactor     18.116        8.8694        .19505E-07   -.11840E-03
   9  Prefactor     42.087        43.354        .98617E-06    .22020E-05
  10  Prefactor     .10000E-03    9.7120       -.16121E-05** at limit **
  11  norm          .10000E-03    6.1504       -.92696E-07** at limit **
  12  Prefactor     .10000E-03    21.256        .14892E-06** at limit **
  13  Prefactor     .10000E-03    19.630       -.65335E-05** at limit **
  14  Prefactor     .10000E-03    8.9310        .87869E-06** at limit **
  15  Prefactor     .10000E-03    14.491        .54362E-05** at limit **
  16  Prefactor     .10000E-03    15.460        .27563E-07** at limit **
  17  norm          .92670        .24947       -.58107E-08    .24526E-03
  18  norm          2.3842        2.7535       -.74749E-07   -.79117E-04
  19  norm          5.6690        6.0057       -.38966E-07    .35937E-05
  20  norm          2.1299        3.4632       -.28531E-07   -.75738E-04
  21  Prefactor     .10000E-03    15.401        .35628E-06** at limit **
  22  Normalizat    1.3787        .20024       -.22218E-07    .20746E-04
  23  Prefactor     .86879        .11755        .90518E-09    .34008E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.70935
  Prefactor  = 0.0001
  norm       = 10.3976
  Prefactor  = 0.0001
  norm       = 7.5179
  Prefactor  = 0.0001
  Prefactor  = 18.1163
  Prefactor  = 42.0875
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.926705
  norm       = 2.38416
  norm       = 5.66901
  norm       = 2.12994
  Prefactor  = 0.0001
  Normalizat = 1.3787
  Prefactor  = 0.868787
 **********
 **   18 **HESSE 
 **********

 FCN=   8041.386     FROM HESSE     STATUS=OK           368 CALLS     2855 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.843        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.7094        16.918        .16082E-02   -1.5446    
   3  Prefactor     .10000E-03    54.809        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          10.398        8.0417        .12426E-03   -1.5063    
   5  Prefactor     .10000E-03    22.843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          7.5179        10.649        .14627E-03   -1.5160    
   7  Prefactor     .10000E-03    2.6519        .14244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     18.116        8.9058        .47048E-03   -1.4856    
   9  Prefactor     42.087        43.392        .61793E-04   -1.4410    
  10  Prefactor     .10000E-03    9.7199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    6.1563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    21.368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    19.744        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.0246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    14.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.468        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .92670        .24924        .21896E-04   -1.5515    
  18  norm          2.3842        2.7249        .14475E-03   -1.5399    
  19  norm          5.6690        6.0064        .16871E-03   -1.5232    
  20  norm          2.1299        3.4282        .19901E-03   -1.5416    
  21  Prefactor     .10000E-03    15.410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3787        .23820        .29169E-03   -.81247    
  23  Prefactor     .86879        .13964        .21230E-03   -.97240    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65555e-09
Minuit parameter uncertainties:
  1  9.90005e-05
  2  10.759
  3  2.35644e-05
  4  8.04257
  5  3.09356e-05
  6  10.6513
  7  1.90979e-07
  8  8.90645
  9  43.4243
  10  5.94249e-06
  11  1.08509e-07
  12  4.8529e-06
  13  1.87655e-05
  14  8.25721e-07
  15  1.87287e-05
  16  1.35841e-06
  17  0.249238
  18  2.72501
  19  6.00699
  20  3.42849
  21  2.72555e-06
  22  0.238393
  23  0.139698
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  1.085e-07  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.688e-01  1.397e-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.379e+00  2.384e-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: 5.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.81e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/715425/likelihoodResults_481420801_481680001_4FGL_J1442.2+0622_daily_bin934.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) = 8041.38669032
delta logL = -0.000772888293795

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8041.38591749
delta logL = -5.52008714294e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6954       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3788       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86875       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=   8041.386     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      195 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.3737        .90712E-02** at limit **
   2  alpha         2.6933        3.6073        .41312        .17364E-05
   3  Normalizat    1.3787        .19464        .65940E-01    .83469E-05
   4  Prefactor     .86879        .11621        .44605E-01    .11314E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.69331
  Normalizat = 1.3787
  Prefactor  = 0.868787
 **********
 **   18 **HESSE 
 **********

 FCN=   8041.386     FROM HESSE     STATUS=OK            33 CALLS      228 TOTAL
                     EDM=   .31E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.1675        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6933        3.5946        .50000        .77401E-01
   3  Normalizat    1.3787        .23053        .29169E-03   -.81247    
   4  Prefactor     .86879        .13773        .21230E-03   -.97240    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.05175e-12
Minuit parameter uncertainties:
  1  1.58072e-06
  2  2.49741
  3  0.230704
  4  0.137784
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/715425': 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) = 8041.38591743
delta logL = 2.91947799269e-09

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  1.581e-06  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.693e+00  2.497e+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.688e-01  1.378e-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.379e+00  2.307e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 220.561 6.375

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/715425/cmap_HighResolution_481420801_481680001_4FGL_J1442.2+0622_daily_bin934.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.81e-05', job_status='DONE', photon_flux_upper_limit='5.01e-08', time_completed='2021-09-10 06:05:06.630356', job_id='715425', GAL2='0.87', fit_tolerance='1e-08', EG2='1.38', EG='1.38', time_epoch_completed='1631279106.63', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='2.92e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='934' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:05:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0130>
Subject: Job 715425: <4FGL_J1442.2+0622_daily_bin934> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin934 220.561 6.3755 481420801 481680001 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 :                                   658.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             273.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            837 sec.

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

