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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin555
RA = 220.561, Dec = 6.3755
tmin = 383184001, tmax = 383443201
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='713804', job_status='RUN', time_executed='2021-09-10 05:49:58.498120', time_epoch_executed='1631278198.5' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='555'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/713804

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/713804/ft1_4FGL_J1442.2+0622_daily_bin555.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/713804/ft2_4FGL_J1442.2+0622_daily_bin555.fits


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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/713804/ft1_filtered_4FGL_J1442.2+0622_daily_bin555.fits" evtable="EVENTS" scfile=/scratch/kocevski/713804/ft2_4FGL_J1442.2+0622_daily_bin555.fits sctable="SC_DATA" outfile=/scratch/kocevski/713804/ltcube_383184001_383443201_4FGL_J1442.2+0622_daily_bin555.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/713804/ft2_4FGL_J1442.2+0622_daily_bin555.fits
.....................!
real 11.85
user 11.47
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/713804/ft1_filtered_4FGL_J1442.2+0622_daily_bin555.fits evtable="EVENTS" scfile=/scratch/kocevski/713804/ft2_4FGL_J1442.2+0622_daily_bin555.fits sctable="SC_DATA" expcube=/scratch/kocevski/713804/ltcube_383184001_383443201_4FGL_J1442.2+0622_daily_bin555.fits outfile=/scratch/kocevski/713804/expmap_383184001_383443201_4FGL_J1442.2+0622_daily_bin555.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/713804/ltcube_383184001_383443201_4FGL_J1442.2+0622_daily_bin555.fits
.....................!
real 190.04
user 185.45
sys 4.23

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/713804/ft1_filtered_4FGL_J1442.2+0622_daily_bin555.fits scfile=/scratch/kocevski/713804/ft2_4FGL_J1442.2+0622_daily_bin555.fits outfile=/scratch/kocevski/713804/cmap_383184001_383443201_4FGL_J1442.2+0622_daily_bin555.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/713804/ft1_filtered_4FGL_J1442.2+0622_daily_bin555.fits scfile=/scratch/kocevski/713804/ft2_4FGL_J1442.2+0622_daily_bin555.fits outfile=/scratch/kocevski/713804/cmap_HighResolution_383184001_383443201_4FGL_J1442.2+0622_daily_bin555.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0807       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .29663E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    26.571       1.0000         .10000E-03   10000.    
     4 'norm      '    7.9409       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    8.9288       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.3560       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.9011       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10582E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.0784       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.800       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.590       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .62165       1.0000         .10000E-03   10000.    
    18 'norm      '    .11484E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.7860       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.8651       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .68136       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=   7666.296     FROM MIGRAD    STATUS=CONVERGED    497 CALLS     2181 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0838        12.971        .26939E-05    .61981E-03
   2  Prefactor     .10022E-03    34.369       -.10311E-04** at limit **
   3  Prefactor     26.554        32.193        .58405E-05    .44307E-03
   4  norm          7.9399        10.095        .78570E-07    .17004E-04
   5  Prefactor     .10000E-03    7.8685        .42084E-06** at limit **
   6  norm          8.9267        23.256        .10263E-05    .53212E-04
   7  Prefactor     6.3576        5.8716       -.67823E-06   -.34506E-03
   8  Prefactor     2.9038        6.7359       -.20879E-06   -.51574E-05
   9  Prefactor     .10000E-03    20.223       -.65940E-06** at limit **
  10  Prefactor     .10000E-03    16.503       -.49807E-06** at limit **
  11  norm          6.0825        9.1955        .17146E-06    .47962E-04
  12  Prefactor     .10000E-03    8.0453       -.12251E-05** at limit **
  13  Prefactor     15.801        18.687       -.49971E-07   -.35869E-04
  14  Prefactor     .10000E-03    4.0115       -.51064E-07** at limit **
  15  Prefactor     15.590        17.063        .19745E-06    .17271E-04
  16  Prefactor     .10000E-03    7.8595        .56741E-06** at limit **
  17  norm          .62171        .20258        .16646E-07    .75720E-04
  18  norm          .10001E-03    1.0260       -.37178E-06** at limit **
  19  norm          .10000E-03    1.9641       -.63905E-08** at limit **
  20  norm          2.7862        3.6108        .13743E-06    .12520E-03
  21  Prefactor     .10000E-03    15.313        .21064E-06** at limit **
  22  Normalizat    1.8646        .21882       -.76986E-06    .12614E-03
  23  Prefactor     .68167        .12429       -.27918E-06   -.25659E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.08381
  Prefactor  = 0.000100223
  Prefactor  = 26.5544
  norm       = 7.93991
  Prefactor  = 0.0001
  norm       = 8.92668
  Prefactor  = 6.35759
  Prefactor  = 2.90376
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.08251
  Prefactor  = 0.0001
  Prefactor  = 15.8011
  Prefactor  = 0.0001
  Prefactor  = 15.5901
  Prefactor  = 0.0001
  norm       = 0.621706
  norm       = 0.000100011
  norm       = 0.0001
  norm       = 2.78615
  Prefactor  = 0.0001
  Normalizat = 1.86461
  Prefactor  = 0.681671
 **********
 **   18 **HESSE 
 **********

 FCN=   7666.296     FROM HESSE     STATUS=OK           372 CALLS     2553 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0838        14.098        .99791E-03   -1.5304    
   2  Prefactor     .10022E-03    51.915        .52742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     26.554        33.468        .77716E-04   -1.4677    
   4  norm          7.9399        10.094        .14229E-03   -1.5144    
   5  Prefactor     .10000E-03    7.8803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.9267        23.270        .13414E-03   -1.5110    
   7  Prefactor     6.3576        5.8826        .15921E-03   -1.5204    
   8  Prefactor     2.9038        6.7159        .23856E-03   -1.5367    
   9  Prefactor     .10000E-03    20.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    16.522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.0825        9.1794        .16285E-03   -1.5215    
  12  Prefactor     .10000E-03    8.0830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.801        18.694        .10076E-03   -1.4913    
  14  Prefactor     .10000E-03    4.0142        .17126E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.590        17.064        .10144E-03   -1.4918    
  16  Prefactor     .10000E-03    7.8676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .62171        .20208        .21404E-04   -1.5550    
  18  norm          .10001E-03    12.274        .16247E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.9662        .11984E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.7862        3.5765        .18082E-03   -1.5374    
  21  Prefactor     .10000E-03    15.324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.8646        .25645        .26562E-03   -.67989    
  23  Prefactor     .68167        .14634        .24143E-03   -1.0425    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.90373e-09
