/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 236 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 = 6842
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1442.2+0622_daily_bin391
RA = 220.561, Dec = 6.3755
tmin = 340675201, tmax = 340934401
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='712446', job_status='RUN', time_executed='2021-09-10 05:45:33.873996', time_epoch_executed='1631277933.87' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='391'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/712446

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/712446/ft1_4FGL_J1442.2+0622_daily_bin391.fits


Retrieving the FT1 file...

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

Retrieving 51 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/712446/ft2_4FGL_J1442.2+0622_daily_bin391.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/712446/ft1_4FGL_J1442.2+0622_daily_bin391.fits outfile=/scratch/kocevski/712446/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin391.fits ra=220.561 dec=6.3755 rad=12.0 tmin=340675201.0 tmax=340934401.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 6.09
user 5.84
sys 0.22

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/712446/ft1_filtered_4FGL_J1442.2+0622_daily_bin391.fits evtable="EVENTS" scfile=/scratch/kocevski/712446/ft2_4FGL_J1442.2+0622_daily_bin391.fits sctable="SC_DATA" expcube=/scratch/kocevski/712446/ltcube_340675201_340934401_4FGL_J1442.2+0622_daily_bin391.fits outfile=/scratch/kocevski/712446/expmap_340675201_340934401_4FGL_J1442.2+0622_daily_bin391.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/712446/ltcube_340675201_340934401_4FGL_J1442.2+0622_daily_bin391.fits
.....................!
real 190.76
user 185.87
sys 4.54

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/712446/ft1_filtered_4FGL_J1442.2+0622_daily_bin391.fits scfile=/scratch/kocevski/712446/ft2_4FGL_J1442.2+0622_daily_bin391.fits outfile=/scratch/kocevski/712446/cmap_340675201_340934401_4FGL_J1442.2+0622_daily_bin391.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.62
user 0.36
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/712446/ft1_filtered_4FGL_J1442.2+0622_daily_bin391.fits scfile=/scratch/kocevski/712446/ft2_4FGL_J1442.2+0622_daily_bin391.fits outfile=/scratch/kocevski/712446/cmap_HighResolution_340675201_340934401_4FGL_J1442.2+0622_daily_bin391.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/712446/ft1_filtered_4FGL_J1442.2+0622_daily_bin391.fits evtable="EVENTS" scfile=/scratch/kocevski/712446/ft2_4FGL_J1442.2+0622_daily_bin391.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/712446/Model_4FGL_J1442.2+0622_daily_bin391.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/712446/ft1_filtered_4FGL_J1442.2+0622_daily_bin391.fits.....................!
real 43.13
user 41.77
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.580       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    46.419       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .32282E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    38.390       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10923E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .36720       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    55.542       1.0000         .10000E-03   10000.    
    11 'norm      '    .10408E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .51342       1.0000         .10000E-03   10000.    
    18 'norm      '    1.3690       1.0000         .10000E-03   10000.    
    19 'norm      '    4.1013       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3340       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98382       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=   5128.494     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2565 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.585        23.008        .42697E-06    .83729E-05
   2  Prefactor     .10000E-03    18.380       -.12986E-06** at limit **
   3  Prefactor     .10000E-03    9.5721        .32229E-07** at limit **
   4  norm          46.419        28.508        .47684E-07   -.91575E-05
   5  Prefactor     .10002E-03    112.83       -.44055E-05** at limit **
   6  norm          38.374        34.241       -.48000E-06   -.18297E-03
   7  Prefactor     .10001E-03    7.0468        .29758E-05** at limit **
   8  Prefactor     .37469        8.1623        .46071E-05   -.60097E-03
   9  Prefactor     .10001E-03    80.842       -.15762E-05** at limit **
  10  Prefactor     55.566        42.465       -.11292E-06   -.74120E-05
  11  norm          .10002E-03    20.015        .45652E-05** at limit **
  12  Prefactor     .10000E-03    11.053       -.63720E-07** at limit **
  13  Prefactor     .10000E-03    10.863        .22402E-06** at limit **
  14  Prefactor     .10000E-03    5.1992        .31524E-08** at limit **
  15  Prefactor     .10000E-03    11.887       -.82246E-08** at limit **
  16  Prefactor     .10001E-03    66.720        .22094E-05** at limit **
  17  norm          .51344        .19622        .11563E-07    .19486E-03
  18  norm          1.3691        2.5844        .10793E-05    .11553E-02
  19  norm          4.1012        6.1331        .31214E-06    .19444E-03
  20  norm          .10000E-03    1.8512       -.69332E-07** at limit **
  21  Prefactor     .10000E-03    12.016       -.52025E-07** at limit **
  22  Normalizat    1.3337        .25999       -.24542E-05   -.22849E-03
  23  Prefactor     .98398        .15707        .10306E-05   -.20658E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.5847
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 46.4187
  Prefactor  = 0.000100017
  norm       = 38.3738
  Prefactor  = 0.000100008
  Prefactor  = 0.374689
  Prefactor  = 0.000100006
  Prefactor  = 55.5664
  norm       = 0.000100017
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  norm       = 0.513445
  norm       = 1.36913
  norm       = 4.10121
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.3337
  Prefactor  = 0.983976
 **********
 **   18 **HESSE 
 **********

 FCN=   5128.494     FROM HESSE     STATUS=OK           364 CALLS     2929 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.585        23.095        .98362E-04   -1.4893    
   2  Prefactor     .10000E-03    18.403        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.5790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          46.419        28.535        .58850E-04   -1.4344    
   5  Prefactor     .10002E-03    115.77        .21359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          38.374        34.313        .64688E-04   -1.4468    
   7  Prefactor     .10001E-03    15.951        .30789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .37469        11.490        .24486E-02   -1.5586    
   9  Prefactor     .10001E-03    81.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     55.566        42.614        .26912E-03   -1.4216    
  11  norm          .10002E-03    21.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.2042        .15948E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.928        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    67.893        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .51344        .19660        .18917E-04   -1.5565    
  18  norm          1.3691        2.6596        .15497E-03   -1.5474    
  19  norm          4.1012        6.1355        .19907E-03   -1.5303    
  20  norm          .10000E-03    1.8615        .95154E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    12.018        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3337        .30839        .29525E-03   -.82566    
  23  Prefactor     .98398        .18687        .20924E-03   -.93266    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.77045e-09
Minuit parameter uncertainties:
  1  23.1076
  2  3.60063e-05
  3  8.71834e-06
  4  28.5436
  5  0.00277422
  6  34.3302
  7  0.00073613
  8  4.15011
  9  0.00143297
  10  42.6373
  11  0.00123119
  12  1.90479e-05
  13  4.36542e-05
  14  2.68173e-07
  15  6.67357e-06
  16  0.00159271
  17  0.196599
  18  2.65981
  19  6.13646
  20  7.03066e-06
  21  1.4755e-05
  22  0.308823
  23  0.186989
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  1.231e-03  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.840e-01  1.870e-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.334e+00  3.088e-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: 9.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.54e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/712446/likelihoodResults_340675201_340934401_4FGL_J1442.2+0622_daily_bin391.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) = 5128.49422012
delta logL = -0.000218663642045

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5128.494007
delta logL = -5.53943391424e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12261E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8011       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3337       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98398       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5128.494     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      287 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6298.4        .36285E-02** at limit **
   2  alpha         2.1563        3.1187        .20000        .40188E-07
   3  Normalizat    1.3337        .79881E-01    .29525E-03    .28142E-02
   4  Prefactor     .98398        .49818E-01    .20924E-03    .39676E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 2.15629
  Normalizat = 1.33371
  Prefactor  = 0.98398
 **********
 **   18 **HESSE 
 **********

 FCN=   5128.494     FROM HESSE     STATUS=OK            23 CALLS      310 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    25.274        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1563        3.8700        .80000E-02   -.13792    
   3  Normalizat    1.3337        .29654        .59051E-04   -.82565    
   4  Prefactor     .98398        .18504        .41848E-04   -.93265    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51703e-08
Minuit parameter uncertainties:
  1  0.000352972
  2  710.758
  3  0.296923
  4  0.185164
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/712446': 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) = 5128.49400115
delta logL = 3.04996319755e-07

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  3.530e-04  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.156e+00  7.108e+02  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.840e-01  1.852e-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.334e+00  2.969e-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/712446/cmap_HighResolution_340675201_340934401_4FGL_J1442.2+0622_daily_bin391.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.54e-05', job_status='DONE', photon_flux_upper_limit='9.78e-08', time_completed='2021-09-10 05:54:51.349853', job_id='712446', GAL2='0.98', fit_tolerance='1e-08', EG2='1.33', EG='1.33', time_epoch_completed='1631278491.35', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='3.05e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='391' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:54:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 712446: <4FGL_J1442.2+0622_daily_bin391> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin391> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 05:41:28 2021
Job was executed on host(s) <bullet0109>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:41:29 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:41:29 2021
Terminated at Fri Sep 10 05:54:54 2021
Results reported at Fri Sep 10 05:54:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin391 220.561 6.3755 340675201 340934401 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 :                                   555.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             212.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   802 sec.
    Turnaround time :                            806 sec.

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