Minuit parameter uncertainties:
  1  14.1092
  2  0.00681261
  3  33.4921
  4  10.0959
  5  4.00626e-05
  6  23.2939
  7  5.88311
  8  6.71761
  9  9.31859e-05
  10  6.66969e-05
  11  9.18149
  12  0.000113005
  13  18.7005
  14  1.35005e-06
  15  17.0698
  16  5.47521e-05
  17  0.202079
  18  0.000736203
  19  1.65699e-07
  20  3.57675
  21  3.33079e-05
  22  0.25664
  23  0.146423
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  6.083e+00  9.181e+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

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  6.817e-01  1.464e-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.865e+00  2.566e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.78
Ra Dec: 220.561 6.375
Photon Flux Upper Limit: 5.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.15e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/713804/likelihoodResults_383184001_383443201_4FGL_J1442.2+0622_daily_bin555.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) = 7666.28714075
delta logL = 0.00880738725755

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7666.28225082
delta logL = 0.0136973168082

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.2488       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3869       1.0000          .0000       5.0000    
     3 'Normalizat'    1.8676       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68079       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=   7666.282     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      243 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.2511        13.192        .14898E-03    .26556E-04
   2  alpha         2.3876        1.7632        .46024E-01    .11108E-03
   3  Normalizat    1.8676        .24456        .26545E-03   -.80096E-04
   4  Prefactor     .68075        .14392        .24158E-03   -.72332E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.25112
  alpha      = 2.38757
  Normalizat = 1.86763
  Prefactor  = 0.680752
 **********
 **   18 **HESSE 
 **********

 FCN=   7666.282     FROM HESSE     STATUS=OK            25 CALLS      268 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.2511        12.567        .59592E-05   -1.5169    
   2  alpha         2.3876        1.6980        .92047E-02   -.44988E-01
   3  Normalizat    1.8676        .24461        .53090E-04   -.67911    
   4  Prefactor     .68075        .14401        .96630E-05   -1.0429    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04698e-11
Minuit parameter uncertainties:
  1  12.5714
  2  1.86709
  3  0.24477
  4  0.14409
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/713804': 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) = 7666.28225063
delta logL = 0.0136975075338

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  7.251e+00  1.257e+01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.388e+00  1.867e+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:  6.808e-01  1.441e-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.868e+00  2.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.78
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/713804/cmap_HighResolution_383184001_383443201_4FGL_J1442.2+0622_daily_bin555.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.15e-05', job_status='DONE', photon_flux_upper_limit='5.94e-08', time_completed='2021-09-10 06:00:30.699623', job_id='713804', GAL2='0.68', fit_tolerance='1e-08', EG2='1.87', EG='1.86', time_epoch_completed='1631278830.7', return_code2='0', ts='0.78', comment='SUCCESS', return_code='0', GAL='0.68', dlogl='1.37e-02', ts2='0.81', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='555' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:00:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 713804: <4FGL_J1442.2+0622_daily_bin555> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin555 220.561 6.3755 383184001 383443201 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 :                                   631.39 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             225.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            862 sec.

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

